"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