[CSC 335] HW5/Project2

Andrew J. Pounds pounds_aj at mercer.edu
Sat Dec 2 21:00:09 EST 2017


On 12/02/2017 08:28 PM, wrote:
>
> Hey Dr. Pounds,
>
>
> 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?
>
>
So the volume of a cone is $V=\frac{1}{3}\pi r^2 h$ and they tell you 
when the the cone is filled to 8 feet ($h=8$), that the volume is $512 
\frac{\pi}{3}$.  You can use that to solve for the initial $r$ which is 
8.   Based on those cone dimensions, $r=x$ and $A(x)=\pi r^2$.

> 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:
>
>
> k = 6.22E-19
> f = k*((2.0E3-(x/2.0))**4)*(3.0E3-((3.0*x)/4.0))**3
>
at first glance your function looks fine.  What does your output look like.



> 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?
>
>
> Thanks,
>
>

Type apropos "linear solver".  You will see things that look like 
LAPACK.  Also try "man dgemm"  -- you'll see a blas man page.


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.



-- 
Andrew J. Pounds, Ph.D.  (pounds_aj at mercer.edu)
Professor of Chemistry and Computer Science
Mercer University,  Macon, GA 31207   (478) 301-5627
http://faculty.mercer.edu/pounds_aj

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20171202/7667db6a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nofogkkbldodkfpe.png
Type: image/png
Size: 992 bytes
Desc: not available
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20171202/7667db6a/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jihjdfpfmjflldmn.png
Type: image/png
Size: 643 bytes
Desc: not available
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20171202/7667db6a/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mgnggchgfikgolje.png
Type: image/png
Size: 752 bytes
Desc: not available
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20171202/7667db6a/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lnmeecbanpggigbk.png
Type: image/png
Size: 467 bytes
Desc: not available
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20171202/7667db6a/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jjhmkaahfogehmea.png
Type: image/png
Size: 562 bytes
Desc: not available
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20171202/7667db6a/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oihfdgdmgedjpidb.png
Type: image/png
Size: 996 bytes
Desc: not available
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20171202/7667db6a/attachment-0005.png>


More information about the csc335 mailing list