Skip to content

Commit

Permalink
Vidur's Term's notes
Browse files Browse the repository at this point in the history
  • Loading branch information
thadeaus committed Jan 25, 2017
1 parent 58b586d commit 9de4bd8
Show file tree
Hide file tree
Showing 25 changed files with 354 additions and 9 deletions.
145 changes: 140 additions & 5 deletions AMath250/Lec6/lec6.log
@@ -1,4 +1,4 @@
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (MiKTeX 2.9.6100 64-bit) (preloaded format=pdflatex 2017.1.3) 23 JAN 2017 15:20
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (MiKTeX 2.9.6100 64-bit) (preloaded format=pdflatex 2017.1.3) 25 JAN 2017 15:21
entering extended mode
**./lec6.tex
(lec6.tex
Expand Down Expand Up @@ -335,11 +335,146 @@ Underfull \hbox (badness 10000) in paragraph at lines 90--95

[]

[3] (lec6.aux) )

Underfull \hbox (badness 10000) in paragraph at lines 96--98

[]


Underfull \hbox (badness 10000) in paragraph at lines 99--100

[]


Underfull \hbox (badness 10000) in paragraph at lines 100--108

[]

[3]
Underfull \hbox (badness 10000) in paragraph at lines 109--111

[]


Underfull \hbox (badness 10000) in paragraph at lines 112--114

[]


Underfull \hbox (badness 10000) in paragraph at lines 115--116

[]


Underfull \hbox (badness 10000) in paragraph at lines 117--118

[]


Underfull \hbox (badness 10000) in paragraph at lines 118--120

[]


Underfull \hbox (badness 10000) in paragraph at lines 120--122

[]


Underfull \hbox (badness 10000) in paragraph at lines 123--125

[]


Underfull \hbox (badness 10000) in paragraph at lines 126--127

[]


Underfull \hbox (badness 10000) in paragraph at lines 127--129

[]


Underfull \hbox (badness 10000) in paragraph at lines 131--132

[]

[4]
Underfull \hbox (badness 10000) in paragraph at lines 133--134

[]


Underfull \hbox (badness 10000) in paragraph at lines 135--136

[]


Underfull \hbox (badness 10000) in paragraph at lines 140--141

[]


Underfull \hbox (badness 10000) in paragraph at lines 141--143

[]


Overfull \hbox (6.31523pt too wide) in paragraph at lines 145--150
\OT1/cmr/m/n/12 [\OML/cmm/m/it/12 q\OT1/cmr/m/n/12 ] = \OML/cmm/m/it/12 Q$\OT1/
cmr/m/n/12 , $[\OML/cmm/m/it/12 t\OT1/cmr/m/n/12 ] = \OML/cmm/m/it/12 T$\OT1/cm
r/m/n/12 , $[\OML/cmm/m/it/12 R\OT1/cmr/m/n/12 ] = \OML/cmm/m/it/12 ML[]T[]Q[]$
\OT1/cmr/m/n/12 , $[\OML/cmm/m/it/12 C\OT1/cmr/m/n/12 ] = \OML/cmm/m/it/12 M[]L
[]T[]Q[]$\OT1/cmr/m/n/12 , $[\OML/cmm/m/it/12 V[]\OT1/cmr/m/n/12 ] = \OML/cmm/m
/it/12 ML[]T[]Q[]$
[]


Underfull \hbox (badness 10000) in paragraph at lines 145--150

[]


Underfull \hbox (badness 10000) in paragraph at lines 153--157

[]


Underfull \hbox (badness 10000) in paragraph at lines 160--162

[]


Underfull \hbox (badness 10000) in paragraph at lines 163--165

[]

[5]
Underfull \hbox (badness 10000) in paragraph at lines 166--167

[]


Underfull \hbox (badness 10000) in paragraph at lines 168--169

[]


Underfull \hbox (badness 10000) in paragraph at lines 171--174

[]


Underfull \hbox (badness 10000) in paragraph at lines 175--176

[]

[6] (lec6.aux) )
Here is how much of TeX's memory you used:
2943 strings out of 493333
40757 string characters out of 3139169
105289 words of memory out of 3000000
107289 words of memory out of 3000000
6437 multiletter control sequences out of 15000+200000
11797 words of font info for 46 fonts, out of 3000000 for 9000
1141 hyphenation exceptions out of 8191
Expand All @@ -354,9 +489,9 @@ ype1/public/amsfonts/cm/cmr6.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/publi
c/amsfonts/cm/cmr8.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts
/cm/cmsy10.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmsy
6.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmsy8.pfb>
Output written on lec6.pdf (3 pages, 132710 bytes).
Output written on lec6.pdf (6 pages, 147970 bytes).
PDF statistics:
56 PDF objects out of 1000 (max. 8388607)
65 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)

Binary file modified AMath250/Lec6/lec6.pdf
Binary file not shown.
Binary file modified AMath250/Lec6/lec6.synctex.gz
Binary file not shown.
81 changes: 81 additions & 0 deletions AMath250/Lec6/lec6.tex
Expand Up @@ -93,4 +93,85 @@
$[fc] = [L^3T^{-1}] \times [ML^{-3}] = MT^{-1}$\\
$[\frac{fm}{v}] = \frac{[L^4T^{-1}][M]}{L^3} = MT^{-1}$\\

\myt{Starting from Jan 25th}\\
\myt{From monday:}\\

For the mixing tank problem,\\
$$\frac{dm}{dt} = fc - \frac{fm}{v}$$
$m(0) = m_0$\\
$m = mass$ of chamical in solution in tank,\\
$t = time$ in seconds\\
$f = flow rate$ ina and out in l/s\\
$C = $concenttration of inflowing solution in grams/litre\\
$v = $ volume of tank in litres\\
(and $m_0 = initial mass$, $m(0)$)\\

To nondimensionalize this, list the variables/constants and dimensions\\
$[m] = M$, $[t] = T$, $[f] = L^3T^{-1}$, $[c] = ML^{-3}$, $[v] = L^3$\\

Find combinations of constants with dimensions of variabels, call these $m_c$, $t_c$\\
$m_c = cv$ and $t_c = \frac{v}{f}$\\

We now use these values of m and t as ratios/scales for our values\\

Define new variabels:\\
$$M = \frac{m}{m_c} = \frac{m}{cv}$$
$m = CV\mu$\\
$$\tau = \frac{t}{t_c} = \frac{t}{\frac{v}{f}} = \frac{ft}{v}$$
$t = \frac{V\tau}{f}$\\

Rewrite the DE in terms of $\mu, \tau$\\
$\frac{dm}{dt} = \frac{dm}{d\mu}\frac{d\mu}{d\tau}\frac{d\tau}{dt} = (cv)\frac{du}{d\tau}(\frac{f}{v}) = fc\frac{du}{d\tau}$\\

The original DE is therefore:\\
$$fc\frac{du}{d\tau} = fc - \frac{f}{v}(cv\mu)$$
That is:\\
$$\frac{du}{d\tau} = 1 - \mu$$

Initial conditiona? $m(0) = m_0 \rightarrow cv\mu(0) = m_0 \rightarrow \mu(0) = \frac{m_0}{cv}$\\

The solution is $\mu(\tau) = Ke^{-\tau} + 1$\\

so:\\
$$k = \frac{m_0}{cv} - 1$$
So:
$$\mu{\tau} = (\frac{m_0}{cv} - 1)e^{-\tau} + 1$$

In terms of mt?\\
$$\frac{m}{cv} = (\frac{m_0}{cv} - 1)e^{-\frac{ft}{v}} + 1$$
so:\\
$$m(t) = (m_0 - cv)e^{-\frac{ft}{v}} + cv$$

\myt{Example: The RC circuit}\\
The IVP for the charge q(t) on a capacitor in an RC circuit is $\frac{dq}{dt} + \frac{q}{RC} = \frac{V(t)}{R}$, $q(0) = q_0$ usually $q(0) = 0$\\
Nondimensionalize? Assume $v(t) = v_0$\\
$[q] = Q$, $[t] = T$, $[R] = ML^2T^{-1}Q^{-2}$, $[C] = M^{-1}L^{-2}T^2Q^2$, $[V_0] = ML^{2}T^{-2}Q^{-1}$\\
$V_R = iR$, and $V_c = \frac{q}{C}$\\

$q_c$?? or $t_c$ ??

Observe from the DE that $[RC] = T$, so use $t_c = RC$\\
Also, $[\frac{v_0}{R}] = \frac{Q}{T}$, so $[\frac{V_0}{R} \times t_c] = Q$ Use $q_c = \frac{V_0}{R}RC = V_0C$\\
Define $\tilde{q} = \frac{q}{q_c} = \frac{q}{v_0C}$\\
$\tau = \frac{t}{t_c} = \frac{t}{RC}$\\

$$\frac{dq}{dt} = \frac{dq}{d\tilde{q}}\frac{d\tilde{q}}{d\tau}\frac{d\tau}{dt} = (v_0C)\frac{d\tilde{q}}{d\tau}(\frac{1}{RC}) = \frac{V_0}{R}\frac{d\tilde{q}}{d\tau}$$

$\rightarrow$ our DE becomes $\frac{v_0}{R}\frac{d\tilde{q}}{d\tau} + \frac{V_0C\tilde{q}}{RC} = \frac{V_0}{R}$\\
ie $\frac{d\tilde{q}}{d\tau} + \tilde{q} = 1$ This is the same as the mixing tank DE!!\\

Interpretation of $q_c$? It's the charge on the capacitor when it is fully charged (so that the voltage matches the srouce voltage)\\
And $t_c$? Its the time required for $q(t)$ to reach $(1-e^{-1})V_0C$, ie $\approx 63\%$ of the maximum\\

Comment::: There may be more than one option for nondimensionaliation\\

Example:\\ Suppose $V(t) = V_0\cos{\omega t}$\\
$$\frac{dq}{dt} + \frac{q}{RC} = \frac{V_0\cos{\omega t}}{R}$$

using $q_C = V_0C$ and $t_c = RC$, we got $\tilde{q} = \frac{q}{V_0C}$ and $\tau = \frac{t}{RC}$\\
$\frac{d\tilde{q}}{d\tau} + \tilde{q} = \cos{RC\omega \tau}$\\
Alternatively, we coudl use $t_c = \frac{1}{\omega}$, and $\tau = \omega t$\\

This leads to $\frac{d\tilde{q}}{t\tau} + \frac{V_0}{R^2\omega C}\tilde{q} = \cos{\tau}$\\

\end{document}
Binary file modified CS343/CS343notes.pdf
Binary file not shown.
Binary file added CS370/10_Interpolation6_Bezier.pdf
Binary file not shown.
Binary file added CS370/1_Intro_Administrative.pdf
Binary file not shown.
Binary file added CS370/2_FloatingPoint1.pdf
Binary file not shown.
Binary file added CS370/3_FloatingPoint2.pdf
Binary file not shown.
Binary file added CS370/4_FloatingPoint3.pdf
Binary file not shown.
Binary file added CS370/5_Interpolation1_Intro.pdf
Binary file not shown.
Binary file added CS370/6_Interpolation2_PiecewisePoly.pdf
Binary file not shown.
Binary file added CS370/7_Interpolation3_Splines.pdf
Binary file not shown.
Binary file added CS370/8_Interpolation3_EfficientSplines.pdf
Binary file not shown.
Binary file added CS370/9_Interpolation4_Parameterization.pdf
Binary file not shown.
Binary file added CS370/FP_notes1.pdf
Binary file not shown.
Binary file added CS370/FP_notes2.pdf
Binary file not shown.
Binary file added CS370/Interp_Notes1.pdf
Binary file not shown.
Binary file added CS370/Interp_notes2.pdf
Binary file not shown.
Binary file added CS370/Interp_notes3.pdf
Binary file not shown.
Binary file added CS370/Interp_notes4.pdf
Binary file not shown.
43 changes: 39 additions & 4 deletions CS370/Interpolation2/interpolation.log
@@ -1,4 +1,4 @@
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (MiKTeX 2.9.6100 64-bit) (preloaded format=pdflatex 2017.1.3) 20 JAN 2017 21:30
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (MiKTeX 2.9.6100 64-bit) (preloaded format=pdflatex 2017.1.3) 25 JAN 2017 18:20
entering extended mode
**./interpolation.tex
(interpolation.tex
Expand Down Expand Up @@ -485,7 +485,42 @@ Underfull \hbox (badness 10000) in paragraph at lines 353--354

[]

[10] (interpolation.aux) )

Underfull \hbox (badness 10000) in paragraph at lines 357--358

[]


Underfull \hbox (badness 10000) in paragraph at lines 359--360

[]


Underfull \hbox (badness 10000) in paragraph at lines 361--362

[]

[10]
Underfull \hbox (badness 10000) in paragraph at lines 400--419

[]


Underfull \hbox (badness 10000) in paragraph at lines 428--432

[]


Underfull \hbox (badness 10000) in paragraph at lines 435--440

[]

[11]
Underfull \hbox (badness 10000) in paragraph at lines 441--443

[]

[12] (interpolation.aux) )
Here is how much of TeX's memory you used:
2931 strings out of 493333
40605 string characters out of 3139169
Expand All @@ -506,9 +541,9 @@ lic/amsfonts/cm/cmr8.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfon
ts/cm/cmsy10.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cm
sy6.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmsy8.pfb><
C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/symbols/msam10.pfb>
Output written on interpolation.pdf (10 pages, 162009 bytes).
Output written on interpolation.pdf (12 pages, 168752 bytes).
PDF statistics:
87 PDF objects out of 1000 (max. 8388607)
93 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)

Binary file modified CS370/Interpolation2/interpolation.pdf
Binary file not shown.
Binary file modified CS370/Interpolation2/interpolation.synctex.gz
Binary file not shown.

0 comments on commit 9de4bd8

Please sign in to comment.