KEMBAR78
Calculator Program New PDF | PDF | Trigonometric Functions | Triangle
0% found this document useful (0 votes)
219 views8 pages

Calculator Program New PDF

1. The document describes four programs for a Casio graphing calculator. 2. Program 1 uses the quadratic formula to find the vertex, discriminant, and roots of a quadratic function. Program 2 solves systems of simultaneous linear and quadratic equations. 3. Program 3 uses the cosine formula to find the angles and area of a triangle given three sides or two sides and the included angle. 4. Program 4 factors cubic polynomials using the factor theorem to find factors of the form x-a.

Uploaded by

Kwong David
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
219 views8 pages

Calculator Program New PDF

1. The document describes four programs for a Casio graphing calculator. 2. Program 1 uses the quadratic formula to find the vertex, discriminant, and roots of a quadratic function. Program 2 solves systems of simultaneous linear and quadratic equations. 3. Program 3 uses the cosine formula to find the angles and area of a triangle given three sides or two sides and the included angle. 4. Program 4 factors cubic polynomials using the factor theorem to find factors of the form x-a.

Uploaded by

Kwong David
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

CASIO fx-50FH II / fx-3650P II

Button Display
Mode + Mode SD REG PRGM
6 EDIT RUN DEL
1 EDIT Program P-1234 XXX
1/2/3/4 MODE: COMP CMPLX

1 2
1 (Enter the corresponding programs)
Special Keys
SHIFT 3 + 1 ?
SHIFT 3 + 2 →
EXE :
ALPHA + ( – ) …… + sin A …… D
ALPHA + ) …… M+ X …… M
SHIFT 3 + 4 ◢
a b/c ┘
SHIFT 3 + RIGHT + 1 =>
SHIFT 3 + RIGHT + RIGHT + RIGHT + 1 Goto
SHIFT 3 + RIGHT + RIGHT + 2 Lbl
SHIFT 3 + RIGHT + RIGHT + RIGHT + RIGHT + 1 While
SHIFT 3 + RIGHT + RIGHT + RIGHT + RIGHT + 2 WhileEnd
SHIFT 9 + 1 ClrMemory
SHIFT EXP π
R
SHIFT Ans + 2

1
Program 1: Quadratic Formula

49 bytes (fx-3650P) / 54 bytes (fx-50FH II)


1 ? → A : ? → B : ? → C : -B ÷ (2A) → M ◢
2 C – AM2 ◢ -4A Ans → C ◢
3 M + √(Ans) ÷ (2A) → A ◢
4 2M – Ans → B
Given a function: y = ax 2 + bx + c , find the coordinates of vertex, the discriminant and the roots
Input: 1st: a 2nd: b 3rd: c
Display:
1st: x-coordinate of vertex
2nd: y-coordinate of vertex
3rd: discriminant ( ∆ = b 2 − 4ac )
4th: 1st root (1st x-intercept)
5th: 2nd root (2nd x-intercept)
Example:
Given a Quadratic Function: y = x 2 + 3 x − 4
[Prog] [1]
[1] [EXE] [3] [EXE] [ −4 ] [EXE]
1st Display: −1.5 (x-coordinates of vertex)
[EXE]
2nd Display: −6.25 (y-coordinates of vertex)
[EXE]
3rd Display: 25 (discriminant)
[EXE]
4th Display: 1 (root)
[EXE]
5th Display: −4 (root)

2
Program 2: Simultaneous Equations
151 bytes (fx-3650P) / 150 bytes (fx-50FH II)
1 ?→D:?→X:?→Y:?→C:?→B:?→A:
2 CX2 – DXB + AD2 → C : ? → M : 2YAD – MX2 – BXY → M :
3 ? → B : DXB M+ : AY2 + XYB → A : ? → B : A – BX2 → A :
4 C => Goto 1 : A ┘M : Goto 2 : Lbl 1 :
5 ( √( M2 – 4AC ) + M ) ┘(2C → A ◢ ( Y – DA ) ┘X ◢
6 M ┘C – A : Lbl 2 : Ans ◢ ( Y – D Ans ) ┘X
Given a system of simultaneous equations, find the solutions.
Case 1: One Linear Equation and One Quadratic Equation, i.e.
 Px + Qy = R
 2 2
 Ax + Bxy + Cx + Dx + Ey = F
Input:
1st: P 2nd: Q 3rd: R 4th: A 5th: B 6th: C 7th: D 8th: E 9th: F
Display:
1st: x1
2nd: y1
(The first set of solution is ( x1 , y1 ) )
3rd: x2
4th: y2
(The second set of solution is ( x2 , y2 ) )
Example:
x + 2y = 5
Solve  2 2
.
 x + 2 xy + y + 3 x + 4 y = 20
[Prog] [2]
[1] [EXE] [2] [EXE] [5] [EXE] [1] [EXE] [2] [EXE] [1] [EXE] [3] [EXE] [4] [EXE] [20] [EXE]
1st Display : 1
[EXE]
2nd Display : 2 (The first set of solution is x = 1 and y = 2 )
[EXE]
3rd Display: −15
[EXE]
4th Display: 10 (The second set of solution is x = −15 and y = 10 )

3
Case 2: Two Linear Equations, i.e.
 Ax + By = C

 Dx + Ey = F
Input:
1st: A 2nd: B 3rd: C 4th: D 5th: E 6th: F
Display:
1st: x1
2nd: y1
(The set of solution is ( x1 , y1 ) )
Example:
3 x + 4 y = 10
Solve  .
 x + 3y = 5
[Prog] [2]
[3] [EXE] [4] [EXE] [10] [EXE] [0] EXE] [0] [EXE] [0] [EXE] [1] [EXE] [3] [EXE] [5] [EXE]
1st Display : 2
[EXE]
2nd Display : 1 (The set of solution is x = 2 and y = 1 )

4
Program 3: Cosine Formula
93 bytes
1 ClrMemory : ? → A : ? → B : ? → C : ? → D :
2 D => √( B2 + C2 – 2BC cos D → A ◢
3 D = 0 => cos-1 (( B2 + C2 – A2 ) ÷ (2BC) → D ◢
4 cos-1 (( C2 + A2 – B2 ) ÷ (2CA) ◢
5 πr – D – Ans ◢ 2 BC sin D
-1

Case 1: Given 3 sides of a triangle, find the 3 angles and the area of the triangle
A b2 + c 2 − a 2 a 2 + c2 − b2 a2 + b2 − c2
cos ∠A = , cos ∠B = , cos ∠C = ,
2bc 2ac 2ab
b a+b+c
c
Area of ∆ABC = s ( s − a )( s − b)( s − c) , where s =
2

B C
a

Input: 1st: a 2nd: b 3rd: c 4th: 0 (the input ‘0’ is indicating that 3 sides are given)
Display: 1st: ∠A 2nd: ∠B 3rd: ∠C 4th: Area of ∆ABC
Example:
A

9
10

B C
8

Find ∠A , ∠B , ∠C and the area of ∆ABC .


[Prog] [3]
[8] [EXE] [9] [EXE] [10] [EXE] [0] [EXE]
1st Display: 49.458 ( ∠A = 49.458 )
[EXE]
2nd Display: 58.752 ( ∠B = 58.752 )
[EXE]
3rd Display: 71.790 ( ∠C = 71.790 )
[EXE]
4th Display: 34.197 ( Area of ∆ABC = 34.197 )

5
Case 2:
Given 2 sides and the included angle of a triangle, find the 3rd side, the remaining angles and the area of
the triangle.
A BC 2 = b 2 + c 2 − 2bc cos ∠A
sin ∠A sin ∠B sin ∠C
= =
BC b c
b
c 1
Area of ∆ABC = bc sin ∠A
2

B C
Input:
1st: 0 (the input ‘0’ is indicating that one side is NOT given)
2nd: b 3rd: c 4th: ∠A
Display:
1st: BC 2nd: ∠B 3rd: ∠C 4th: Area of ∆ABC
Example:

50o
6 4

B C

Find BC, ∠B , ∠C and the area of ∆ABC .


[Prog] [3]
[0] [EXE] [4] [EXE] [6] [EXE] [50] [EXE]
1st Display: 4.598 ( BC = 4.598 )
[EXE]
2nd Display: 41.785 ( ∠B = 41.785 )
[EXE]
3rd Display: 88.215 ( ∠C = 88.215 )
[EXE]
4th Display: 9.193 ( Area of ∆ABC = 9.193 )

6
Program 4: Factor Theorem

?→A: ?→B: ?→C: ?→D: 1: While Ans:

?→X: AX3 + BX2 + CX + D ◢ WhileEnd:


A ◢ B + XAns→B◢ C + XAns→C
Given a cubic polynomial f ( x) = ax3 + bx 2 + cx + d
Input:
1st: a 2nd: b 3rd: c 4th: d
5th: x1 ; Display 1: f ( x1 )
6th: x2 ; Display 2: f ( x2 )
……
until ( n + 4)th : xn ; Display n: 0
Display n + 1 : p
Display n + 2 : q
Display n + 3 : r

Then f ( x ) = ( x − xn )( px 2 + qx + r )

Example 1
Factorize f ( x) = x3 + 5 x 2 − 2 x − 24 completely.
[Prog] [3]
[1] [EXE] [5] [EXE] [ −2 ] [EXE] [ −24 ] [EXE]
[1] [EXE]
1st Display: −20 [EXE]
[ −1 ] [EXE]
2nd Display: −18 [EXE]
[2] [EXE]
3rd Display: 0 [EXE]
4th Display: 1[EXE]
5th Display: 7[EXE]
6th Display: 12
i.e. f (1) = −20 , x − 1 is not a factor of f ( x)
f ( −1) = −18 , x + 1 is not a factor of f ( x)
f (2) = 0 , x − 2 is a factor of f ( x)
Hence, f ( x) = x 3 + 5 x 2 − 2 x − 24 = ( x − 2)( x 2 + 7 x + 12) = ( x − 2)( x + 3)( x + 4)

7
(Note: You have to factorize the quadratic polynomial by cross method if it is still factorizable)
Example 2
Factorize f ( x) = 75 x3 + 25 x 2 − 3 x − 1 completely.
[Prog] [3]
[75] [EXE] [25] [EXE] [ −3 ] [EXE] [ −1 ] [EXE]
[1] [EXE]
1st Display: 96[EXE]
[ −1 ] [EXE]
2nd Display: −48 [EXE]
[ 1/ 3 ] [EXE]
3rd Display: 3 / 5 / 9 [EXE]
[ −1/ 3 ] [EXE]
4th Display: 0 [EXE]
5th Display: 75 [EXE]
6th Display: 0 [EXE]
7th Display: −3 [EXE]
i.e. f (1) = 96 , x − 1 is not a factor of f ( x)
f ( −1) = −48 , x + 1 is not a factor of f ( x)
1 5
f ( ) = 3 , 3x − 1 is not a factor of f ( x)
3 9
1
f ( − ) = 0 , 3x + 1 is a factor of f ( x )
3
1 1
Hence, f ( x) = ( x + )(75 x 2 − 3) = 3( x + )(25 x 2 − 1) = (3 x + 1)(5 x + 1)(5 x − 1)
3 3

You might also like