Hi there,
Why is it that when I use the following line in qbasic it returns a different value than a scientific calculator?
print cos(18)
The computer returns the value:
.6603167
When I do the equivalent function on a scientific calulator, the result is :
.951056516
I know the latter is correct, and the qbasic result isn't. Can anyone explain this and perhaps offer a suggestion for accurate cosine function in qbasic?
Thanks
Harold