Question: for Matlab program plus 5 marks for graphs). Write a Matlab script that solves the initial value problem coming out of Task 1.1 for

for Matlab program plus 5 marks for graphs). Write a Matlab script

for Matlab program plus 5 marks for graphs). Write a Matlab script that solves the initial value problem coming out of Task 1.1 for ? = 0.1 using ode45 with ?(?) ?(?, 0) = cos(3?) and then plots the solution at the end of the simulation in both physical and spectral space using N, -64. Modify your code to generate the corresponding results for ?(?)=?(?, 0) = cos(7?). Include the plots for these two cases in your report.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mechanical Engineering Questions!