solving second order differential equation for 1D wave with parameter by shooting method
조회 수: 5 (최근 30일)
이전 댓글 표시
Hi I really need help writing a MATLAB code that uses the shooting method to integrate d^2f/dx^2 = -(w^2)*y/180,625 while improving the parameter w by (w_n+1)^2 = (w_n)^2 -f((w_n)^2)/[Delta*f/Delta*w^2 @w_n]. My initial guess is w0=1,570.79645. I'm struggling with turning my second order differential equation into a first order to solve in MATLAB while also integrating with parameter w that improves with each iteration.
답변 (1개)
Mudit Kumar Bhugari
2023년 6월 29일
Hi @Gabriela
I understand that you want to write MATLAB code for a Second Order Differential Equation using shooting method.
I'm attaching some of the similiar problems which might help you.
- https://in.mathworks.com/matlabcentral/answers/483698-shooting-method-bvp?s_tid=answers_rc1-1_p1_MLT
- https://in.mathworks.com/matlabcentral/answers/52280-using-the-shooting-method?s_tid=answers_rc1-2_p2_MLT
- https://in.mathworks.com/matlabcentral/answers/516859-ode45-shooting-method?s_tid=answers_rc1-3_p3_MLT
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!