- Haulwind - Contributor's Thread
- 04 Oct 2011 03:28:34 pm
- Last edited by Haulwind on 07 Oct 2011 07:33:22 pm; edited 6 times in total
Hello everyone,
Please use this thread to comment on the following three programs, submitted by Jonathan L. Moscovici.
If you wish your improvements to be published along with your name, please let me know.
Optionally, you can show your own code on this thread as well; however, please specify IF you want Haulwind to publish it in its network AND whether improvements made in this thread should be included.
All the best,
ilia
Haulwind Team member
=============================================
Here we present a program to convert quadratic expression in canonical
form. A(x – H)2 + K to general form Ax2 + Bx + C. Program for TI-83 calculator By Jonathan L. Moscovici.
Code:
=============================================
Here we present a program to compute the area of a triangle using the
coordinates of its vertices A, B and C. Program for TI-83 calculator By Jonathan L. Moscovici. Using material from Kimberling, C. "Triangle Centers and Central Triangles." Congr. Numer. 129, 1-295, 1998.
Code:
=============================================
Here we present a program to solve the system:
Ax + By = C, Dx + Ey = F. Program for TI-83 calculator By Jonathan L. Moscovici.
Using material from Weisstein, Eric W. "Cramer's Rule." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/CramersRule.html
Code:
=============================================
Please use this thread to comment on the following three programs, submitted by Jonathan L. Moscovici.
If you wish your improvements to be published along with your name, please let me know.
Optionally, you can show your own code on this thread as well; however, please specify IF you want Haulwind to publish it in its network AND whether improvements made in this thread should be included.
All the best,
ilia
Haulwind Team member
=============================================
Here we present a program to convert quadratic expression in canonical
form. A(x – H)2 + K to general form Ax2 + Bx + C. Program for TI-83 calculator By Jonathan L. Moscovici.
Code:
Disp “Canonical To General“
Disp “A(X – H)2 + K“
Prompt A, H, K
A →A
(-2(AH) ) →B
(((A)H2) + K) →C
Disp “General Form“
Disp “AX2 + BX + C“
Disp “A“ , A ►Frac
Disp “B“ , B ►Frac
Disp “C“ , C ►Frac
Pause
=============================================
Here we present a program to compute the area of a triangle using the
coordinates of its vertices A, B and C. Program for TI-83 calculator By Jonathan L. Moscovici. Using material from Kimberling, C. "Triangle Centers and Central Triangles." Congr. Numer. 129, 1-295, 1998.
Code:
ClrHome
Disp "Area Of A Triangle“
Input “A:X:“ ,A
Input “A:Y:” ,B
Input “B:X:“ ,C
Input “B:Y:“ ,D
Input “C:X:“ ,E
Input “C:Y:“ ,F
( √( (C – A)2 + (D – B)2 ) ) →H
( √( (E – C)2 + (F – D)2 ) ) →I
( √( (E – A)2 + (F – B)2 ) ) →G
( (G + H + I) / (2) ) →S
( √( (S) * (S – G) * (S – H) * (S – I) ) ) →J
Disp “AREA:“ , J
Pause
=============================================
Here we present a program to solve the system:
Ax + By = C, Dx + Ey = F. Program for TI-83 calculator By Jonathan L. Moscovici.
Using material from Weisstein, Eric W. "Cramer's Rule." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/CramersRule.html
Code:
ClrHome
Disp "Solve"
Disp "AX + BY = C"
Disp "DX + EY = F“
Input “A:“ , A
Input “B:“ , B
Input “C:“ , C
Input “D:“ , D
Input “E:“ , E
Input “F:“ , F
( ( (BF)-(CE) ) / ( (BD)-(AE) ) ) → X
( ( (CD)-(AF) ) / ( (BD)-(AE) ) ) → Y
Disp “X:“ , X ►Frac
Disp “Y:“ , Y ►Frac
Pause
=============================================