ALGEBRA: 2-D & 3-D figures

Introduction:  2-D figures: Calculates Area & Parimeter for; Square, Rectangle, Circle, Triangle, Parallelogram, Trapezoid 3-D figures: Calculates Volume & Surface Area for; Box, Cylinder, Sphere, Cone, Pyramid, Doughnut.
  Note: This program is in TI-BASIC and can be entered into the calculator by the calculator keyboard. Do not enter the outline, line numbers or comments, they are for reference only. The program has been checked and tested. This program Figures was written by [Kurt Ostrom] and modified by (navyfalcon) e-mail

 
SquareRectangleCircleTriangleParallelogramTrapezoid     Figure
 A = S² A = LW A = πR² A = 1/2(bh) A = bh  A = ((a+b)h)/2   Area
 P = 4S P = 2(l+w) C = 2πR P = B+C+D P = 2(a+b)     Perimeter
 
BoxCylinderSphereConePyramidTorus Figure
V = L*W*H V = A*B*H/3 V = 4/3*π*R³ V = π*R²*H V = S²*H/3V = 2*π²*R*r² Volume
S = 2(LH+HW+WL) S = 2πR(R+H)  S = 4πR² S = 2πR(R+H)  S = W√[h²+(L/2)²]+ L√[h²+(W/2²]+WLS = 4*π²*R*r Surface Area

 
Outline:
Note:  In the Outline, click on the figure type to take you to that portion of the program (such as "square" or "box")
Line Number - Type of Figure
  Line 1. Clear
  Line 3 - 12. Preparation
  Line 13. Lbl A_Menu_2-D
  Line 20. Lbl D - Square
  Line 38. Lbl E - Rectangle
  Line 57. Lbl F - Circle
  Line 70. Lbl G - Triangle
  Line 86. Lbl H - Parallelogram
  Line 101. Lbl I - Trapezoid
    Reference Commands
    Reference Screenshots
    Reference Links
Line Number - Type of Figure
  Line 119. Lbl C_Menu_3-D
  Line 122. Lbl P - Box
  Line 136. Lbl Q - Cylinder
  Line 148. Lbl R - Sphere
  Line 158. Lbl S - Cone
  Line 170. Lbl T - Pyramid
  Line 184. Lbl U - Doughnut
  Line 196. Lbl V - Prism

FIGURE

Line Command or Statement  Comments
   1. ClrHome  Clear Screen
   2. Float  
   3. "SIDE = ->Str1 SIDE
   4. "LENGTH = ->Str2 LENGTH
   5. "WIDTH = ->Str3 WIDTH
   6. "RADIUS = ->Str4 RADIUS
   7. "BASE = ->Str5 BASE
   8. "HEIGHT = ->Str6 HEIGHT
   9. "PERIM. ->Str7 PERIMETER
 10. "AREA ->Str8 AREA
 11. "VOL. ->Str9 VOLUME
 12. "SURF. ->Str0 SURFACE AREA
 13. Lbl A Menu
 14. ClrHome: Clear Screen
 15. Menu("FIGURE-","2-D",B,"3-D",C,"EXIT",Z) 
 16. ClrHome Clear Screen
 17. Lbl B 2-D
 18. Menu("FIGURE-2D","SQUARE",D,"RECTANGLE",E,"CIRCLE",F, "TRIANGLE",G,"PARALLEL.",H,"TRAP.",I,"BACK",A) Menu 2-D
 19. ClrHome Clear Screen
 20. Lbl D SQUARE
 21. Disp "SQUARE-"+Str7 SQUARE  PERIMETER
 22. Disp "P=S4" P=S4
 23. Input Str1,S SIDE
 24. S4->P P = 4S [PERIMETER]
 25. Disp P 
 26. Disp "SQUARE-"+Str8 SQUARE AREA
 27. Disp " A=S² 
 28. S²->A A = S² [AREA]
 29. Disp A 
 30. Pause 
 31. ClrHome Clear Screen
 32. Disp "SQUARE-"+"DIAG. SQUARE DIAGNOL
 33. Disp "D=S√(2) 
 34. S√(2)->D D = S√(2) [DIAGONAL]
 35. Disp D 
 36. Pause  
 37. Goto A Main Menu
 38. Lbl E RECTANGLE
 39. Disp "RECT.-"+Str7 
 40. Disp "P=2(L+W) P=2(L+W)
 41. Input Str2,L LENGTH
 42. Input Str3,W WIDTH
 43. 2(L+W)->P P = 2(L+W) [PERIMETER]
 44. Disp P 
 45. Pause 
 46. ClrHome Clear Screen
 47. Disp "RECT.-"+Str8 
 48. Disp "A=LW 
 49. LW->A A = LW [AREA]
 50. Disp A 
 51. Disp "RECT.-"+"DIAG. 
 52. Disp"D= √(L²+W²) 
 53. √(L²+W²)->D D = √(L² + W²) [DIAGONAL]
 54. Disp D 
 55. Pause 
 56. Goto A Maim Menu
 57. Lbl F CIRCLE
 58. Disp "CIRCLE-CIRCUM." 
 59. Disp "C=2πR 
 60. Input Str4,R RADIUS
 61. 2πR->C  C = 2πR [CIRCUMFERENCE]
 62. Disp C 
 63. Disp "CIRCLE-"+Str8 
 64. Disp "A=πR² 
 65. πR²->A A = πR² [AREA]
 66. Lbl Y Disp A
 67. Disp A 
 68. Pause 
 69. Goto A Main Menu
 70. Lbl G TRIANGLE
 71. Disp "TRIANGLE-"+Str7 TRIANGLE PERIM.
 72. Input "SIDE A=",A SIDE A
 73. Input "SIDE B=",B SIDE B
 74. Input "SIDE C=",C SIDE C
 75. Disp " P=A+B+C P=A+B+C
 76. A+B+C->P P = A+B+C [PERIMETER]
 77. Disp ,P 
 78. Pause 
 79. ClrHome Clear Screen
 80. Disp "TRIANGLE-"+Str8 TRIANGLE AREA
 81. Disp "A=.5(BH) 
 82. Input Str5,B BASE
 83. Input Str6,H HEIGHT
 84. .5*(B*H)->A A = 1/2 BH [AREA]
 85. Goto Y Disp A
 86. Lbl H PARALLELOGRAM
 87. Disp "PARALLEL.-"+Str7 
 88. Disp "P=2(A+B) 
 89. Input "SIDE A=",A SIDE A
 90. Input "SIDE B=",B SIDE B
 91. 2(A+B)->P P = 2(A+B) [PERIMETER]
 92. Disp P 
 93. Pause 
 94. ClrHome Clear Screen
 95. Disp "PARALLEL.-"+Str8 
 96. Disp "A=BH 
 97. Input Str5,B BASE
 98. Input Str6,H HEIGHT
 99. BH->A A = BH [AREA]
100. Goto Y Disp A
101. Lbl I TRAPEZOID
102. Disp "TRAP."+Str7 
103. Disp "P=A+B+C+D 
104. Input "SIDE A=",A SIDE A
105. Input "SIDE B=",B SIDE B
106. Input "TOP C=",C TOP
107. Input "BASE D=",D BASE
108. A+B+C+D->P P =A+B+C+D [PERIMETER]
109. Disp P 
110. Pause 
111. ClrHome Clear Screen
112. Disp "TRAP."+Str8 
113. Disp "A=((B1+B2)H)/2 
114. Input "BASE 1",B BASE 1
115. Input "BASE 2",C BASE 2
116. Input Str6,H HEIGHT
117. ((B+C)*H)/2->A A = ((B1+B2)H)/2 [AREA]
118. Goto Y 
119. Lbl C 3-D
120. Menu("FIGURE-3D","BOX",P,"CYLINDER",Q,"SPHERE",R, "CONE",S,"PYRAMID",T,"DOUGHNUT",U,"PRISM",V) 
121. ClrHome Clear Screen
122. Lbl P BOX
123. Disp "BOX-"+Str9 VOLUME
124. Disp " V=LWH 
125. Input Str2,L LENGTH
126. Input Str3,W WIDTH
127. Input Str6,H HEIGHT
128. LWH->V V = LWH [VOLUME]
129. Disp V 
130. Pause 
131. ClrHome Clear Screen
132. Disp "BOX-"+Str0 SURFACE AREA
133. Disp "A=2(LW+WH+LH)
134. 2(LW+WH+LH)->A A = 2(LW+WH+LH) [SURFACE]
135. Goto Y 
136. Lbl Q CYLINDER
137. Disp "CYLINDER-"+Str9 VOLUME
138. Disp " V = πR²H 
139. Input Str4,R  RADIUS
140. Input Str6,H HEIGHT
141. πR²H->V V = πR²H [VOLUME]
142. Disp V 
143. Pause 
144. Disp "CYLINDER-"+Str0 SURFACE AREA
145. Disp " A = 2πR(R+H) 
146. 2πR(R+H)->A A = 2πR(R+H) [SURFACE]
147. Goto Y 
148. Lbl R SPHERE
149. Disp "SPHERE-"+Str9 VOLUME
150. Disp " V = 4/3πR³ V = 4/3πR³
151. Input Str4,R RADIUS
152. 4/3*π*(R³)->V V = 4/3πR³ [VOLUME]
153. Disp V 
154. Disp "SPHERE-"+Str0 SURFACE AREA
155. Disp " A = 4πR² A = 4πR²
156. 4*π*(R²)->A A = 4*π*(R²) [SURFACE]
157. Goto Y 
158. Lbl S  Cone
159. Disp "CONE-"+Str9 VOLUME
160. Disp " V = (πR²H)/3 V = (πR²H)/3
161. Input Str4,R  RADIUS
162. Input Str6,H HEIGHT
163. (πR²H)/3->V V = (πR²H)/3 [VOLUME]
164. Disp V 
165. Pause 
166. Disp "CONE-"+Str0 SURFACE AREA
167. Disp " A = (πR(R+H) V = (πR²H)/3
168. πR(R+L)->A A = πR(R+L) [SURFACE]
169. Goto Y 
170. Lbl T 
171. Disp "PYRAMID-"+Str9 VOLUME
172. Disp " V = (LWH)/3 V = (LWH)/3
173. Input Str2,L  LENGTH
174. Input Str3,W  WIDTH
175. Input Str6,H HEIGHT
176. (LWH)/3->V 
177. Disp V 
178. Pause 
179. ClrHome Clear Screen
180. Disp "PYRAMID-"+Str0 SURFACE AREA
181. Disp " A = W√(H²+(L/2)²)","+L√(H²+(W/2)²)","+WL A = W√(H²+(L/2)²)","+L√(H²+(W/2)²)","+WL
182. W√(H²+(L/2)²)","+L√(H²+(W/2)²)","+WL->A 
183. Goto Y 
184. Lbl U Toroid (or Doughnut)
185. Disp "DOUGHNUT-"+Str9 
186. Disp " V = 2π²LR² V = 2π²LR²
187. Input "LITTLE R=",R 
188. Input "BIG R=",L 
189. 2π²LR²->V V = 2π²Rr² [VOLUME]
190. Disp V 
191. Pause 
192. Disp "DOUGHNUT-"+Str0 
193. Disp " A = 4π²LR A = 4π²LR
194. 4π²LR->A A = 4π²LR [SURFACE]
195. Goto Y 
196. Lbl V 
197. Disp "PRISM-"+Str9 
198. Disp " V = .5 (BHL) V = .5 (BHL)
199. Input Str5,B BASE
200. Input Str6,H HEIGHT
201. Input Str2,L LENGTH
202. .5(BHL)->V 
203. Disp V VOLUME
204. Pause 
205. Goto A 
206. Lbl Z 
207. ClrHome 
 
Reference Commands:
TI Basic Commands:
  ClrHome   clears home screen
  dim(   returns the dimension (number of elements) of list
  Disp   displays text or value specified
  expr(   converts string to an expression
  Fix   sets fixed-decimal mode for number of decimal places
  Float   sets floating decimal mode. Displays decimal with no trailing zeros
  Goto   goes to label specified. Goto requires a line label be implemented as a destination
  Input   prompts for value to store to variable. Requires user input through keypad.
  Lbl   creates a label of one or two characters
  Menu   generates a menu of up t   o seven items
  Output(row, column)   displays text or value beginning at specified row and column
  Str# (# is number)   String: A sequence of characters is called a string
  sum(   returns the sum of elements in list

  
TI - Basic Optimization:
TI-Basic Developer - Optimization
    A dictionary would define optimization as the process of making something better. In the field of TI calculator programming, it refers to improving code to use less memory, whether as program size or in the size of variables used, or to run faster.
General Optimizations:
  # You can remove closing parentheses, braces, and quotes at the end of a line of code.
  # You can also remove closing parentheses, braces, brackets, and quotes that are before a store command.
  # Keep your label and list names as short as possible. You ideally want them to be one character in length.
  # When displaying text, always look for words that can be replaced with the respective command.
  
TI-Basic Tips, Tricks and Optimizations
  # Leave off ending quotes and parentheses. At the end of every line in a TI-BASIC program, the calculator does not care if you leave off your ending quote or your parenthesis.
  # Simplify Equations. A smaller, more simplified equation usually can run faster and be smaller in size.
  
Reference: Screenshots
TI-83 Screenshots
  
ti-83ti-83ti-83ti-83
 
ti-83ti-83ti-83ti-83
  
Reference Links:
mathematical references and formulas
  
Geometry: Shapes and Solids
Pictures of Geometry Shapes & Solids with formulas
  http://www.ecalc.com/math-help/worksheet/geometry/
mathematical references and formulas
Engineering & Mathematics Resources including Plane & Soild Geometry Figures & Formulas
  http://www.rfcafe.com/references/mathematical.htm
UnitMath Example: Geometric Solids
Geometric Solids; Diagrams, Formulas and Examples
  http://unitmath.com/um/p/Examples/GeometricSolids/GeometricSolids.html
Formulas 1 to 36 Geometry
Formulas & Diagrams
  http://www.premiumorange.com/daniel.robert9/anglais/Formulaires_mathematiques.html
Math Open Reference
Plane Geometry - Solid Geometry
  http://www.mathopenref.com/index.html
Using the TI-83/83 Calculator - Trigonometry Formulas for Area of Triangle and Area of Parallelogram
  http://mathbits.com/Mathbits/TISection/Trig/AreaTrigTri.htm
TI BASIC Commands - List of TI-BASIC Commands
  http://tibasic.wikia.com/wiki/List_of_TI-BASIC_Commands
Index TI Basic Commands - List of TI-Basic Commands
  http://tibasicdev.wikidot.com/command-index
TI BASIC Programming - TI-83 PLUS BASIC PROGRAMMING TUTORIAL
  http://www.ticalc.org/programming/columns/83plus-bas/cherny/
TI-83 BASIC MATH PROGRAMS (ALGEBRA) - Click a filename to download that file
  http://www.ticalc.org/pub/83/basic/math/algebra/
  
  Total Surface Area of a Pyramid
The total surface area of a pyramid is the sum of the areas of its faces including its base
  Pyramid Calculator
Here you can calculate the area and perimeter of Pyramid
  Surface Area and Volume
determine the surface area and volume of three-dimensional objects
Analyze Math Pyramid Problems
  http://www.analyzemath.com/Geometry/pyramid_problems.html
  
TI-83/84 Help Forums
TI-Calculator Help Forums
  TI Forum - Community / How Can We Help You?
If you tried searching the site, and didn't get any relevant results or find what you were looking for, please leave a post here with what you were searching for and somebody will try to help you.
tibasicdev.wikidot.com/forum
  United TI Forums - TI Basic
TI-Basic - Use this forum to post questions and discuss the TI-BASIC programming language.
http://www.unitedti.org/index.php?showforum=4
  devhardware.com/forums/ti-83-84
Programming forum discussing coding and everything related to the well-known TI-83/83+/84/84+ graphing calculators for math and science.
http://www.devhardware.com/forums/ti-83-84-102/


left picture from AnVisionWebTemplates.com
FREE TUTORIALS © copyright 2000-2010 @ Cadet Career Counseling all rights reserved
"Cadet Career Counseling" helping cadets make exceptional students.
Contact Webmaster at:(navyfalcon) e-mail