Problem 1 Multiple sets of data on a single graph [Gottfried, pg. 92], Downloading, Importing Data

Similar documents
Data Analysis Part 1: Excel, Log-log, & Semi-log plots

Selecting the Right Model Studio PC Version

CHM 152 Lab 1: Plotting with Excel updated: May 2011

Appendix 3 - Using A Spreadsheet for Data Analysis

Experiment G: Introduction to Graphical Representation of Data & the Use of Excel

Graphing with Excel. Data Table

MATHEMATICAL FUNCTIONS AND GRAPHS

Microsoft Excel: Data Analysis & Graphing. College of Engineering Engineering Education Innovation Center

Laboratory 1: Motion in One Dimension

Section 3 Correlation and Regression - Worksheet

Plotting scientific data in MS Excel 2003/2004

This tutorial will lead you through step-by-step to make the plot below using Excel.

Excel Lab 2: Plots of Data Sets

Write a spreadsheet formula in cell A3 to calculate the next value of h. Formulae

CHM 109 Excel Refresher Exercise adapted from Dr. C. Bender s exercise

Appendix C: Graphing. How do I plot data and uncertainties? Another technique that makes data analysis easier is to record all your data in a table.

Excel Tool: Plots of Data Sets

Laboratory 2: Graphing

A graph is an effective way to show a trend in data or relating two variables in an experiment.

A To draw a line graph showing the connection between the time and cost

Sensors and Scatterplots Activity Excel Worksheet

Step 1: Set up the variables AB Design. Use the top cells to label the variables that will be displayed on the X and Y axes of the graph


LAB IV. SILICON DIODE CHARACTERISTICS

Excel Manual X Axis Scales 2010 Graph Two X-

ENGR 102 PROBLEM SOLVING FOR ENGINEERS

Honors Chemistry Summer Assignment

How to Make a Run Chart in Excel

CREATING (AB) SINGLE- SUBJECT DESIGN GRAPHS IN MICROSOFT EXCEL Lets try to graph this data

Try what you learned (and some new things too)

Use Linear Regression to Find the Best Line on a Graphing Calculator

Plotting Points in 2-dimensions. Graphing 2 variable equations. Stuff About Lines

Appendix III Graphs in the Introductory Physics Laboratory

Uncovering a Hidden RCL Series Circuit

Chapter 2. The Excel functions, Excel Analysis ToolPak Add-ins or Excel PHStat2 Add-ins needed to create frequency distributions are:

Volume of Revolution Investigation

Spreadsheets 3: Charts and Graphs

This lab is to be completed using University computer labs in your own time.

Engineering Fundamentals and Problem Solving, 6e

PASS Sample Size Software. These options specify the characteristics of the lines, labels, and tick marks along the X and Y axes.

Physics 253 Fundamental Physics Mechanic, September 9, Lab #2 Plotting with Excel: The Air Slide

Experiment 2: Electronic Enhancement of S/N and Boxcar Filtering

Sensor Calibration Lab

Comparing Across Categories Part of a Series of Tutorials on using Google Sheets to work with data for making charts in Venngage

Excel 2013 Unit A: Getting Started With Excel 2013

MicroLab 500-series Getting Started

OHM S LAW. Ohm s Law The relationship between potential difference (V) across a resistor of resistance (R) and the current (I) passing through it is

Excel Manual X Axis Label Below Chart 2010 >>>CLICK HERE<<<

Experiment 1: BUILDING THE FOUNDATION FOR THE CHEMISTRY LAB COURSE

Assignment 5 due Monday, May 7

Excel 2003: Discos. 1. Open Excel. 2. Create Choose a new worksheet and save the file to your area calling it: Disco.xls

ECE 3155 Experiment I AC Circuits and Bode Plots Rev. lpt jan 2013

PivotTables PivotCharts (Chapter 5)

Purpose. Charts and graphs. create a visual representation of the data. make the spreadsheet information easier to understand.

Excel Manual X Axis Scale Start At Graph

Sensor Calibration Lab

Office 2016 Excel Basics 24 Video/Class Project #36 Excel Basics 24: Visualize Quantitative Data with Excel Charts. No Chart Junk!!!

Lab #2 First Order RC Circuits Week of 27 January 2015

TImath.com Calculus. ln(a + h) ln(a) 1. = and verify the Logarithmic Rule for

Activity P52: LRC Circuit (Voltage Sensor)

Example: The graphs of e x, ln(x), x 2 and x 1 2 are shown below. Identify each function s graph.

Environmental Stochasticity: Roc Flu Macro

Page 21 GRAPHING OBJECTIVES:

AP* Environmental Science Grappling with Graphics & Data

Actual testimonials from people that have used the survival guide:

Chapter 5 Advanced Plotting

Application note Scoring GSR during stressful tasks: This application note will describe one method to automatically score GSR responses.

Figure E2-1 The complete circuit showing the oscilloscope and Bode plotter.

Lab 15: EXL3 Microsoft Excel s AutoFill Tool, Multiple Worksheets, Charts and Conditional Formatting

UNIT #1: Transformation of Functions; Exponential and Log. Goals: Review core function families and mathematical transformations.

S56 (5.1) Logs and Exponentials.notebook October 14, 2016

SAMPLE: EXPERIMENT 2 Series RLC Circuit / Bode Plot

ET 304A Laboratory Tutorial-Circuitmaker For Transient and Frequency Analysis

Universal Scale 4.0 Instruction Manual

ELEG 205 Analog Circuits Laboratory Manual Fall 2016

2.3 Quick Graphs of Linear Equations

EE101L: Introduction to Electronic Circuits Laboratory. Lab-3: Transient Response of RC/RL Circuits

Using Figures - The Basics

Math 1023 College Algebra Worksheet 1 Name: Prof. Paul Bailey September 22, 2004

GRADE VIII MODEL PAPER 2017 COMPUTER EDUCATION

in ArcMap By Mike Price, Entrada/San Juan, Inc.

KMC Input Wizards. Application Guide. Contents. Introduction to the Binary and Analog Wizards

MiSP Permeability and Porosity Worksheet #1 L3

Use sparklines to show data trends

M. Conner Name: AP Physics C: RC Circuits Lab

Applying mathematics to digital image processing using a spreadsheet

Excel: A Quick Start Guide For Beginners - Learn How To Boost Your Productivity Today!

Existing and Design Profiles

Experiment P01: Understanding Motion I Distance and Time (Motion Sensor)

RC Circuit Activity. Retrieve a power cord and a voltage sensor from the wire rack hanging on the wall in the lab room.

Experiment Guide: RC/RLC Filters and LabVIEW

EE2210 Laboratory Project 1 Fall 2013 Function Generator and Oscilloscope

PASS Sample Size Software

5 Day Unit Plan. Algebra/Grade 9. JenniferJohnston

Graphing Techniques. Figure 1. c 2011 Advanced Instructional Systems, Inc. and the University of North Carolina 1

EE 241 Experiment #7: NETWORK THEOREMS, LINEARITY, AND THE RESPONSE OF 1 ST ORDER RC CIRCUITS 1

Building a Chart Using Trick or Treat Data a step by step guide By Jeffrey A. Shaffer

Semiconductor theory predicts that the current through a diode is given by

A-level Physics. PHY6T/Q14 Final Marking Guidelines. 2450/2455 June 2014 PMT. Version/Stage: 1.0 Final Marking Guidelines

ENG 100 Lab #2 Passive First-Order Filter Circuits

Transcription:

Module #4 Engr 124 Excel; Fall 2018 Name: Instructions: Answer each problem on a separate worksheet (sheet) in a single workbook (Excel file). Rename each worksheet with an appropriate one-word title. To rename the worksheet, RIGHT-CLICK on its Tab (at the bottom left of the worksheet), and SELECT Rename. Save an electronic copy of your file for reference. Name the file: Last_name_Mod_4.xlsx When you have completed all the problems in the module, send the Excel file (workbook) to your instructor ddalbello@hancockcollege.edu Formatting In the first column (A) of Sheet1, in the first three rows enter: (1) your Name, (2) the Project (Problem) Title, and (3) the Date. Start all work below Row 4. Make sure you format the worksheet and use text (titles, prompts, etc.) in the worksheet, so that someone else who opens the workbook can understand what you have done. Problem 1 Multiple sets of data on a single graph [Gottfried, pg. 92], Downloading, Importing Data In this problem, you will download a set of data that models hypothetical chemical reactions A B C. The concentrations of chemicals A, B and C (moles per liter) as a function of time are given. (a) Download the file chem_conc.txt from the course website (ah-engr.com/engr124), and save it to your flash drive or computer (the desktop). This file is a text file (.txt), with the data is separated by commas. Text files are very efficient in storing large amounts of data the formatting, etc., that Excel requires makes storing large amounts of data in Excel files unwieldy. Sometimes files that store data have an extension of.csv, which stands for comma separated values. In Excel, there are options to save worksheets as both.txt and.csv formats. In Word, you can save.txt files (i.e., no formatting). (b) Select the Microsoft Office Button/OPEN and navigate the menu system to find chem._conc.txt. Make sure you can open Files of Type: All Files. The IMPORT WIZARD will open. (c) In Step 1 of the IMPORT WIZARD (Figure 4.1), make sure you select Delimited. Figure 4.1: Import Wizard, Step 1 of 3. Excel: Module #4: Multiple Plots, Importing Data, Semi-Log and Log-Log Plots Page 1 of 6

Figure 4.2: Import Wizard, Step 2 of 3. (d) In Step 2 of the WIZARD (Figure 4.2), the delimiter is the symbol that separates data here it is the comma. The separator can be a tab, a space, or any other symbol. When you press Finish, the data from the text file will automatically be placed in a spreadsheet with the upper left cell of data at A1 (Figure 4.3). You can move the data to give some space for title info, etc., by cutting-and-pasting the data, or inserting rows and columns. Figure 4.3: Imported Data. (e) Plot all three sets of data as a function of time on the same graph. Show individual data points (do not include lines between data points). Display each data set in a different color and with a different symbol for the data points. Which kind of plot should you use a LINE PLOT or an X-Y SCATTER PLOT? (f) In the spreadsheet, sum the concentrations at any given time; e.g., Conc. A + Conc. B + Conc C. (g) Open a WORD Document. Type in some filler text (e.g., The following graph plots concentration versus time ). (h) In Excel, select the plot and copy it by either selecting HOME/COPY, or using the keyboard shortcut [CTRL]+[C], or RIGHT CLICKING and selecting COPY. (i) Go back to the Word document and insert the cursor. Select HOME/PASTE, [CTRL]+[C], or RIGHT CLICK/PASTE. (j) You should have inserted the plot as an object in Word. You can center the plot, and then type text under it as the figure title. Excel: Module #4: Multiple Plots, Importing Data, Semi-Log and Log-Log Plots Page 2 of 6

Problem 2 Curve-Fitting [Gottfried] and Importing Data An environmental engineer obtains a bacteria culture from a municipal water sample and allowed the bacteria to grow in a petri dish. (a) Download the file bacteria.txt from the course website, and save it to your flash drive or computer. (b) OPEN the text file (the data is separated by commas). (c) Plot concentration vs. time. Label the graph correctly including units. The concentration has should have units of ppm - parts per million - NOT ppt. (d) Curve-fitting is done in order to create models of real-world data. Not all data points fall on the curve-fit. In Excel, a curve-fit is called a trendline (Figure 3). The curve can be linear or non linear. SELECT the plot. Under CHART TOOLS/LAYOUT/TRENDLINE, SELECT the exponential trendline, i.e., bt C A ae. Display the equation on the chart. Figure 4: Concentration vs. Time Excel: Module #4: Multiple Plots, Importing Data, Semi-Log and Log-Log Plots Page 3 of 6

Problem 3 Semi-Log Plot [Gottfried] A semi-log plot is a plot where one axis is a logarithmic scale and the other axis is an arithmetic scale. An arithmetic (linear) scale is the scale we generally use when plotting data the values are evenly spaced (1, 2, 3, 4, 5.). A semi-log plot is useful in plotting data that spans several orders of magnitude; the data is essentially compressed the physical distance on the axis from 1 to 5 is the same physical distance as from 1000 to 5000, from 1 to 5 million, etc. In a logarithmic scale, the orders of magnitude are evenly spaced (10 1, 10 2, 10 3, 10 4 ). The distance from 1 to 10 is the same as the distance from 10 to 100. Likewise, the distance from 1 to 10 is the same as the distance from 2 to 20, 3 to 30, 20 to 200, 300 to 3000, etc. (Figure 5). In general, when we say log, we mean logarithm of base 10 e.g.: a a log10 The Excel command to take the base 10 logarithm of cell A5 is: or: =LOG(A5) =LOG10(A5) The scale of a log axis can be confusing at first since the minor ticks get closer together towards the right each decade e.g.: 20 is about 1/3 of the way from 10 to 100; 30 is about half-way, and 50 is about 2/3 of the way (Figure 5). The log-scale allows you to plot the log of a number without actually doing the calculations. For example: log(1) = 0.0 (leftmost gridline in Fig. 5) log(2) = 0.301 (~1/3 from 1 to 10) log(3) = 0.477 (~1/2 from 1 to 10) log(5) = 0.699 (~2/3 from 1 to 10) log(10) = 1.0 (first major gridline) log(20) = 1.301 (~1/3 from 10 to 100) log(30) = 1.477 (~1/2 from 10 to 100) log(50) = 1.699 (~2/3 from 10 to 100) log(100) = 2 (second major gridline) log(200) = 2.301 Figure 5: Semi-log set of axes. Semi-log plots are also very useful when plotting an exponential equation, because an exponential equation appears as a straight line on a semi-log plot. For example, consider the exponential equation: mx y Be Taking the log of each side: log y log B mx The last equation looks like a straight line with slope m. The ordinate axis (the y- axis) is actually log(y) and the abscissa axis (x-axis) is an arithmetic (linear) scale x. Excel s LOGARITHM Functions: =LOG(A5) =LOG(A5,2) =LOG10(A5) =LN(A5) log10(a5) = log(a5) log2(a5) log(a5) ln(a5) Excel: Module #4: Multiple Plots, Importing Data, Semi-Log and Log-Log Plots Page 4 of 6

Now for the PROBLEM: Given: An RC circuit with capacitor initially charged to an initial voltage of Vo (Figure 6). When the switch is closed at t=0, the capacitor discharges as follows: v( t) V o e t / where ( tau ) is called the time constant and is measured in seconds. Req d: (a) Create a spreadsheet that gives voltage as a function of time, v(t), for t = 0 to 10 secs., with 1 second intervals (1, 2, 3, 4 ). Use Vo = 10 V, and = 2 seconds. (b) Plot v vs. t using regular arithmetic (linear) scales on both axes; (c) Modify the spreadsheet to have a column that calculates log10(v). Plot log10(v) vs. t using arithmetic scales on both axes; (d) Plot v vs. t using a logarithmic scale for the ordinate ( y ) axis (Voltage Axis). This is a semi-log plot. Hint: SELECT the plot from Part (a), RIGHT CLICK/COPY and then RIGHT CLICK/PASTE to create a new graph from the same data. To make the y-axis a log axis, double click the y-axis and FORMAT AXIS and click LOGARITHMIC SCALE. (e) Compare the plots. Plot (c) (where you calculated the log10(v) and plotted it on a normal arithmetic scale), should look the same as Plot (d) (which was plotted directly on a log scale). The only difference should be the scales. t = 0 C Figure 6 An RC circuit. Take the capacitor to be initially charged to v(0) = V o. The switch is closed at time t = 0. + v _ R Excel: Module #4: Multiple Plots, Importing Data, Semi-Log and Log-Log Plots Page 5 of 6

Problem 4 Log-Log Plot [Gottfried] In a log-log plot, both the abscissa (x-) and ordinate (y-) axes have a logarithmic scale. A log-log plot is useful in plotting data that spans several orders of magnitude in both x and y. It is also very useful when plotting a power equation, because a power equation appears as a straight line on a log-log plot. For example, consider the power equation: m y Bx Taking the log of each side: log y log B mlog x The last equation looks like a straight line with slope m: Y b mx where: Y log y ; b log B ; X log x The PROBLEM: Given: is: The surface area of a sphere A() r 4 r The volume of a sphere is: Req d: 4 r V ( r) 3 (a) Create a spreadsheet that gives area and volume as a function of radius r, for r = 0 to 10 units. e.g., create three columns... one for radius, one for area and one for volume. (b) Plot Area vs. Radius and Volume vs. Radius on one graph. Use regular arithmetic scales on both axes. (c) Plot Area vs. Radius and Volume vs. Radius on one graph on a log-log graph. Hint: just COPY and PASTE the Plot from Part (b). DO NOT calculate log10( ) values in your spreadsheet. Just change both axes to logarithmic scales. (d) For Plot (c), determine the slope (rise over run) in terms of orders of magnitude. The slope should be 2 for the Area vs. Radius curve: 2 3 A r r log ( ) log 4 2log i.e.: Y const 2X (e) What is the slope of the Volume vs. Radius curve? Excel: Module #4: Multiple Plots, Importing Data, Semi-Log and Log-Log Plots Page 6 of 6