When angle θ (DEG) and radius r are given in the sector below, write a program to calculate the arc length l and chord length a. Enter the radius and the angle in entry order when performing the program.
If a number is entered just after the “interrupt register” [x], you can calculate the same way as by entering a number of variable when performing the program. In this example, enter radius r = 27 (cm), angle θ = 66° when writing the program.
l = π × r × θ / 180; a = 2r × sin(θ/2)
Procedure of programming
Use degree (DEG) as an angle unit in the example below.
The program entered here is stored as the program 1. Even if you turn the power off, the program is not cleared.
Perform the program 1