Page 1 of 1

cos(90) problem

Posted: Tue Feb 26, 2019 1:50 pm
by brucelee
I tried simple trigonometry in QB but it works fine for any value except 90 degree, what's the problem or I shouldn't use 90 degree in cos in QB?

Code: Select all

const pi = 3.1415
print cos(90*pi/180)

cos90 problem

Posted: Tue Mar 12, 2019 1:55 pm
by anymn
thanks guys. ive tried resetting the models and its not making any difference. ive got five other transmitters so its not much of a problem. thanks for your help anyway.