Can you please help me how to write code for following differential equation. Thank you.
조회 수: 2 (최근 30일)
이전 댓글 표시
f(x) = integral of 1 to 0 ( G(x,x') g(x') dx' )
G(x,x') = (sinh(x) . sinh(1-x')/ sinh(1)) if (x<x')
G(x,x') = (sinh(1-x) . sinh(x')/ sinh(1)) if (x'<x)
solve d2f(x)/dx2
and satisfy d2f(x)/dx2 + f(x) = g(x) with f(0) = f(1) = 0;
댓글 수: 1
Torsten
2017년 12월 8일
If I were you, I'd solve the differential equation directly using MATLAB's "bvp4c" and don't use the way over Green's function.
Best wishes
Torsten.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Boundary Value Problems에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!