Use the MATLAB ode45 function to solve the following initial value problems:
Scalar equation:
x' = x + sin(t), x(0) = 1.
Generate the plot of the solution for t ∈ [0, 2].
System:
x' = x - 4y,
y' = 4x - 7y,
with initial condition x(0) = 0, y(0) = -1. Plot y against x for t ∈ [0, 2].
Nonlinear oscillator:
x'' + 8.9x' + 0.1 sin x = 0, x(0) = 0, x'(0) = -1.
Generate the plot for x(t) for t ∈ [0, 10].