summaryrefslogtreecommitdiff
path: root/2915/CH5/EX5.15/Ex5_15.sce
blob: e68af7d27ec0c3b324ba86c796445621c162fed3 (plain)
1
2
3
4
5
6
7
8
9
clc,clear;
//Example 5.15
//To determine inverse cosine function of a given value

given =  cos(%pi/3); //given value
answer= acos(given); //final answer

printf('Required answer is %f radians',answer);
printf('\n\nOR \n\n(pi/3)*%f radians',answer*(3/%pi));