programming-examples/perl/SystemFunction/Create arsine value.pl

7 lines
167 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
$asine = POSIX::asin $sine;
$reconversion = 180 / 3.14159265358979;
$degrees = $asine * $reconversion;
print "The arcsine of $sine = ", $degrees, " degrees.";