Joseph M. Mahaffy SDSU
Math 124: Calculus for the Life Sciences Spring 2017
 |  Course Index  |  Lectures  |  HW Assign  |  Computer Lab  |  WeBWorK  |  Syllabus  |  Miscellaneous  ||  Home
 

Computer Lab Help 1


This page is designed to provide helpful information about the laboratory questions. You will find more details in the Lab Manual that accompanies this course. Begin this lab and every lab by introducing yourself to your partner. Determine the times when you can meet together during the week before the lab is due at your next Lab session.

You should start this lab and each lab by typing the name of each team member and your computer number on the Lab Cover Page (or a copy of it). For general rules of what is expected in the Lab, read the Laboratory Guidelines. There is a Lab Manual that accompanies this course, which has many detailed worked examples from the labs for this course. This semester I will continue to make revisions to the Lab Manual. There is a link to a document for producing good graphs in Excel 2010. Also, there is additional documentation on what is expected through the link to the Good Graph Document.

Your Computer Lab contains two parts: 1. WeBWorKquestions answered individually (~60%). 2. A written report with graphs from one student's lab and well-written paragraphs from questions given in WeBWorK (~40%). The WeBWorK format for these Computer Labs should reduce the paperwork that you turn in. This WeBWorK Lab has four questions. The first problem asks questions about this help page and should help you work through the Lab more smoothly. The other problems are the main Lab questions. You answer many of the questions directly into your WeBWorK Lab individually. You will notice that several parts of the questions start with the phrase "In your lab report." For these parts of the questions you and your partner will need to create the appropriate graphs in Excel and write the appropriate sentences and paragraphs to insert into a Word document that you will turn in. Details on what is expected for your graphs can be found in the Laboratory Guidelines.

Problem 1: You follow the directions in the lab and according to the Laboratory Guidelines to create a good graph of the two intersecting lines. This problem begins by having you generate the graphs of two lines. In the top row you insert labels x, y1, and y2 for the x values and the two lines. In the first column below x, you insert the integers from -10 to 10. (We will demonstrate the pull down feature in Excel in the Lab.) Next you name the x variable by highlighting the first column, going to Formulas on the Main menu, followed by Create from Selection, then accepting the default of Top Row. (Alternately, you can use the submenus labeled Define Name or the Name Manager.) In Columns B and C starting with B2 and C2, you type in your equations for the lines, typing " = m*x + b" where m is the slope of your line and b is the y-intercept. Next you pull down the equation to get the points on your lines.

After you have these data entries for the lines, you highlight the three columns and invoke Chart Wizard. To create a graph in Excel, you go to the Main Menu and select Insert. You will always be selecting the Scatter option, and in this case use the line sub-Chart. When you click on your graph, you will see Chart Tools in the Main Menu. Under Layout you will follow the directions to add Titles, Axis labels, and Gridlines. Select the option to not have a Legend for this graph, but rather use the Text Box option to create labels that you put right next to the particular lines.

Under the Layout there is an Axes label. You will always go to this box to adjust the Primary Horizontal Axis. At the bottom of the box are More ... Options, which allow changing the domain of your function. Less often, but in this problem you do change the Primary Vertical Axis. The details of this process to create a good looking graph will be gone over in your Lab section.

The second part of this problem introduces you to using the Graphing template that is provided. Details of using the Graphing template will be covered in Lab and are detailed in the Lab Manual. This time you create the graph in Excel, then repeat the procedure from Question 1 to obtain a good looking graph.

Problem 2: You and your partner will want to have a good watch and cooperate on collecting the data on the number of chirps by each of the crickets that are listed in the WeBWorK problem. It is recommended that you bring earphones to hear only your crickets.(Information is available for hearing sound in the Lab.) Use the models from the lecture notes to obtain the appropriate temperatures. For the graph, you can once again use the graphing template for drawing the models from their formulae (or any other way you may have learned to draw straight lines in Excel). Next you enter your data on the spreadsheet. Return to the graph and right click on the graph. From the options, use Select Data ... and choose Add. You will have a new window, where you click on Series Name and type in an appropriate name, such as "Cricket Data." Next you click in the box for Series X values, then you highlight the data you want to add for the x-values. You repeat this process for the box labeled Series Y values, where you highlight the data you want to add for the y-values. Since the cricket data are data points, we need to change the line format to Marker format. You want to right click on a data point. Now you select Format Data Series ... Select Marker Options, then Built-in to choose the marker type and size. Finally, you need to remove the line format by choosing Line Color and selecting No line. Most of the calculations can be done either by hand or on the Excel spreadsheet. At all stages of the development of your lab, you should practice writing good, clear sentences (including spelling, with which Word should help you).

Problem 3: This problem is very much like the lecture notes on weak acids. The graphing part of this problem is easily done using the graphing template as you have done before. The graph cannot start at x = 0 because the logarithm is undefined at zero. Thus, do your graph for the given interval. To answer part c, you will need to compose the two functions. This means find: pH([H+](x)) and then solve pH([H+](x)) = 1. Hint: to solve your equation you may use the fact that x = log10(y) implies 10x = y and log(1/a) = -log(a). This is review material but you can look up in page 85 of the text book for the exponents and logarithmic rules.

The equilibrium constant for some weak acids is very small, so here we comment on the scientific display of numbers from computers. When numbers are very large or very small, computers often use an exponential form to display numbers. Thus, if we wanted to write 1.75x10-4, then the computer is likely to display this number as 1.75E-04 or 1.75e-04. You do NOT want to enter numbers into WeBWorK like this, as WeBWorK interprets a notation 1.75E-04 as something quite different. (I know this is an inconsistency in the program that you have to live with.)

 

 

Copyright © 2015 Joseph M. Mahaffy.