2014-09-30 00:45:08 +0200 | asked a question | Differential Equations and Error of Estimations So I'm tasked with the following two questions:
So we have a defined function for funding the Euler estimation: def EulerMethod(xstart, ystart, xfinish, nsteps, f): ''' Returns a list of x and y values for the initial value problem y' = f, y(xstart) = ystart, up to x=xfinish, using n steps of Euler's Method. (1.50000000000000, 0.739546793407), (2.00000000000000, 0.405141997537)] As written by the teacher. We are given that and no function for the RK4 so I assume we are to use the built in Sage RK4 estimation. Anyways I have no idea what to do. I'm absolutely lost. Can anyone please help me? Massive thanks in advance. |