I also have a project due frighteningly soon in my Diff EQ / linear Algebra class. I've chosen a very easy project to do, an Euler model (Pronounced Oiler... Stupid French language) of an already separated differential equation. Thus I write a program that looks something like this:
Declare a function f that accepts the parameter t and returns the change in value at t.
Declare a constant called dT and set it equal to the time step.
Declare a constant called TMin and set it equal to the start time.
Declare a constant called TMax and set it equal to the end time.
Declare a variable t.
Declare a variable y and set it equal to the initial value.
Starting with t equal to TMIN and looping till t is greater than TMax, increasing it's value by dT every loop: add the result of the multiplication of the function f at t against dT to the value of y then display t and the new y.
Where the function F is provided to me by the teacher and TMin, TMax, and the initial value for y are provided by the teacher. Should be easy, but he wants it to make some graphs too. I may just push the output into Excel and have it do it... We'll see.
I need a vacation.
"YAAAY! I GOT A SOBE... YAAAAY!!!" It was on the lid... I swear.
Mood: Ill, tired, spent, and overworked.