Tutorial on Using Excel Solver to Analyze Spin-Lattice Relaxation Time Data



Similar documents
Calibration and Linear Regression Analysis: A Self-Guided Tutorial

EXCEL Tutorial: How to use EXCEL for Graphs and Calculations.

Curve Fitting in Microsoft Excel By William Lee

Using Excel (Microsoft Office 2007 Version) for Graphical Analysis of Data

SOLVING EQUATIONS WITH EXCEL

Engineering Problem Solving and Excel. EGN 1006 Introduction to Engineering

Summary of important mathematical operations and formulas (from first tutorial):

Tutorial 2: Using Excel in Data Analysis

Generating ABI PRISM 7700 Standard Curve Plots in a Spreadsheet Program

The Center for Teaching, Learning, & Technology

A Guide to Using Excel in Physics Lab

Assignment objectives:

Using Excel to find Perimeter, Area & Volume

Spreadsheets and Laboratory Data Analysis: Excel 2003 Version (Excel 2007 is only slightly different)

Below is a very brief tutorial on the basic capabilities of Excel. Refer to the Excel help files for more information.

Years after US Student to Teacher Ratio

Solving Linear Programs in Excel

Microsoft Excel. Qi Wei

The Kinetics of Enzyme Reactions

Using Excel for Handling, Graphing, and Analyzing Scientific Data:

Math 132. Population Growth: the World

Experiment #1, Analyze Data using Excel, Calculator and Graphs.

Calc Guide Chapter 9 Data Analysis

Dealing with Data in Excel 2010

Using Microsoft Excel to Plot and Analyze Kinetic Data

Section 1.5 Linear Models

0 Introduction to Data Analysis Using an Excel Spreadsheet

How To Understand And Solve Algebraic Equations

ESTIMATING THE DISTRIBUTION OF DEMAND USING BOUNDED SALES DATA

Bowerman, O'Connell, Aitken Schermer, & Adcock, Business Statistics in Practice, Canadian edition

SEQUENCES ARITHMETIC SEQUENCES. Examples

Interactive Excel Spreadsheets:

MICROSOFT EXCEL FORECASTING AND DATA ANALYSIS

Excel Math Project for 8th Grade Identifying Patterns

Graphing Parabolas With Microsoft Excel

Estimating a market model: Step-by-step Prepared by Pamela Peterson Drake Florida Atlantic University

Clovis Community College Core Competencies Assessment Area II: Mathematics Algebra

Excel Guide for Finite Mathematics and Applied Calculus

TIPS FOR DOING STATISTICS IN EXCEL

What is the difference between simple and compound interest and does it really matter?

Excel Tutorial. Bio 150B Excel Tutorial 1

Plot and Solve Equations

EXCEL Analysis TookPak [Statistical Analysis] 1. First of all, check to make sure that the Analysis ToolPak is installed. Here is how you do it:

TI-Nspire CAS Graphing Calculator

University of Southern California Marshall Information Services

Data Analysis. Using Excel. Jeffrey L. Rummel. BBA Seminar. Data in Excel. Excel Calculations of Descriptive Statistics. Single Variable Graphs

business statistics using Excel OXFORD UNIVERSITY PRESS Glyn Davis & Branko Pecar

Scatter Plot, Correlation, and Regression on the TI-83/84

As in the example above, a Budget created on the computer typically has:

Quickstart for Desktop Version

Indiana State Core Curriculum Standards updated 2009 Algebra I

Data exploration with Microsoft Excel: analysing more than one variable

Plots, Curve-Fitting, and Data Modeling in Microsoft Excel

EXCEL SOLVER TUTORIAL

Absorbance Spectrophotometry: Analysis of FD&C Red Food Dye #40 Calibration Curve Procedure

Microsoft Excel Tutorial

KSTAT MINI-MANUAL. Decision Sciences 434 Kellogg Graduate School of Management

How To Run Statistical Tests in Excel

Microsoft Excel. Charts Charts pictorially represent data. Excel can draw a variety of two-dimensional and three-dimensional charts. Open Excel 2000.

Pennsylvania System of School Assessment

Grade level: secondary Subject: mathematics Time required: 45 to 90 minutes

How To Analyze Data In Excel 2003 With A Powerpoint 3.5

Basic Pivot Tables. To begin your pivot table, choose Data, Pivot Table and Pivot Chart Report. 1 of 18

Econ Wizard User s Manual

Using Excel for Data Manipulation and Statistical Analysis: How-to s and Cautions

with functions, expressions and equations which follow in units 3 and 4.

CORRELATED TO THE SOUTH CAROLINA COLLEGE AND CAREER-READY FOUNDATIONS IN ALGEBRA

Preface of Excel Guide

Algebra II New Summit School High School Diploma Program

The KaleidaGraph Guide to Curve Fitting

Integrating Spreadsheet Templates and Data Analysis into Fluid Power Instruction

Using MS Excel to Analyze Data: A Tutorial

For example, estimate the population of the United States as 3 times 10⁸ and the

How To Understand Algebraic Equations

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS

Intro to Excel spreadsheets

Using Excel for Statistical Analysis

In This Issue: Excel Sorting with Text and Numbers

A step-by-step guide to non-linear regression analysis of experimental data using a Microsoft Excel spreadsheet

VISUAL ALGEBRA FOR COLLEGE STUDENTS. Laurie J. Burton Western Oregon University

MBA Jump Start Program

AP Physics 1 and 2 Lab Investigations

Getting started in Excel

Excel 2010: Create your first spreadsheet

Regression and Correlation

Circles: Circumference and Area Lesson Plans

COURSE OUTLINE. Course Title Applied College Algebra

One-Way ANOVA using SPSS SPSS ANOVA procedures found in the Compare Means analyses. Specifically, we demonstrate

Coins, Presidents, and Justices: Normal Distributions and z-scores

Algebra I Credit Recovery

INTRODUCTION TO EXCEL

seven Statistical Analysis with Excel chapter OVERVIEW CHAPTER

Data Mining Part 5. Prediction

MS Excel. Handout: Level 2. elearning Department. Copyright 2016 CMS e-learning Department. All Rights Reserved. Page 1 of 11

Experiment 1A: Excel Graphing Exercise

Appendix 2.1 Tabular and Graphical Methods Using Excel

hp calculators HP 50g Trend Lines The STAT menu Trend Lines Practice predicting the future using trend lines

STEP TWO: Highlight the data set, then select DATA PIVOT TABLE

Transcription:

Tutorial on Using Excel Solver to Analyze Spin-Lattice Relaxation Time Data In the measurement of the Spin-Lattice Relaxation time T 1, a 180 o pulse is followed after a delay time of t with a 90 o pulse, and at each delay time the magnetization M z is measured by measuring the voltage level of the signal that is detected. According to the theory, the magnetization M z is given by / M=M 1 2e tt 1 z 0, (0.1) where M 0 is the initial magnetization following the 180 o pulse, t is the delay time, and T 1 is the spin-lattice relaxation time. There are 2 unknowns in this equation, M 0 and T 1. Frequently with exponentially decaying quantities, the equation can be manipulated and the logarithm of both sides of the equation taken so that the natural exponential is removed. This usually results in a linear equation of dependence with the time t and a direct relationship between the slope of the linear graph and the decay rate constant, 1/T 1. However, in this case, this is not possible so that a non-linear least squares fitting procedure is needed. Excel provides a method of doing this called Solver. In this application the measurements results in a N data pairs, t i and V i, where V i is the voltage measurement representative of the magnetization M z at each time t i. Since the voltage V is proportional to the magnetization M z, Equation (0.1) becomes / 1 V=V z 0 1 2e tt (0.2) and this is the equation we wish to fit to the data to find V 0 and T 1. In least squares fitting, the value of each measured value of V i is compared to a calculated value V zi (t i ). Their difference is measured, squared, and summed for all measurement values. This sum is N [ i zi] Sum= V -V i=1 2 (0.3) The parameters V 0 and T 1 that provide the best fit are the values that make the sum a minimum value. Solver requires good estimates of these values to begin the fitting process. The procedure to find the parameters V 0 and T 1 with Excel solver is then as follows: 1. First open a blank Excel worksheet and label the first row of columns A through G as i, t i, V i, V zi (t i ), Difference 2, Sum, V 0, and T 1 as in Figure 1.1.

2. Enter the pairs of t i and V i measurements into columns B and C of a blank Excel worksheet. 3. Fill in the values of i in column A. Note: Column A could have been eliminated, but is used here for clarity of explanation of the technique. 4. Prepare a xy scatter plot of the data in columns B and C as illustrated in Figure 1.2. 5. From the graph, estimate the values of V 0 and T 1 and enter them into cells G2 and H2 respectively. Remember that from Equation (0.2), V 0 is the value of V at long time delays, i.e. the asymptotic value, and T 1 would be the time that a value decreases to 1/e of some initial value. 6. In cell D2, calculate the value of V z1 (t 1 ) using Equation (0.2), the time for the first value of time, t 1, and the parameters for V 0 and T 1 in cells G2 and H2. Remember

to lock the values of G2 and H2 by using the $ sign so that they are written as $G$2 and $H$2. =$G$2* ( 1-2*exp (-B2/$H$2)). (0.4) 7. Copy the formula contents of cell D2 to the remaining cells corresponding to the measurements through cell D N. 8. In cell E2 calculate the square of the difference between the measured value V 1 and the calculated value V z1, i.e. = ( C2-D2) ^2. (0.5) 9. Copy the formula contents of cell E2 to the remaining cells corresponding to the measurements through cell E N. 10. In cell F2 compute the sum of all the values in column E. =SUM(E2:E"N") (0.6) 11. Under Tools of the main menu, select Solver. This brings up a text selection box as shown in Figure 1.2 12. In the box labeled Set Target Cell: choose the cell that you wish to minimize and that is the cell with the sum of the squares of the differences, cell $F$2. 13. In the Equal To: section, choose the Min option, since you want to minimize the target cell, the sum of the squares of the differences between the actual values and the fitted values. 14. In the text box labeled By Changing Cells: choose $G$2 and $H$2 or type $G$2:$H$2.

15. Click on Solve and the values for minimizing the sum in the target cell should be calculated and should appear in their respective cells, $G$2 and $H$2. The minimum value for the sum should also appear as an updated value. 16. Add the fitted or calculated values to your graph and compare your fit to the measured values.