How to plug in algebraic equation and solution for it?

1 Ansicht (letzte 30 Tage)
Meet Koradia
Meet Koradia am 13 Mai 2022
Kommentiert: Chunru am 13 Mai 2022
what would be the code for this equation and how do I solve for t in this case?

Antworten (1)

Chunru
Chunru am 13 Mai 2022
It seems that the equation you give has no soltion.
f = @(t) 3.7 *( 1 + 4.1*.006/170*(3.7/180)^(2/3) * nthroot(t.^5, 3)).^-1.5;
fplot(f, [-1000 1000]); grid on
fsolve(f, 5000 )
No solution found. fsolve stopped because the problem appears regular as measured by the gradient, but the vector of function values is not near zero as measured by the value of the function tolerance.
ans = 5.4062e+03
  4 Kommentare
Chunru
Chunru am 13 Mai 2022
What is the value of z?
Chunru
Chunru am 13 Mai 2022
z= 10;
f = @(t) 3.7 *( 1 + 4.1*.006/170*(3.7/180)^(2/3) * nthroot(t.^5, 3)).^-1.5 - z;
%fplot(f, [-1000 1000]); grid on
fsolve(f, -100 )
Equation solved. fsolve completed because the vector of function values is near zero as measured by the value of the function tolerance, and the problem appears regular as measured by the gradient.
ans = -616.2730

Melden Sie sich an, um zu kommentieren.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by