what is cos 30?
15 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
cos*30
0 Kommentare
Antworten (2)
Greig
am 21 Feb. 2015
MATLAB also has the cosd() function, so you can use cosd(30). Have a look at the trigonometry documentation for other similar function.
0 Kommentare
SamBro
am 21 Feb. 2015
MatLab will do all calculations in radians as a default. So if you want to calculate
ans=cos(30);
in degrees you'll need to write:
ans=cos(30*pi/180);
ans=sqrt(3)/2
Otherwise, if you calculate
ans=cos(30);
in MatLab you'll get:
ans=0.1543
0 Kommentare
Siehe auch
Kategorien
Mehr zu Historical Contests finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!