Christian Rubio wrote: > quadratic.rb:17:in `sqrt': Numerical argument out of domain - sqrt > (Errno::EDOM) > from quadratic.rb:17:in `findroots' > from quadratic.rb:30 This means that your argument to sqrt is negative. What values for b and c did you supply? HTH, Sebastian -- NP: Anathema - Cries On The Wind Jabber: sepp2k / jabber.org ICQ: 205544826