Find square difference: Difference between revisions

Content added Content deleted
(RPL algebraic approach)
Line 695: Line 695:
===Algebraic approach===
===Algebraic approach===
≪ 'n^2-(n-1)^2-1000'
≪ 'n^2-(n-1)^2-1000'
EXPAN COLCT 'N' ISOL CEIL
EXPAN COLCT 'n' ISOL CEIL
≫ EVAL
≫ EVAL
which returns the same result in only 9.2 seconds.
which returns the same result in only 9.2 seconds.