This notebook contains the examples presented in the software manual. Before yousing it you should initialize the notebook  mv.nb as instructed in Section 1 of the manual.

The examples below are listed according with the subsection title and number from the software manual.

2.3. Examples of using the subroutine  missileVelocities

missileVelocities[1,2,40,40]

missileVelocities[5,2,150,30]

3.1 Using the soubroutine  missileVelocitiesA with printed output only

missileVelocitiesA[0.0021,2,40,40];

missileVelocitiesA[0.0885,2, 150, 30];

3.2 Using the soubroutine  missileVelocitiesA  with extended functionality

3.2.1 By typing the following instruction in an input cell and intializing it with SHIFT - ENTER we obtain

{{vfhA, tifA}, {vftA, afA}, {vhmA, hmA, thmA}, {vtmA, htA,ttmA}, {xhA, xvA, vhA, vzA,vtA, atA}}=missileVelocitiesA[0.0021,2,40,40];

The quantities {vfhA, tifA}, {vftA, afA}, {vhmA, hmA, thmA}, {vtmA, htA, ttmA} are assigned now the corresponding values given in the printout

vfhA

tifA

vftA

afA

vhmA

hmA

thmA

vtmA

htA

ttmA

The functions {xhA, xzA, vhA, vzA, vtA, atA} can be evaluated at any point between 0 and tifA

xhA[1.2]

xvA[1.2]

vhA[1.2]

vzA[1.2]

vtA[1.2]

atA[1.2]

The functions {xhA, xzA, vhA, vzA, vtA, atA} can be plotted on hte interval[ 0 , tifA]

Plot[xhA[t],{t,0,tifA}]

Plot[xvA[t],{t,0,tifA}]

Plot[vhA[t],{t,0,tifA}]

Plot[vzA[t],{t,0,tifA}]

Plot[vtA[t],{t,0,tifA}]

Plot[atA[t],{t,0,tifA}]

3.2.2 We can repeat the same commands for the second example considered in subsection 2.3.

{{vfhA, tifA}, {vftA, afA}, {vhmA, hmA, thmA}, {vtmA, htA,ttmA}, {xhA, xvA, vhA, vzA,vtA, atA}}=missileVelocitiesA[0.0885`,2,150,30];

The quantities {vfhA, tifA}, {vftA, afA}, {vhmA, hmA, thmA}, {vtmA, htA, ttmA} are assigned now the corresponding values given in the printout

vfhA

tifA

vftA

afA

vhmA

hmA

thmA

vtmA

htA

ttmA

The functions {xhA, xzA, vhA, vzA, vtA, atA} can be evaluated at any point between 0 and tifA. For example

xhA[1.2]

xvA[1.2]

vhA[1.2]

vzA[1.2]

vtA[1.2]

atA[1.2]

These funtion can also be plotted on hte interval [ 0 , tifA]:

Plot[xhA[t],{t,0,tifA}]

Plot[xvA[t],{t,0,tifA}]

Plot[vhA[t],{t,0,tifA}]

Plot[vzA[t],{t,0,tifA}]

Plot[vtA[t],{t,0,tifA}]

Plot[atA[t],{t,0,tifA}]