>> What is the coolest way of programming the quadratic formula in J?

Here's a version (although not J) which I find rather cute:
concise, perfectly accurate, easy to read, and if run through
a computer, it prints in a most beautiful way that everybody
recognizes at once  ;)

{-b \pm \sqrt{b^2-4ac} \over 2a}
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to