areas =: 1 + [: *: 1 + i.
   areas 10
2 5 10 17 26 37 50 65 82 101

--Kip Murray

On Friday, February 26, 2016, Michal Wallace <[email protected]>
wrote:

> Imagine a compass rooted at the origin of the complex plane.
>
> Starting at the point 0j1, draw the arc down to the real line, and then
> from this point, draw vertical line segment extending upwards 1 unit, to
> arrive at the point 1j1.
>
> Repeat this process of drawing the arc down to the real line and moving up
> 1 unit N times, creating a series of points along the horizontal line  (]
> j. 1:).
>
> For each point, draw a line segment from the origin to the point, and then
> draw a square (*:) whose sides are the length (|) of this segment.
>
> What is the area of each square?
>
>     *:@| (|j.1:)^:(<n) 0j1 [ n=. 10
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm



-- 
Sent from Gmail Mobile
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to