CS121 Quiz 3 Fall 2012 Quiz Tips. Quiz 1 Tips Question 1 From the many calculation choices, use eval to calculate the dependent variable P(s), but use.

Slides:



Advertisements
Similar presentations
Lecture 14 User-defined functions Function: concept, syntax, and examples © 2007 Daniel Valentine. All rights reserved. Published by Elsevier.
Advertisements

Experiments and Variables
Using Polar Coordinates Graphing and converting polar and rectangular coordinates.
APPLICATIONS OF INTEGRATION
Data Handling l Classification of Errors v Systematic v Random.
Warm Up Solve each equation for x. 1. y = x y = 3x – 4
Copyright © 2005 Pearson Education, Inc. Chapter 3 Radian Measure and Circular Functions.
I can use both Radians and Degrees to Measure Angles.
7.5 Solving Radical Equations. What is a Radical Expression? A Radical Expression is an equation that has a variable in a radicand or has a variable with.
1/49 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 9 Estimation: Additional Topics.
1 1 Slide Simple Linear Regression Chapter 14 BA 303 – Spring 2011.
The graphing calculator can be a great checking tool or a fast way to answer a multiple choice question. Example – suppose you graphed the following and.
(c) MathScience Innovation Center 2007 Solving Linear Systems Trial and Error Substitution Linear Combinations (Algebra) Graphing.
Lesson 2.5 The Fundamental Theorem of Algebra. For f(x) where n > 0, there is at least one zero in the complex number system Complex → real and imaginary.
Solving Equations Containing To solve an equation with a radical expression, you need to isolate the variable on one side of the equation. Factored out.
 Must have a number and a UNIT  SI measurements.
4-1 : Angles and Their Measures What you’ll learn about ■ The Problem of Angular Measure ■ Degrees and Radians ■ Circular Arc Length ■ Angular and Linear.
Table of Contents First note this equation has "quadratic form" since the degree of one of the variable terms is twice that of the other. When this occurs,
Geometric Representation of Angles.  Angles Angles  Initial Side and Standard Position Initial Side and Standard Position.
Logarithmic Functions Integrated Math 4 Mrs. Tyrpak.
Chapter 6 Additional Topics in Trigonometry Copyright © 2014, 2010, 2007 Pearson Education, Inc Polar Coordinates.
Jeopardy PEMDAS Evaluating Expressions Solving Equations Exponents Inequalities Q $100 Q $200 Q $300 Q $400 Q $500 Q $100 Q $200 Q $300 Q $400 Q $500.
An Introduction to Programming and Algorithms. Course Objectives A basic understanding of engineering problem solving process. A basic understanding of.
Arc Lengths, Sectors, and Rotational Speeds Dr. Shildneck Fall, 2014.
CS 121 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Fall 2009 ©By the author. All rights reserved. Permission.
Polar Coordinates Lesson Points on a Plane Rectangular coordinate system  Represent a point by two distances from the origin  Horizontal dist,
Intro to Polar Coordinates Lesson 6.5A. 2 Points on a Plane  Rectangular coordinate system Represent a point by two distances from the origin Horizontal.
(r,  ). You are familiar with plotting with a rectangular coordinate system. We are going to look at a new coordinate system called the polar coordinate.
Radian Measure.
1 Multiple Regression A single numerical response variable, Y. Multiple numerical explanatory variables, X 1, X 2,…, X k.
Computing the Values of Trigonometric Functions of Acute Angles Section 3.3.
CS 121 – Quiz 3 Questions 4 and 5. Question 4 Let’s generalize the problem:
CSI: Time of Death (Due Friday). Example Problem: A coroner was called to the home of a person who had died during the night. In order to estimate the.
Copyright © Cengage Learning. All rights reserved. CHAPTER Radian Measure 3.
Polar Coordinates Lesson Points on a Plane Rectangular coordinate system  Represent a point by two distances from the origin  Horizontal dist,
CS 121 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Fall 2010 ©By the author. All rights reserved. Permission.
CS 121 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Fall 2012 ©By the author. All rights reserved. Permission.
Quiz Next Week Monday & Tuesday  The name of the COSMOS episode is the 3 rd in the series “When Knowledge Conquered Fear” com/watch?v=YHLV_Z.
CS 121 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Fall 2011 ©By the author. All rights reserved. Permission.
CS 121 – Quiz Feb 17 th. Question 2 We want to count how many days there were such that the temperature is at least degrees lower than the.
CS 121 – Quiz 3 Question 5. This question is just a different form of question four you solved at quiz 2. a) We need to use law of cosines to solve the.
Ch : Solving Systems of Equations Algebraically.
CS123 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Spring 2011.
Copyright © Cengage Learning. All rights reserved. 4 4 Functions.
PARAMETRIC EQUATIONS Dr. Shildneck. Parametric Equations Most 2-Dimensional equations and graphs that we have dealt with involve two variables that are.
Holt McDougal Algebra Solving Equations with Variables on Both Sides Algebra 1 Review.
Warm Up 2x – 10 9 – 3x 12 9 Solve each equation for x. 1. y = x + 3
Radians arc length radius ie
Physics Basics First Week of School Stuff
Starter Questions Convert the following to minutes :-
1-6 Solving for a Variable Warm Up Lesson Presentation Lesson Quiz
Evaluate each expression. Hint: Use the unit circle.
8.4 Solving Formulas.
Solving Equations Containing
CONCEPTS OF ESTIMATION
Prof. Rizopoulos Course Introduction
Solving Equations Containing
Use the same sheet of paper as yesterday.
Write the complement and supplement of each angle.
Date Functions Farrokh Alemi, Ph.D.
Find all the solutions without using a calculator.
Solving Equations Containing
Physics Basics First Week of School Stuff
Combine Like Terms and Distribute Part II
Find all the solutions without using a calculator.
GHSGT MATH SWAP-OUT October 22, 2009
Find all the solutions without using a calculator.
Bell Work Combine all the like terms
Solving Equations Containing
Homework Answers.
Presentation transcript:

CS121 Quiz 3 Fall 2012 Quiz Tips

Quiz 1 Tips Question 1 From the many calculation choices, use eval to calculate the dependent variable P(s), but use solve when P is given to compute independent variable s. Note that plotting and reading the value from the graph is an acceptable method (even if not exact) Question 2 – syntax error – Try to run the expression in Maple to see the error message

Quiz 1 Tips Question 3 – Life Expectancy estimate using Least Squares method – Year of Birth = independent variable and – Life expectancy = dependent variable – To compute an expectancy (given a year of birth), evaluate the computed LS expression using the year Note – use eval to compute the dependent variable – To compute the year of birth (given a life expectancy), solve the equation obtained from setting the LS expression to the given life expectancy. Note – use solve to compute the independent variable

Quiz 1 Tips Question 4 – Time of Death calculation – Given B(t) = R – (R-Ti) * exp(-k*t) See quiz description for definitions of variables – Part A – given R, Ti, B(t) and t → calculate k Note – after calculating k, unassign('t') before calculating t in the next step – Part B – using this k value, calculate time of death t when R, Ti, B(t) and Ti are given Note – B(t) represents the 1 st reading (taken at time t after death) and Ti represents the temperature when death actually occurred (t minutes prior to the 1 st reading) – Parts C and D are both replications of parts A and B combined 1 st, must re-compute k (as in Part A) since the conditions have changed Then, compute time of death as in Part B. – Note – you might want to use a script since there are 3 cases here – Note – be sure to convert hours to minutes for the calculations

Quiz 1 Tips Question 5 – Shutter speed from blur angle – As with problem 4, a script is a good approach to solve multiple versions of this problem – A word on unit conversions Since the shutter speed is desired in seconds, units for the bike's diameter and angular velocity may need to be converted to produce the proper result – eg. d=[feet], vel=[miles/hr] → must convert vel to feet/second Also, if the angle is given in radians, it must be converted to degrees since you are dividing by 360 degrees – In the final part C, the input parameters are expected in the same units as given and all necessary conversions should take place within the function definition