Closed Benabik closed 11 years ago
set dv to (mu / r2)^0.5 * ((2 * r1) / (r1 + r2))^0.5.
works, so there's at least a workaround.
Currently named functions cannot have nested Parens. This includes trig functions, R, etc. This is the same as issue 92.
Duplicate of #92
I'm trying to calculate vis-viva for a Hohmann transfer:
set dv to sqrt(mu / r2) * sqrt((2 * r1) / (r1 + r2)).
However this give me
unrecognized term "sqrt((2 * r1) / (r1 + r2))"
. I was able to reduce this toprint sqrt((2*2)).