solving an equatin... please help me

Pd = @(u)quadl(@(w)f(u,w), Yb, 1000*Yb)
I want to know the value of u when Pd is 0.8. How do I write the code??
Please help me.... Yb is 6.

댓글 수: 2

darova
darova 2019년 5월 22일
Did you try fsolve()?
Hosin Lee
Hosin Lee 2019년 5월 23일
I can't understand the fsolve.
Can you code it for me please?

답변 (1개)

darova
darova 2019년 5월 23일

0 개 추천

Also you can try fzero()
f = @(a,x) sin(a*x)./x;
F = @(a) integral(@(x)f(a,x),0,7)-0.8;
% a = fsolve(F,2); % didn't work
a = fzero(F,2);
F(a)

이 질문은 마감되었습니다.

태그

질문:

2019년 5월 22일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by