Project #85001 - Matlab: Forward, Backward and Trapezoidal

Use the:

  • forward Euler (theta=1)
  • backward Euler (theta=0)
  • trapezoidal (theta=0.5) also known as Crank-Nicolson

to show how well do the three cases compare for the following first order differential exponential decay problem:

y' + ay=0 with initial condition y(0)=1

and second order harmonic oscillator problem:

y'' + y=0 with initial condition y(0)=1, y'(0)=1

 

Different step sizes should be used for each problem, 3 would be enough, to be plotted on the same graph. 

 

 

Subject Mathematics
Due By (Pacific Time) 10/05/2015 01:00 pm
Report DMCA
TutorRating
pallavi

Chat Now!

out of 1971 reviews
More..
amosmm

Chat Now!

out of 766 reviews
More..
PhyzKyd

Chat Now!

out of 1164 reviews
More..
rajdeep77

Chat Now!

out of 721 reviews
More..
sctys

Chat Now!

out of 1600 reviews
More..
sharadgreen

Chat Now!

out of 770 reviews
More..
topnotcher

Chat Now!

out of 766 reviews
More..
XXXIAO

Chat Now!

out of 680 reviews
More..
All Rights Reserved. Copyright by AceMyHW.com - Copyright Policy