<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 12/02/2017 08:28 PM, wrote:<br>
</div>
<blockquote type="cite"
cite="mid:aea40deb8b4447e8942fdc621c54248a@spiderman.MercerU.local">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;"
dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hey Dr. Pounds, </p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I am confused as how to
solve for A(x) in problem #28 on HW5 in section 5.4. Does it
want a vertical cross section? And if it does, how am I
supposed to find the radius? Also, I should solve for a new
A(x) every iteration right?</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
</div>
</blockquote>
So the volume of a cone is <img alt="$V=\frac{1}{3}\pi r^2 h$"
style="vertical-align: middle;"
src="cid:part1.1BDA2393.61CE76B0@mercer.edu"> and they tell you
when the the cone is filled to 8 feet (<img alt="$h=8$"
style="vertical-align: middle;"
src="cid:part2.4117026C.C6614919@mercer.edu">), that the volume is
<img alt="$512 \frac{\pi}{3}$" style="vertical-align: middle;"
src="cid:part3.919F08A8.0FD65FF2@mercer.edu">. You can use that
to solve for the initial <img alt="$r$" style="vertical-align:
middle;" src="cid:part4.63FE4E8E.0F1DE167@mercer.edu"> which is
8. Based on those cone dimensions, <img alt="$r=x$"
style="vertical-align: middle;"
src="cid:part5.26C06342.99BBFE08@mercer.edu"> and <img
alt="$A(x)=\pi r^2$" style="vertical-align: middle;"
src="cid:part6.F58B40F0.8132D4D4@mercer.edu">.<br>
<br>
<blockquote type="cite"
cite="mid:aea40deb8b4447e8942fdc621c54248a@spiderman.MercerU.local">
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;"
dir="ltr">
<p style="margin-top:0;margin-bottom:0">
</p>
<p style="margin-top:0;margin-bottom:0">I am also getting
ridiculous numbers for #27, and I think it has something to do
with the function because the runge-kutta alogrithm has worked
for other functions. Here's my function: </p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<div>k = 6.22E-19</div>
<div>f = k*((2.0E3-(x/2.0))**4)*(3.0E3-((3.0*x)/4.0))**3</div>
<br>
</div>
</blockquote>
at first glance your function looks fine. What does your output
look like.<br>
<br>
<br>
<br>
<blockquote type="cite"
cite="mid:aea40deb8b4447e8942fdc621c54248a@spiderman.MercerU.local">
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;"
dir="ltr">
<p style="margin-top:0;margin-bottom:0">And for project 2, I am
trying to look at all the lapack function but when I type man
lapack, it only gives me a page describing what lapack is and
how to get it. This is probably a stupid question but is there
somewhere else I am supposed to be looking because I thought
it was all supposed to be on the man page. Also, there is no
man page for blas?</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Thanks, </p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
</div>
</blockquote>
<br>
<p>Type apropos "linear solver". You will see things that look like
LAPACK. Also try "man dgemm" -- you'll see a blas man page.</p>
<p><br>
</p>
<p>I would encourage you to type man "name" where "name" is one of
the routines I provided to you in the examples. There is also a
link to the LAPACK manual on the class webpage in the REFERENCE
section. The end of the LAPACK manual contains a brief index of
all the BLAS routines.</p>
<p><br>
</p>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
Andrew J. Pounds, Ph.D. (<a class="moz-txt-link-abbreviated" href="mailto:pounds_aj@mercer.edu">pounds_aj@mercer.edu</a>)
Professor of Chemistry and Computer Science
Mercer University, Macon, GA 31207 (478) 301-5627
<a class="moz-txt-link-freetext" href="http://faculty.mercer.edu/pounds_aj">http://faculty.mercer.edu/pounds_aj</a>
</pre>
</body>
</html>