19990401Example 1 To calculate the surface area (cm 2) and volume (cm3) of three regularoctahedrons when the length of one side is 7, 10, and 15 cmStore the calculation formula under the file name OCTA.AThe following are the formulas used for calculating surface area Sand volume V of a regular octahedron for which the length of one sideA is known.Procedure1 m PRGM2 3(NEW)OCTAw*13 !J(PRGM)3(?)aav(A)6(g)6(g)3(:)*2c*!x( )d*av(A)x6(g)4(^)!x( )c/d*av(A)Mdii4 1(EXE) or whw(Value of A)wwwbawwwwbfww*38-1-2Basic Programming Steps2S = 2 3 A2, V = –––– A33* 1 Press 3(NEW) and the cursor changes formto indicate alpha character input.* 2 The following shows how the calculation of thesurface area and volume of a regularoctahedron would be calculated using amanual calculation.Surface Area S ... c*!x( )d* xwVolume V ............ !x( )c/d* Mdw*3 Pressing w while the final result of a programis on the display changes to the program list.# You can also run a program while in the RUN •MAT Mode by inputting: Prog ”” w.# Pressing w while the final result of a programexecuted using this method is on the displayre-executes the program.# An error occurs if the program specified by Prog”” cannot be found.S when A = 7V when A = 7S when A = 10V when A = 10S when A = 15V when A = 15