フィルターのクリア

"Solve" function in 2 dimensional image

1 回表示 (過去 30 日間)
lina
lina 2013 年 1 月 1 日
Hi every one,
Let say I have an equation:
256x256 * x + 256x256 * exp(x/2)^2 = 256*256
How to calculate "x" ? I have tried with the "solve" function, but I found some error. Will be very appreciate if anyone can help
Thanks

回答 (2 件)

Walter Roberson
Walter Roberson 2013 年 1 月 1 日
Maple had no problem finding 0 as the solution, once the function had been rewritten to use correct syntax.
syms x
solve(256*256*x + 256*256*exp(x/2)^2 - 256*256, x)

Roger Stafford
Roger Stafford 2013 年 1 月 1 日
Why write exp(x/2)^2 when you could write exp(x) instead? Also if by 256x256 you mean 256*256, why not just write
x + exp(x) = 1
The obvious solution is x = 0

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by