ENIAC s Problem. 1 Discussion

Similar documents
Physics 351, Spring 2018, Homework #1. Due at start of class, Friday, January 26, 2018 Schedule and handouts are at positron.hep.upenn.

BAE 820 Physical Principles of Environmental Systems

Game Physics. Game and Media Technology Master Program - Utrecht University. Dr. Nicolas Pronost

AP Physics Laboratory #6.1: Analyzing Terminal Velocity Using an Interesting Version of Atwood s Machine

Tutorial 10. Boundary layer theory

Student name: This is a closed book examination. You are allowed 1 sheet of 8.5 x 11 paper with notes.

Physics 20 Homework 2 SIMS 2016

University of Alabama Department of Physics and Astronomy. PH 105 LeClair Summer Problem Set 3 Solutions

Acceleration Due to Gravity Lecture 2

Mathematical Modeling Project in Mathematica Cynthia Wenz MA 354

Middle East Technical University Department of Mechanical Engineering ME 305 Fluid Mechanics I Fall 2018 Section 4 (Dr.

Physics Exam 1 Formulas

Buckingham s magical pi theorem

34.3. Resisted Motion. Introduction. Prerequisites. Learning Outcomes

Physics 351, Spring 2015, Homework #3. Due at start of class, Friday, February 6, 2015

Lesson 8 Kinematics V - Circular Motion

Physics 20. Introduction & Review. Real tough physics equations. Real smart physics guy

Physics 111. Lecture 8 (Walker: 4.3-5) 2D Motion Examples. Projectile - General Launch Angle. In general, v 0x = v 0 cos θ and v 0y = v 0 sin θ

UNIT V : DIMENSIONAL ANALYSIS AND MODEL STUDIES

University of Toronto Solutions to MAT187H1S TERM TEST of Thursday, March 20, 2008 Duration: 90 minutes

FLUID MECHANICS. Gaza. Chapter CHAPTER 44. Motion of Fluid Particles and Streams. Dr. Khalil Mahmoud ALASTAL

V sphere = 4 3 πr3. a c = v2. F c = m v2. F s = k s. F ds. = dw dt. P W t. K linear 1 2 mv2. U s = 1 2 kx2 E = K + U. p mv

HOMEWORK SET 1 SOLUTIONS MATH 456, Spring 2011 Bruce Turkington

A New Aerial Shell Ballistic Model Experimentally Verified

ρ Du i Dt = p x i together with the continuity equation = 0, x i

What s important: viscosity Poiseuille's law Stokes' law Demo: dissipation in flow through a tube

ME224 Lab 6 Viscosity Measurement

Further Applications of Newton s Laws - Friction Static and Kinetic Friction

Fluid Dynamics Exercises and questions for the course

PHYS 211 Lecture 9 - Examples of 3D motion 9-1

PHY321 Homework Set 2

21 Rotating flows. Lecture 21 Spring J Nonlinear Dynamics II: Continuum Systems The Taylor-Proudman theorem

CHAPTER 9 DIMENSIONAL ANALYSIS AND SCALING


Chap. 3: Kinematics (2D) Recap: Kinematics (1D) 1. Vector Kinematics 2. Projectile Motion 3. Uniform Circular Motion 4.

PH 120 Project # 2: Pendulum and chaos

Chapter 15. Mechanical Waves

2.3 Damping, phases and all that

To study the motion of a perfect gas, the conservation equations of continuity

Physics GRE Review Fall 2004 Classical Mechanics Problems

Gas-dynamic acceleration of bodies till the hyper sonic velocity

Experiment 4: Projectile Motion

Simulating a Fountain

PRACTICE QUESTION PAPER WITH SOLUTION CLASS XI PHYSICS

Score on each problem:

V. MODELING, SIMILARITY, AND DIMENSIONAL ANALYSIS To this point, we have concentrated on analytical methods of solution for fluids problems.

MOTION OF A PROJECTILE

P = 1 3 (σ xx + σ yy + σ zz ) = F A. It is created by the bombardment of the surface by molecules of fluid.

10 Dimensional Analysis

MEAM 211. Project 1. Department of Mechanical Engineering and Applied Mechanics University of Pennsylvania January 19, 2007

Hydroelectric Design

Comments. Focus on important information Be more interactive!

MEMORANDUM. To: Dr. Andrew Kean, American Petroleum Institute (API) From: Josh Baida Abel Estrada

Modeling and Experimentation: Compound Pendulum

Introduction to Aerodynamics. Dr. Guven Aerospace Engineer (P.hD)

Introduction to Fluid Flow

Fluid dynamics - Equation of. continuity and Bernoulli s principle.

Vector Geometry Final Exam Review

Projectile Motion Slide 1/16. Projectile Motion. Fall Semester. Parallel Computing

8.6 Drag Forces in Fluids

12.1 Viscous potential flow (VPF)

CALIFORNIA POLYTECHNIC STATE UNIVERSITY Mechanical Engineering Department ME 347, Fluid Mechanics II, Winter 2018

Old Dominion University Physics 811 Fall 2008

Physics 220: Classical Mechanics

Rocket Science 102 : Energy Analysis, Available vs Required

Fluids: How thick are liquids?

### dv where ρ is density, R is distance from rotation axis, and dv is

Adding Vectors in Two Dimensions

Modeling the Motion of a Projectile in Air

Chapter Work, Energy and Power. Q1. The co-efficient of restitution e for a perfectly elastic collision is [1988] (a) 1 (b) 0 (c) (d) 1 Ans: (a)

Projectile Motion. v a = -9.8 m/s 2. Good practice problems in book: 3.23, 3.25, 3.27, 3.29, 3.31, 3.33, 3.43, 3.47, 3.51, 3.53, 3.

Stokes and Newton s Viscous Drag

Physics 201 Homework 1

1. Introduction Some Basic Concepts

Lab 1: Projectiles and Numerical Integration

MAE 101A. Homework 7 - Solutions 3/12/2018

first name (print) last name (print) brock id (ab17cd) (lab date)

Vectors and Coordinate Systems

Projectile motion. Objectives. Assessment. Assessment. Equations. Physics terms 5/20/14. Identify examples of projectile motion.

Chapter 3 Acceleration

Homework 2: Kinematics and Dynamics of Particles Due Friday Feb 12, Pressurized tank

The History of ENIAC

Lorentz Transformations and Special Relativity

Centripetal Force Exploring Uniform Circular Motion

J. Szantyr Lecture No. 4 Principles of the Turbulent Flow Theory The phenomenon of two markedly different types of flow, namely laminar and

ν δ - 1 -

Class 11 GURU GOBIND SINGH PUBLIC SCHOOL PHYSICS CHAPTER 1: UNITS & MEASUREMENT

Dimensional Reasoning- Lecture Notes

Physics Assessment Unit A2 2

Lecture 8: Tissue Mechanics

AP Physics C Summer Assignment Kinematics

Motion in Space. MATH 311, Calculus III. J. Robert Buchanan. Fall Department of Mathematics. J. Robert Buchanan Motion in Space

AC analysis. EE 201 AC analysis 1

Sound Pressure Generated by a Bubble

where A and B are constants of integration, v t = p g=k is the terminal velocity, g is the acceleration of gravity, and m is the mass of the projectil

CHAPTER 8: Conservation of Energy 1.)

(Refer Slide Time: 2:14)

Mathematica Project 3

Mestrado Integrado em Engenharia Mecânica Aerodynamics 1 st Semester 2012/13

Iran University of Science & Technology School of Mechanical Engineering Advance Fluid Mechanics

Transcription:

ENIAC s Problem 1 Discussion A Bit of History Initiated during the height of World War II, the Electronic Numerical Integrator and Calculator (ENIAC) was designed to make ballistics tables, which required solving F = ma for the projectile as it moves down the barrel of the gun, and then flies, one hopes, to its intended target. John Mauchly (Ph.D., physics, Johns Hopkins) and J. Presper Eckert (MS EE, UPenn) completed the machine at University of Pennsylvania s Moore Engineering School in 1946 too late to contribute to the war effort. Patent courts have determined that the design of the ENIAC was based on the much less sophisticated ABC computer built at Iowa State just before the war by John Vincent JV Atanasoff (Ph.D., physics, Madison) and Clifford Berry (then a student at Iowa State, but he completed his Ph.D., in physics at Iowa State in 1948). Atanasoff had been motivated to build his computer because of the lengthy quantum mechanical calculations required to complete his thesis. A third first computer was designed by Howard Aiken (B.S. Madison, Ph.D., physics, Harvard) and built by IBM. Called the Automatic Sequence Controlled Calculator (ASCC) or Mark I this machine relied on IBM s electromechanical technology relays rather than vacuum tubes. It was therefore slow (e.g., multiplication of two numbers took 6 seconds) and contributed little to the technology of electronic computers. Nevertheless this computer was in operation in 1944, and ran essentially continuously until the end of the war under Navy command. Immediately following the war, computers were quietly built for code breaking and publicly built for nuclear weapon calculations. The business world (and hence IBM) was initially not much interested in duplicating the expensive, fragile, one-of-a-kind computers that were the immediate descendants of the ENIAC. The first commercial computer was the UNIVAC (Universal Automatic Computer), completed in 1951 by Eckert and Mauchly for the U.S. Bureau of the Census. A total of 46 were sold. Perhaps the first scientific computer, ERA 1103, was designed by Seymour Cray (MS, applied math, UMn) for NSA in 1951 and first publicly delivered in October 1953. IBM s famous failure at scientific computing, the Stretch (IBM 7030), was delivered to Los Alamos ten years after the first UNIVAC. A total of 8 were produced. Gene Amdahl (Ph.D., physics, Madison) was an initial planner for Stretch, and went on to become the Manager of Architecture for the IBM System/360, which was to dominate business computing for two decades. Meanwhile Cray s machines, like the CDC 6600, dominated scientific computing for an equal period of time. A Bit of Physics The problem of solving F = ma in real-world situations is two fold. First, while the fundamental force laws are analytic (like Newton s 1/r 2 ) the messy forces experienced in real life are usually not expressible with a simple formula. A body moving

slowly 1 through a fluid (like air) is subject to a simple drag force, linearly proportional to velocity, known as Stokes law (discovered by Sir George Stokes in 1845). In the above context, slow means so slow that viscous forces dominate. In 1883 Osborne Reynolds defined a dimensionless number that now bears his name: Re = 2Rv ν where ν is the kinematic viscosity of the fluid through which a sphere of radius R is moving at a velocity v. For a sphere moving through a fluid, Re < 1 is required for Stokes law to be closely followed, whereas for 10 3 < Re < 10 5, the drag force is approximately: 1 2 C Dρv 2 πr 2 where C D.45. (For a 75 mm diameter shell, the upper limit corresponds to about 20 m/s.) For 10 5 < Re < 10 6, the drag crisis occurs, and C D is reduced. That takes us to nearly the speed of sound, at which point effects having to do with the compressibility of air become important. Above Mach 1 2, the drag force depends approximately linearly on velocity (but unlike Stokes law: with a negative y-intercept). All the above formulae hide the fact that at high speeds, the fluid flow around the shell becomes turbulent and the actual force on the shell varies in time. Thus for real objects, the time-averaged drag force is experimentally determined at a variety of velocities and then an interpolating formula is used to approximate the drag force in between the known values. Rather than do the experiment we take our data from Marion & Thornton s Classical Dynamics, which in turn takes its data from Rheinmetall s Handbook of Weaponry. Below find the data with approximating curve.4 Drag Coefficient.3.2.1 0.1 1 10 Mach number M 1 What does moving slowly mean? In some contexts it means moving at near the speed of light, in other contexts it can mean moving less than 1 cm/year. Nothing that has units can be said to be big or small!! In this case you need a comparison velocity, say, v c, so you can define slow as less than v c, or better still, to say that the unitless number v/v c is less than some pure number (often 1). 2 Mach number: M = v/c, where c is the speed of sound, is named for Ernst Mach (1836 1916). Mach 1 is traveling at the speed of sound. Mach is also well known for his provocative works on the philosophy of physics.

You can get this approximating function for C D by including a package: In[1]:= <<Cd.m... Learn the function cd[m] Second, in textbooks we find differential equations with formula solutions. Thus: has the nice solution: d 2 x dt 2 = ω2 x x(t) = A sin(ωt + φ) Cases like this are the exception. If the coefficients of your differential equation are slightly tricky, the differential equation must be solved numerically. This means that (in our case) the time interval of interest is partitioned into lots of individual instants: t i = i t separated by the fixed time t. We seek the position and velocity at those instants: x i = x(t i ) and v i = v(t i ). (If we want to know the position or velocity at times in between those instants we must interpolate.) The differential equation can then be used to determine x i+1 and v i+1 based on the earlier position and velocity. The best methods of taking one step forward in time are quite sophisticated, but let s look at a very simple example. Say you want to solve the differential equation: d 2 x = a(x, v, t) dt2 where a(x, v, t) is some known function. Then: x i+1 = x i + v i t v i+1 = v i + a(x i, v i, i t) t that is the position is changed according to the current velocity; the velocity is changed according to the current acceleration. In order to start such a process you need to know the initial position and velocity, but of course, you d also need those initial conditions to solve the differential equation with textbook methods. If t is made sufficiently small, the method will reproduce the motion (at least for a while). Mathematica is able to solve a long list of textbook differential equations with the command DSolve; it is able to numerically approximate the solution to any differential equation using the command: NDSolve. We consider here a R = 5 cm, m = 15 kg shell, with a muzzle velocity, v 0, of 1000 m/s (approximately Mach 3). The density of air, ρ, is about: 1.1 kg/m 3 ; the speed of sound in air, c is about: 330 m/s. We assume the effect of the air is only drag: no lift. We seek to solve the differential equation: with the initial condition: m d2 r dt 2 = 1 2 C D(v/c)ρvπR 2 v mgk x(0) = 0 z(0) = 0

v x (0) = v 0 cos θ v z (0) = v 0 sin θ where θ is the elevation angle of the gun barrel. To help you solve the above problem (without doing it for you), consider a slightly different problem: v=10 theta=.7 solution= NDSolve[{ x [t]== -Sqrt[x [t]^2+z [t]^2] x [t], z [t]== -Sqrt[x [t]^2+z [t]^2] z [t] - 1, x[0]== 0, z[0]== 0, x [0]== v Cos[theta], z [0]== v Sin[theta]},{x,z},{t,0,4}] Notice: the vector equation becomes two coupled equations (N.B.: ==). Those two differential equations, plus the four initial conditions (e.g., x[0]==0), are the six elements of a set (N.B.: { x [t]==..., z [t]==..., etc. } ) and that set is the first argument of NDSolve. The second argument of NDSolve is the set of functions you want to solve for. The last argument reports the name of the independent variable and the interval (between 0 and 4) through which you seek a solution. The slightly different differential equation we have solved with Mathematica is: d 2 r dt 2 = vv k I hope you can see how the vector differential equation became two coupled differential differential equations as we wrote r, v, and the unit vector k in components, and expressed the speed v in terms of the components of v. The result of the Mathematica commands is: Out[3]= {{x -> InterpolatingFunction[{{0., 4.}}, <>], z -> InterpolatingFunction[{{0., 4.}}, <>]}} That is to say Mathematica is hiding the complexity of the interpolation that is necessary to make a function out of the series of points it has calculated in solving the differential equation. The trajectory of the shell is the trace of the moving point r(t); t is the parameter describing the location of the shell. To plot such a moving point we need to do a ParametricPlot, but first we must extract the InterpolatingFunction from the solution: ParametricPlot[Evaluate[{x[t],z[t]} /. First[solution]],{t,0,3.2},PlotRange->All]

The /. says make the substitutions ( -> ) that constitute our First[solution]. (Our solution actually only has a First part, but other equations might have several solutions, for example, the quadratic equation.) The results should look like this: 2 1.75 1.5 1.25 1 0.75 0.5 0.25 0.5 1 1.5 2 2.5 3 2 Homework Follow the above method, but use the proper data including the cd[m] function. Consider the last two digits of your social security number: XZ. By varying the elevation of the gun hit the point (1X000,Z00). Turn in a plot of the result. Also turn in a printout showing each step as Mathematica solves the problem. Extra Credit: The density of air decreases as you go up: ρ = ρ 0 e z/h where the scale height H 8000 m. Solve the motion of the shell in the thinning air and produce a plot that shows how the changing density of air affects the trajectory.