H Highpeak Unregistered / Unconfirmed GUEST, unregistred user! 2004-06-13 #2 sin((3.1415*75)/180) 对不对?
H Highpeak Unregistered / Unconfirmed GUEST, unregistred user! 2004-06-13 #5 3.1415是π,我日,这π子还很难找 180度为一π,75度就是(75/180)*π, 应该清楚了吧。
Z zurich Unregistered / Unconfirmed GUEST, unregistred user! 2004-06-13 #6 var R: Extended; S: string; begin R := Sin(Pi*75/180); Str(R:5:3, S); Canvas.TextOut(10, 10, 'The Sin of 75 is ' + S); end;
var R: Extended; S: string; begin R := Sin(Pi*75/180); Str(R:5:3, S); Canvas.TextOut(10, 10, 'The Sin of 75 is ' + S); end;
Q qpnet Unregistered / Unconfirmed GUEST, unregistred user! 2004-06-13 #7 main(){ float a; a=(75*3.14/180.0); printf("%f",a); getch(); } 算出来1.3多... 应该只有0.9多啊.....