From: Caio Tiago Oliveira Date: 2005-02-15T03:31:41+09:00 Subject: Re: Printing why's (poignant) guide to ruby Martin DeMello, 14/2/2005 14:19: > Kloubakov, Yura wrote: >> > From: Ruth A. Kramer [mailto:rhkramer@fast.net] >> > Sent: Monday, February 14, 2005 11:14 >> > >> > Probably, but a = a + 1 was confusing for me when I first started >> > programming (30+ years ago) (solving for a gives a = 1/2 ;-) >> > >> > Of course, I learned algebra a long time ago also, maybe today the >> >> I've learned algebra a long time ago too, but don't think there is >> a solution for 'a' in this equation :) > > irb(main):001:0> a = 1.0/0 > => Infinity > irb(main):002:0> a == (a+1) > => true Jokers guys. a = a + 1 it's only one variable to one equation. I've learned that we can do that. a = ((5^(1/2) +- 1)/2) :D We can do that with algebra, but don't with Ruby.