ABC Pascal: The value of the angle α is given in radians (0 ≤ α 2 · π). Determine the value of the same angle in degrees
September 9, 2021 | education
| ABC Pascal: The value of the angle α is given in radians (0 ≤ α 2 · π). Determine the value of the same angle in degrees, taking into account that 180 ° = π radians. Use 3.14 for π.
If 180 ° is equal to π radians, then 1 radian = (180 ° / π) degrees.
For a radians the formula will be valid:
and radians = ((a * 180 °) / π) degrees.
The last formula is used in the program.
program rad_to_gr;
var a: real;
begin
writeln (‘Enter the angle value in radians’);
readln (a);
a: = (a * 180) /3.14;
writeln (‘Angle value in degrees:’, a: 0: 2)
end.
One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.