Last Homework

Due Thursday, December 10 in the AME Department Office before it closes at the end of the day. Late homeworks will not be accepted.
Post Reply
goodwine
Site Admin
Posts: 1596
Joined: Tue Aug 24, 2004 4:54 pm
Location: 376 Fitzpatrick
Contact:

Last Homework

Post by goodwine »

Get it here

By "exact" I don't mean an exact differential equation, but rather one you can find a solution for in terms of elementary functions.
Bill Goodwine, 376 Fitzpatrick
jmcgill1

Re: Last Homework

Post by jmcgill1 »

Is it possible to do numbers 2 and 3 with MATLAB? Or would Fortran be preferred?
goodwine
Site Admin
Posts: 1596
Joined: Tue Aug 24, 2004 4:54 pm
Location: 376 Fitzpatrick
Contact:

Re: Last Homework

Post by goodwine »

jmcgill1 wrote:Is it possible to do numbers 2 and 3 with MATLAB? Or would Fortran be preferred?
A compiled language such as FORTRAN, C, C++, or go is required. I had announced this in class on Friday.
Bill Goodwine, 376 Fitzpatrick
goodwine
Site Admin
Posts: 1596
Joined: Tue Aug 24, 2004 4:54 pm
Location: 376 Fitzpatrick
Contact:

Re: Last Homework

Post by goodwine »

Someone asked me
Can my equation for number 2 on the homework be dx/dt=cos(t) ? Or does that not depend on both x and t?
No, your

f(x,t) = cos(t)

which only depends on t.
Bill Goodwine, 376 Fitzpatrick
tbest

Re: Last Homework

Post by tbest »

When it says "plot the error versus different time steps" in problems 2 and 4, does that mean a plot of error at a certain value of t vs. deltaT, or error vs t with curves for different deltaT values like we did in class today?
goodwine
Site Admin
Posts: 1596
Joined: Tue Aug 24, 2004 4:54 pm
Location: 376 Fitzpatrick
Contact:

Re: Last Homework

Post by goodwine »

tbest wrote:When it says "plot the error versus different time steps" in problems 2 and 4, does that mean a plot of error at a certain value of t vs. deltaT, or error vs t with curves for different deltaT values like we did in class today?
Thanks. It should be more precise: "Plot the error versus time for different delta t." So curves of error vs t, and different curves for different dt.
Bill Goodwine, 376 Fitzpatrick
colsen3

Re: Last Homework

Post by colsen3 »

For number 2, do we make up our own initial conditions as well?
goodwine
Site Admin
Posts: 1596
Joined: Tue Aug 24, 2004 4:54 pm
Location: 376 Fitzpatrick
Contact:

Re: Last Homework

Post by goodwine »

colsen3 wrote:For number 2, do we make up our own initial conditions as well?
Yes
Bill Goodwine, 376 Fitzpatrick
goodwine
Site Admin
Posts: 1596
Joined: Tue Aug 24, 2004 4:54 pm
Location: 376 Fitzpatrick
Contact:

Re: Last Homework

Post by goodwine »

Someone asked me wrote:I was wondering if we can use ode45 to find the exact solutions of the equations.
If you think you can trust it. The last problem shows pretty clearly that you can't always trust it.
Bill Goodwine, 376 Fitzpatrick
Jfox10

Re: Last Homework

Post by Jfox10 »

Would you like us to include our fortran code with the homework?
goodwine
Site Admin
Posts: 1596
Joined: Tue Aug 24, 2004 4:54 pm
Location: 376 Fitzpatrick
Contact:

Re: Last Homework

Post by goodwine »

Jfox10 wrote:Would you like us to include our fortran code with the homework?
Yes, definitely.
Bill Goodwine, 376 Fitzpatrick
Post Reply

Return to “AME 30314, Last Homework!”