Difference between revisions of "NSolve Command"

From GeoGebra Manual
Jump to: navigation, search
Line 1: Line 1:
 
 
<noinclude>{{Manual Page|version=4.0}}</noinclude>
 
<noinclude>{{Manual Page|version=4.0}}</noinclude>
 
{{command|CAS}}
 
{{command|CAS}}
;NSolve[ <Equation> ]: Finds a numeric solution for a given equation (or a set of equations) for the variable x.
+
;NSolve[ <Equation> ]
;NSolve[ <Equation>, <Variable> ]: Finds a numeric solution to an equation (or a set of equations) for a given unknown variable (or set of variables).
+
:Finds a numeric solution for a given equation (or a set of equations) for the variable x.
 
+
;NSolve[ <Equation>, <Variable> ]
 
+
:Finds a numeric solution to an equation (or a set of equations) for a given unknown variable (or set of variables).
: {{Example|1=&nbsp;
+
:{{example|1=&nbsp;
 
:* <code>NSolve[sin(x) = x]</code> gives you ''{x = 0}''.
 
:* <code>NSolve[sin(x) = x]</code> gives you ''{x = 0}''.
 
:* <code>NSolve[a^4+34a^3-34, a]</code> gives you ''{a = 0.99}''.}}
 
:* <code>NSolve[a^4+34a^3-34, a]</code> gives you ''{a = 0.99}''.}}
 
+
{{note|See also [[Solve Command]].}}
{{Note|See also [[Solve Command]].}}
 

Revision as of 12:44, 19 August 2011


This command works in CAS View only.

NSolve[ <Equation> ]
Finds a numeric solution for a given equation (or a set of equations) for the variable x.
NSolve[ <Equation>, <Variable> ]
Finds a numeric solution to an equation (or a set of equations) for a given unknown variable (or set of variables).
Example:  
  • NSolve[sin(x) = x] gives you {x = 0}.
  • NSolve[a^4+34a^3-34, a] gives you {a = 0.99}.
Note: See also Solve Command.
© 2024 International GeoGebra Institute