Problem

Considerthe forced, damped oscillator y″+0.05y′+36y = sin 63t, with initial conditions y(0...

Considerthe forced, damped oscillator y″+0.05y′+36y = sin 63t, with initial conditions y(0) = 5, y′(0) = 0. Use the technique of Example 4 to transform the equation to system of first order ODEs, write and save the odefile as osc.m, and solve the system with the command [t,x] = ode45(@osc, [0,100], [5;0]);.

a) The command plot3 (x(:, 1), x(:, 2), t) provides a three dimensional plot with time on the vertical axis.

b) The command close all, comet3(x(: ,1), x(:, 2), t) provides an animated view of the result in part a).

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 8
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT