You are required to find the numerical solution to the following ordinary differential equation d²y dy + dx² dx in the domain 0≤x≤ 1. You are required to solve this equation using numerical methods with the boundary conditions y(0) = -1 and y(1) = 2. Note that the input for the sin term should be in radians (not degrees). As shown in lectures, the derivative of a function y(x) can be calculated using the second order central, and first order forward and backward difference schemes dy d²y dx² dx d²y dx² -6y = 15 sin(12x) (xi)~ (Yi+1 − Yi-1)/(2A) dy dx dy -(N-1)~ (YN-1 - YN-2)/A. dx The double derivative can be approximated as d²y dx² (xo)~ (y₁ - yo)/A (xi) ~ (Yi-1 - 2yi + Yi+1)/A² (xo) ≈ (yo - 2y1 + y2)/A² (N-1)~ (YN-1-2YN-2+ YN-3)/A². Show that if you discretise the equation shown in Q1 using the differentiation schemes above and implementing the boundary conditions, you will get a set of equations that can be expressed as
You are required to find the numerical solution to the following ordinary differential equation d²y dy + dx² dx in the domain 0≤x≤ 1. You are required to solve this equation using numerical methods with the boundary conditions y(0) = -1 and y(1) = 2. Note that the input for the sin term should be in radians (not degrees). As shown in lectures, the derivative of a function y(x) can be calculated using the second order central, and first order forward and backward difference schemes dy d²y dx² dx d²y dx² -6y = 15 sin(12x) (xi)~ (Yi+1 − Yi-1)/(2A) dy dx dy -(N-1)~ (YN-1 - YN-2)/A. dx The double derivative can be approximated as d²y dx² (xo)~ (y₁ - yo)/A (xi) ~ (Yi-1 - 2yi + Yi+1)/A² (xo) ≈ (yo - 2y1 + y2)/A² (N-1)~ (YN-1-2YN-2+ YN-3)/A². Show that if you discretise the equation shown in Q1 using the differentiation schemes above and implementing the boundary conditions, you will get a set of equations that can be expressed as
Advanced Engineering Mathematics
10th Edition
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Erwin Kreyszig
Chapter2: Second-order Linear Odes
Section: Chapter Questions
Problem 1RQ
Related questions
Question
Hi please redo solution with the information provided in this question.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 2 images
Recommended textbooks for you
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
Numerical Methods for Engineers
Advanced Math
ISBN:
9780073397924
Author:
Steven C. Chapra Dr., Raymond P. Canale
Publisher:
McGraw-Hill Education
Introductory Mathematics for Engineering Applicat…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
Numerical Methods for Engineers
Advanced Math
ISBN:
9780073397924
Author:
Steven C. Chapra Dr., Raymond P. Canale
Publisher:
McGraw-Hill Education
Introductory Mathematics for Engineering Applicat…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,