Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ ¹ ² ³ °
 

You are not logged in. #26 20090814 20:59:01
Re: Sum of fractions which equals 1
Ah  found it! I'd never used that key before and must have skimmed over it when looking for it. "The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do."  Ted Nelson #27 20090815 11:29:46
Re: Sum of fractions which equals 1Hi phrontister;
Code:for n=10 to 0 step 1/5 print n next n Notice how instead of getting 0 he gets 0.20539126e14, but at least the for next loop terminates. Last edited by bobbym (20090815 11:30:06) In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. #28 20090815 11:37:00
Re: Sum of fractions which equals 1Hi Bobby,
Yes  I'll have to remember that for situations where that is important (or maybe I should make it a habit anyway). "The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do."  Ted Nelson #29 20090815 11:49:16
Re: Sum of fractions which equals 1Hi phrontister; In mathematics, you don't understand things. You just get used to them. I have the result, but I do not yet know how to get it. All physicists, and a good many quite respectable mathematicians are contemptuous about proof. 