Post Reply 
(15C) Quadratic Equation
06-29-2018, 12:20 PM (This post was last modified: 06-29-2018 01:39 PM by Gamo.)
Post: #1
(15C) Quadratic Equation
This program calculate Quadratic Equation of aX^2 + bX + c = 0

Answer can be both Real and Complex integer.

Procedure: a [ENTER] b [ENTER] c
f [A] --> 1st Answer [X<>Y] --> 2nd Answer

If answer is Complex the display will show small letter (c) on screen with the Integer part shown.
To see the complex part press and hold f (i) this will give you positive and negative complex answer.

To disable (c) --> g [CF] 8

-------------------------------------------------------------------------------------

Example 1: 2X^2 + 2X - 50 = 0

2 [ENTER] 2 [ENTER] 50 [CHS] f [A]

Answer: -5.5249 [X<>Y] 4.5249

---------------------------------------------------------------------------------

Example 2: 5X^2 - 10X - 800 = 0

5 [ENTER] 10 [CHS] [ENTER] 800 [CHS] f [A]

Answer: 13.6886 [X<>Y] -11.6886

--------------------------------------------------------------------------------

Example 3: -3x^2 - 2x - 1 = 0

3 [CHS] [ENTER] 2 [CHS] [ENTER] 1 [CHS] f [A]

Answer is Complex: -0.3333 small (c) shown on display press and hold f [ (i) ] -0.4714

Final answer is -0.3333 ± 0.4714

------------------------------------------------------------------------------

Program: Quadratic Equation

Code:

LBL A
CF8
X<>Y
2
CHS
÷
CF0
X<0 (TEST 2)
SF0
STO I
X^2
R↓
x
LSTx
X<>Y
R↑
-
CHS
X≥0 (TEST 3)
GTO 1
CHS
√x
R↑
÷
ENTER
CHS
RCL I
LSTx
÷
X<>Y
f I
ENTER
R↑
f I
RTN
----------------------------------------------------------------------
LBL 1
√x
F0
CHS
RCL+ I
X=0
RTN
÷
LSTx
R↑
÷
RTN

Gamo
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(15C) Quadratic Equation - Gamo - 06-29-2018 12:20 PM
RE: (15C) Quadratic Equation - C.Ret - 07-30-2021, 03:46 PM



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