image formatting

This commit is contained in:
pkirwin 2021-03-02 10:41:36 -07:00
parent f6b711a214
commit ce398d08bf
6 changed files with 70 additions and 51 deletions

View File

@ -14,5 +14,5 @@
\newlabel{eq:numerical_E}{{7}{4}}
\@writefile{lof}{\contentsline {figure}{\numberline {2}{\ignorespaces Analytic solution to numeric system, plotted.\relax }}{5}{}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {5}{\ignorespaces Sketch of degenerate energy levels.\relax }}{7}{}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {7}{\ignorespaces Numerical result (black line) and analytical solution scaled by \(a\) (orange circles).\relax }}{11}{}\protected@file@percent }
\gdef \@abspage@last{14}
\@writefile{lof}{\contentsline {figure}{\numberline {7}{\ignorespaces Numerical result (black line) and analytical solution scaled by \(a\) (orange circles).\relax }}{10}{}\protected@file@percent }
\gdef \@abspage@last{13}

View File

@ -1,5 +1,5 @@
# Fdb version 3
["pdflatex"] 1614706087 "d:/Users/Speedee/Documents/University/Year5/Winter/ECE456/ProblemSets/Git/ECE_456/PS2/doc.tex" "d:/Users/Speedee/Documents/University/Year5/Winter/ECE456/ProblemSets/Git/ECE_456/PS2/doc.pdf" "doc" 1614706092
["pdflatex"] 1614706875 "d:/Users/Speedee/Documents/University/Year5/Winter/ECE456/ProblemSets/Git/ECE_456/PS2/doc.tex" "d:/Users/Speedee/Documents/University/Year5/Winter/ECE456/ProblemSets/Git/ECE_456/PS2/doc.pdf" "doc" 1614706879
"C:/Users/speed/AppData/Local/MiKTeX/fonts/pk/ljfour/jknappen/ec/dpi600/tcrm1000.pk" 1614620319 11548 693fc704971bedc6e913b37b081cf40e ""
"C:/Users/speed/AppData/Local/MiKTeX/miktex/data/le/pdftex/pdflatex.fmt" 1612675286 9293900 83195ab665706b6f706823352908aa95 ""
"C:/Users/speed/AppData/Local/MiKTeX/pdftex/config/pdftex.map" 1614705484 80909 eab91d9745dd2edfd62a31d53cd5fe15 ""
@ -121,10 +121,10 @@
"C:/Users/speed/AppData/Local/Programs/MiKTeX/tex/latex/translator/translator.sty" 1596560046 8765 3368c4a5a4b5466261cafb836195e916 ""
"C:/Users/speed/AppData/Local/Programs/MiKTeX/tex/latex/varwidth/varwidth.sty" 1238465940 10894 d359a13923460b2a73d4312d613554c8 ""
"C:/Users/speed/AppData/Local/Programs/MiKTeX/tex/latex/xkeyval/xkeyval.sty" 1606298686 4902 efb3d66683a2da2a232f71e3a571a899 ""
"d:/Users/Speedee/Documents/University/Year5/Winter/ECE456/ProblemSets/Git/ECE_456/PS2/doc.aux" 1614706091 1200 3db1efb860f7e7e6b6b81f1e9a23c65e ""
"d:/Users/Speedee/Documents/University/Year5/Winter/ECE456/ProblemSets/Git/ECE_456/PS2/doc.tex" 1614706085 23729 6fce988d90290be7e7119ec25cf1b6e6 ""
"doc.aux" 1614706091 1200 3db1efb860f7e7e6b6b81f1e9a23c65e "pdflatex"
"doc.tex" 1614706085 23729 6fce988d90290be7e7119ec25cf1b6e6 ""
"d:/Users/Speedee/Documents/University/Year5/Winter/ECE456/ProblemSets/Git/ECE_456/PS2/doc.aux" 1614706879 1200 d3aacda4f26884ad60d0c70c00c29c21 ""
"d:/Users/Speedee/Documents/University/Year5/Winter/ECE456/ProblemSets/Git/ECE_456/PS2/doc.tex" 1614706870 24144 1355d35202f485b9a7c707363baefa27 ""
"doc.aux" 1614706879 1200 d3aacda4f26884ad60d0c70c00c29c21 "pdflatex"
"doc.tex" 1614706870 24144 1355d35202f485b9a7c707363baefa27 ""
"q1a_1and50.png" 1614636283 34155 72f34c6abf061325ae1f162db0ffd06b ""
"q1a_eigenvals.png" 1614637266 23078 9c99a5505761d0b964e665e35fd9c02a ""
"q1cii.png" 1614640691 20581 6a6b3aa285fd3f5be369532a6d2a033d ""
@ -137,8 +137,8 @@
"q2c_fig2_2s.png" 1614652829 29139 9c3bdf9df7dc973686f5105c04140b36 ""
"q2f_fig.png" 1614654314 34695 af1d8fa7a33b7f04767332fb391a90f6 ""
(generated)
"doc.log"
"doc.pdf"
"d:/Users/Speedee/Documents/University/Year5/Winter/ECE456/ProblemSets/Git/ECE_456/PS2/doc.pdf"
"d:/Users/Speedee/Documents/University/Year5/Winter/ECE456/ProblemSets/Git/ECE_456/PS2/doc.log"
"doc.pdf"
"doc.aux"
"doc.log"

View File

@ -1,4 +1,4 @@
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (MiKTeX 21.1) (preloaded format=pdflatex 2021.2.6) 2 MAR 2021 10:28
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (MiKTeX 21.1) (preloaded format=pdflatex 2021.2.6) 2 MAR 2021 10:41
entering extended mode
**d:/Users/Speedee/Documents/University/Year5/Winter/ECE456/ProblemSets/Git/ECE_456/PS2/doc.tex
(d:/Users/Speedee/Documents/University/Year5/Winter/ECE456/ProblemSets/Git/ECE_456/PS2/doc.tex
@ -429,48 +429,53 @@ LaTeX Font Info: Font shape `OMS/cmr/m/n' in size <10> not available
<q1a_1and50.png, id=15, 421.575pt x 316.18124pt>
File: q1a_1and50.png Graphic file (type png)
<use q1a_1and50.png>
Package pdftex.def Info: q1a_1and50.png used on input line 159.
(pdftex.def) Requested size: 202.3529pt x 151.76526pt.
Package pdftex.def Info: q1a_1and50.png used on input line 161.
(pdftex.def) Requested size: 238.68115pt x 179.01422pt.
<q1a_eigenvals.png, id=16, 421.575pt x 316.18124pt>
File: q1a_eigenvals.png Graphic file (type png)
<use q1a_eigenvals.png>
Package pdftex.def Info: q1a_eigenvals.png used on input line 165.
(pdftex.def) Requested size: 202.3529pt x 151.76526pt.
Package pdftex.def Info: q1a_eigenvals.png used on input line 167.
(pdftex.def) Requested size: 238.68115pt x 179.01422pt.
[3 <d:/Users/Speedee/Documents/University/Year5/Winter/ECE456/ProblemSets/Git/ECE_456/PS2/q1a_1and50.png (PNG copy)> <d:/Users/Speedee/Documents/University/Year5/Winter/ECE456/ProblemSets/Git/ECE_456/PS2/q1a_eigenvals.png (PNG copy)>]
<q1cii.png, id=27, 421.575pt x 316.18124pt>
File: q1cii.png Graphic file (type png)
<use q1cii.png>
Package pdftex.def Info: q1cii.png used on input line 281.
(pdftex.def) Requested size: 505.89pt x 379.42523pt.
[4]
Package pdftex.def Info: q1cii.png used on input line 285.
(pdftex.def) Requested size: 455.97334pt x 341.98688pt.
Overfull \hbox (6.66666pt too wide) in paragraph at lines 286--287
[][]
[]
[4]
<q1civ_fig1.png, id=32, 421.575pt x 316.18124pt>
File: q1civ_fig1.png Graphic file (type png)
<use q1civ_fig1.png>
Package pdftex.def Info: q1civ_fig1.png used on input line 312.
(pdftex.def) Requested size: 252.94499pt x 189.7102pt.
Package pdftex.def Info: q1civ_fig1.png used on input line 321.
(pdftex.def) Requested size: 227.98666pt x 170.99103pt.
<q1civ_fig2.png, id=33, 421.575pt x 316.18124pt>
File: q1civ_fig2.png Graphic file (type png)
<use q1civ_fig2.png>
Package pdftex.def Info: q1civ_fig2.png used on input line 317.
(pdftex.def) Requested size: 252.94499pt x 189.7102pt.
Package pdftex.def Info: q1civ_fig2.png used on input line 326.
(pdftex.def) Requested size: 227.98666pt x 170.99103pt.
[5 <d:/Users/Speedee/Documents/University/Year5/Winter/ECE456/ProblemSets/Git/ECE_456/PS2/q1cii.png (PNG copy)>]
<q1di_fig1.png, id=38, 421.575pt x 316.18124pt>
File: q1di_fig1.png Graphic file (type png)
<use q1di_fig1.png>
Package pdftex.def Info: q1di_fig1.png used on input line 342.
(pdftex.def) Requested size: 252.94499pt x 189.7102pt.
Package pdftex.def Info: q1di_fig1.png used on input line 353.
(pdftex.def) Requested size: 227.98666pt x 170.99103pt.
<q1di_fig2.png, id=39, 421.575pt x 316.18124pt>
File: q1di_fig2.png Graphic file (type png)
<use q1di_fig2.png>
Package pdftex.def Info: q1di_fig2.png used on input line 347.
(pdftex.def) Requested size: 252.94499pt x 189.7102pt.
Package pdftex.def Info: q1di_fig2.png used on input line 358.
(pdftex.def) Requested size: 227.98666pt x 170.99103pt.
<q1div.jpg, id=40, 1946.02031pt x 1967.85187pt>
File: q1div.jpg Graphic file (type jpg)
<use q1div.jpg>
Package pdftex.def Info: q1div.jpg used on input line 363.
Package pdftex.def Info: q1div.jpg used on input line 375.
(pdftex.def) Requested size: 455.97334pt x 461.06403pt.
Overfull \hbox (6.66666pt too wide) in paragraph at lines 364--365
Overfull \hbox (6.66666pt too wide) in paragraph at lines 376--377
[][]
[]
@ -478,20 +483,20 @@ Overfull \hbox (6.66666pt too wide) in paragraph at lines 364--365
<q2c_fig1_1s.png, id=54, 421.575pt x 316.18124pt>
File: q2c_fig1_1s.png Graphic file (type png)
<use q2c_fig1_1s.png>
Package pdftex.def Info: q2c_fig1_1s.png used on input line 464.
(pdftex.def) Requested size: 252.94499pt x 189.7102pt.
Package pdftex.def Info: q2c_fig1_1s.png used on input line 477.
(pdftex.def) Requested size: 238.68115pt x 179.01422pt.
<q2c_fig2_2s.png, id=55, 421.575pt x 316.18124pt>
File: q2c_fig2_2s.png Graphic file (type png)
<use q2c_fig2_2s.png>
Package pdftex.def Info: q2c_fig2_2s.png used on input line 469.
(pdftex.def) Requested size: 252.94499pt x 189.7102pt.
Package pdftex.def Info: q2c_fig2_2s.png used on input line 482.
(pdftex.def) Requested size: 238.68115pt x 179.01422pt.
[9 <d:/Users/Speedee/Documents/University/Year5/Winter/ECE456/ProblemSets/Git/ECE_456/PS2/q2c_fig1_1s.png (PNG copy)> <d:/Users/Speedee/Documents/University/Year5/Winter/ECE456/ProblemSets/Git/ECE_456/PS2/q2c_fig2_2s.png (PNG copy)>]
<q2f_fig.png, id=59, 421.575pt x 316.18124pt>
File: q2f_fig.png Graphic file (type png)
<use q2f_fig.png>
Package pdftex.def Info: q2f_fig.png used on input line 504.
(pdftex.def) Requested size: 505.89pt x 379.42523pt.
[10] [11 <d:/Users/Speedee/Documents/University/Year5/Winter/ECE456/ProblemSets/Git/ECE_456/PS2/q2f_fig.png (PNG copy)>] [12] [13] [14] (d:/Users\Speedee\Documents\University\Year5\Winter\ECE456\ProblemSets\Git\ECE_456\PS2\doc.aux) )
Package pdftex.def Info: q2f_fig.png used on input line 518.
(pdftex.def) Requested size: 477.3623pt x 358.02844pt.
[10 <d:/Users/Speedee/Documents/University/Year5/Winter/ECE456/ProblemSets/Git/ECE_456/PS2/q2f_fig.png (PNG copy)>] [11] [12] [13] (d:/Users\Speedee\Documents\University\Year5\Winter\ECE456\ProblemSets\Git\ECE_456\PS2\doc.aux) )
Here is how much of TeX's memory you used:
11877 strings out of 479618
213118 string characters out of 2865027
@ -501,9 +506,9 @@ Here is how much of TeX's memory you used:
1141 hyphenation exceptions out of 8191
68i,19n,75p,1278b,2451s stack positions out of 5000i,500n,10000p,200000b,50000s
<C:\Users\speed\AppData\Local\MiKTeX\fonts/pk/ljfour/jknappen/ec/dpi600\tcrm1000.pk><C:/Users/speed/AppData/Local/Programs/MiKTeX/fonts/type1/public/amsfonts/cm/cmbx10.pfb><C:/Users/speed/AppData/Local/Programs/MiKTeX/fonts/type1/public/amsfonts/cm/cmbx12.pfb><C:/Users/speed/AppData/Local/Programs/MiKTeX/fonts/type1/public/amsfonts/cm/cmex10.pfb><C:/Users/speed/AppData/Local/Programs/MiKTeX/fonts/type1/public/amsfonts/cm/cmmi10.pfb><C:/Users/speed/AppData/Local/Programs/MiKTeX/fonts/type1/public/amsfonts/cm/cmmi5.pfb><C:/Users/speed/AppData/Local/Programs/MiKTeX/fonts/type1/public/amsfonts/cm/cmmi7.pfb><C:/Users/speed/AppData/Local/Programs/MiKTeX/fonts/type1/public/amsfonts/cm/cmmi9.pfb><C:/Users/speed/AppData/Local/Programs/MiKTeX/fonts/type1/public/amsfonts/cm/cmr10.pfb><C:/Users/speed/AppData/Local/Programs/MiKTeX/fonts/type1/public/amsfonts/cm/cmr12.pfb><C:/Users/speed/AppData/Local/Programs/MiKTeX/fonts/type1/public/amsfonts/cm/cmr17.pfb><C:/Users/speed/AppData/Local/Programs/MiKTeX/fonts/type1/public/amsfonts/cm/cmr5.pfb><C:/Users/speed/AppData/Local/Programs/MiKTeX/fonts/type1/public/amsfonts/cm/cmr7.pfb><C:/Users/speed/AppData/Local/Programs/MiKTeX/fonts/type1/public/amsfonts/cm/cmr9.pfb><C:/Users/speed/AppData/Local/Programs/MiKTeX/fonts/type1/public/amsfonts/cm/cmsy10.pfb><C:/Users/speed/AppData/Local/Programs/MiKTeX/fonts/type1/public/amsfonts/cm/cmsy7.pfb><C:/Users/speed/AppData/Local/Programs/MiKTeX/fonts/type1/public/amsfonts/latxfont/line10.pfb><C:/Users/speed/AppData/Local/Programs/MiKTeX/fonts/type1/public/amsfonts/symbols/msbm10.pfb><C:/Users/speed/AppData/Local/Programs/MiKTeX/fonts/type1/public/amsfonts/symbols/msbm7.pfb>
Output written on d:/Users\Speedee\Documents\University\Year5\Winter\ECE456\ProblemSets\Git\ECE_456\PS2\doc.pdf (14 pages, 1845313 bytes).
Output written on d:/Users\Speedee\Documents\University\Year5\Winter\ECE456\ProblemSets\Git\ECE_456\PS2\doc.pdf (13 pages, 1844779 bytes).
PDF statistics:
137 PDF objects out of 1000 (max. 8388607)
134 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 500000)
56 words of extra memory for PDF output out of 10000 (max. 10000000)

Binary file not shown.

Binary file not shown.

View File

@ -152,23 +152,26 @@ legend({'Numerical','Analytical'},'Location','northwest');
\end{lstlisting}
%
\begin{minipage}[t]{\linewidth}
\begin{figure}[H]
\centering
\begin{subfigure}{0.4\linewidth}
\begin{subfigure}{0.5\linewidth}
\centering
\includegraphics[width=\textwidth]{q1a_1and50.png}
\caption{}
\label{fig:q3_ne}
\end{subfigure}%
\begin{subfigure}{0.4\linewidth}
\begin{subfigure}{0.5\linewidth}
\centering
\includegraphics[width=\textwidth]{q1a_eigenvals.png}
\caption{Comparison of first 101 numerical and analytic eigenvalues.}
\caption{}
\label{fig:q3_current}
\end{subfigure}
\caption{(a) Probability densities for \(n=1\) and \(n=50\).
(b) Comparison of first 101 numerical and analytic eigenvalues.}
\end{figure}
\end{minipage}
\item %1b
\begin{enumerate}[align=left,leftmargin=*,labelsep=0em,label=(\roman*)]
\item %1bi
@ -274,15 +277,18 @@ legend({'Numerical','Analytical'},'Location','northwest');
\end{equation}
\item %1cii
\begin{minipage}[t]{\linewidth}
\centering
\adjustbox{valign=t}{
\includegraphics[width=\textwidth]{q1cii.png}
}
\captionof{figure}{Analytic solution to numeric system, plotted.}
\end{minipage}
We can see here that the "predicted" numerical response matches nearly exactly the actual
calculated numerical solution.
\begin{figure}[H]
\centering
\includegraphics[width=\textwidth]{q1cii.png}
\caption{Analytic solution to numeric system, plotted.}
\end{figure}
\item %1ciii
@ -305,6 +311,9 @@ legend({'Numerical','Analytical'},'Location','northwest');
density function appears to be "squeezed" in the centre, for the $n = 50$ case. The \(n=50\) case is
now a constant-amplitude wave, which corresponds to the expected analytic result - in contrast to the
plot in section (a), which has a low-frequency envelope around it.
\begin{minipage}[t]{\linewidth}
\begin{figure}[H]
\centering
\begin{subfigure}{0.5\textwidth}
@ -318,7 +327,7 @@ legend({'Numerical','Analytical'},'Location','northwest');
\caption{Comparison of first 101 numerical and analytic eigenvalues.}
\end{subfigure}
\end{figure}
\end{minipage}
\end{enumerate}
@ -334,7 +343,9 @@ legend({'Numerical','Analytical'},'Location','northwest');
H(1, N) = -t0;
H(N, 1) = -t0;
\end{lstlisting}
\begin{minipage}[t]{\linewidth}
\begin{figure}[H]
\centering
\begin{subfigure}{0.5\textwidth}
@ -348,6 +359,7 @@ H(N, 1) = -t0;
\caption{Comparison of first 101 numerical and analytic eigenvalues.}
\end{subfigure}
\end{figure}
\end{minipage}
\item %1dii
@ -456,6 +468,7 @@ yticks([0.005 0.01 0.015 0.02 0.025 0.03 0.035 0.04]);
legend('n=2');
axis([0 1e-9 0 0.04]);
\end{lstlisting}
\begin{minipage}[t]{\linewidth}
\begin{figure}[H]
\centering
@ -470,6 +483,7 @@ axis([0 1e-9 0 0.04]);
\caption{2s probability density.}
\end{subfigure}
\end{figure}
\end{minipage}
\item %2d
For the 1s level, \boxed{E = -13.4978\:\mathrm{eV}}.
\item %2e
@ -499,11 +513,11 @@ axis([0 1e-9 0 0.04]);
as discussed in Problem 1. From (d), we also expect agreement in the curve shapes because the numerical and analytical energies for the 1s
level are very similiar. We can see that the peak value of the analytic result is very slightly higher than that of the numerical result,
which corresponds to the analytical result for the energy being slightly greater in magnitude (\(-13.6\) eV versus \(-13.4978\) eV).
\begin{figure}[H]
\begin{minipage}[t]{\linewidth}
\centering
\includegraphics[width=\textwidth]{q2f_fig.png}
\caption{Numerical result (black line) and analytical solution scaled by \(a\) (orange circles).}
\end{figure}
\captionof{figure}{Numerical result (black line) and analytical solution scaled by \(a\) (orange circles).}
\end{minipage}