Please, how to solve a log equation?
36 次查看(过去 30 天)
显示 更早的评论
Please, someone can help me I solve an equation like this in the Matlab: 0.10==e^((-x*pi)/(sqrt((1-x^2))))?
Regards!
1 个评论
David Young
2014-3-8
Is there some reason why you need to solve it in MATLAB, presumably with the symbolic toolbox? Solving it on paper is faster, I think, and gives x = -0.5912 in a few lines.
回答(2 个)
Star Strider
2014-3-8
I agree with David Young, but if you absolutely must solve it in MATLAB, here are two options:
Numerically:
f = @(x) 0.1 - (exp((-x.*pi) ./ sqrt(1 - x.^2)))
x = fzero(f, 0)
Symbolically:
syms x 'real'
g = 0.10 == exp((-x*pi)/(sqrt((1-x^2))))
fx = solve(g)
SAGAR OJHA
2021-11-27
e^2+5^3 -〖 log〗4
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!