HW 4 : Problem solving with Mathematica

Size: px
Start display at page:

Download "HW 4 : Problem solving with Mathematica"

Transcription

1 HW 4 : Problem solving with Mathematica

2 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 4 (l and m on mathworld site) and for arguments (x) between -1 and 1 in steps of 0.25 (see and HW 02 solution). Table should be no wider than 100 characters and should have headers explaining what the columns are. How would you change this program if 10 significant digits were required? Solution should be in Mathematica NoteBook or a Mathematica.m file This question is quite tricky for a number of reasons (1) Controling Mathematica output in terms of format is not straight forward (i.e. no equivalanent to %10.5f in C and Matlab) and (2) The TableForm output can be tricky because there are three arguments that are changing (l,m. and x). ie, the List genenerated by Table is three levels deep where as two levels is easier for a table. Also getting the values of l and m into the table is not easy with the standard Table call. The solution below gets around the problem with Table but directly constructing the List to output. The SetAccuarcy and N usage sets the number of signficant digits. Off@General::spell1D; H* Stops message about head looking like a command*l arg = Range@-1, 1,.25D; header = Join@8"l", "m\arg"<, argd; cnt = 0; lall = 8<; For@l = 0, l < 5, l ++, For@m = 0, m l, m ++, 8l1 = Join@8l, m<, N@SetAccuracy@LegendreP@l, m, argd, 5D, 5DD, lall = Append@lall, l1d< D D full = Insert@lall, header, 1D; Print@"Table of Legendre Functions\n "D Print@TableForm@full, TableAlignments Ø RightDD Table of Legendre Functions

3 HW04_05.nb 3 l m\arg µ µ µ µ µ µ µ µ µ µ µ µ µ µ µ µ

4 4 HW04_05.nb Question 2:Write a program that reads your name in the form <first name> <middle name> <last name> and outputs the last name first and adds a comma after the name, the first name, and initial of your middle name with a period after the middle initial. If the names start with lower case letters, then these should be capitalized. The program should not be specific to the lengths of your name (ie., the program should work with anyone s name. As an example. An input of thomas abram herring would generate: Herring, Thomas A. (The solution can be in the same Notebook as Question 1) This problem is not too bad to solve. This solution works in 5.0 Mathematica and does explicitly some things such as splitting a stringe apart that are now Mathematica commands (String- Split).

5 HW04_05.nb 5 In[675]:= H* Define a function that will convert chararacter of a string to upper case *L confirst@a_d := StringReplacePart@a, ToUpperCase@StringTake@a, 81<DD, 81, 1<D; H* Get the name from the user*l inname = InputString@"Enter Name Hfirst, middle, lastl "D; H* Convert whole string to lower case*l fullname = ToLowerCase@innameD; H* Now get the list of blanks in the string*l posblanks = StringPosition@fullname, " "D; H* Get the position of first blank*l posfirst = Extract@Extract@posblanks, 1D, 1D; firstname = StringTake@fullname, posfirst - 1D; firstname = confirst@firstnamed; H* Use our confirst routine *L H* Get Middle Name *L posmid = Extract@Extract@posblanks, 2D, 1D; midinit = StringTake@fullname, 8posfirst + 1, posfirst + 1<D; midinit = confirst@midinitd; H* Get Last Name *L lastname = StringTake@fullname, 8posmid + 1, StringLength@fullnameD<D; lastname = confirst@lastnamed; H* Output the string *L finalname = lastname <> ", " <> firstname <> " " <> midinit <> "."; outline = "Input name " <> inname <> " converted to " <> finalname; H* Output the results*l Print@outlineD Input name thomas abram herring converted to Herring, Thomas A. Question 3: Write a Mathematica program that will compute the trajectory of a paper plane given an initial height and vector velocity (i.e., a speed and direction for the launch.) The program should run until the height of the plane is zero. As a test of your code, compute the trajectory of a paper plane weighing 3 grams launched from a height of 2 meters at a speed of 3.5 meters/sec at angle of -10 degrees from level. Repeat the calculation with a 10.0 m/sec initial velocity. The wing area should be square-meters. The lift and drag coefficients are 0.22 and 0.04 m2. Air density of kg/m3. Gravity is 9.8 m/sec2. Use the force equations from the solution to homework 1. Your answer to this question should include: (a) The algorithms used and the design of your program (can be noted in Notebook)

6 6 HW04_05.nb (b) The Mathematica program. (c) The results from the two test cases above. Include in your Notebook a graphic showing the trajectories. Hint: Look at the examples in the NDSolve descriptions The solution to this problem is in a number of cells so that default values can be set in one cell. Another cell allows these values to updated with user inout, and the cells below that do the calculation. The first cell sets the defaults values and defines some of the functions need for drag and lift calculations. Notice at t, x and z are cleared because if these were previously set to numerical values the code will not run correctly. The second cell allows user input. It does not need to be executed if the defaults are to be used. The third cell does the calculation. It basically just sets up the differential equations and the initial conditions (position and velocity) and set a time interval over which to solve the problem. The funtions hx ans hz are just easy ways to referr to the solution. The FindRoot finds the last root in the interval specified (In this case there is just the one root). The t /. FindRoot constructions returns the value of t from the list generated by FindRoot. The fouth cell does the ParametricPlot of the results. The fifth cell is a repeat of code that allows the 3.5 m/s case to be evalated. The solutions to the two test cases are: Vinit 10 m/s ØTime to reach ground sec, Traveled m Vinit 3.5 m/s Ø Time to reach ground sec, Traveled m

7 HW04_05.nb 7 In[825]:= H* Set up constants*l Off@General::spell1D; Clear@t, x, z, xd, zd, hx, hz D; cd = 0.04; cl = 0.22; area = 0.017; H* m^2 *L mass = 0.003; H* kg *L lht = 2.0; H* meters *L lthetadeg = -10; H* degrees *L lvel = 10.0; H* Initial velocity mêsec *L ltheta := lthetadeg * Pi ê 180; H* Define the acceleration functions we will need*l grav@z_d = -9.8 ; rhoair = 1.225; dragx@xd_, zd_d := -rhoair * Sqrt@xd ^2 + zd ^2D * area * Hcd * xd + cl * zdl ê H2 * massl; dragz@xd_, zd_d := rhoair * Sqrt@xd ^2 + zd^ 2D * area * H-cd * zd + cl * xdl ê H2 * massl; Print@"Default Values Set"D Default Values Set H* Get User inputs: Cell maybe skipped if defaults to be used*l lht = Input@"Launch Height HmL"D * 1000; lvel = Input@"Launch Velocity HmêsL"D; ltheta = Input@"Launch Angle HdegL"D * Pi ê 180; mass = Input@"Body Mass HgL"D ê 1000; area = Input@"Wing Area Hm^2L"D; cl = Input@"Lift coefficient "D; cd = Input@"Drag coefficient"d; Print@"User Values Set"D User Values Set

8 8 HW04_05.nb In[833]:= H* Set up differential equations to be be solved, is horizontal position, is height of object *L vz = lvel * Sin@lthetaD; vx = lvel * Cos@lthetaD; solution = NDSolve@8z ''@td ã grav@z@tdd + dragz@x'@td, z'@tdd, x ''@td ã dragx@x '@td, z'@tdd, x@0d ã 0, z@0d ã lht, x '@0D ã vx, z '@0D ã vz<, 8x, z<, 8t, 0, 100<D; hz@t_d := Evaluate@z@tD ê. solutiond; hx@t_d := Evaluate@x@tD ê. solutiond; H* Compute the error in the distance *L zerot = t ê. FindRoot@hz@tD ã 0, 8t, 1, 50<D; Print@"Time to reach ground ", zerot, " sec, Traveled ", First@hx@zerotDD, " m"d Time to reach ground sec, Traveled m In[839]:= H* Now plot the Trajectory*L Print@"Plane flight for initial velocity ", lvel, " mêsec and launch angle ", ltheta * 180 ê Pi, " degrees"d label = 8"Vel Init ", lvel, " mês; Angle ", ltheta * 180 ê Pi<; ParametricPlot@ 8t, First@hz@tDD<, 8t, 0, zerot<, AxesLabel Ø 8"Time HsecL", "HeightHmL"<, TextStyle Ø 8FontSize Ø 12<, PlotLabel Ø labeld; ParametricPlot@ 8First@hx@tDD, First@hz@tDD<, 8t, 0, zerot<, AxesLabel Ø 8"RangeHmL", "HeightHmL"<, TextStyle Ø 8FontSize Ø 12<D; Plane flight for initial velocity 10. mêsec and launch angle -10 degrees

9 HW04_05.nb 9 HeightHmL 8Vel Init, 10., mês; Angle, -10< Time Hse HeightHmL RangeH

10 10 HW04_05.nb Repeated code to run with initial velocity of 3.5 m/sec In[863]:= H* Set up differential equations to be be solved, is horizontal position, is height of object *L lvel = 3.5 ; H* Initial velocity at 3.5 mês*l vz = lvel * Sin@lthetaD; vx = lvel * Cos@lthetaD; solution = NDSolve@8z ''@td ã grav@z@tdd + dragz@x'@td, z'@tdd, x ''@td ã dragx@x '@td, z'@tdd, x@0d ã 0, z@0d ã lht, x '@0D ã vx, z '@0D ã vz<, 8x, z<, 8t, 0, 100<D; hz@t_d := Evaluate@z@tD ê. solutiond; hx@t_d := Evaluate@x@tD ê. solutiond; H* Compute the error in the distance *L zerot = t ê. FindRoot@hz@tD ã 0, 8t, 1, 50<D; Print@"Time to reach ground ", zerot, " sec, Traveled ", First@hx@zerotDD, " m"d H* Now plot the Trajectory*L Print@"Plane flight for initial velocity ", lvel, " mêsec and launch angle ", ltheta * 180 ê Pi, " degrees"d label = 8"Vel Init ", lvel, " mês; Angle ", ltheta * 180 ê Pi<; ParametricPlot@ 8t, First@hz@tDD<, 8t, 0, zerot<, AxesLabel Ø 8"Time HsecL", "HeightHmL"<, TextStyle Ø 8FontSize Ø 12<, PlotLabel Ø labeld; ParametricPlot@ 8First@hx@tDD, First@hz@tDD<, 8t, 0, zerot<, AxesLabel Ø 8"RangeHmL", "HeightHmL"<, TextStyle Ø 8FontSize Ø 12<D; Time to reach ground sec, Traveled m Plane flight for initial velocity 3.5 mêsec and launch angle -10 degrees

11 HW04_05.nb 11 HeightHmL 8Vel Init, 3.5, mês; Angle, -10< Time Hse HeightHmL RangeH

Computational Methods of Scientific Programming Fall 2007

Computational Methods of Scientific Programming Fall 2007 MIT OpenCourseWare http://ocw.mit.edu 12.010 Computational Methods of Scientific Programming Fall 2007 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.

More information

" 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

Projectile Trajectory Scenarios

Projectile Trajectory Scenarios Projectile Trajectory Scenarios Student Worksheet Name Class Note: Sections of this document are numbered to correspond to the pages in the TI-Nspire.tns document ProjectileTrajectory.tns. 1.1 Trajectories

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

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

Precalculus 2 Section 10.6 Parametric Equations

Precalculus 2 Section 10.6 Parametric Equations Precalculus 2 Section 10.6 Parametric Equations Parametric Equations Write parametric equations. Graph parametric equations. Determine an equivalent rectangular equation for parametric equations. Determine

More information

Basic Exercises about Mathematica

Basic Exercises about Mathematica Basic Exercises about Mathematica 1. Calculate with four decimal places. NB F. 2.23607 2.23607 Ë We can evaluate a cell by placing the cursor on it and pressing Shift+Enter (or Enter on the numeric key

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

MATLAB Programming for Numerical Computation Dr. Niket Kaisare Department Of Chemical Engineering Indian Institute of Technology, Madras

MATLAB Programming for Numerical Computation Dr. Niket Kaisare Department Of Chemical Engineering Indian Institute of Technology, Madras MATLAB Programming for Numerical Computation Dr. Niket Kaisare Department Of Chemical Engineering Indian Institute of Technology, Madras Module No. #01 Lecture No. #1.1 Introduction to MATLAB programming

More information

Name Class Date. Activity P37: Time of Flight versus Initial Speed (Photogate)

Name Class Date. Activity P37: Time of Flight versus Initial Speed (Photogate) Name Class Date Activity P37: Time of Flight versus Initial Speed (Photogate) Concept DataStudio ScienceWorkshop (Mac) ScienceWorkshop (Win) Projectile motion P37 Time of Flight.DS P08 Time of Flight P08_TOF.SWS

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

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

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

Lesson 17: Graphing Quadratic Functions from the Standard Form,

Lesson 17: Graphing Quadratic Functions from the Standard Form, : Graphing Quadratic Functions from the Standard Form, Student Outcomes Students graph a variety of quadratic functions using the form 2 (standard form). Students analyze and draw conclusions about contextual

More information

Semester 2 Review Problems will be sectioned by chapters. The chapters will be in the order by which we covered them.

Semester 2 Review Problems will be sectioned by chapters. The chapters will be in the order by which we covered them. Semester 2 Review Problems will be sectioned by chapters. The chapters will be in the order by which we covered them. Chapter 9 and 10: Right Triangles and Trigonometric Ratios 1. The hypotenuse of a right

More information

PROJECTILE MOTION PURPOSE

PROJECTILE MOTION PURPOSE PURPOSE The purpose of this experiment is to study the motion of an object in two dimensions. The motion of the projectile is analyzed using Newton's laws of motion. During the motion of the projectile,

More information

4.5 Conservative Forces

4.5 Conservative Forces 4 CONSERVATION LAWS 4.5 Conservative Forces Name: 4.5 Conservative Forces In the last activity, you looked at the case of a block sliding down a curved plane, and determined the work done by gravity as

More information

Introduction to CFX. Workshop 2. Transonic Flow Over a NACA 0012 Airfoil. WS2-1. ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

Introduction to CFX. Workshop 2. Transonic Flow Over a NACA 0012 Airfoil. WS2-1. ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved. Workshop 2 Transonic Flow Over a NACA 0012 Airfoil. Introduction to CFX WS2-1 Goals The purpose of this tutorial is to introduce the user to modelling flow in high speed external aerodynamic applications.

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

Lesson 8 Practice Problems

Lesson 8 Practice Problems Name: Date: Lesson 8 Section 8.1: Characteristics of Quadratic Functions 1. For each of the following quadratic functions: Identify the coefficients a, b, c Determine if the parabola opens up or down and

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

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

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

Lesson 6 - Practice Problems

Lesson 6 - Practice Problems Lesson 6 - Practice Problems Section 6.1: Characteristics of Quadratic Functions 1. For each of the following quadratic functions: Identify the coefficients a, b and c. Determine if the parabola opens

More information

ACTIVITY 8. The Bouncing Ball. You ll Need. Name. Date. 1 CBR unit 1 TI-83 or TI-82 Graphing Calculator Ball (a racquet ball works well)

ACTIVITY 8. The Bouncing Ball. You ll Need. Name. Date. 1 CBR unit 1 TI-83 or TI-82 Graphing Calculator Ball (a racquet ball works well) . Name Date ACTIVITY 8 The Bouncing Ball If a ball is dropped from a given height, what does a Height- Time graph look like? How does the velocity change as the ball rises and falls? What affects the shape

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

Getting Started With Mathematica

Getting Started With Mathematica Getting Started With Mathematica First Steps This semester we will make use of the software package Mathematica; this package is available on all Loyola networked computers. You can access Mathematica

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

Unit 2: Functions and Graphs

Unit 2: Functions and Graphs AMHS Precalculus - Unit 16 Unit : Functions and Graphs Functions A function is a rule that assigns each element in the domain to exactly one element in the range. The domain is the set of all possible

More information

QUADRATICS Graphing Quadratic Functions Common Core Standard

QUADRATICS Graphing Quadratic Functions Common Core Standard H Quadratics, Lesson 6, Graphing Quadratic Functions (r. 2018) QUADRATICS Graphing Quadratic Functions Common Core Standard Next Generation Standard F-IF.B.4 For a function that models a relationship between

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

PROJECTILE. 5) Define the terms Velocity as related to projectile motion: 6) Define the terms angle of projection as related to projectile motion:

PROJECTILE. 5) Define the terms Velocity as related to projectile motion: 6) Define the terms angle of projection as related to projectile motion: 1) Define Trajectory a) The path traced by particle in air b) The particle c) Vertical Distance d) Horizontal Distance PROJECTILE 2) Define Projectile a) The path traced by particle in air b) The particle

More information

ME 142 Engineering Computation I. Graphing with Excel

ME 142 Engineering Computation I. Graphing with Excel ME 142 Engineering Computation I Graphing with Excel Common Questions from Unit 1.2 HW 1.2.2 See 1.2.2 Homework Exercise Hints video Use ATAN to find nominal angle in each quadrant Use the AND logical

More information

Visual Physics Camera Parallax Lab 1

Visual Physics Camera Parallax Lab 1 In this experiment you will be learning how to locate the camera properly in order to identify and minimize the sources of error that are introduced by parallax and perspective. These sources of error

More information

Practice Set 44 Simplifying Trigonometric Expressions

Practice Set 44 Simplifying Trigonometric Expressions Practice Set Simplifying Trigonometric Expressions No Calculator Objectives Simplify trigonometric expression using the fundamental trigonometric identities Use the trigonometric co-function identities

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

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

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

Semester 2 Review Problems will be sectioned by chapters. The chapters will be in the order by which we covered them.

Semester 2 Review Problems will be sectioned by chapters. The chapters will be in the order by which we covered them. Semester 2 Review Problems will be sectioned by chapters. The chapters will be in the order by which we covered them. Chapter 9 and 10: Right Triangles and Trigonometric Ratios 1. The hypotenuse of a right

More information

4 Visualization and. Approximation

4 Visualization and. Approximation 4 Visualization and Approximation b A slope field for the differential equation y tan(x + y) tan(x) tan(y). It is not always possible to write down an explicit formula for the solution to a differential

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

Parametric Curves, Polar Plots and 2D Graphics

Parametric Curves, Polar Plots and 2D Graphics Parametric Curves, Polar Plots and 2D Graphics Fall 2016 In[213]:= Clear "Global`*" 2 2450notes2_fall2016.nb Parametric Equations In chapter 9, we introduced parametric equations so that we could easily

More information

Getting Started With Mathematica

Getting Started With Mathematica Getting Started With Mathematica First Steps This semester we will make use of the software package Mathematica; this package is available on all Loyola networked computers. You can access Mathematica

More information

CS 1044 Project 2 Spring 2003

CS 1044 Project 2 Spring 2003 C++ Mathematical Calculations: Falling Bodies Suppose an object is dropped from a point at a known distance above the ground and allowed to fall without any further interference; for example, a skydiver

More information

How do you roll? Fig. 1 - Capstone screen showing graph areas and menus

How do you roll? Fig. 1 - Capstone screen showing graph areas and menus How do you roll? Purpose: Observe and compare the motion of a cart rolling down hill versus a cart rolling up hill. Develop a mathematical model of the position versus time and velocity versus time for

More information

Use the slope of a graph of the cart s acceleration versus sin to determine the value of g, the acceleration due to gravity.

Use the slope of a graph of the cart s acceleration versus sin to determine the value of g, the acceleration due to gravity. Name Class Date Activity P03: Acceleration on an Incline (Acceleration Sensor) Concept DataStudio ScienceWorkshop (Mac) ScienceWorkshop (Win) Linear motion P03 Acceleration.ds (See end of activity) (See

More information

Projectile Motion. A.1. Finding the flight time from the vertical motion. The five variables for the vertical motion are:

Projectile Motion. A.1. Finding the flight time from the vertical motion. The five variables for the vertical motion are: Projectile Motion A. Finding the muzzle speed v0 The speed of the projectile as it leaves the gun can be found by firing it horizontally from a table, and measuring the horizontal range R0. On the diagram,

More information

Honors Pre-Calculus. 6.1: Vector Word Problems

Honors Pre-Calculus. 6.1: Vector Word Problems Honors Pre-Calculus 6.1: Vector Word Problems 1. A sled on an inclined plane weighs 00 lb, and the plane makes an angle of 0 degrees with the horizontal. What force, perpendicular to the plane, is exerted

More information

HALF YEARLY EXAMINATIONS 2015/2016. Answer ALL questions showing your working Where necessary give your answers correct to 2 decimal places.

HALF YEARLY EXAMINATIONS 2015/2016. Answer ALL questions showing your working Where necessary give your answers correct to 2 decimal places. Track 3 GIRLS SECONDARY, MRIEHEL HALF YEARLY EXAMINATIONS 2015/2016 FORM: 4 PHYSICS Time: 1½ hrs Name: Class: Answer ALL questions showing your working Where necessary give your answers correct to 2 decimal

More information

Integrating Equations of Motion in Mathematica

Integrating Equations of Motion in Mathematica MmaGuide-GLG.nb Integrating Equations of Motion in Mathematica Gary L. Gray Assistant Professor Engineering Science and Mechanics The Pennsylvania State University 227 Hammond Building University Park,

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

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

CS 1044 Project 1 Fall 2011

CS 1044 Project 1 Fall 2011 Simple Arithmetic Calculations, Using Standard Functions One of the first things you will learn about C++ is how to perform numerical computations. In this project, you are given an incomplete program

More information

Types of Functions Here are six common types of functions and examples of each. Linear Quadratic Absolute Value Square Root Exponential Reciprocal

Types of Functions Here are six common types of functions and examples of each. Linear Quadratic Absolute Value Square Root Exponential Reciprocal Topic 2.0 Review Concepts What are non linear equations? Student Notes Unit 2 Non linear Equations Types of Functions Here are six common types of functions and examples of each. Linear Quadratic Absolute

More information

Theory of Elasticity, Article 18, Generic 2D Stress Distributions

Theory of Elasticity, Article 18, Generic 2D Stress Distributions Theory of Elasticity, Article 18, Generic 2D Stress Distributions One approach to solve 2D continuum problems analytically is to use stress functions. Article 18 of the third edition of Theory of Elasticity

More information

Without fully opening the exam, check that you have pages 1 through 11.

Without fully opening the exam, check that you have pages 1 through 11. Name: Section: Recitation Instructor: INSTRUCTIONS Fill in your name, etc. on this first page. Without fully opening the exam, check that you have pages 1 through 11. Show all your work on the standard

More information

L24-Fri-28-Oct-2016-Sec-3-4-Quadratic-Models-HW25-Moodle-Q20

L24-Fri-28-Oct-2016-Sec-3-4-Quadratic-Models-HW25-Moodle-Q20 L4-Fri-8-Oct-016-Sec-3-4-Quadratic-Models-HW5-Moodle-Q0 page 1 L4-Fri-8-Oct-016-Sec-3-4-Quadratic-Models-HW5-Moodle-Q0 HANDOUT Today we again work to create mathematical models from applied problems. Recall

More information

Quadratic Functions CHAPTER. 1.1 Lots and Projectiles Introduction to Quadratic Functions p. 31

Quadratic Functions CHAPTER. 1.1 Lots and Projectiles Introduction to Quadratic Functions p. 31 CHAPTER Quadratic Functions Arches are used to support the weight of walls and ceilings in buildings. Arches were first used in architecture by the Mesopotamians over 4000 years ago. Later, the Romans

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

Projectile Launched Horizontally

Projectile Launched Horizontally Projectile Launched Horizontally by Nada Saab-Ismail, PhD, MAT, MEd, IB nhsaab.weebly.com nhsaab2014@gmail.com P3.3c Explain the recoil of a projectile launcher in terms of forces and masses. P3.4e Solve

More information

ENGR Fall Exam 1

ENGR Fall Exam 1 ENGR 13100 Fall 2012 Exam 1 INSTRUCTIONS: Duration: 60 minutes Keep your eyes on your own work! Keep your work covered at all times! 1. Each student is responsible for following directions. Read carefully.

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

This notebook "MathematicaDemo.nb" can be downloaded from the course web page.

This notebook MathematicaDemo.nb can be downloaded from the course web page. Mathematica demo http://www.wolfram.com/ This notebook "MathematicaDemo.nb" can be downloaded from the course web page. Basics Evaluate cells by pressing "shift-enter" / shift-return In[]:= + 3 Out[]=

More information

Exploring Change and Representations of Change: Calculus Concept Connection i

Exploring Change and Representations of Change: Calculus Concept Connection i Exploring Change and Representations of Change: Calculus Concept Connection i Grade Level and Content: Pre-algebra, 7 th or 8 th Grade Mathematics Big Idea: Students explore the concept of change and how

More information

Modeling Mechanical System using SIMULINK

Modeling Mechanical System using SIMULINK Modeling Mechanical System using SIMULINK Mechanical System We will consider a toy train consisting of an engine and a car as shown in Figure. Assuming that the train only travels in one direction, we

More information

ü 1.1 Getting Started

ü 1.1 Getting Started Chapter 1 Introduction Welcome to Mathematica! This tutorial manual is intended as a supplement to Rogawski's Calculus textbook and aimed at students looking to quickly learn Mathematica through examples.

More information

Computational Methods of Scientific Programming Fall 2007

Computational Methods of Scientific Programming Fall 2007 MIT OpenCourseWare http://ocw.mit.edu 12.010 Computational Methods of Scientific Programming Fall 2007 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.

More information

Dynamical Systems - Math 3280 Mathematica: From Algebra to Dynamical Systems c

Dynamical Systems - Math 3280 Mathematica: From Algebra to Dynamical Systems c Dynamical Systems - Math 3280 Mathematica: From Algebra to Dynamical Systems c Edit your document (remove extras and errors, ensure the rest works correctly). If needed, add comments. It is not necessary

More information

Solving Quadratics Algebraically Investigation

Solving Quadratics Algebraically Investigation Unit NOTES Honors Common Core Math 1 Day 1: Factoring Review and Solving For Zeroes Algebraically Warm-Up: 1. Write an equivalent epression for each of the problems below: a. ( + )( + 4) b. ( 5)( + 8)

More information

Algebra I Notes Graphs of Functions OBJECTIVES: F.IF.A.1 Understand the concept of a function and use function notation. F.IF.A.2.

Algebra I Notes Graphs of Functions OBJECTIVES: F.IF.A.1 Understand the concept of a function and use function notation. F.IF.A.2. OBJECTIVES: F.IF.A.1 Understand the concept of a function and use function notation. Understand that a function from one set (called the domain) to another set (called the range) assigns to each element

More information

How to Enter and Analyze a Wing

How to Enter and Analyze a Wing How to Enter and Analyze a Wing Entering the Wing The Stallion 3-D built-in geometry creation tool can be used to model wings and bodies of revolution. In this example, a simple rectangular wing is modeled

More information

Range Imaging Through Triangulation. Range Imaging Through Triangulation. Range Imaging Through Triangulation. Range Imaging Through Triangulation

Range Imaging Through Triangulation. Range Imaging Through Triangulation. Range Imaging Through Triangulation. Range Imaging Through Triangulation Obviously, this is a very slow process and not suitable for dynamic scenes. To speed things up, we can use a laser that projects a vertical line of light onto the scene. This laser rotates around its vertical

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

Clipping Polygons. A routine for clipping polygons has a variety of graphics applications.

Clipping Polygons. A routine for clipping polygons has a variety of graphics applications. The Mathematica Journal Clipping Polygons Garry Helzer Department of Mathematics University of Maryland College Park, MD 20742 gah@math.umd.edu A routine for clipping polygons has a variety of graphics

More information

Computational Methods of Scientific Programming. Matlab Lecture 4 Lecturers Thomas A Herring Chris Hill

Computational Methods of Scientific Programming. Matlab Lecture 4 Lecturers Thomas A Herring Chris Hill 12.010 Computational Methods of Scientific Programming Matlab Lecture 4 Lecturers Thomas A Herring Chris Hill Review of Last Lecture Analysis of the some of the functions needed for the GUI development

More information

3. Solve the following. Round to the nearest thousandth.

3. Solve the following. Round to the nearest thousandth. This review does NOT cover everything! Be sure to go over all notes, homework, and tests that were given throughout the semester. 1. Given g ( x) i, h( x) x 4x x, f ( x) x, evaluate the following: a) f

More information

Acute Angle. Angle. An angle that measures greater than 0 and less than 90. A figure formed by two line segments or rays that share the same endpoint.

Acute Angle. Angle. An angle that measures greater than 0 and less than 90. A figure formed by two line segments or rays that share the same endpoint. Acute Angle An angle that measures greater than 0 and less than 90. Geometry Angle A figure formed by two line segments or rays that share the same endpoint. 5 Geometry Area The number of square units

More information

Inverse Problem Theory and Methods for Model Parameter Estimation

Inverse Problem Theory and Methods for Model Parameter Estimation The following notes are complements for the book Inverse Problem Theory and Methods for Model Parameter Estimation Albert Tarantola Society of Industrial and Applied Mathematics (SIAM), 2005 11.4.3 Probabilistic

More information

Writing Equivalent Forms of Quadratic Functions Adapted from Walch Education

Writing Equivalent Forms of Quadratic Functions Adapted from Walch Education Writing Equivalent Forms of Quadratic Functions Adapted from Walch Education Recall The standard form, or general form, of a quadratic function is written as f(x) = ax 2 + bx + c, where a is the coefficient

More information

Beginner s Mathematica Tutorial

Beginner s Mathematica Tutorial Christopher Lum Autonomous Flight Systems Laboratory Updated: 12/09/05 Introduction Beginner s Mathematica Tutorial This document is designed to act as a tutorial for an individual who has had no prior

More information

Water Rates from Piecewise Functions 03-19

Water Rates from Piecewise Functions 03-19 Water Rates from Piecewise Functions 03-19 Note : this pdf note was generated directly from a Mathematica notebook. [ rob r, 00-03-1, 19] This exercise was occasioned by one of my colleagues (Tom Gaskill)

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

Linear optimization. Linear programming using the Simplex method. Maximize M = 40 x x2. subject to: 2 x1 + x2 70 x1 + x2 40 x1 + 3 x2 90.

Linear optimization. Linear programming using the Simplex method. Maximize M = 40 x x2. subject to: 2 x1 + x2 70 x1 + x2 40 x1 + 3 x2 90. Linear optimization Linear programming using the Simplex method Maximize M = 40 x + 60 x2 subject to: 2 x + x2 70 x + x2 40 x + 3 x2 90 x 0 Here are the constraints 2 simplexnotes.nb constraints = Plot@870-2

More information

Spring Pendulum. Muhammad Umar Hassan and Muhammad Sabieh Anwar

Spring Pendulum. Muhammad Umar Hassan and Muhammad Sabieh Anwar Spring Pendulum Muhammad Umar Hassan and Muhammad Sabieh Anwar Center for Experimental Physics Education, Syed Babar Ali School of Science and Engineering, LUMS V. 2016-1; April 28, 2016 Oscillations are

More information

Math 2250 Lab #3: Landing on Target

Math 2250 Lab #3: Landing on Target Math 2250 Lab #3: Landing on Target 1. INTRODUCTION TO THE LAB PROGRAM. Here are some general notes and ideas which will help you with the lab. The purpose of the lab program is to expose you to problems

More information

Outline. More on Excel. Review Entering Formulas. Review Excel Basics Home tab selected here Tabs Different ribbon commands. Copying Formulas (2/2)

Outline. More on Excel. Review Entering Formulas. Review Excel Basics Home tab selected here Tabs Different ribbon commands. Copying Formulas (2/2) More on Excel Larry Caretto Mechanical Engineering 09 Programming for Mechanical Engineers January 6, 017 Outline Review last class Spreadsheet basics Entering and copying formulas Discussion of Excel

More information

6.3 Creating and Comparing Quadratics

6.3 Creating and Comparing Quadratics 6.3 Creating and Comparing Quadratics Just like with exponentials and linear functions, to be able to compare quadratics, we ll need to be able to create equation forms of the quadratic functions. Let

More information

THE EFFECTS OF THE PLANFORM SHAPE ON DRAG POLAR CURVES OF WINGS: FLUID-STRUCTURE INTERACTION ANALYSES RESULTS

THE EFFECTS OF THE PLANFORM SHAPE ON DRAG POLAR CURVES OF WINGS: FLUID-STRUCTURE INTERACTION ANALYSES RESULTS March 18-20, 2013 THE EFFECTS OF THE PLANFORM SHAPE ON DRAG POLAR CURVES OF WINGS: FLUID-STRUCTURE INTERACTION ANALYSES RESULTS Authors: M.R. Chiarelli, M. Ciabattari, M. Cagnoni, G. Lombardi Speaker:

More information

Ph3 Mathematica Homework: Week 1

Ph3 Mathematica Homework: Week 1 Ph3 Mathematica Homework: Week 1 Eric D. Black California Institute of Technology v1.1 1 Obtaining, installing, and starting Mathematica Exercise 1: If you don t already have Mathematica, download it and

More information

Name: Date: Period: Chapter 9: 3-D Figures Topic 3: Volume Day 2

Name: Date: Period: Chapter 9: 3-D Figures Topic 3: Volume Day 2 Name: Date: Period: Do Now: Chapter 9: 3-D Figures Topic 3: Volume Day 2 1.) A rectangular prism has a volume of 3x 2 + 18x + 24. Its base has a length of x + 2 and a width of 3. Which expression represents

More information

Physics 251 Laboratory Introduction to Spreadsheets

Physics 251 Laboratory Introduction to Spreadsheets Physics 251 Laboratory Introduction to Spreadsheets Pre-Lab: Please do the lab-prep exercises on the web. Introduction Spreadsheets have a wide variety of uses in both the business and academic worlds.

More information

Unit 1 Quadratic Functions

Unit 1 Quadratic Functions Unit 1 Quadratic Functions This unit extends the study of quadratic functions to include in-depth analysis of general quadratic functions in both the standard form f ( x) = ax + bx + c and in the vertex

More information

Application 7.6A The Runge-Kutta Method for 2-Dimensional Systems

Application 7.6A The Runge-Kutta Method for 2-Dimensional Systems Application 7.6A The Runge-Kutta Method for -Dimensional Systems Figure 7.6. in the text lists TI-85 and BASIC versions of the program RKDIM that implements the Runge-Kutta iteration k (,, ) = f tn xn

More information

Calculus II - Math 1220 Mathematica Commands: From Basics To Calculus II - Version 11 c

Calculus II - Math 1220 Mathematica Commands: From Basics To Calculus II - Version 11 c Calculus II - Math 1220 Mathematica Commands: From Basics To Calculus II - Version 11 c Edit your document (remove extras and errors, ensure the rest works correctly) and turn-in your print-out. If needed,

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

Representations of Curves and Surfaces, and of their Tangent Lines, and Tangent Planes in R 2 and R 3 Robert L.Foote, Fall 2007

Representations of Curves and Surfaces, and of their Tangent Lines, and Tangent Planes in R 2 and R 3 Robert L.Foote, Fall 2007 CurvesAndSurfaces.nb Representations of Curves and Surfaces, and of their Tangent Lines, and Tangent Planes in R and R 3 Robert L.Foote, Fall 007 Curves and Surfaces Graphs ü The graph of f : Æ is a curve

More information

ACTIVITY FIVE-A NEWTON S SECOND LAW: THE ATWOOD MACHINE

ACTIVITY FIVE-A NEWTON S SECOND LAW: THE ATWOOD MACHINE 1 ACTIVITY FIVE-A NEWTON S SECOND LAW: THE ATWOOD MACHINE PURPOSE For this experiment, the Motion Visualizer (MV) is used to capture the motion of two masses which are suspended above the ground and connected

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

How to succeed in Math 365

How to succeed in Math 365 Table of Contents Introduction... 1 Tip #1 : Physical constants... 1 Tip #2 : Formatting output... 3 Tip #3 : Line continuation '...'... 3 Tip #4 : Typeset any explanatory text... 4 Tip #5 : Don't cut

More information

Lesson 3.1 Vertices and Intercepts. Important Features of Parabolas

Lesson 3.1 Vertices and Intercepts. Important Features of Parabolas Lesson 3.1 Vertices and Intercepts Name: _ Learning Objective: Students will be able to identify the vertex and intercepts of a parabola from its equation. CCSS.MATH.CONTENT.HSF.IF.C.7.A Graph linear and

More information