Computational Methods of Scientific Programming Fall 2007

Size: px
Start display at page:

Download "Computational Methods of Scientific Programming Fall 2007"

Transcription

1 MIT OpenCourseWare Computational Methods of Scientific Programming Fall 2007 For information about citing these materials or our Terms of Use, visit:

2 Homework #3 Due Tuesday, October 30, 2007 Question (1) (25-points) (a) Write, compile and run a C/C++ program which generates a table of Bessel functions of the first kind for integer orders between 0 and 5, and argument between 0 and 10 in steps of 1.0. Bessel functions of the first kind satisfy the following differential equation: 2 2 d y dy 2 2 x + x + (x " n )y = 0 dx 2 dx where the function y is the Bessel function of order n. (see for information on Bessel function ). Bessel functions are rarely computed by directly the solving the differential equation. The values in the table should be given with 5 decimal places. The table should have headers explaining what the columns are. Explain how you designed the program and give an example of the output. (b) How would you change this program if 10 significant digits were required? C/C++ source code and example output should also be supplied The main decision to be made here is how to implement the evaluation of the Bessel function. Additional considerations are the formatting of the table but this is relatively easy in C/C++. The solution to this problem follows the same method as used in the fortran solution. In this case, we added passing the number of orders to compute and the number of significant digits to the runstring i.e., these values can be passed to the program at run time. A similar procedure could have been in the fortran program as well although there can be some system dependence on the methods used to read the runstring. The gives the series expansion of the Bessel Function of the first kind. From equation 46 we have # l ("1) 2l+ m J m (x) = $ x m integer 2l + m l=0 2 l!( m + l)! This formula will work for all values of the argument x. To implement this equation we note the sum is to infinity, which will take a long time to compute. So we need to decide on the number of terms to include. As we look at the expression, for x <1 the series is well behaved in that as l goes to infinity, x 2l+m will go to zero (i.e., the terms get smaller and smaller). However for x >1, x 2l+m will go to infinity as l goes to infinity. These ever increasing values are reduced in size by the l! and (m+l)! in the denominator. The magnitudes of l! and (m+l)! could cause problems. (m+l)! grows rapidly and will lead to overflow of integer*4 when there are enough terms in the series. Sample calculations of the series suggest at for x=10.0, l+m should be 32 to obtain 10-6 accuracy in the calculation. Factorial(32) is 2.6x10 35 which 25-orders of magnitude larger than the

3 maximum value possible with long. Therefore although factorial in an integer, it will need to be computed as a double in this calculation. Another aspect of this series is the alternating sign (-1) l. For arguments greater than 1, the series will be summing and subtracting numbers that are large and this can introduce rounding errors. Code design: The major issue with accuracy of the series calculations and factorial magnitude were discussed above. The major components of the code are to (1) Output table headers so that the user knows what is being tabulated. In this code, the number of orders and number of significant digits can specified and so the formats for output are generated as strings and used to write out the results and header. (2) Functions to evaluate the Bessel function. In my implementation, the besselfunction functions evaluates how many terms are needed to obtain the accuracy set by the number of significant digits in the output (eps). The number of terms for each argument varies because of this. (3) Function needed to evaluate factorial. As noted above this is a real*8 function to ensure that the result does not overflow. Solution: The C code I used is linked to hw2_1_07.c. The output of my program is given below. G4-Computer[453] cc hw3_1_07.c -o hw3_1_07c G4-Computer[455] hw3_1_07c TABLE OF BESSELL FUNCTION FROM ORDER 0 to 5 Arg J00 J01 J02 J03 J04 J How would you change this program if 10 significant digits were required? Several changes would be needed to output to 10-signifciant digits. (1) The double arguments would needed (already coded that way) (2) The formats would need to change for the extra digits. Code currently does that through generating its own formats. (3) The headings format would need to be changed to re-align the columns. Again done in code.

4 Example below is for 10-significant digits. (Only 0-3 orders are output so that table would fit. G4-Computer[456] hw3_1_07c 3 10 TABLE OF BESSELL FUNCTION FROM ORDER 0 to 3 Arg J00 J01 J02 J Question (2): (25-points). Write a C/C++ program that reads a file containing text, counts the number of characters (letters a-z) and words in the text, and output the text with capital letters at the beginning of each sentence. The text below is contained in the file Q2_text.txt. we take as a self evident foundational principle that the set of effects to be considered as contributing to local station displacements and the conventional models to be applied for their compensation should be guided by rational and well considered bases, and should not be developed haphazardly or randomly. for historical reasons and general consistency, it might be prudent to retain some past practices even if they are not fully consistent with the adopted principles; but future expansions should be determined by specified rules. this position paper proposes such a set of guidelines and rationales for iers Conventions updates. Hints: You might look for toupper and tolower as part of the ctype.h header file Remember if reads are coded as scanf or fscanf using sidin then the file Q2_text.txt can be re-directed into the program using: Q2C < Q2text.txt where Q2C is the name of the program (you can call the program any name you like). Again a nominally easy program but we will clearly need a few utility subroutines to perform various tasks. There are several approaches that could be used. The file could be read line by line using fscanf as in the fortran solution. The solution adopted reads the file character by character and manipulates and counts characters as they are read. In the way C character reads work, the newline character is read (\n) and when output causes a new line to start. In the program, the name of the file to be processed is passed in the runstring with a default name of Q2_text.txt. Code design Get the name of the file from the runstring or use the default name. Use fopen to get a file pointer to the file. Report an error if the file pointer returns NULL

5 Loop over reading characters from file until an EOF is returned. Count characters and words Capitalize as needed in output updated line At end of program output final counts. hw2_2_07.c G4-Computer[452] cc hw3_2_07.c -o hw3_2_07c G4-Computer[457] hw3_2_07c HW 3 Q2: Reading file Q2_text.txt Text capitalized We take as a self evident foundational principle that the set of effects to be considered as contributing to local station displacements and the conventional models to be applied for their compensation should be guided by rational and well considered bases, and should not be developed. Haphazardly or randomly. For historical reasons and general consistency, it might be prudent to retain some past practices even if they are not fully consistent with the adopted principles; but future expansions should be determined by specified rules. This position paper proposes such a set of guidelines and rationales for iers conventions updates. Letter count 533 Word count 99 Total file 642 Question (3): (50-points) Write a C/C++ program that will compute the motion of a baseball in 2-dimensions. The program should generate the trajectory of the ball and compute the change in height of the ball from where it is initially released and home plate m away and the velocity at home plate. The dynamical forces acting on the baseball are: Wind Drag r F d = "1/2A r C d (v)#vv (v"vd)/ $ C d (v) = /(1+ e ) r r Magnus force F m = S(v)% & v S(v) = 4.1&10 "4 m Question (3): (50-points) Write a C/C++ program that will compute the motion of a baseball in 2-dimensions. The program should generate the trajectory of the ball and compute the change in height of the ball from where it is initially released and home plate m away and the velocity at home plate. The dynamical forces acting on the baseball are:

6 Wind Drag r F d = "1/2A r C d (v)#vv (v"vd)/ $ C d (v) = /(1+ e ) r r Magnus force F = S(v)% & v m S(v) = 4.1&10 "4 m where A r is the cross-sectional area of the ball, C d is the drag coefficient which depends on the velocity, v, of the ball, ρ is the density of air. The drag coefficient depends on velocity with vd =35 m/s and Δ=5m/s. The Magnus force, F m is the lift force due to the rotation of the ball ω. S is a scaling coefficient for the Magnus force with m being the mass of the baseball. Although S probably depends on velocity, in this problem we will assume that it is constant. (see discussion in: ) In your problem, the rotation vector will be perpendicular to the velocity vector (i.e., horizontal) and hence the Magnus force will only lift or depress the ball and not move it out of its plane of motion. As a test of your program use the following constants to compute the trajectory of the ball: Assume the following values Baseball circumference 23 cm Baseball mass (m) 150g ρ = kg/m 3 g = 9.8 m/s 2 Initial release angle +1 deg Initial velocity 85 mph Spin rate 1800 rpm (counter clockwise so ball will lift). The height at home plate should be calculated to an accuracy of 1mm. Hint: Be very careful with units (there are all mixed above). Your answer to this question should include: (a) The algorithms used and the design of your program (b) The C/C++ program source code (I will compile and run your programs). (c) The results from the test case above that will include the change in height from release to home plate (18.44 m) and the velocity at home plate. With these equations, we can compute the forces acting on the plane (gravity, Magnus force and drag) and using the mass of the ball, compute accelerations. By integrating the accelerations we generate velocity changes and by integrating the velocity changes we get position changes. Since the forces depend on velocity, we need to integrate in small steps. Precisely how small we discuss below. This problem is basically an integration

7 problem. It can also be posed as the solution to a second-order differential equation and in later homework (and languages) we will how to solve it this way. This solution follows the method in the Fortran program. There is an include file that has global constants in that can be used by all functions (cbaseball.h). In the fortran program we used complex variables to hold 2-D data such as positions, velocities and accelerations. We could have introduced structures into C, which would allow the same approach but decided to use 2-element arrays for these quantities. With this method, we can not return values directly from functions (unless separate calls were made for each component) so instead we return results through the call arguments. Arrays are pointers so this works easily. The basic flow of the program is to: -Read the inputs fro the user. These reads are ordered such that those quantities most likely to be changed by the user. These values have defaults and so the user only needs to use /<cr> to adopt the defaults. The routine GetIn is coded to work like the fortran reads. - Trial integrations with decreasing step sizes to determine the step size needed to hit the ground within a specific accuracy. - Note the code that tests for the ball arriving at home plate. The integration step size is reduced so that we converge onto home plate - Once the step size is set, run with the final step size and output results. (This later step is a little inefficient since it repeats an earlier calculation but with output generated this time. Output the final height change to home plate and the velocity at home plate. The program in implemented is given in hw2_3_07.c. It also uses an include file cbaseball.h that contains parameters for gravity values, air density etc and a common block that contains the fixed: variables in the program (object mass, etc.) Example output for test case:

8 G4-Computer[451] cc hw3_3_07.c -o hw3_3_07c G4-Computer[460] hw3_3_07c Program to solve baseball trajectory problem Given initial velocity, release angle and spin rate the time to homeplate and speed at homeplate are computed. Do you want to change defaults (y/n) n PROGRAM PARAMETERS Pitch velocity: m/s, Angle 1.0 deg, Spin Rate rads/s MASS kg, Area m^2 GRAVITY m/s**2 RHO AIR kg/m**3] Step Heights Delta (mm) T* Time X_pos Z_pos X_vel Z_vel T* (sec) (m) (m) (m/s) (m/s) T T T T T T T T T T T T T T T T T T T C Step (s) Final Height change m; Velocity 75.6 mph Angle deg

" n=0 n!(2n +1) Homework #2 Due Thursday, October 20, 2011

 n=0 n!(2n +1) Homework #2 Due Thursday, October 20, 2011 12.010 Homework #2 Due Thursday, October 20, 2011 Question (1): (25- points) (a) Write, compile and run a fortran program which generates a table of error function (erf) and its derivatives for real arguments

More information

HW #7 Solution Due Thursday, November 14, 2002

HW #7 Solution Due Thursday, November 14, 2002 12.010 HW #7 Solution Due Thursday, November 14, 2002 Question (1): (10-points) Repeat question 1 of HW 2 but this time using Matlab. Attach M-file and output. Write, compile and run a fortran program

More information

Since a projectile moves in 2-dimensions, it therefore has 2 components just like a resultant vector: Horizontal Vertical

Since a projectile moves in 2-dimensions, it therefore has 2 components just like a resultant vector: Horizontal Vertical Since a projectile moves in 2-dimensions, it therefore has 2 components just like a resultant vector: Horizontal Vertical With no gravity the projectile would follow the straight-line path (dashed line).

More information

OCR Maths M2. Topic Questions from Papers. Projectiles

OCR Maths M2. Topic Questions from Papers. Projectiles OCR Maths M2 Topic Questions from Papers Projectiles PhysicsAndMathsTutor.com 21 Aparticleisprojectedhorizontallywithaspeedof6ms 1 from a point 10 m above horizontal ground. The particle moves freely under

More information

MA 113 Calculus I Fall 2015 Exam 2 Tuesday, 20 October Multiple Choice Answers. Question

MA 113 Calculus I Fall 2015 Exam 2 Tuesday, 20 October Multiple Choice Answers. Question MA 113 Calculus I Fall 2015 Exam 2 Tuesday, 20 October 2015 Name: Section: Last digits of student ID #: This exam has ten multiple choice questions (five points each) and five free response questions (ten

More information

Design and Development of Unmanned Tilt T-Tri Rotor Aerial Vehicle

Design and Development of Unmanned Tilt T-Tri Rotor Aerial Vehicle Design and Development of Unmanned Tilt T-Tri Rotor Aerial Vehicle K. Senthil Kumar, Mohammad Rasheed, and T.Anand Abstract Helicopter offers the capability of hover, slow forward movement, vertical take-off

More information

(ii) Calculate the maximum height reached by the ball. (iii) Calculate the times at which the ball is at half its maximum height.

(ii) Calculate the maximum height reached by the ball. (iii) Calculate the times at which the ball is at half its maximum height. 1 Inthis question take g =10. A golf ball is hit from ground level over horizontal ground. The initial velocity of the ball is 40 m s 1 at an angle α to the horizontal, where sin α = 0.6 and cos α = 0.8.

More information

SPH3U1 Lesson 12 Kinematics

SPH3U1 Lesson 12 Kinematics SPH3U1 Lesson 12 Kinematics PROJECTILE MOTION LEARNING GOALS Students will: Describe the motion of an object thrown at arbitrary angles through the air. Describe the horizontal and vertical motions of

More information

Preview. Two-Dimensional Motion and Vectors Section 1. Section 1 Introduction to Vectors. Section 2 Vector Operations. Section 3 Projectile Motion

Preview. Two-Dimensional Motion and Vectors Section 1. Section 1 Introduction to Vectors. Section 2 Vector Operations. Section 3 Projectile Motion Two-Dimensional Motion and Vectors Section 1 Preview Section 1 Introduction to Vectors Section 2 Vector Operations Section 3 Projectile Motion Section 4 Relative Motion Two-Dimensional Motion and Vectors

More information

Math 113 Exam 1 Practice

Math 113 Exam 1 Practice Math Exam Practice January 6, 00 Exam will cover sections 6.-6.5 and 7.-7.5 This sheet has three sections. The first section will remind you about techniques and formulas that you should know. The second

More information

Zero Launch Angle. since θ=0, then v oy =0 and v ox = v o. The time required to reach the water. independent of v o!!

Zero Launch Angle. since θ=0, then v oy =0 and v ox = v o. The time required to reach the water. independent of v o!! Zero Launch Angle y h since θ=0, then v oy =0 and v ox = v o and based on our coordinate system we have x o =0, y o =h x The time required to reach the water independent of v o!! 1 2 Combining Eliminating

More information

Math Learning Center Boise State 2010, Quadratic Modeling STEM 10

Math Learning Center Boise State 2010, Quadratic Modeling STEM 10 Quadratic Modeling STEM 10 Today we are going to put together an understanding of the two physics equations we have been using. Distance: Height : Recall the variables: o acceleration o gravitation force

More information

Math 112 Fall 2014 Midterm 1 Review Problems Page 1. (E) None of these

Math 112 Fall 2014 Midterm 1 Review Problems Page 1. (E) None of these Math Fall Midterm Review Problems Page. Solve the equation. The answer is: x x 7 Less than Between and Between and Between and 7 (E) More than 7. Solve for x : x x 8. The solution is a number: less than

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

Projectile Motion. Honors Physics

Projectile Motion. Honors Physics Projectile Motion Honors Physics What is projectile? Projectile -Any object which projected by some means and continues to moe due to its own inertia (mass). Projectiles moe in TWO dimensions Since a projectile

More information

Math 4: Advanced Algebra Ms. Sheppard-Brick A Quiz Review LT ,

Math 4: Advanced Algebra Ms. Sheppard-Brick A Quiz Review LT , 4A Quiz Review LT 3.4 3.10, 4.1 4.3 Key Facts Know how to use the formulas for projectile motion. The formulas will be given to you on the quiz, but you ll need to know what the variables stand for Horizontal:

More information

NO CALCULATOR ON ANYTHING EXCEPT WHERE NOTED

NO CALCULATOR ON ANYTHING EXCEPT WHERE NOTED Algebra II (Wilsen) Midterm Review NO CALCULATOR ON ANYTHING EXCEPT WHERE NOTED Remember: Though the problems in this packet are a good representation of many of the topics that will be on the exam, this

More information

A Simplified Vehicle and Driver Model for Vehicle Systems Development

A Simplified Vehicle and Driver Model for Vehicle Systems Development A Simplified Vehicle and Driver Model for Vehicle Systems Development Martin Bayliss Cranfield University School of Engineering Bedfordshire MK43 0AL UK Abstract For the purposes of vehicle systems controller

More information

2.3 Projectile Motion

2.3 Projectile Motion Figure 1 An Olympic ski jumper uses his own body as a projectile. projectile an object that moves along a two-dimensional curved trajectory in response to gravity projectile motion the motion of a projectile

More information

sin30 = sin60 = cos30 = cos60 = tan30 = tan60 =

sin30 = sin60 = cos30 = cos60 = tan30 = tan60 = Precalculus Notes Trig-Day 1 x Right Triangle 5 How do we find the hypotenuse? 1 sinθ = cosθ = tanθ = Reciprocals: Hint: Every function pair has a co in it. sinθ = cscθ = sinθ = cscθ = cosθ = secθ = cosθ

More information

Physics 2210 Fall smartphysics Relative Motion, Circular Motion 04 Newton s Laws 09/04/2015

Physics 2210 Fall smartphysics Relative Motion, Circular Motion 04 Newton s Laws 09/04/2015 Physics 2210 Fall 2015 smartphysics 03-04 03 Relative Motion, Circular Motion 04 Newton s Laws 09/04/2015 Supplemental Instruction Schedule Tuesdays 8:30-9:20 am..jwb 308 Wednesdays 3:00-3:50 pm JFB B-1

More information

AA Simulation: Firing Range

AA Simulation: Firing Range America's Army walkthrough AA Simulation: Firing Range Firing Range This simulation serves as an introduction to uniform motion and the relationship between distance, rate, and time. Gravity is removed

More information

Two-Dimensional Projectile Motion

Two-Dimensional Projectile Motion Two-Dimensional Projectile Motion I. Introduction. This experiment involves the study of motion using a CCD video camera in which a sequence of video frames (a movie ) is recorded onto computer disk and

More information

Projectile Motion. Photogate 2 Photogate 1 Ramp and Marble. C-clamp. Figure 1

Projectile Motion. Photogate 2 Photogate 1 Ramp and Marble. C-clamp. Figure 1 Projectile Motion Purpose Apply concepts from two-dimensional kinematics to predict the impact point of a ball in projectile motion, and compare the result with direct measurement. Introduction and Theory

More information

Practice problems from old exams for math 233

Practice problems from old exams for math 233 Practice problems from old exams for math 233 William H. Meeks III October 26, 2012 Disclaimer: Your instructor covers far more materials that we can possibly fit into a four/five questions exams. These

More information

Prentice Hall Mathematics: Course Correlated to: Colorado Model Content Standards and Grade Level Expectations (Grade 6)

Prentice Hall Mathematics: Course Correlated to: Colorado Model Content Standards and Grade Level Expectations (Grade 6) Colorado Model Content Standards and Grade Level Expectations (Grade 6) Standard 1: Students develop number sense and use numbers and number relationships in problemsolving situations and communicate the

More information

We ve defined vectors as quantities that have a magnitude and a direction Displacement, velocity, and acceleration Represent by an arrow whose length

We ve defined vectors as quantities that have a magnitude and a direction Displacement, velocity, and acceleration Represent by an arrow whose length We ve defined vectors as quantities that have a magnitude and a direction Displacement, velocity, and acceleration Represent by an arrow whose length represents magnitude and head represents direction

More information

Sequence of Grade 4 Modules Aligned with the Standards

Sequence of Grade 4 Modules Aligned with the Standards Sequence of Grade 4 Modules Aligned with the Standards Module 1: Place Value, Rounding, and Algorithms for Addition and Subtraction Module 2: Unit Conversions and Problem Solving with Metric Measurement

More information

Chapter 3 Path Optimization

Chapter 3 Path Optimization Chapter 3 Path Optimization Background information on optimization is discussed in this chapter, along with the inequality constraints that are used for the problem. Additionally, the MATLAB program for

More information

Diocese of Boise Math Curriculum 5 th grade

Diocese of Boise Math Curriculum 5 th grade Diocese of Boise Math Curriculum 5 th grade ESSENTIAL Sample Questions Below: What can affect the relationshi p between numbers? What does a decimal represent? How do we compare decimals? How do we round

More information

The Common Curriculum Framework. for K 9 MATHEMATICS. Western and Northern Canadian Protocol. May 2006

The Common Curriculum Framework. for K 9 MATHEMATICS. Western and Northern Canadian Protocol. May 2006 The Common Curriculum Framework for K 9 MATHEMATICS Western and Northern Canadian Protocol May 2006 Grade 5 Strand: Number 1. Represent and describe whole numbers to 1 000 000. [C, CN, V, T] 2. Use estimation

More information

or 5.00 or 5.000, and so on You can expand the decimal places of a number that already has digits to the right of the decimal point.

or 5.00 or 5.000, and so on You can expand the decimal places of a number that already has digits to the right of the decimal point. 1 LESSON Understanding Rational and Irrational Numbers UNDERSTAND All numbers can be written with a For example, you can rewrite 22 and 5 with decimal points without changing their values. 22 5 22.0 or

More information

number Understand the equivalence between recurring decimals and fractions

number Understand the equivalence between recurring decimals and fractions number Understand the equivalence between recurring decimals and fractions Using and Applying Algebra Calculating Shape, Space and Measure Handling Data Use fractions or percentages to solve problems involving

More information

Robotics (Kinematics) Winter 1393 Bonab University

Robotics (Kinematics) Winter 1393 Bonab University Robotics () Winter 1393 Bonab University : most basic study of how mechanical systems behave Introduction Need to understand the mechanical behavior for: Design Control Both: Manipulators, Mobile Robots

More information

To Measure a Constant Velocity. Enter.

To Measure a Constant Velocity. Enter. To Measure a Constant Velocity Apparatus calculator, black lead, calculator based ranger (cbr, shown), Physics application this text, the use of the program becomes second nature. At the Vernier Software

More information

Chapter 3: Vectors & 2D Motion. Brent Royuk Phys-111 Concordia University

Chapter 3: Vectors & 2D Motion. Brent Royuk Phys-111 Concordia University Chapter 3: Vectors & 2D Motion Brent Royuk Phys-111 Concordia University Vectors What is a vector? Examples? Notation:! a or! a or a 2 Vector Addition Graphical Methods Triangle, parallelogram, polygon

More information

20/06/ Projectile Motion. 3-7 Projectile Motion. 3-7 Projectile Motion. 3-7 Projectile Motion

20/06/ Projectile Motion. 3-7 Projectile Motion. 3-7 Projectile Motion. 3-7 Projectile Motion 3-7 A projectile is an object moving in two dimensions under the influence of Earth's gravity; its path is a parabola. 3-7 It can be understood by analyzing the horizontal and vertical motions separately.

More information

Maths PoS: Year 7 HT1. Students will colour code as they work through the scheme of work. Students will learn about Number and Shape

Maths PoS: Year 7 HT1. Students will colour code as they work through the scheme of work. Students will learn about Number and Shape Maths PoS: Year 7 HT1 Students will learn about Number and Shape Number: Use positive and negative numbers in context and position them on a number line. Recall quickly multiplication facts up to 10 10

More information

GRADE 6 PAT REVIEW. Math Vocabulary NAME:

GRADE 6 PAT REVIEW. Math Vocabulary NAME: GRADE 6 PAT REVIEW Math Vocabulary NAME: Estimate Round Number Concepts An approximate or rough calculation, often based on rounding. Change a number to a more convenient value. (0 4: place value stays

More information

Date Course Name Instructor Name Student(s) Name WHERE WILL IT LAND?

Date Course Name Instructor Name Student(s) Name WHERE WILL IT LAND? Date Course Name Instructor Name Student(s) Name WHERE WILL IT LAND? You have watched a ball roll off a table and strike the floor. What determines where it will land? Could you predict where it will land?

More information

Review for Quarter 3 Cumulative Test

Review for Quarter 3 Cumulative Test Review for Quarter 3 Cumulative Test I. Solving quadratic equations (LT 4.2, 4.3, 4.4) Key Facts To factor a polynomial, first factor out any common factors, then use the box method to factor the quadratic.

More information

MatLab Programming Lesson 4: Mini-projects

MatLab Programming Lesson 4: Mini-projects MatLab Programming Lesson 4: Mini-projects ) Log into your computer and open MatLab 2) If you don t have the previous M-scripts saved, you can find them at http://www.physics.arizona.edu/~physreu/dox/matlab_lesson_.pdf,

More information

10) LEVEL 6 Assessment Success Pack. EOY Target: Teacher: WA Grade: Targets: Name: Class:

10) LEVEL 6 Assessment Success Pack. EOY Target: Teacher: WA Grade: Targets: Name: Class: Name: Class: WA Grade: EOY Target: Teacher: Targets: 1) LEVEL 6 Assessment Success Pack 2) 5) 6) 7) 8) 9) 10) 6/1 Equivalent fractions, decimals & percentages 1) 2) Percentage to decimal to fraction Decimal

More information

Vector Decomposition

Vector Decomposition Projectile Motion AP Physics 1 Vector Decomposition 1 Coordinate Systems A coordinate system is an artificially imposed grid that you place on a problem. You are free to choose: Where to place the origin,

More information

Math 370 Exam 5 Review Name

Math 370 Exam 5 Review Name Math 370 Exam 5 Review Name Graph the ellipse and locate the foci. 1) x2 6 + y2 = 1 1) Objective: (9.1) Graph Ellipses Not Centered at the Origin Graph the ellipse. 2) (x + 2)2 + (y + 1)2 9 = 1 2) Objective:

More information

Name Period. (b) Now measure the distances from each student to the starting point. Write those 3 distances here. (diagonal part) R measured =

Name Period. (b) Now measure the distances from each student to the starting point. Write those 3 distances here. (diagonal part) R measured = Lesson 5: Vectors and Projectile Motion Name Period 5.1 Introduction: Vectors vs. Scalars (a) Read page 69 of the supplemental Conceptual Physics text. Name at least 3 vector quantities and at least 3

More information

Maths: Phase 5 (Y12-13) Outcomes

Maths: Phase 5 (Y12-13) Outcomes Maths: Phase 5 (Y12-13) Outcomes I know numbers are beautiful. If they aren t beautiful nothing is. Paul Erdose Maths is discovered it doesn t just exist. Maths is a tool to understand, question and criticise

More information

Sixth Grade SOL Tracker Name:

Sixth Grade SOL Tracker Name: Sixth Grade SOL Tracker Name: % https://i.ytimg.com/vihttps://i.ytimg.com/vi/rinaa-jx0u8/maxresdefault.jpg/rinaajx0u8/maxresdefault.jpg g x A COLONIAL HEIGHTS PUBLIC SCHOOLS Mathematics Department I Can

More information

Fresnel Reflection. angle of transmission. Snell s law relates these according to the

Fresnel Reflection. angle of transmission. Snell s law relates these according to the Fresnel Reflection 1. Reflectivity of polarized light The reflection of a polarized beam of light from a dielectric material such as air/glass was described by Augustin Jean Fresnel in 1823. While his

More information

HW 4 : Problem solving with Mathematica

HW 4 : Problem solving with Mathematica 12.010 HW 4 : Problem solving with Mathematica 2 HW04_05.nb Question 1: Write Mathematic program which generates a table of Legendre polynomials and associated functions for degrees and orders from 0 to

More information

Stage 7 Checklists Have you reached this Standard?

Stage 7 Checklists Have you reached this Standard? Stage 7 Checklists Have you reached this Standard? Main Criteria for the whole year. J K L Use positive integer powers and associated real roots Apply the four operations with decimal numbers Write a quantity

More information

Chapter 2: Polynomial and Rational Functions Power Standard #7

Chapter 2: Polynomial and Rational Functions Power Standard #7 Chapter 2: Polynomial and Rational s Power Standard #7 2.1 Quadratic s Lets glance at the finals. Learning Objective: In this lesson you learned how to sketch and analyze graphs of quadratic functions.

More information

Review Test 1. MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Review Test 1. MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Review Test 1 MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Graph the function. 1) f() = + 1 if < 1-4 if 1 1) - - A) B) - - - - C) D) - - - - 1

More information

2.0 MATLAB Fundamentals

2.0 MATLAB Fundamentals 2.0 MATLAB Fundamentals 2.1 INTRODUCTION MATLAB is a computer program for computing scientific and engineering problems that can be expressed in mathematical form. The name MATLAB stands for MATrix LABoratory,

More information

Horizontal Flight Dynamics Simulations using a Simplified Airplane Model and Considering Wind Perturbation

Horizontal Flight Dynamics Simulations using a Simplified Airplane Model and Considering Wind Perturbation Horizontal Flight Dynamics Simulations using a Simplified Airplane Model and Considering Wind Perturbation Dan N. DUMITRIU*,1,2, Andrei CRAIFALEANU 2, Ion STROE 2 *Corresponding author *,1 SIMULTEC INGINERIE

More information

Mathematics - LV 5 (with QuickTables)

Mathematics - LV 5 (with QuickTables) Mathematics - LV 5 (with QuickTables) Correlation of the ALEKS Course Mathematics LV 5 to the California Mathematics Content Standards for Grade 5 (1998) Number Sense: NS1.1: NS1.2: NS1.3: NS1.4: TD =

More information

FOURTH GRADE MATH TRANSITION GLEs. Math, Grade 4, and Curriculum and Assessment Summary

FOURTH GRADE MATH TRANSITION GLEs. Math, Grade 4, and Curriculum and Assessment Summary FOURTH GRADE MATH TRANSITION GLEs Grade 4 Mathematics GLEs and CCSS to be taught in and GLE content to be taught and tested in Grade 4 Math in and GLE # Grade-Level Expectation Text Aligned M.4.1 Read

More information

PRE-ALGEBRA PREP. Textbook: The University of Chicago School Mathematics Project. Transition Mathematics, Second Edition, Prentice-Hall, Inc., 2002.

PRE-ALGEBRA PREP. Textbook: The University of Chicago School Mathematics Project. Transition Mathematics, Second Edition, Prentice-Hall, Inc., 2002. PRE-ALGEBRA PREP Textbook: The University of Chicago School Mathematics Project. Transition Mathematics, Second Edition, Prentice-Hall, Inc., 2002. Course Description: The students entering prep year have

More information

A simple example. Assume we want to find the change in the rotation angles to get the end effector to G. Effect of changing s

A simple example. Assume we want to find the change in the rotation angles to get the end effector to G. Effect of changing s CENG 732 Computer Animation This week Inverse Kinematics (continued) Rigid Body Simulation Bodies in free fall Bodies in contact Spring 2006-2007 Week 5 Inverse Kinematics Physically Based Rigid Body Simulation

More information

Adjacent sides are next to each other and are joined by a common vertex.

Adjacent sides are next to each other and are joined by a common vertex. Acute angle An angle less than 90. A Adjacent Algebra Angle Approximate Arc Area Asymmetrical Average Axis Adjacent sides are next to each other and are joined by a common vertex. Algebra is the branch

More information

Introduction to Solid Modeling Using SolidWorks 2008 COSMOSMotion Tutorial Page 1

Introduction to Solid Modeling Using SolidWorks 2008 COSMOSMotion Tutorial Page 1 Introduction to Solid Modeling Using SolidWorks 2008 COSMOSMotion Tutorial Page 1 In this tutorial, we will learn the basics of performing motion analysis using COSMOSMotion. Although the tutorial can

More information

Matija Gubec International School Zagreb MYP 0. Mathematics

Matija Gubec International School Zagreb MYP 0. Mathematics Matija Gubec International School Zagreb MYP 0 Mathematics 1 MYP0: Mathematics Unit 1: Natural numbers Through the activities students will do their own research on history of Natural numbers. Students

More information

OA: Operations and Algebraic Thinking

OA: Operations and Algebraic Thinking OA: Operations and Algebraic Thinking I can write and explain the meaning of a multiplication equation. 4.OA.1 I can create and solve multiplication equations that compare two sets. 4.OA.1 I can represent

More information

Archbold Area Schools Math Curriculum Map

Archbold Area Schools Math Curriculum Map Math 8 August - May Mathematical Processes Formulate a problem or mathematical model in response to a specific need or situation, determine information required to solve the problem, choose method for

More information

Integers and Rational Numbers

Integers and Rational Numbers A A Family Letter: Integers Dear Family, The student will be learning about integers and how these numbers relate to the coordinate plane. The set of integers includes the set of whole numbers (0, 1,,,...)

More information

Birkdale High School - Higher Scheme of Work

Birkdale High School - Higher Scheme of Work Birkdale High School - Higher Scheme of Work Module 1 - Integers and Decimals Understand and order integers (assumed) Use brackets and hierarchy of operations (BODMAS) Add, subtract, multiply and divide

More information

A triangle that has three acute angles Example:

A triangle that has three acute angles Example: 1. acute angle : An angle that measures less than a right angle (90 ). 2. acute triangle : A triangle that has three acute angles 3. angle : A figure formed by two rays that meet at a common endpoint 4.

More information

Navigational Aids 1 st Semester/2007/TF 7:30 PM -9:00 PM

Navigational Aids 1 st Semester/2007/TF 7:30 PM -9:00 PM Glossary of Navigation Terms accelerometer. A device that senses inertial reaction to measure linear or angular acceleration. In its simplest form, it consists of a case-mounted spring and mass arrangement

More information

Unit Maps: Grade 8 Math

Unit Maps: Grade 8 Math Real Number Relationships 8.3 Number and operations. The student represents and use real numbers in a variety of forms. Representation of Real Numbers 8.3A extend previous knowledge of sets and subsets

More information

MATH 122 Final Exam Review Precalculus Mathematics for Calculus, 7 th ed., Stewart, et al. by hand.

MATH 122 Final Exam Review Precalculus Mathematics for Calculus, 7 th ed., Stewart, et al. by hand. MATH 1 Final Exam Review Precalculus Mathematics for Calculus, 7 th ed., Stewart, et al 5.1 1. Mark the point determined by 6 on the unit circle. 5.3. Sketch a graph of y sin( x) by hand. 5.3 3. Find the

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

Using Technology to Make Connections in Algebra

Using Technology to Make Connections in Algebra Using Technology to Make Connections in Algebra Richard Parr rparr@rice.edu Rice University School Mathematics Project http://rusmp.rice.edu All On The Line Alg1Week17_Systems.tns Name Class Problem 1

More information

ROSE-HULMAN INSTITUTE OF TECHNOLOGY

ROSE-HULMAN INSTITUTE OF TECHNOLOGY Introduction to Working Model Welcome to Working Model! What is Working Model? It's an advanced 2-dimensional motion simulation package with sophisticated editing capabilities. It allows you to build and

More information

Alignment to the Texas Essential Knowledge and Skills Standards

Alignment to the Texas Essential Knowledge and Skills Standards Alignment to the Texas Essential Knowledge and Skills Standards Contents Kindergarten... 2 Level 1... 4 Level 2... 6 Level 3... 8 Level 4... 10 Level 5... 13 Level 6... 16 Level 7... 19 Level 8... 22 High

More information

Chapter 3 Practice Test

Chapter 3 Practice Test 1. Complete parts a c for each quadratic function. a. Find the y-intercept, the equation of the axis of symmetry, and the x-coordinate of the vertex. b. Make a table of values that includes the vertex.

More information

Cecil Jones Academy Mathematics Fundamental Map

Cecil Jones Academy Mathematics Fundamental Map Fundamentals Year 7 (Core) Knowledge Unit 1 Unit 2 Solve problems involving prime numbers Use highest common factors to solve problems Use lowest common multiples to solve problems Explore powers and roots

More information

Contents 10. Graphs of Trigonometric Functions

Contents 10. Graphs of Trigonometric Functions Contents 10. Graphs of Trigonometric Functions 2 10.2 Sine and Cosine Curves: Horizontal and Vertical Displacement...... 2 Example 10.15............................... 2 10.3 Composite Sine and Cosine

More information

Examination Duration Date

Examination Duration Date Hillel Academy High School Grade 9 Mathematics End of Year Study Guide September2013- June 2014 Examination Duration Date The exam consists of 2 papers: Paper 1: Short Response Calculator Paper 2:Structured

More information

Morgan County School District Re-3. Pre-Algebra 9 Skills Assessment Resources. Content and Essential Questions

Morgan County School District Re-3. Pre-Algebra 9 Skills Assessment Resources. Content and Essential Questions Morgan County School District Re-3 August The tools of Algebra. Use the four-step plan to solve problems. Choose an appropriate method of computation. Write numerical expressions for word phrases. Write

More information

Final Exam Information. Practice Problems for Final Exam

Final Exam Information. Practice Problems for Final Exam Final Exam Information When:... What to bring: Pencil, eraser, scientific calculator, 3x5 note card with your own handwritten notes on (both sides). How to prepare: Look through all your old tests and

More information

Displacement-time and Velocity-time Graphs

Displacement-time and Velocity-time Graphs PhysicsFactsheet April Number Displacement- and Velocity- Graphs This Factsheet explains how motion can be described using graphs, in particular how - graphs and - graphs can be used. Displacement- graphs

More information

MCAS/DCCAS Mathematics Correlation Chart Grade 6

MCAS/DCCAS Mathematics Correlation Chart Grade 6 MCAS/DCCAS Mathematics Correlation Chart Grade 6 MCAS Finish Line Mathematics Grade 6 MCAS Standard DCCAS Standard DCCAS Standard Description Unit 1: Number Sense Lesson 1: Whole Number and Decimal Place

More information

Integrated Mathematics I Performance Level Descriptors

Integrated Mathematics I Performance Level Descriptors Limited A student performing at the Limited Level demonstrates a minimal command of Ohio s Learning Standards for Integrated Mathematics I. A student at this level has an emerging ability to demonstrate

More information

6. Find the equation of the plane that passes through the point (-1,2,1) and contains the line x = y = z.

6. Find the equation of the plane that passes through the point (-1,2,1) and contains the line x = y = z. Week 1 Worksheet Sections from Thomas 13 th edition: 12.4, 12.5, 12.6, 13.1 1. A plane is a set of points that satisfies an equation of the form c 1 x + c 2 y + c 3 z = c 4. (a) Find any three distinct

More information

8 th Grade Mathematics Unpacked Content For the new Common Core standards that will be effective in all North Carolina schools in the

8 th Grade Mathematics Unpacked Content For the new Common Core standards that will be effective in all North Carolina schools in the 8 th Grade Mathematics Unpacked Content For the new Common Core standards that will be effective in all North Carolina schools in the 2012-13. This document is designed to help North Carolina educators

More information

Two-Dimensional Motion

Two-Dimensional Motion Two-Dimensional Motion Objects don't always move in a straight line. When an object moves in two dimensions, we must look at vector components. The most common kind of two dimensional motion you will encounter

More information

Grade 5 Math Program. ARITHMETIC FACTS (memory or quick strategy) - Addition and Subtraction - Multiplication (up 100) - Division

Grade 5 Math Program. ARITHMETIC FACTS (memory or quick strategy) - Addition and Subtraction - Multiplication (up 100) - Division Grade 5 Math Program MAJOR STRANDS: The strands and sub-strands, including the general learning outcome for each, follow. Number Concepts and Operations n Develop number sense. Patterns and Relations n

More information

Path Objects. Introduction. Methods. Data Types. Create, Delete, Validate Methods. Configuration and Information Methods. Relational Methods

Path Objects. Introduction. Methods. Data Types. Create, Delete, Validate Methods. Configuration and Information Methods. Relational Methods Path Objects Path Objects Introduction A Path object manages coordinated multi-axis motion profiles. It is used when the motion profiles in an N-Dimensional space are required to follow a specific coordinated

More information

demonstrate an understanding of the exponent rules of multiplication and division, and apply them to simplify expressions Number Sense and Algebra

demonstrate an understanding of the exponent rules of multiplication and division, and apply them to simplify expressions Number Sense and Algebra MPM 1D - Grade Nine Academic Mathematics This guide has been organized in alignment with the 2005 Ontario Mathematics Curriculum. Each of the specific curriculum expectations are cross-referenced to the

More information

EXPLORE MATHEMATICS TEST

EXPLORE MATHEMATICS TEST EXPLORE MATHEMATICS TEST Table 4: The College Readiness The describe what students who score in the specified score ranges are likely to know and to be able to do. The help teachers identify ways of enhancing

More information

Why arrays? To group distinct variables of the same type under a single name.

Why arrays? To group distinct variables of the same type under a single name. Lesson #7 Arrays Why arrays? To group distinct variables of the same type under a single name. Suppose you need 100 temperatures from 100 different weather stations: A simple (but time consuming) solution

More information

Benchmarks Addressed. Quizzes. Strand IV, S 1-2, 1-4, 2-1, 2-2, 2-3, 3-1. Journal writing. Projects. Worksheets

Benchmarks Addressed. Quizzes. Strand IV, S 1-2, 1-4, 2-1, 2-2, 2-3, 3-1. Journal writing. Projects. Worksheets August/September The Decimal System Translating English words into Decimal Notation What is the decimal system? Str IV, S 1-2, 1-4, 2-1, 2-2, 2-3, 3-1 Estimating Decimals What is a number line? Changing

More information

Middle School Math Course 3

Middle School Math Course 3 Middle School Math Course 3 Correlation of the ALEKS course Middle School Math Course 3 to the Texas Essential Knowledge and Skills (TEKS) for Mathematics Grade 8 (2012) (1) Mathematical process standards.

More information

17. SEISMIC ANALYSIS MODELING TO SATISFY BUILDING CODES

17. SEISMIC ANALYSIS MODELING TO SATISFY BUILDING CODES 17. SEISMIC ANALYSIS MODELING TO SATISFY BUILDING CODES The Current Building Codes Use the Terminology: Principal Direction without a Unique Definition 17.1 INTRODUCTION { XE "Building Codes" }Currently

More information

Alignments to SuccessMaker. Providing rigorous intervention for K-8 learners with unparalleled precision

Alignments to SuccessMaker. Providing rigorous intervention for K-8 learners with unparalleled precision Alignments to SuccessMaker Providing rigorous intervention for K-8 learners with unparalleled precision OH.Math.7.RP Ratios and Proportional Relationships OH.Math.7.RP.A Analyze proportional relationships

More information

Projectile Motion SECTION 3. Two-Dimensional Motion. Objectives. Use of components avoids vector multiplication.

Projectile Motion SECTION 3. Two-Dimensional Motion. Objectives. Use of components avoids vector multiplication. Projectile Motion Key Term projectile motion Two-Dimensional Motion Previously, we showed how quantities such as displacement and velocity were vectors that could be resolved into components. In this section,

More information

************************************** FINDING WAYS TO USE TECHNOLOGY TO ASSIST OUR STUDENTS WITH GRAPHING A VARIETY OF LINEAR EQUATIONS!!

************************************** FINDING WAYS TO USE TECHNOLOGY TO ASSIST OUR STUDENTS WITH GRAPHING A VARIETY OF LINEAR EQUATIONS!! ************************************** FINDING WAYS TO USE TECHNOLOGY TO ASSIST OUR STUDENTS WITH GRAPHING A VARIETY OF LINEAR EQUATIONS!! ************************************** PROJECT SUMMARY 1. Title

More information

1 (5 max) 2 (10 max) 3 (20 max) 4 (30 max) 5 (10 max) 6 (15 extra max) total (75 max + 15 extra)

1 (5 max) 2 (10 max) 3 (20 max) 4 (30 max) 5 (10 max) 6 (15 extra max) total (75 max + 15 extra) Mierm Exam CS223b Stanford CS223b Computer Vision, Winter 2004 Feb. 18, 2004 Full Name: Email: This exam has 7 pages. Make sure your exam is not missing any sheets, and write your name on every page. The

More information

Mathematics. Geometry Revision Notes for Higher Tier

Mathematics. Geometry Revision Notes for Higher Tier Mathematics Geometry Revision Notes for Higher Tier Thomas Whitham Sixth Form S J Cooper Pythagoras Theorem Right-angled trigonometry Trigonometry for the general triangle rea & Perimeter Volume of Prisms,

More information

A NON-TRIGONOMETRIC, PSEUDO AREA PRESERVING, POLYLINE SMOOTHING ALGORITHM

A NON-TRIGONOMETRIC, PSEUDO AREA PRESERVING, POLYLINE SMOOTHING ALGORITHM A NON-TRIGONOMETRIC, PSEUDO AREA PRESERVING, POLYLINE SMOOTHING ALGORITHM Wayne Brown and Leemon Baird Department of Computer Science The United States Air Force Academy 2354 Fairchild Dr., Suite 6G- USAF

More information