Talk:Roots of a quadratic function: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 1: | Line 1: | ||
I clearly see come of programs (Ada, and some marked as "translation of Ada") use |
|||
(b^2-4ac)/2*a, |
|||
there correct way is |
|||
(b^2-4ac)/(2*a). |
|||
I wonder why noone spotted this earlier! |
|||
<cite>Forsythe, Michael Malcolm and Cleve Mole suggest to try it on a=1, b=-10<sup>5</sup>, c=1</cite>, but Ada sample code uses -10e5, which is indeed -1e6 (-10<sup>6</sup>), if I was not wrong since I knew the "e" notation... --[[User:ShinTakezou|ShinTakezou]] 21:24, 22 June 2009 (UTC) |
<cite>Forsythe, Michael Malcolm and Cleve Mole suggest to try it on a=1, b=-10<sup>5</sup>, c=1</cite>, but Ada sample code uses -10e5, which is indeed -1e6 (-10<sup>6</sup>), if I was not wrong since I knew the "e" notation... --[[User:ShinTakezou|ShinTakezou]] 21:24, 22 June 2009 (UTC) |
||