Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

solving an equatin... please help me

3 visualizaciones (últimos 30 días)
Hosin Lee
Hosin Lee el 22 de Mayo de 2019
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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 comentarios
darova
darova el 22 de Mayo de 2019
Did you try fsolve()?
Hosin Lee
Hosin Lee el 23 de Mayo de 2019
I can't understand the fsolve.
Can you code it for me please?

Respuestas (1)

darova
darova el 23 de Mayo de 2019
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)

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by