!! I need a function and y'(pi) is 3 not y(pi) is 3. Here is my question. Using matlab, Solve the BVP y'' + 4y = -12sin(
Posted: Mon Jun 06, 2022 6:22 pm
!! I need a function and y'(pi) is 3 not y(pi) is 3. Here is my
question.
Using matlab, Solve the BVP y'' + 4y = -12sin(2x),
0<=x<=pi y(0)=1, y'(pi)=3 by using finite difference method
with step size h=1/10, 1/50 Plot the approximate solutions and
exact solution. I need a matlab code! I need a function which has
input for [f,a,b,h,y0,y_end,c1,c2,c3] and output [y]. Also I want
to compare this value with exact function value in the plot. The
exact function I found was y =
cos(2x)-3sin(2x)+3xcos(2x).
question.
Using matlab, Solve the BVP y'' + 4y = -12sin(2x),
0<=x<=pi y(0)=1, y'(pi)=3 by using finite difference method
with step size h=1/10, 1/50 Plot the approximate solutions and
exact solution. I need a matlab code! I need a function which has
input for [f,a,b,h,y0,y_end,c1,c2,c3] and output [y]. Also I want
to compare this value with exact function value in the plot. The
exact function I found was y =
cos(2x)-3sin(2x)+3xcos(2x).