Re: [Ql-Users] ACOS

2016-05-30 Thread Marcel Kilgus
Colin McKay wrote: > A=242641, B=2.828427, C=1.414214. VV=C^2-A^2-B^2/(-2*A*B) A=4.242641 surely. And VV=(C^2-A^2-B^2)/(-2*A*B). > VV calculated, and printed, in QPC2 =1. VV calculated on a calculator > =-24.0071/-24.0071=1. > > Used in QPC2 in RR=ACOS(VV) produces the error message "At

Re: [Ql-Users] ACOS

2016-05-30 Thread Timothy Swenson
On 05/30/2016 01:00 PM, Colin McKay wrote: A=242641, B=2.828427, C=1.414214. VV=C^2-A^2-B^2/(-2*A*B) VV calculated, and printed, in QPC2 =1. VV calculated on a calculator =-24.0071/-24.0071=1. I don't get that number, esp. without any ( ) around the first half the the W statement.

[Ql-Users] ACOS

2016-05-30 Thread Colin McKay
A=242641, B=2.828427, C=1.414214. VV=C^2-A^2-B^2/(-2*A*B) VV calculated, and printed, in QPC2 =1. VV calculated on a calculator =-24.0071/-24.0071=1. Used in QPC2 in RR=ACOS(VV) produces the error message "At line 2345 :1 error in expression". Change to VV=INT(.), and no error