Volume of a Cylinder

Description

By Eddie Shore, December 2011 (Eddie's Math and Calculator Blog)

In this program we will turn the volume of a cylinder into a MISO (multiple input-single output) solver. The equation is:
V = π r2 h

The first step is to make one side of the equation zero.
0 = π r2 h - V

We'll have to designate memory registers for each of the variables. Let's use:

R1 = r
R2 = h
R3 = V

The equation can be seen as:
0 = π·R12·R2 - R3

Example 1:
Given V = 1,000 and h = 10. Find r. The variable r corresponds to R1. This means we store 1 in memory register I. Give an initial interval (0, 1000).

Key Strokes:
1000 STO 3
10 STO 2
1 STO (i)
0 ENTER 1000 f SOLVE A

Answer: r ≈ 5.6419

Example 2:
Given V = 2,498.65 and r = 39.43. Find h. Use an initial interval (0, 1000). We are looking for h, so store 2 in memory register I.

Key Strokes:
2498.65 STO 3
39.43 STO 1
2 STO (i)
0 ENTER 1000 f SOLVE A

Answer: h ≈ 0.5116

Program Resources

Labels

Name Description
 A Calculate the Volume of a Cylinder

Storage Registers

Name Description
 1 r = Radius of the cylinder
 2 h = Height of the cylinder
 3 V = Volume of the cylinder
(i) Index to variable to be calculated

Program

Line Display Key Sequence
000
001 42,21,11 f LBL A
002 44 24 STO (i)
003 43 26 g π
004 45 1 RCL 1
005 43 11 g
006 20 ×
007 45,20, 2 RCL × 2
008 45 3 RCL 3
009 30
010 43 32 g RTN