HP Forums

Full Version: Solve function giving [ ] result
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

When trying to solve this equation i get a result of [], anyone else getting a similar result or perhaps can see an error in my method?

Trying to solve for x here:
348.4=269.65+.5*(315-269.65)+((x/26000)^2 + .25*(315-269.65)^2)^.5

I use the solve function:

solve('348.4=269.65+.5*(315-269.65)+((x/26000)^2 + .25*(315-269.65)^2)^.5', x)

and i get this result:
[]

Thanks
If you run solve on an equation with approx data, then fsolve is called instead. Since no interval or guess is provided, the solver tries bisection in tan(-1.57)..tan(1.57), but unfortunately the solutions are outside. You can either give a bisection interval and call fsolve, or run solve(exact(your_equation))
Using fsolve with an estimated starting point worked.

Thanks!
Reference URL's