blob: cf58cfde8adfdcfb470092bcea0bfcf671b39051 (
plain)
1
2
3
4
5
6
7
8
9
|
clc,clear;
//Example 5.13
//To determine inverse sine function of a given value
given = sin(%pi/4); //given value
answer= asin(given); //final answer
printf('Required answer is %f radians',answer);
printf('\n\nOR \n\n(pi/4)*%f radians',answer*(4/%pi));
|