Diode Lab vs Lab 0. You looked at the residuals of the fit, and they probably looked like random noise.

Size: px
Start display at page:

Download "Diode Lab vs Lab 0. You looked at the residuals of the fit, and they probably looked like random noise."

Transcription

1 Diode Lab vs Lab In Lab, the data was from a nearly perfect sine wave of large amplitude from a signal generator. The function you were fitting was a sine wave with an offset, an amplitude, a frequency, and a phase. You should have gotten a very good fit, with an amplitude and frequency that agreed very well with the signal generator setting, an offset near zero, and a phase that was different every time you pressed the Acquire button. You looked at the residuals of the fit, and they probably looked like random noise. Gnuplot s fit calculated the RMS (standard deviation) of the residuals. You drew error bars equal to that value, and probably found that the residuals were consistent with zero within the error about 2/3 of the time. The point was to learn how to use the data acquisition computers, and to use Gnuplot to fit some data. The situation was artificially simple, both to make it easy to get started, and also to show you what good agreement between data and a model looks like. This is the last time in the course where it will be that easy to fit data and get good agreement with the model. In the diode lab, the data will push the instruments to the limit, and the models won t be so perfect.

2 Lab looked trivially simple, but was not! Is there any systematic behavior in the residuals? YES, there is!

3 Basic Diode Lab Data You should have gotten data with the diode and a 1K resistor, at room temperature. The raw voltages don t look much like an exponential law 'diode.dat' u 2:1 '' u 4: e+6 You used Gnuplot to subtract the voltages at the two ends of the diode and divide by the resistor value to get the current through the diode. 1.6e-5 1.4e-5 1.2e-5 1e-5 8e-6 6e-6 4e-6 2e-6 'diode.dat' u ($1-$3):($3/R) -2e

4 Or did you actually see something like this?

5 Here is the source of the problem: the input from the function generator looks good but it is NOT

6 Here is the source of the problem: the input from the function generator looks good but it is NOT

7 If we introduce an appropriate RC filter, we can cut out the high frequency noise NO filter We still get two traces. Why is that? with filter

8 We still get two traces. Why is that? This is just a sampling issue, which we can solve by increasing the sampling frequency Low frequency High frequency

9 Log Plot and Line Fit Plotting the current vs the voltage does give you something that looks like an exponential law. But is it really? An exponential law will look like a line on a semi-log plot. So we made a log plot, and got a line..1 'diode.dat' u ($1-$3):($3/R) 1e-5 1e-6 1e-7 1e Blow up from volts to the max, and draw a line..1 1e-5 'diode.dat' u ($1-$3):($3/R) f(x) 1e-6 1e-7 1e-8 1e

10 Function Fit This looks pretty good, but it deviates from the line at the lower left. But we don t expect the line to be exact, the real function is expected to be I( V) = I [ e V V 1]. So we fit this form to the data and get this:.1 1e-5 'diode.dat' u ($1-$3):($3/R) I(x) 1e-6 1e-7 1e-8 1e-9 1e The real function makes the deviation look even worse! But the digitizer has a finite resolution. For your data, the minimum step size is 5 volts divided by 496 (12 bits), or about 1.2 millivolts. So we need to draw in the errorbars. An error of fixed size will look much bigger at the low end of the log plot.

11 Add Errorbars With the right errorbars, the disagreement isn t to terrible:.1 1e-5 'diode.dat' u ($1-$3):($3/R):(dv/R) I(x) 1e-6 1e-7 1e-8 1e-9 1e If we plot the ratio of the data to the fit, we can see that there s still a problem near zero voltage: 'diode.dat' u ($1-$3):(($3/R)/I($1-$3)):((dv/R)/I($1-$3)) It s only about one sigma, but it s systematic, not random.

12 Fit Residuals Now let s check the residuals, the difference between the data and the fit. This emphasizes the high-voltage end, where the current is large. 1e-6 5e-7 'diode.dat' u ($1-$3):($3/R-I($1-$3)) -5e-7-1e-6-1.5e-6-2e There s lots of scatter there! And the errorbars calculated from the digitizer step size aren t big enough to explain it: 1e-6 5e-7 'diode.dat' u ($1-$3):($3/R-I($1-$3)):(dv/R) -5e-7-1e-6-1.5e-6-2e

13 Horizontal Errors But, we have only considered the errors in the current (vertical) measurements. There is also an error in the voltage (horizontal) measurements. Since the exponential is so steep, even a small horizontal error can make a point appear to have a large vertical discrepancy. If we plot the data with the right horizontal errorbars as well as vertical errorbars (which are invisibly small in this region!), the agreement with the function is pretty good: 1.8e-5 1.6e-5 1.4e-5 1.2e-5 1e-5 8e-6 6e-6 4e-6 2e-6 'diode.dat' ev 1 u ($1-$3):($3/R):(1.41*dv):(dv/R) I(x) Gnuplot, like most fitting programs, can t cope with horizontal errors. But there is a trick that is a reasonable approximation to doing the right thing: add an additional vertical error equal to the horizontal error times the slope of the function. The lab procedure spells out how to do this.

14 Residuals with Equivalent Vertical Errors Plot the residuals, but using the effective error combining both vertical and horizontal contributions: 1e-6 5e-7-5e-7-1e-6-1.5e-6 'diode.dat' ev 5 u ($1-$3):($3/R-I($1-$3)):(ierr($1-$3)) -2e The residuals are now consistent with zero within the (combined vertical and horizontal) error. Plotting the residuals from all the data points, we get 1e-6 5e-7 'diode.dat' ev 5 u ($1-$3):($3/R-I($1-$3)):(ierr($1-$3)) -5e-7-1e-6-1.5e-6-2e

15 Pulls Plot The basic voltage measurement error is the same for all the points, but since the exponential slope varys so much, the error bars of different points are very different in size. The plot autoscales to the biggest errorbars, which actually contain the least information. In cases like that, the best thing to plot is the residual divided by the error, which is often called the pull for short. The errorbar is then the error divided by the error, or 1. for all points. 3 2 'diode.dat' ev 5 u ($1-$3):(($3/R-I($1-$3))/(ierr($1-$3))):(1) This shows that the data is consistent with the fit, over the full range, within the (combined) errorbars. If anything, the errorbars look too large...

16 Least Squares Fits If we don t have any idea about the errors of the measurements going into a fit, we have to treat each point equally in the fit. Usually the fit tries to minimize the sum of the squares of the difference between the function and the data. This is called a least squares fit. All we can do to check the quality of the fit is to look at the residuals. And we don t really know what the errors on the fit output are. If the residuals look random and the scatter is uniform, then it s sensible to conclude that the measurement errors are about the same on all the data points. We can then use the scatter of the measurements to infer the measurement errors. This allows us to estimate the error on the fit output. Gnuplot does a least squares fit if you don t give a third column. It also uses the scatter (whether or not the residuals look uniform and random!) to calculate errors.

17 Chi-Square Fits If we do have an external error estimate for each point going into a fit, we should give more weight to the points with smaller errors. The quantity minimized is the sum of the squares of the [residuals divided by errors] (i.e., sum of squares of pulls). χ 2 = meas [ y meas y pred ( parameters) ] 2 σ 2 The usual symbol for this quantity is the Greek letter chi, so it is called a chi-square fit. If the model used actually does fit the the data within the measurement errors used, then the square of the residual is on the average equal to the square of the error. So the average value of each term in the sum is 1., and the chi-square sum is expected to be roughly the number of data points.

18 Gnuplot Chi-Square Fits Gnuplot does chi-square fits if you give it a third column containing measured or calculated errors on points. It reports the degrees of freedom which is number of data points minus number of fit parameters, and the reduced chisquare which is the chi-square divided by degrees of freedom. Here s the results for the above fit, using combined vertical and horizontal errors degrees of freedom (ndf) : 998 rms of residuals (stdfit) = sqrt(wssr/ndf) : variance of residuals (reduced chisquare) = WSSR/ndf : This is actually too good, which probably means that the errors used in the fit are larger than they should be. Remember that the pulls-plot showed that nearly all the pulls were zero within the errors, more than the expected 2/3. For comparison, here s the results using only the vertical error from digitizer quantization: degrees of freedom (ndf) : 998 rms of residuals (stdfit) = sqrt(wssr/ndf) : variance of residuals (reduced chisquare) = WSSR/ndf : This is an awful chi-square! Remember that the residuals plot with only vertical errors had huge scatter for large voltage, so this should not be surprising.

19 Chi-Square Fits and Parameter Errors If reduced chisquare is much greater than 1, then something is wrong. Either the model function cannot reproduce the shape of the data (which could be a problem with the model, or a problem with the data), or the program didn t converge properly, or the errors assigned to the data are too small. So play with the model function to see if you can make it show all the features of the data, check convergence (fit function vs data, lambda-value), plot residuals and pulls to see where the problem is. If reduced chi-square is much less than 1, almost always the errors assigned to the data are too large. That s what happened in the above example. Remember Gnuplot scales parameter errors by the square root of the reduced chi-square. If the reduced chi-square is close to 1 like it s supposed to be, this doesn t change things much. If it s much less than 1, probably you used errors that were too big, so the standard fit parameter errors were probably too big, and the re-scaled errors are probably about right. If it s much greater than 1, Gnuplot s errors have been inflated. But you shouldn t really trust anything in such cases.

20 Improving Data with Different Resistors The function predicts negative current at negative voltage, and our data shows positive current at negative voltage. But, if we extrapolate the fit, the negative current is very small. We wouldn t really be able to see it, because the digitizer step size is too coarse. On a linear scale: 5e-8 4e-8 'diode.dat' u ($1-$3):($3/R) I(x) 3e-8 2e-8 1e-8-1e The data you took at the end, with no voltage going into the circuit, allows you to measure the offset of the digitizer, which should help explain this disagreement. We can t reduce the digitizer step size, but we can increase the voltage signal that we get for a given current, but using a larger resistor value. Using 1 million Ohms instead of 1K would increase the signal by a factor of 1, making it more easily visible over the digitizer. This will make the negative-voltage range measureable, but will limit the range at positive voltage. So we will need to combine measurements with different resistors.

21 Combining Data Files Gnuplot can t fit multiple data files. So to fit all of the data, you will need to combine the files together into one. We need to tell Gnuplot which resistor value to use for which data points. But Gnuplot only thinks about one line of the data file at a time, so we have to get the resistor value into each line of the file. That s what the AddCols program is for. You can find it on the course web page. Alternatively, and possibly more convenientely, you can use either Gnumeric or Excel. When you fit the combined data, it s OK to leave in all the points which look far from the line, as long as you tell Gnuplot what the errors on each point are. This will vary from file to file because the resistor values are different, and you may also have used different digitizer inputs which have different quantization errors for different files. You have to make sure that Gnuplot has enough information on each line of the file to calculate the right error. That error should include the contribution of the horizontal error times the function slope.

22 Fitting Combined Data Your data will probably cover more than 6 orders of magnitude. Having a model that works over a factor of a million is pretty impressive! You should probably exclude the highest-voltage points from the fit of the combined data file. They are probably rather inconsistent with the simple exponential model. It s interesting to plot the measured current divided by fitted function, with errorbars. If you excluded the right range, this should be flat over the fit range with 2/3 of the points with errorbars crossing 1.. Above the fit range, it will systematically deviate from the simple exponential model. The final lab session will be on the temperature dependence of the current-voltage relation. Both V and I depend on temperature rather strongly. You will dip diodes in boiling water, ice water, dry-ice and alcohol, and liquid nitrogen. You will have to decide what resistor value(s) to use, and what voltage ranges to use.

Administrivia. Next Monday is Thanksgiving holiday. Tuesday and Wednesday the lab will be open for make-up labs. Lecture as usual on Thursday.

Administrivia. Next Monday is Thanksgiving holiday. Tuesday and Wednesday the lab will be open for make-up labs. Lecture as usual on Thursday. Administrivia Next Monday is Thanksgiving holiday. Tuesday and Wednesday the lab will be open for make-up labs. Lecture as usual on Thursday. Lab notebooks will be due the week after Thanksgiving, when

More information

An introduction to plotting data

An introduction to plotting data An introduction to plotting data Eric D. Black California Institute of Technology February 25, 2014 1 Introduction Plotting data is one of the essential skills every scientist must have. We use it on a

More information

Table of Laplace Transforms

Table of Laplace Transforms Table of Laplace Transforms 1 1 2 3 4, p > -1 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 Heaviside Function 27 28. Dirac Delta Function 29 30. 31 32. 1 33 34. 35 36. 37 Laplace Transforms

More information

Chapter 3 Analyzing Normal Quantitative Data

Chapter 3 Analyzing Normal Quantitative Data Chapter 3 Analyzing Normal Quantitative Data Introduction: In chapters 1 and 2, we focused on analyzing categorical data and exploring relationships between categorical data sets. We will now be doing

More information

a. divided by the. 1) Always round!! a) Even if class width comes out to a, go up one.

a. divided by the. 1) Always round!! a) Even if class width comes out to a, go up one. Probability and Statistics Chapter 2 Notes I Section 2-1 A Steps to Constructing Frequency Distributions 1 Determine number of (may be given to you) a Should be between and classes 2 Find the Range a The

More information

LAB 2: DATA FILTERING AND NOISE REDUCTION

LAB 2: DATA FILTERING AND NOISE REDUCTION NAME: LAB TIME: LAB 2: DATA FILTERING AND NOISE REDUCTION In this exercise, you will use Microsoft Excel to generate several synthetic data sets based on a simplified model of daily high temperatures in

More information

Here is the data collected.

Here is the data collected. Introduction to Scientific Analysis of Data Using Spreadsheets. Computer spreadsheets are very powerful tools that are widely used in Business, Science, and Engineering to perform calculations and record,

More information

1.7 Limit of a Function

1.7 Limit of a Function 1.7 Limit of a Function We will discuss the following in this section: 1. Limit Notation 2. Finding a it numerically 3. Right and Left Hand Limits 4. Infinite Limits Consider the following graph Notation:

More information

Chapter 6: DESCRIPTIVE STATISTICS

Chapter 6: DESCRIPTIVE STATISTICS Chapter 6: DESCRIPTIVE STATISTICS Random Sampling Numerical Summaries Stem-n-Leaf plots Histograms, and Box plots Time Sequence Plots Normal Probability Plots Sections 6-1 to 6-5, and 6-7 Random Sampling

More information

Why Use Graphs? Test Grade. Time Sleeping (Hrs) Time Sleeping (Hrs) Test Grade

Why Use Graphs? Test Grade. Time Sleeping (Hrs) Time Sleeping (Hrs) Test Grade Analyzing Graphs Why Use Graphs? It has once been said that a picture is worth a thousand words. This is very true in science. In science we deal with numbers, some times a great many numbers. These numbers,

More information

appstats6.notebook September 27, 2016

appstats6.notebook September 27, 2016 Chapter 6 The Standard Deviation as a Ruler and the Normal Model Objectives: 1.Students will calculate and interpret z scores. 2.Students will compare/contrast values from different distributions using

More information

TNG-3B derives its operating power from the serial port. The DTR, RTS, and both data lines are all used, and must be properly connected.

TNG-3B derives its operating power from the serial port. The DTR, RTS, and both data lines are all used, and must be properly connected. TNG-3B FAQ December 4, 2004 1. What s a TNG? TNG is pronounced thing as in The Cat in the Hat by Dr. Seuss, and stands for totally neat gadget. TNG-3B is the third in an evolutionary line of simple data

More information

Computer Data Analysis and Plotting

Computer Data Analysis and Plotting Phys 122 February 6, 2006 quark%//~bland/docs/manuals/ph122/pcintro/pcintro.doc Computer Data Analysis and Plotting In this lab we will use Microsot EXCEL to do our calculations. This program has been

More information

Figure 1. Figure 2. The BOOTSTRAP

Figure 1. Figure 2. The BOOTSTRAP The BOOTSTRAP Normal Errors The definition of error of a fitted variable from the variance-covariance method relies on one assumption- that the source of the error is such that the noise measured has a

More information

Error Analysis, Statistics and Graphing

Error Analysis, Statistics and Graphing Error Analysis, Statistics and Graphing This semester, most of labs we require us to calculate a numerical answer based on the data we obtain. A hard question to answer in most cases is how good is your

More information

A practical guide to computer simulation II

A practical guide to computer simulation II A practical guide to computer simulation II Alexander K. Hartmann, University of Göttingen June 18, 2003 7 Data analysis 7.1 Data plotting Two programs discussed here: gnuplot and xmgrace. gnuplot xmgrace

More information

0 Graphical Analysis Use of Excel

0 Graphical Analysis Use of Excel Lab 0 Graphical Analysis Use of Excel What You Need To Know: This lab is to familiarize you with the graphing ability of excels. You will be plotting data set, curve fitting and using error bars on the

More information

Computer Data Analysis and Use of Excel

Computer Data Analysis and Use of Excel Computer Data Analysis and Use o Excel I. Theory In this lab we will use Microsot EXCEL to do our calculations and error analysis. This program was written primarily or use by the business community, so

More information

Lab 12: The What the Hell Do I Do with All These Trees Lab

Lab 12: The What the Hell Do I Do with All These Trees Lab Integrative Biology 200A University of California, Berkeley Principals of Phylogenetics Spring 2010 Updated by Nick Matzke Lab 12: The What the Hell Do I Do with All These Trees Lab We ve generated a lot

More information

10.4 Linear interpolation method Newton s method

10.4 Linear interpolation method Newton s method 10.4 Linear interpolation method The next best thing one can do is the linear interpolation method, also known as the double false position method. This method works similarly to the bisection method by

More information

One way ANOVA when the data are not normally distributed (The Kruskal-Wallis test).

One way ANOVA when the data are not normally distributed (The Kruskal-Wallis test). One way ANOVA when the data are not normally distributed (The Kruskal-Wallis test). Suppose you have a one way design, and want to do an ANOVA, but discover that your data are seriously not normal? Just

More information

Fourier Transforms and Signal Analysis

Fourier Transforms and Signal Analysis Fourier Transforms and Signal Analysis The Fourier transform analysis is one of the most useful ever developed in Physical and Analytical chemistry. Everyone knows that FTIR is based on it, but did one

More information

Area and Perimeter EXPERIMENT. How are the area and perimeter of a rectangle related? You probably know the formulas by heart:

Area and Perimeter EXPERIMENT. How are the area and perimeter of a rectangle related? You probably know the formulas by heart: Area and Perimeter How are the area and perimeter of a rectangle related? You probably know the formulas by heart: Area Length Width Perimeter (Length Width) But if you look at data for many different

More information

Graphical Analysis of Data using Microsoft Excel [2016 Version]

Graphical Analysis of Data using Microsoft Excel [2016 Version] Graphical Analysis of Data using Microsoft Excel [2016 Version] Introduction In several upcoming labs, a primary goal will be to determine the mathematical relationship between two variable physical parameters.

More information

CPSC 340: Machine Learning and Data Mining. More Regularization Fall 2017

CPSC 340: Machine Learning and Data Mining. More Regularization Fall 2017 CPSC 340: Machine Learning and Data Mining More Regularization Fall 2017 Assignment 3: Admin Out soon, due Friday of next week. Midterm: You can view your exam during instructor office hours or after class

More information

Here is the probability distribution of the errors (i.e. the magnitude of the errorbars):

Here is the probability distribution of the errors (i.e. the magnitude of the errorbars): The BOOTSTRAP Normal Errors The definition of error of a fitted variable from the variance-covariance method relies on one assumption- that the source of the error is such that the noise measured has a

More information

Using Excel for Graphical Analysis of Data

Using Excel for Graphical Analysis of Data EXERCISE Using Excel for Graphical Analysis of Data Introduction In several upcoming experiments, a primary goal will be to determine the mathematical relationship between two variable physical parameters.

More information

MA 1128: Lecture 02 1/22/2018

MA 1128: Lecture 02 1/22/2018 MA 1128: Lecture 02 1/22/2018 Exponents Scientific Notation 1 Exponents Exponents are used to indicate how many copies of a number are to be multiplied together. For example, I like to deal with the signs

More information

Polynomial Models Studio October 27, 2006

Polynomial Models Studio October 27, 2006 Polynomial Models Studio October 27, 26 A. Download the data spreadsheet, open it, and select the tab labeled Murder. This has the FBI Uniform Crime Statistics reports of Murder and non-negligent manslaughter

More information

Everything you did not want to know about least squares and positional tolerance! (in one hour or less) Raymond J. Hintz, PLS, PhD University of Maine

Everything you did not want to know about least squares and positional tolerance! (in one hour or less) Raymond J. Hintz, PLS, PhD University of Maine Everything you did not want to know about least squares and positional tolerance! (in one hour or less) Raymond J. Hintz, PLS, PhD University of Maine Least squares is used in varying degrees in -Conventional

More information

Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller

Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller Table of Contents Introduction!... 1 Part 1: Entering Data!... 2 1.a: Typing!... 2 1.b: Editing

More information

(Refer Slide Time: 02:59)

(Refer Slide Time: 02:59) Numerical Methods and Programming P. B. Sunil Kumar Department of Physics Indian Institute of Technology, Madras Lecture - 7 Error propagation and stability Last class we discussed about the representation

More information

Selecting the Right Model Studio - Excel 2007 Version

Selecting the Right Model Studio - Excel 2007 Version Name Recitation Selecting the Right Model Studio - Excel 2007 Version We have seen linear and quadratic models for various data sets. However, once one collects data it is not always clear what model to

More information

#$ % $ $& "$%% " $ '$ " '

#$ % $ $& $%%  $ '$  ' ! " This section of the course covers techniques for pairwise (i.e., scanto-scan) and global (i.e., involving more than 2 scans) alignment, given that the algorithms are constrained to obtain a rigid-body

More information

Lab 9. Julia Janicki. Introduction

Lab 9. Julia Janicki. Introduction Lab 9 Julia Janicki Introduction My goal for this project is to map a general land cover in the area of Alexandria in Egypt using supervised classification, specifically the Maximum Likelihood and Support

More information

XI Signal-to-Noise (SNR)

XI Signal-to-Noise (SNR) XI Signal-to-Noise (SNR) Lecture notes by Assaf Tal n(t) t. Noise. Characterizing Noise Noise is a random signal that gets added to all of our measurements. In D it looks like this: while in D

More information

Important Things to Remember on the SOL

Important Things to Remember on the SOL Notes Important Things to Remember on the SOL Evaluating Expressions *To evaluate an expression, replace all of the variables in the given problem with the replacement values and use (order of operations)

More information

STA Rev. F Learning Objectives. Learning Objectives (Cont.) Module 3 Descriptive Measures

STA Rev. F Learning Objectives. Learning Objectives (Cont.) Module 3 Descriptive Measures STA 2023 Module 3 Descriptive Measures Learning Objectives Upon completing this module, you should be able to: 1. Explain the purpose of a measure of center. 2. Obtain and interpret the mean, median, and

More information

LAB 2: DATA FILTERING AND NOISE REDUCTION

LAB 2: DATA FILTERING AND NOISE REDUCTION NAME: LAB SECTION: LAB 2: DATA FILTERING AND NOISE REDUCTION In this exercise, you will use Microsoft Excel to generate several synthetic data sets based on a simplified model of daily high temperatures

More information

Using Excel for Graphical Analysis of Data

Using Excel for Graphical Analysis of Data Using Excel for Graphical Analysis of Data Introduction In several upcoming labs, a primary goal will be to determine the mathematical relationship between two variable physical parameters. Graphs are

More information

Properties and Definitions

Properties and Definitions Section 0.1 Contents: Operations Defined Multiplication as an Abbreviation Visualizing Multiplication Commutative Properties Parentheses Associative Properties Identities Zero Product Answers to Exercises

More information

(Refer Slide Time: 00:01:30)

(Refer Slide Time: 00:01:30) Digital Circuits and Systems Prof. S. Srinivasan Department of Electrical Engineering Indian Institute of Technology, Madras Lecture - 32 Design using Programmable Logic Devices (Refer Slide Time: 00:01:30)

More information

Spectroscopic Analysis: Peak Detector

Spectroscopic Analysis: Peak Detector Electronics and Instrumentation Laboratory Sacramento State Physics Department Spectroscopic Analysis: Peak Detector Purpose: The purpose of this experiment is a common sort of experiment in spectroscopy.

More information

An Introduction to Gnuplot for Chemists. By Nicholas Fitzkee Mississippi State University Updated September 1, 2016

An Introduction to Gnuplot for Chemists. By Nicholas Fitzkee Mississippi State University Updated September 1, 2016 An Introduction to Gnuplot for Chemists By Nicholas Fitzkee Mississippi State University Updated September 1, 2016 Introduction Many biophysical problems involve fitting a model (as described by some mathematical

More information

Grade 6 Math Circles November 6 & Relations, Functions, and Morphisms

Grade 6 Math Circles November 6 & Relations, Functions, and Morphisms Faculty of Mathematics Waterloo, Ontario N2L 3G1 Centre for Education in Mathematics and Computing Relations Let s talk about relations! Grade 6 Math Circles November 6 & 7 2018 Relations, Functions, and

More information

The problem we have now is called variable selection or perhaps model selection. There are several objectives.

The problem we have now is called variable selection or perhaps model selection. There are several objectives. STAT-UB.0103 NOTES for Wednesday 01.APR.04 One of the clues on the library data comes through the VIF values. These VIFs tell you to what extent a predictor is linearly dependent on other predictors. We

More information

Note. The above image and many others are courtesy of - this is a wonderful resource for designing circuits.

Note. The above image and many others are courtesy of   - this is a wonderful resource for designing circuits. Robotics and Electronics Unit 2. Arduino Objectives. Students will understand the basic characteristics of an Arduino Uno microcontroller. understand the basic structure of an Arduino program. know how

More information

How Do I Choose Which Type of Graph to Use?

How Do I Choose Which Type of Graph to Use? How Do I Choose Which Type of Graph to Use? When to Use...... a Line graph. Line graphs are used to track changes over short and long periods of time. When smaller changes exist, line graphs are better

More information

MAT 003 Brian Killough s Instructor Notes Saint Leo University

MAT 003 Brian Killough s Instructor Notes Saint Leo University MAT 003 Brian Killough s Instructor Notes Saint Leo University Success in online courses requires self-motivation and discipline. It is anticipated that students will read the textbook and complete sample

More information

2.9 Linear Approximations and Differentials

2.9 Linear Approximations and Differentials 2.9 Linear Approximations and Differentials 2.9.1 Linear Approximation Consider the following graph, Recall that this is the tangent line at x = a. We had the following definition, f (a) = lim x a f(x)

More information

Class #15: Experiment Introduction to Matlab

Class #15: Experiment Introduction to Matlab Class #15: Experiment Introduction to Matlab Purpose: The objective of this experiment is to begin to use Matlab in our analysis of signals, circuits, etc. Background: Before doing this experiment, students

More information

Connecting LEDs to the ADB I/O

Connecting LEDs to the ADB I/O Application Note AN-2 By Magnus Pettersson September 26 1996 Connecting LEDs to the I/O Introduction The following notes are for those of you who are a bit inexperienced with hardware components. This

More information

4b: Making an auxiliary table for calculating the standard deviation

4b: Making an auxiliary table for calculating the standard deviation In the book we discussed the use of an auxiliary table to calculate variance and standard deviation (Table 4.3). Such a table gives much more insight in the underlying calculations than the simple number

More information

Introduction to MATLABs Data Acquisition Toolbox, the USB DAQ, and accelerometers

Introduction to MATLABs Data Acquisition Toolbox, the USB DAQ, and accelerometers Introduction to MATLABs Data Acquisition Toolbox, the USB DAQ, and accelerometers This week we will start to learn the software that we will use through the course, MATLAB s Data Acquisition Toolbox. This

More information

Statistics: Interpreting Data and Making Predictions. Visual Displays of Data 1/31

Statistics: Interpreting Data and Making Predictions. Visual Displays of Data 1/31 Statistics: Interpreting Data and Making Predictions Visual Displays of Data 1/31 Last Time Last time we discussed central tendency; that is, notions of the middle of data. More specifically we discussed

More information

X-ray Spectra Part II: Fitting Data and Determining Errors

X-ray Spectra Part II: Fitting Data and Determining Errors X-ray Spectra Part II: Fitting Data and Determining Errors Michael Nowak, mnowak@space.mit.edu May 12, 2016 Setting Up the Data This exercise presumes that you ve downloaded and installed the.isisrc files

More information

Part 1 - Your First algorithm

Part 1 - Your First algorithm California State University, Sacramento College of Engineering and Computer Science Computer Science 10: Introduction to Programming Logic Spring 2016 Activity A Introduction to Flowgorithm Flowcharts

More information

NAME EET 2259 Lab 3 The Boolean Data Type

NAME EET 2259 Lab 3 The Boolean Data Type NAME EET 2259 Lab 3 The Boolean Data Type OBJECTIVES - Understand the differences between numeric data and Boolean data. -Write programs using LabVIEW s Boolean controls and indicators, Boolean constants,

More information

Part 1 - Your First algorithm

Part 1 - Your First algorithm California State University, Sacramento College of Engineering and Computer Science Computer Science 10A: Accelerated Introduction to Programming Logic Spring 2017 Activity A Introduction to Flowgorithm

More information

Fundamentals. Fundamentals. Fundamentals. We build up instructions from three types of materials

Fundamentals. Fundamentals. Fundamentals. We build up instructions from three types of materials Fundamentals We build up instructions from three types of materials Constants Expressions Fundamentals Constants are just that, they are values that don t change as our macros are executing Fundamentals

More information

STA Module 4 The Normal Distribution

STA Module 4 The Normal Distribution STA 2023 Module 4 The Normal Distribution Learning Objectives Upon completing this module, you should be able to 1. Explain what it means for a variable to be normally distributed or approximately normally

More information

STA /25/12. Module 4 The Normal Distribution. Learning Objectives. Let s Look at Some Examples of Normal Curves

STA /25/12. Module 4 The Normal Distribution. Learning Objectives. Let s Look at Some Examples of Normal Curves STA 2023 Module 4 The Normal Distribution Learning Objectives Upon completing this module, you should be able to 1. Explain what it means for a variable to be normally distributed or approximately normally

More information

3.9 LINEAR APPROXIMATION AND THE DERIVATIVE

3.9 LINEAR APPROXIMATION AND THE DERIVATIVE 158 Chapter Three SHORT-CUTS TO DIFFERENTIATION 39 LINEAR APPROXIMATION AND THE DERIVATIVE The Tangent Line Approximation When we zoom in on the graph of a differentiable function, it looks like a straight

More information

To Plot a Graph in Origin. Example: Number of Counts from a Geiger- Müller Tube as a Function of Supply Voltage

To Plot a Graph in Origin. Example: Number of Counts from a Geiger- Müller Tube as a Function of Supply Voltage To Plot a Graph in Origin Example: Number of Counts from a Geiger- Müller Tube as a Function of Supply Voltage 1 Digression on Error Bars What entity do you use for the magnitude of the error bars? Standard

More information

Descriptive Statistics, Standard Deviation and Standard Error

Descriptive Statistics, Standard Deviation and Standard Error AP Biology Calculations: Descriptive Statistics, Standard Deviation and Standard Error SBI4UP The Scientific Method & Experimental Design Scientific method is used to explore observations and answer questions.

More information

Chapter 1. Introduction

Chapter 1. Introduction Chapter 1 Introduction A Monte Carlo method is a compuational method that uses random numbers to compute (estimate) some quantity of interest. Very often the quantity we want to compute is the mean of

More information

Appendix C. Vernier Tutorial

Appendix C. Vernier Tutorial C-1. Vernier Tutorial Introduction: In this lab course, you will collect, analyze and interpret data. The purpose of this tutorial is to teach you how to use the Vernier System to collect and transfer

More information

Graphing Rational Functions

Graphing Rational Functions Graphing Rational Functions Return to Table of Contents 109 Vocabulary Review x-intercept: The point where a graph intersects with the x-axis and the y-value is zero. y-intercept: The point where a graph

More information

addition + =5+C2 adds 5 to the value in cell C2 multiplication * =F6*0.12 multiplies the value in cell F6 by 0.12

addition + =5+C2 adds 5 to the value in cell C2 multiplication * =F6*0.12 multiplies the value in cell F6 by 0.12 BIOL 001 Excel Quick Reference Guide (Office 2010) For your lab report and some of your assignments, you will need to use Excel to analyze your data and/or generate graphs. This guide highlights specific

More information

Lesson 16: More on Modeling Relationships with a Line

Lesson 16: More on Modeling Relationships with a Line Student Outcomes Students use the least squares line to predict values for a given data set. Students use residuals to evaluate the accuracy of predictions based on the least squares line. Lesson Notes

More information

Probability and Statistics for Final Year Engineering Students

Probability and Statistics for Final Year Engineering Students Probability and Statistics for Final Year Engineering Students By Yoni Nazarathy, Last Updated: April 11, 2011. Lecture 1: Introduction and Basic Terms Welcome to the course, time table, assessment, etc..

More information

A Quick Introduction to R

A Quick Introduction to R Math 4501 Fall 2012 A Quick Introduction to R The point of these few pages is to give you a quick introduction to the possible uses of the free software R in statistical analysis. I will only expect you

More information

For our example, we will look at the following factors and factor levels.

For our example, we will look at the following factors and factor levels. In order to review the calculations that are used to generate the Analysis of Variance, we will use the statapult example. By adjusting various settings on the statapult, you are able to throw the ball

More information

Math 182. Assignment #4: Least Squares

Math 182. Assignment #4: Least Squares Introduction Math 182 Assignment #4: Least Squares In any investigation that involves data collection and analysis, it is often the goal to create a mathematical function that fits the data. That is, a

More information

GG450 4/5/2010. Today s material comes from p and in the text book. Please read and understand all of this material!

GG450 4/5/2010. Today s material comes from p and in the text book. Please read and understand all of this material! GG450 April 6, 2010 Seismic Reflection I Today s material comes from p. 32-33 and 81-116 in the text book. Please read and understand all of this material! Back to seismic waves Last week we talked about

More information

Progress on G4 FDIRC Simulation. Doug Roberts University of Maryland

Progress on G4 FDIRC Simulation. Doug Roberts University of Maryland Progress on G4 FDIRC Simulation Doug Roberts University of Maryland Since SLAC Workshop Spent some time trying to streamline and speed-up the reconstruction technique Needed quicker turnaround on resolution

More information

NORTHERN ILLINOIS UNIVERSITY PHYSICS DEPARTMENT. Physics 211 E&M and Quantum Physics Spring Lab #7: Reflection & Refraction

NORTHERN ILLINOIS UNIVERSITY PHYSICS DEPARTMENT. Physics 211 E&M and Quantum Physics Spring Lab #7: Reflection & Refraction NORTHERN ILLINOIS UNIVERSITY PHYSICS DEPARTMENT Physics 211 E&M and Quantum Physics Spring 2018 Lab #7: Reflection & Refraction Lab Writeup Due: Mon/Wed/Thu/Fri, March 26/28/29/30, 2018 Background Light

More information

Welfare Navigation Using Genetic Algorithm

Welfare Navigation Using Genetic Algorithm Welfare Navigation Using Genetic Algorithm David Erukhimovich and Yoel Zeldes Hebrew University of Jerusalem AI course final project Abstract Using standard navigation algorithms and applications (such

More information

Version 1.1. COPYRIGHT 1999 Tufts University and Vernier Software. ISBN (Windows) ISBN (Macintosh)

Version 1.1. COPYRIGHT 1999 Tufts University and Vernier Software. ISBN (Windows) ISBN (Macintosh) Logger Pro Tutorials Version 1.1 COPYRIGHT 1999 Tufts University and Vernier Software ISBN 0-918731-92-5 (Windows) ISBN 0-918731-91-7 (Macintosh) Distributed by Vernier Software 8565 S.W. Beaverton-Hillsdale

More information

The method of rationalizing

The method of rationalizing Roberto s Notes on Differential Calculus Chapter : Resolving indeterminate forms Section The method of rationalizing What you need to know already: The concept of it and the factor-and-cancel method of

More information

John's Tutorial on Everyday Mathcad (Version 9/2/09) Mathcad is not the specialist's ultimate mathematical simulator

John's Tutorial on Everyday Mathcad (Version 9/2/09) Mathcad is not the specialist's ultimate mathematical simulator John's Tutorial on Everyday Mathcad (Version 9/2/09) Mathcad isn't: Mathcad is not the specialist's ultimate mathematical simulator Applied mathematicians may prefer the power of Mathematica Complex programs

More information

ENGR 40M Project 3c: Switch debouncing

ENGR 40M Project 3c: Switch debouncing ENGR 40M Project 3c: Switch debouncing For due dates, see the overview handout 1 Introduction This week, you will build on the previous two labs and program the Arduino to respond to an input from the

More information

Is the statement sufficient? If both x and y are odd, is xy odd? 1) xy 2 < 0. Odds & Evens. Positives & Negatives. Answer: Yes, xy is odd

Is the statement sufficient? If both x and y are odd, is xy odd? 1) xy 2 < 0. Odds & Evens. Positives & Negatives. Answer: Yes, xy is odd Is the statement sufficient? If both x and y are odd, is xy odd? Is x < 0? 1) xy 2 < 0 Positives & Negatives Answer: Yes, xy is odd Odd numbers can be represented as 2m + 1 or 2n + 1, where m and n are

More information

Four Types of Slope Positive Slope Negative Slope Zero Slope Undefined Slope Slope Dude will help us understand the 4 types of slope

Four Types of Slope Positive Slope Negative Slope Zero Slope Undefined Slope Slope Dude will help us understand the 4 types of slope Four Types of Slope Positive Slope Negative Slope Zero Slope Undefined Slope Slope Dude will help us understand the 4 types of slope https://www.youtube.com/watch?v=avs6c6_kvxm Direct Variation

More information

Section 2.3: Simple Linear Regression: Predictions and Inference

Section 2.3: Simple Linear Regression: Predictions and Inference Section 2.3: Simple Linear Regression: Predictions and Inference Jared S. Murray The University of Texas at Austin McCombs School of Business Suggested reading: OpenIntro Statistics, Chapter 7.4 1 Simple

More information

5 R1 The one green in the same place so either of these could be green.

5 R1 The one green in the same place so either of these could be green. Page: 1 of 20 1 R1 Now. Maybe what we should do is write out the cases that work. We wrote out one of them really very clearly here. [R1 takes out some papers.] Right? You did the one here um where you

More information

Divisibility Rules and Their Explanations

Divisibility Rules and Their Explanations Divisibility Rules and Their Explanations Increase Your Number Sense These divisibility rules apply to determining the divisibility of a positive integer (1, 2, 3, ) by another positive integer or 0 (although

More information

The method of rationalizing

The method of rationalizing Roberto s Notes on Differential Calculus Chapter : Resolving indeterminate forms Section The method of rationalizing What you need to know already: The concept of it and the factor-and-cancel method of

More information

FUNCTIONS AND MODELS

FUNCTIONS AND MODELS 1 FUNCTIONS AND MODELS FUNCTIONS AND MODELS In this section, we assume that you have access to a graphing calculator or a computer with graphing software. FUNCTIONS AND MODELS 1.4 Graphing Calculators

More information

IDS 101 Introduction to Spreadsheets

IDS 101 Introduction to Spreadsheets IDS 101 Introduction to Spreadsheets A spreadsheet will be a valuable tool in our analysis of the climate data we will examine this year. The specific goals of this module are to help you learn: how to

More information

Appendix E: Software

Appendix E: Software Appendix E: Software Video Analysis of Motion Analyzing pictures (movies or videos) is a powerful tool for understanding how objects move. Like most forms of data, video is most easily analyzed using a

More information

(Refer Slide Time 3:31)

(Refer Slide Time 3:31) Digital Circuits and Systems Prof. S. Srinivasan Department of Electrical Engineering Indian Institute of Technology Madras Lecture - 5 Logic Simplification In the last lecture we talked about logic functions

More information

A. Incorrect! This would be the negative of the range. B. Correct! The range is the maximum data value minus the minimum data value.

A. Incorrect! This would be the negative of the range. B. Correct! The range is the maximum data value minus the minimum data value. AP Statistics - Problem Drill 05: Measures of Variation No. 1 of 10 1. The range is calculated as. (A) The minimum data value minus the maximum data value. (B) The maximum data value minus the minimum

More information

Vocabulary Unit 2-3: Linear Functions & Healthy Lifestyles. Scale model a three dimensional model that is similar to a three dimensional object.

Vocabulary Unit 2-3: Linear Functions & Healthy Lifestyles. Scale model a three dimensional model that is similar to a three dimensional object. Scale a scale is the ratio of any length in a scale drawing to the corresponding actual length. The lengths may be in different units. Scale drawing a drawing that is similar to an actual object or place.

More information

Foundations of Math II

Foundations of Math II Foundations of Math II Unit 6b: Toolkit Functions Academics High School Mathematics 6.6 Warm Up: Review Graphing Linear, Exponential, and Quadratic Functions 2 6.6 Lesson Handout: Linear, Exponential,

More information

3.1. 3x 4y = 12 3(0) 4y = 12. 3x 4y = 12 3x 4(0) = y = x 0 = 12. 4y = 12 y = 3. 3x = 12 x = 4. The Rectangular Coordinate System

3.1. 3x 4y = 12 3(0) 4y = 12. 3x 4y = 12 3x 4(0) = y = x 0 = 12. 4y = 12 y = 3. 3x = 12 x = 4. The Rectangular Coordinate System 3. The Rectangular Coordinate System Interpret a line graph. Objectives Interpret a line graph. Plot ordered pairs. 3 Find ordered pairs that satisfy a given equation. 4 Graph lines. 5 Find x- and y-intercepts.

More information

1 R1 Right. I mean to keep track. Um. I know that uh do you remember a few years ago um Dr. Davis was in and you were dealing with the Tower of Hanoi?

1 R1 Right. I mean to keep track. Um. I know that uh do you remember a few years ago um Dr. Davis was in and you were dealing with the Tower of Hanoi? Page: 1 of 7 1 R1 Right. I mean to keep track. Um. I know that uh do you remember a few years ago um Dr. Davis was in and you were dealing with the Tower of Hanoi? 2 Stephanie Yes. 3 R1 That was you have

More information

Maximum and Minimum Slopes Wilfrid Laurier University

Maximum and Minimum Slopes Wilfrid Laurier University Maximum and Minimum Slopes Wilfrid Laurier University Wilfrid Laurier University December 12, 2014 In this document, you ll learn: In this document, you ll learn: how to determine the uncertainties in

More information

Section 1.1 Definitions and Properties

Section 1.1 Definitions and Properties Section 1.1 Definitions and Properties Objectives In this section, you will learn to: To successfully complete this section, you need to understand: Abbreviate repeated addition using Exponents and Square

More information

Excel Spreadsheets and Graphs

Excel Spreadsheets and Graphs Excel Spreadsheets and Graphs Spreadsheets are useful for making tables and graphs and for doing repeated calculations on a set of data. A blank spreadsheet consists of a number of cells (just blank spaces

More information