Login

Welcome, Guest. Please login or register.

May 05, 2024, 06:32:04 am

Author Topic: When do we use the "n" of nInt or nSolve?  (Read 1220 times)  Share 

0 Members and 1 Guest are viewing this topic.

dekoyl

  • Victorian
  • ATAR Notes Superstar
  • ******
  • Posts: 2153
  • Respect: +18
When do we use the "n" of nInt or nSolve?
« on: September 18, 2009, 01:47:07 am »
0
On the CAS calculator, it offers "n" versions of the integral and solve: nInt and nSolve. When do we use the "n" version as opposed to the normal ones?

Thanks.

Mao

  • CH41RMN
  • Honorary Moderator
  • Great Wonder of ATAR Notes
  • *******
  • Posts: 9181
  • Respect: +390
  • School: Kambrya College
  • School Grad Year: 2008
Re: When do we use the "n" of nInt or nSolve?
« Reply #1 on: September 18, 2009, 07:58:32 am »
0
'Solve(expr=expr,var)' is an algebraic method.
'Int(expr,var,x0,x1)' is an algebraic method.
'd(expr,var,x0)' is an algebraic method.
'nSolve(expr=expr,var)' is a numerical method
'nInt(expr,var,x0,x1)' is a numerical method
'nDeriv(expr,var,x0)' is a numerical method

With complicated expressions, algebraic methods can often take a long time, since the algebra can get very very complex, or there is simply no elementary solutions (where algebra simply cannot solve it).
Luckily, questions with complicated expressions usually require a numerical answer. Numerical methods are a lot more processor-friendly compared to intensive algebra, since they use simple calculations, and no algebra.

With simple expressions, the algebraic methods are preferred as they give exact answers, not numerical approximations.
« Last Edit: September 18, 2009, 08:04:39 am by Mao »
Editor for ATARNotes Chemistry study guides.

VCE 2008 | Monash BSc (Chem., Appl. Math.) 2009-2011 | UoM BScHon (Chem.) 2012 | UoM PhD (Chem.) 2013-2015

Gloamglozer

  • The Walking VTAC Guide
  • Honorary Moderator
  • ATAR Notes Legend
  • *******
  • Posts: 4170
  • Here to listen and help
  • Respect: +324
Re: When do we use the "n" of nInt or nSolve?
« Reply #2 on: September 18, 2009, 08:43:07 pm »
0
'Solve(expr=expr,var)' is an algebraic method.
'Int(expr,var,x0,x1)' is an algebraic method.
'd(expr,var,x0)' is an algebraic method.
'nSolve(expr=expr,var)' is a numerical method
'nInt(expr,var,x0,x1)' is a numerical method
'nDeriv(expr,var,x0)' is a numerical method

With complicated expressions, algebraic methods can often take a long time, since the algebra can get very very complex, or there is simply no elementary solutions (where algebra simply cannot solve it).
Luckily, questions with complicated expressions usually require a numerical answer. Numerical methods are a lot more processor-friendly compared to intensive algebra, since they use simple calculations, and no algebra.

With simple expressions, the algebraic methods are preferred as they give exact answers, not numerical approximations.

Mao, so you're saying that by using the "n", it can avoid the massive lag in CAS calculators?  Cos my TI-89 can get really annoying.

Bachelor of Science (Mathematics & Statistics) - Discrete Mathematics & Operations Research

Mao

  • CH41RMN
  • Honorary Moderator
  • Great Wonder of ATAR Notes
  • *******
  • Posts: 9181
  • Respect: +390
  • School: Kambrya College
  • School Grad Year: 2008
Re: When do we use the "n" of nInt or nSolve?
« Reply #3 on: September 19, 2009, 12:15:04 am »
0
that is correct, but of course conditions apply, that is only true in some cases.
Editor for ATARNotes Chemistry study guides.

VCE 2008 | Monash BSc (Chem., Appl. Math.) 2009-2011 | UoM BScHon (Chem.) 2012 | UoM PhD (Chem.) 2013-2015