I'm not sure what I've done but it seems to work now! The values of R, gamma and theta vary but in my examples that didnt work R was about 15, gamma was 90 and theta about 0.2. I've been playing around a bit with the algorithms and think I may have been using a variable in the right-hand part of...
Hi
I am new to Mathcad and a bit confused. I am trying to use an if statement to say something like the following:
Lr(R,gamma,theta):=if(phi(R,gamma,theta)< theta, 2, 10)
where
phi(R,gamma,theta):= atan(hr/Lg(theta))
Lg(theta):= Ls(theta)*cos(theta)
Ls(theta):= 2*hr/sin(theta)
However it...