Please, how to solve a log equation?

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
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
Star Strider 2014 年 3 月 8 日

3 投票

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)

2 件のコメント

Raphael Barbosa Carneiro de Lima
Raphael Barbosa Carneiro de Lima 2014 年 3 月 8 日
Thank you very much!
Star Strider
Star Strider 2014 年 3 月 9 日
My pleasure!

サインインしてコメントする。

SAGAR OJHA
SAGAR OJHA 2021 年 11 月 27 日

0 投票

e^2+5^3 -〖 log〗4

4 件のコメント

SAGAR OJHA
SAGAR OJHA 2021 年 11 月 27 日
Please solve
Walter Roberson
Walter Roberson 2021 年 11 月 27 日
Solve what? There are no free variables in that expression. Not unless log is intended to be a variable or e is intended to be a variable instead of e
SAGAR OJHA
SAGAR OJHA 2021 年 11 月 27 日
I have not have any matlab software.. so please help for this question
Walter Roberson
Walter Roberson 2021 年 11 月 27 日
exp(2) + 5^3 - log(4)
ans = 131.0028
I do not see anything to solve, though.

サインインしてコメントする。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by