Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #5999

Re: Problem with Solve and NSolve

From Heike Gramberg <heike.gramberg@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Problem with Solve and NSolve
Date 2011-10-29 11:20 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j8gni3$5f2$1@smc.vnet.net> (permalink)
References <201110280935.FAA20759@smc.vnet.net>

Show all headers | View raw


Solve and NSolve are used to find closed form solutions of equations. 
Since your equation because it is a transcendental equation which 
doesn't have an explicit close form solution Solve returns an error. To 
find numerical approximations of the solutions you can use FindRoot 
instead, e.g.

FindRoot[x^3*Sin[x] == 1, {x, 1}]

output: {x -> 1.04879}

see =
http://reference.wolfram.com/mathematica/tutorial/SolvingEquations.html 
for more information about solving equations in Mathematica.

Heike.

On 28 Oct 2011, at 11:35, V. Williams wrote:

> I've recently tried Mathematica 8.0.1, and I've found that it's unable 
to compute Solve[x^3*Sin[x]==1,x] (and the same with NSolve), which 
gives an error:
> Solve::nsmet: This system cannot be solved with the methods available to Solve
>
> WolframAlpha solves it without problems, so what's wrong with Mathematica?
>

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Problem with Solve and NSolve Heike Gramberg <heike.gramberg@gmail.com> - 2011-10-29 11:20 +0000

csiph-web