Sebastian Hungerecker wrote:
> 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
>   
Thanks all for your replies. The input was invalid. I need to check for 
legal input.
But I am new and just learning. Still trying to figure out whats going 
on here.
The docs are hard to understand. So I am programming very basically.

Thanks so much
Chris