"Solve" function in 2 dimensional image
Show older comments
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
Answers (2)
Walter Roberson
on 1 Jan 2013
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
on 1 Jan 2013
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
Categories
Find more on Mathematics and Optimization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!