Finding a value in an Implicit Function

1 次查看(过去 30 天)
I have a Function below of which I am trying to find the independent variable (x) when I am given the dependent variable (W) of an equation. For my situation,W = 250 and I need to find x somehow with the function:
function W = weight(x)
a = 0.15;
b = 0.05;
K = 2800;
L = sqrt(a^2+(b+x)^2);
Lo = sqrt(a^2+b^2);
dL = L-Lo;
SINtheta = (b+x)/L;
W = 2*K*dL*SINtheta;
end
I cannot rearrange the equation for this question and I was told that maybe a Secant Method could work for this but I have not had much luck.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by