!! 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(

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

!! 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(

Post by answerhappygod »

!! 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).
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply