HP Forums
(12C Platinum) Circles and Spheres - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Software Libraries (/forum-10.html)
+--- Forum: General Software Library (/forum-13.html)
+--- Thread: (12C Platinum) Circles and Spheres (/thread-11889.html)



(12C Platinum) Circles and Spheres - Gamo - 12-02-2018 10:49 AM

Program solution for Circles and Spheres with givin Radius.

1. Circles solve for Circumference and Area

Circumference = 2 * Pi * r
Area = Pi * r^2

2. Spheres solve for Surface Area and Volume

Surface Area = 4 * Pi * r^2
Volume = 4/3 * Pi * r^3

----------------------------------------

Procedure:

Input Radius [R/S] display 1111 briefly then 0.00
[RCL] 1 Answer Circle Circumference
[RCL] 2 Answer Circle Area
[RCL] 3 Answer Sphere Surface Area
[RLC] 4 Answer Sphere Volume

Example:

Circle Radius = 3

3 [R/S] display "1111" 0.00

[RCL] 1 Answer 18.85 // Circle Circumference
[RCL] 2 Answer 28.27 // Circle Area

---------------------------------------
Sphere Radius = 3

No need to press [R/S] since same radius from previous example.

[RCL] 3 Answer 113.10 // Sphere Surface Area
[RCL] 4 Answer 113.10 // Sphere Volume



--------------------------------------
Program: Circles and Spheres (ALG Mode)
Code:

STO 9
355 ÷ 113
=
STO 0
x
2
x
RCL 9
=
STO 1
-------------------------
RCL 9
X^2
x
RCL 0
=
STO 2
-------------------------
RCL 9
X^2
x
RCL 0
x
4
=
STO 3
-------------------------
RCL 9
Y^X
3
x
RCL 0
x
(4 ÷ 3)
=
STO 4
1111
PSE
CLx
FIX 2

Gamo