Question : Plot the slop field of y’=-y/x for -10<=x<=10, -10<=y<=10 Solution : Matlab program to plot slope field of ode y’=-y/x, in -10<=x<=10,-10<=y<=10 n = 20;a= -10; b = 10;c = -10; d = 10;h = (b-a)/n; k =…
Posted inODEs
Question : Plot the slop field of y’=-y/x for -10<=x<=10, -10<=y<=10 Solution : Matlab program to plot slope field of ode y’=-y/x, in -10<=x<=10,-10<=y<=10 n = 20;a= -10; b = 10;c = -10; d = 10;h = (b-a)/n; k =…