HOME

HW 1 Mathematics 503, Mathematical Modeling, CSUF June 2 2007

Nasser M. Abbasi

October 8, 2025

Contents

1 Problem 1 (section 1.1,#3, page 7)
2 Problem 2 (section 1.1, #11, page 18)

1 Problem 1 (section 1.1,#3, page 7)

problem:

PIC

solution:

The blast equation is given by

\[ r=C\left ( \frac {Et^{2}}{\rho }\right ) ^{\frac {1}{5}}\]

Where \(r\) is radius of blast in meters, \(t\) is time since explosion in seconds, \(E\) energy of explosion in Joules, \(\rho \) is air density in Kg/m^3

We are given \(\rho =1.25\ kg/m^{3}\) and \(C=1\), hence the above can be rewritten as

\[ r^{5}=0.8Et^{2}\]

Let \(x=E,\) \(A=0.8t^{2}\), \(b=r^{5}\), then we have

\[ b=Ax \]

And now \(x\) is found by least squares solution.  Once \(x\) is found, then \(E\) is found since \(E=x\).

The code is shown on the next page. The least squares solutions shows that

\[ \fbox {$E=16.6175$\ kilotons}\]

PIC

PIC

2 Problem 2 (section 1.1, #11, page 18)

problem:

PIC

solution:

First make a list of all the physical variables and the corresponding dimensions.

Variable \(P\) (power) \(_{l}\) (ship length) \(V\) \(\rho \) \(\nu \) \(g\)
meaning work rate(F*d/t) in meters ship speed water density water Viscosity gravity
Dimension \(\frac {ML^{2}}{T^{3}}\) \(L\) \(\frac {L}{T}\) \(\frac {M}{L^{3}}\) \(\frac {L^{2}}{T}\) \(\frac {L}{T^{2}}\)

Hence we seek a physical law of the form

\[ f\left ( P,l,V,\rho ,\nu ,g\right ) =0 \]

The function \(f\) is a combination of all the physical variables. Hence we write

\begin{align*} 1 & =\left [ \pi \right ] =\left [ P^{a}l^{b}V^{c}\rho ^{d}\nu ^{e}g^{f}\right ] \\ & =\left ( \frac {ML^{2}}{T^{3}}\right ) ^{a}\left ( L\right ) ^{b}\left ( \frac {L}{T}\right ) ^{c}\left ( \frac {M}{L^{3}}\right ) ^{d}\left ( \frac {L^{2}}{T}\right ) ^{e}\left ( \frac {L}{T^{2}}\right ) ^{f}\\ & =\left ( M^{a}L^{2a}T^{-3a}\right ) \left ( L^{b}\right ) \left ( L^{c}T^{-c}\right ) \left ( M^{d}L^{-3d}\right ) \left ( L^{2e}T^{-e}\right ) \left ( L^{f}T^{-2f}\right ) \\ & =\left ( M^{a+d}\right ) \left ( L^{2a+b+c-3d+2e+f}\right ) \left ( T^{-3a-c-e-2f}\right ) \end{align*}

For the above combination to be dimensionless, we must have each exponent term equal to zero. Hence we obtain the following 3 equations

\begin{align*} a+d & =0\\ 2a+b+c-3d+2e+f & =0\\ -3a-c-e-2f & =0 \end{align*}

Writing the above in matrix form

\[\begin {bmatrix} 1 & 0 & 0 & 1 & 0 & 0\\ 2 & 1 & 1 & -3 & 2 & 1\\ -3 & 0 & -1 & 0 & -1 & -2 \end {bmatrix}\begin {bmatrix} a\\ b\\ c\\ d\\ e\\ f \end {bmatrix} =\begin {bmatrix} 0\\ 0\\ 0 \end {bmatrix} \]

We see that the dimension matrix \(3\times 6\), hence its row space has dimension \(6\) and its column space has dimension \(3\). We need now to find the basis for the Null Space of the dimension matrix. Now reduce \(A\) to its reduce row echelon form

\(\begin {bmatrix} 1 & 0 & 0 & 1 & 0 & 0\\ 2 & 1 & 1 & -3 & 2 & 1\\ -3 & 0 & -1 & 0 & -1 & -2 \end {bmatrix} \overset {l_{21}=2}{\rightarrow }\begin {bmatrix} 1 & 0 & 0 & 1 & 0 & 0\\ 0 & 1 & 1 & -5 & 2 & 1\\ -3 & 0 & -1 & 0 & -1 & -2 \end {bmatrix} \overset {l_{31}=-3}{\rightarrow }\begin {bmatrix} 1 & 0 & 0 & 1 & 0 & 0\\ 0 & 1 & 1 & -5 & 2 & 1\\ 0 & 0 & -1 & 3 & -1 & -2 \end {bmatrix} \)

Now multiply last row by \(-1\rightarrow \begin {bmatrix} 1 & 0 & 0 & 1 & 0 & 0\\ 0 & 1 & 1 & -5 & 2 & 1\\ 0 & 0 & 1 & -3 & 1 & 2 \end {bmatrix} \), and now subtract last row from second row

\(\rightarrow \begin {bmatrix} 1 & 0 & 0 & 1 & 0 & 0\\ 0 & 1 & 0 & -2 & 1 & -1\\ 0 & 0 & 1 & -3 & 1 & 2 \end {bmatrix} \) and this is the final reduce row echelon form

we have rank=3 (the first 3 columns are Linearly independent). Therefor, we use the first 3 variables as the pivot variables, which are \(a,b,c\) and use as the free variables those which correspond to the last 3 columns, which are \(d,e,f\)

Now since

\[\begin {bmatrix} 1 & 0 & 0 & 1 & 0 & 0\\ 0 & 1 & 0 & -2 & 1 & -1\\ 0 & 0 & 1 & -3 & 1 & 2 \end {bmatrix}\begin {bmatrix} a\\ b\\ c\\ d\\ e\\ f \end {bmatrix} =\begin {bmatrix} 0\\ 0\\ 0 \end {bmatrix} \]

By back substitution, from the 3rd row we obtain  \(c-3d+e+2f=0\), or \(c=3d-e-2f\) and from the second row we obtain \(b-2d+e-f=0\), or \(b=-e+f+2d\) , and from the first row we obtain \(a+d=0\) or \(a=-d\)

Hence the solution now can be written in terms of the free variables as

\begin{align*} x_{null} & =\begin {bmatrix} a\\ b\\ c\\ d\\ e\\ f \end {bmatrix} =\begin {bmatrix} -d\\ -e+f+2d\\ 3d-e-2f\\ d\\ e\\ f \end {bmatrix} \\ & =-d\begin {bmatrix} 1\\ -2\\ -3\\ -1\\ 0\\ 0 \end {bmatrix} -e\begin {bmatrix} 0\\ 1\\ 1\\ 0\\ -1\\ 0 \end {bmatrix} -f\begin {bmatrix} 0\\ -1\\ 2\\ 0\\ 0\\ -1 \end {bmatrix} \end{align*}

Therefor the basis for the null space of \(A\) are

\[ \left \{ \begin {bmatrix} 1\\ -2\\ -3\\ -1\\ 0\\ 0 \end {bmatrix} ,\begin {bmatrix} 0\\ 1\\ 1\\ 0\\ -1\\ 0 \end {bmatrix} ,\begin {bmatrix} 0\\ -1\\ 2\\ 0\\ 0\\ -1 \end {bmatrix} \right \} \]

Hence

\begin{align*} \pi _{1} & =P^{1}l^{-2}V^{-3}\rho ^{-1}\nu ^{0}g^{0}=\frac {P}{l^{2}V^{3}\rho }\\ \pi _{2} & =P^{0}l^{1}V^{1}\rho ^{0}\nu ^{-1}g^{0}=\frac {Vl}{\nu }\\ \pi _{3} & =P^{0}l^{-1}V^{2}\rho ^{0}\nu ^{0}g^{-1}=\frac {V^{2}}{l\ g}\end{align*}

Hence the complete set is

\[ \left \{ \pi _{1}=\frac {P}{l^{2}V^{3}\rho },\pi _{2}=\frac {Vl}{\nu },\pi _{3}=\frac {V^{2}}{l\ g}\right \} \]

Hence the general solution is \(\pi =\pi _{1}^{\alpha }\pi _{2}^{\beta }\pi _{3}^{\gamma }\)

The Pi theorem says that there is a physical law expressed in terms of the dimensionless quantities called \(F\left ( \pi _{1},\pi _{2},\pi _{3}\right ) =0\) corresponding to the physical law \(f\left ( P,l,V,\rho ,\nu ,g\right ) =0\)

Now, we need to solve for \(P\), hence we write

\begin{align*} \pi _{1} & =g\left ( \pi _{2},\pi _{3}\right ) \\ \frac {P}{l^{2}V^{3}\rho } & =g\left ( \frac {Vl}{\nu },\frac {V^{2}}{l\ g}\right ) \end{align*}

Hence if we let \(g\left ( \frac {Vl}{\nu },\frac {V^{2}}{l\ g}\right ) =\pi _{2}\times \sqrt {\pi _{3}}\), then we see that

\[ \fbox {$\frac {P}{l^{2}V^{3}\rho }=g\left ( F_{r},R_{e}\right ) $}\]

where

\[ F_{r}=\frac {Vl}{\nu },R_{e}=\frac {V}{\sqrt {l\ g}}\]

Let \(k\) be some constant, then the power needed is given by

\begin{align*} P & =kl^{2}V^{3}\rho \frac {Vl}{\nu }\frac {V}{\sqrt {l\ g}}\\ & =k\frac {l^{3}V^{5}\rho }{\nu \sqrt {l\ g}}\end{align*}