370 viewsMatlabEngineering mathematics

MATLAB HOMEWORK 2

Solve analytically (i.e. by hand, without using Matlab) the initial value problem
cos(y) y’= xsin(y)/(x^2+1) ,y(0) = a,
where a = 0,
π/3,2π/3, π, and obtain the solutions in explicit form. Use the Matlab
command plot to plot the 4 solutions you obtained on the same graph using different
colours. Plot the graphs for −1/2 ≤ x ≤ 1/2 dividing this interval into intervals of
length 0.01. The graph should appear as figure 1

Jyothi Aggarwal- Computer Science Expert Answered question July 26, 2023
Scroll to Top