필터 지우기
필터 지우기

How to solve first order ode with two boudary conditions?

조회 수: 1 (최근 30일)
I G
I G 2020년 3월 27일
댓글: darova 2020년 3월 27일
I need to solve numericaly differential equation of the first order, where I have given values at the beginng and at the end of time span, it means I have p(t=0) = 0, p(t=1) = 0. My differential equation where p is variable for which I am looking for is:
p' = - ( - 8 .* y' ./ R - y' .* p - 32 .* beta .* k ./ R .^ 4 ) ./ y
and k is also unknown variable, and R, beta, y, y' are known variables
I tryed to solve it and get p with bvp4c, but I found only examples where differential equations of the second order where solved, with conditions in two end points, and it should be like that - for second order equation two conditions.
I was looking ode45 also, but there you can give time span and the conditions at the end of that span, it means I could give only one condition here.
For what I should search for? Did I miss something in this case?
  댓글 수: 2
Torsten
Torsten 2020년 3월 27일
You miss that k is also unknown. Thus you have two equations: p'=... and k'=0 for which 2 boundary conditions are necessary ( the two for p ).
Search for "solve bvp with unknown parameters & bvp4c" in the internet.
darova
darova 2020년 3월 27일
Are you sure about all you constants/parameters? Maybe you want to fit some? Look this

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by