summaryrefslogtreecommitdiff
path: root/src/Scilab2C/SCI2CTests/Mes_tests/elementary Functions/mainfunctionACos.sci
blob: e0225554512391b21fc807471afa23cbd580f499 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//SCI2C: DEFAULT_PRECISION= DOUBLE

function mainfunction()

//test acos


disp (acos(0.5));
disp (acos(0.2+0.1*%i))

c=[4 2 3 ;8 8 4; 3 4 5]/10
d=[4 2 3 ;8 8-1*%i 4; 3+4*%i 4 5]/10

disp (acos(c))
disp (acos(d))

endfunction