|
 |
Hello,
I spent some time trying to figure out why my code was producing bizarre
results. It couldn't be simpler. It fits on a single line :
#declare y0 = a*x0*+b;
Of course, there are no syntax errors.
A typo left an “*” after the x0.
What I don't understand is the calculation involving that extra “*”
With a = 0.51, b = 10.66 and x0 = -16.25, the correct calculation
yields 2.37 and with the extar "*", -88.34 !
Where's the logic? I haven't been able to find a connection between the
two values, so I don't understand what operation this * performs.
I'm sure the people here have already figured it out and will be able to
explain it to me. Thanks
--
klp
compagnie de la banquise
Post a reply to this message
|
 |