08-23-2015, 12:43 AM
Post: #12
 Gerson W. Barbosa Senior Member Posts: 1,608 Joined: Dec 2013
RE: root of a quadratic equation
(08-22-2015 11:06 PM)Hlib Wrote:
(08-22-2015 07:28 PM)Gerson W. Barbosa Wrote:  Well, for this example PROOT will give ugly approximations:

1
'-√2-√3'
'√6'

« { 3 } →ARRY PROOT OBJ→ DROP
»

EVAL

-->

1.41421356237
1.73205080757

For exact results, in exact mode I would prefer something like

« ROT NEG SWAP OVER
/ UNROT / 2 / SWAP
OVER SQ + √ DUP2 -
FACTOR UNROT +
FACTOR
»

-->

'√2'
'√3'

Cheers,

Gerson.

The simple way to obtain result:
'x²+(-√2-√3)*x+√6=0'
SOLVEVX
SIMPLIFY
=>>
{x=√2 x=√3}

Well, live and learn!
 « Next Oldest | Next Newest »

 Messages In This Thread root of a quadratic equation - tigger - 08-22-2015, 09:41 AM RE: root of a quadratic equation - Thomas Klemm - 08-22-2015, 12:03 PM RE: root of a quadratic equation - Gerson W. Barbosa - 08-22-2015, 07:28 PM RE: root of a quadratic equation - Hlib - 08-22-2015, 11:06 PM RE: root of a quadratic equation - Gerson W. Barbosa - 08-23-2015 12:43 AM RE: root of a quadratic equation - tigger - 08-22-2015, 05:17 PM RE: root of a quadratic equation - Hlib - 08-22-2015, 06:55 PM RE: root of a quadratic equation - Thomas Klemm - 08-22-2015, 07:01 PM RE: root of a quadratic equation - Gerson W. Barbosa - 08-22-2015, 07:33 PM RE: root of a quadratic equation - Thomas Klemm - 08-22-2015, 07:35 PM RE: root of a quadratic equation - Gerson W. Barbosa - 08-22-2015, 08:07 PM RE: root of a quadratic equation - Thomas Klemm - 08-22-2015, 08:18 PM

User(s) browsing this thread: 1 Guest(s)