Main Content

Units in Physics Calculations

This example shows how to work with units in physics calculations. Calculate the terminal velocity of a falling paratrooper in both SI and imperial units. Solve the motion of the paratrooper, taking into account the gravitational force and the drag force.

Introduction

Imagine a paratrooper jumping out of an airplane. Assume there are only two forces acting on the paratrooper: the gravitational force and an opposing drag force from the parachute. The drag force is proportional to the velocity squared of the paratrooper.

The net force acting on the paratrooper can be expressed as

mass acceleration = drag force gravitational force ,

m t v ( t ) = c d v ( t ) 2 m g ,

where

  • m is the mass of the paratrooper

  • gis the gravitational acceleration

  • v ( t ) is the velocity of the paratrooper

  • c d is the drag constant

Define and Solve Equation of Motion

Define the differential equation describing the equation of motion.

symsgmc_dsymsv(t)eq = m*diff(v(t),t) + m*g == c_d*v(t)^2
eq =

m t v ( t ) + g m = c d v ( t ) 2

Assume that the parachute opens immediately at t = 0 so that the equationeqis valid for all values of t 0 . Solve the differential equation analytically usingdsolvewith the initial condition v ( 0 ) = 0 . The solution represents the velocity of the paratrooper as a function of time.

velocity = simplify(dsolve(eq, v(0) == 0))
velocity =

- g m tanh ( c d g t m ) c d

Find Unit of Drag Constant

Find the SI unit of the drag constant c d .

The SI unit of force is the Newton ( N ) . In terms of the base units, the Newton is ( kg m s 2 ) . Since these are equivalent, they have a unit conversion factor of 1.

u = symunit; unitConversionFactor(u.N, u.kg*u.m/u.s^2)
ans =
                  
                   
                    
                     1
                   
                  

The drag force c d v ( t ) 2 must have the same unit in Newton ( N ) as the gravitational force m g . Using dimensional analysis, solve for the unit of c d .

symsdrag_units_SIdrag_units_SI = simplify(solve(drag_units_SI * (u.m / u.s)^2 == u.N))
drag_units_SI =

1 kg "kilogram - a physical unit of mass." m "meter - a physical unit of length."

Estimate Terminal Velocity

Describe the motion of the paratrooper by defining the following values.

  • Mass of the paratrooper m = 70 kg

  • Gravitational acceleration g = 9 . 81 m / s 2

  • Drag coefficient c d = 40 kg / m

Substitute these values into the velocity equation and simplify the result.

vel_SI =潜艇(速度,[g、m、重金属镉],[9.81 * u.m /美国^ 2,70*u.kg, 40*drag_units_SI])
vel_SI =

- tanh ( t 40 kg "kilogram - a physical unit of mass." m "meter - a physical unit of length." 981 100 m "meter - a physical unit of length." s "second - a physical unit of time." 2 70 kg "kilogram - a physical unit of mass." ) 70 kg "kilogram - a physical unit of mass." 981 100 m "meter - a physical unit of length." s "second - a physical unit of time." 2 40 kg "kilogram - a physical unit of mass." m "meter - a physical unit of length."

vel_SI = simplify(vel_SI)
vel_SI =

- 3 763 tanh ( 3 763 t 35 1 s "second - a physical unit of time." ) 20 m "meter - a physical unit of length." s "second - a physical unit of time."

Compute a numerical approximation of the velocity to 3 significant digits.

digits(3) vel_SI = vpa(vel_SI)
vel_SI =

- 4.14 tanh ( 2.37 t 1 s "second - a physical unit of time." ) m "meter - a physical unit of length." s "second - a physical unit of time."

The paratrooper approaches a constant velocity when the gravitational force is balanced by the drag force. This is called the terminal velocity and it occurs when the drag force from the parachute cancels out the gravitational force (there is no further acceleration). Find the terminal velocity by taking the limit of t .

vel_term_SI = limit(vel_SI, t, Inf)
vel_term_SI =

- 4.14 m "meter - a physical unit of length." s "second - a physical unit of time."

Convert Velocity to Imperial Units

Finally, convert the velocity function from SI units to imperial units.

vel_Imperial = rewrite(vel_SI,u.ft)
vel_Imperial =

- 13.6 tanh ( 2.37 t 1 s "second - a physical unit of time." ) ft "foot - a physical unit of length." s "second - a physical unit of time."

Convert the terminal velocity.

vel_term_Imperial = rewrite(vel_term_SI,u.ft)
vel_term_Imperial =

- 13.6 ft "foot - a physical unit of length." s "second - a physical unit of time."

Plot Velocity over Time

To plot the velocity as a function of time, express the timetin seconds and replacetbyTs, whereTis a dimensionless symbolic variable.

symsTvel_SI = subs(vel_SI, t, T*u.s)
vel_SI =

- 4.14 tanh ( 2.37 T ) m "meter - a physical unit of length." s "second - a physical unit of time."

vel_Imperial = rewrite(vel_SI, u.ft)
vel_Imperial =

- 13.6 tanh ( 2.37 T ) ft "foot - a physical unit of length." s "second - a physical unit of time."

Separate the expression from the units by usingseparateUnits. Plot the expression usingfplot. Convert the units to strings for use as plot labels by usingsymunit2str.

[data_SI, units_SI] = separateUnits(vel_SI); [data_Imperial, units_Imperial] = separateUnits(vel_Imperial);

The velocity of the paratrooper approaches steady state when t > 1 . Show how the velocity approaches terminal velocity by plotting the velocity over the range 0 T 2 .

subplot(1,2,1) fplot(data_SI,[0 2]) title('Velocity in SI Units') xlabel('Time in s') ylabel(['Velocity in 'symunit2str(units_SI)]) subplot(1,2,2) fplot(data_Imperial,[0 2]) title('Velocity in Imperial Units') xlabel('Time in s') ylabel(['Velocity in 'symunit2str(units_Imperial)])

Figure contains 2 axes objects. Axes object 1 with title Velocity in SI Units contains an object of type functionline. Axes object 2 with title Velocity in Imperial Units contains an object of type functionline.