Either I'm asking way too much of Construct2, or I'm just really bad at translating formulas.
So what I'm trying to do is get these formulas into C2:
<img src="https://dl.dropboxusercontent.com/u/48563442/Bodyshapes-3D-2D-formules.jpg" border="0" />
But when I insert the values for q and z through variables the formula returns NaN (not a number), which is strange because the formula as I've put into C2 should consist only of numbers. Even when I manually change all z's and q's to numbers the outcome stays NaN.
So I might just have put in the formulas the wrong way, or I'm pushing C2 beyond it's limits.
Here are the formulas as I've entered them in C2:
formula for a:
abs((-6*z+((6*q*z)/(q-100)-sqrt((16*((q^2)*(z^2)-((100*q*z)^2)-((7500*z)^2))))))/2/(-6+((8*q)/(q-100))-(((6*q)^2)/((q-100)^2))))
formula for b:
abs(-(-6*z+((6*q*z)/(q-100)-sqrt((16*((q^2)*(z^2)-((100*q*z)^2)-((7500*z)^2))))))/2/(-6+((8*q)/(q-100))-(((6*q)^2)/((q-100)^2)))*q/(q-100))
any advise would be appreciated.