[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LOGO-L> Total Turtle Trip



> Brian Harvey wrote:
> 
> And the 15-year-old has been taught x^2 + y^2 = r^2 and can't draw
> a circle at all.  :-)

You can get pretty damn close using that very formula and a little
bit of algebra. It's basically what they are told to do when they
are asked to plot this curve on paper (i.e. plug in a few numbers
and sketch it).

to circle :radius
pu
for [x -:radius :radius 1] ~
  [
  make "y sqrt ((:radius * :radius) - (:x * :x))
  setxy :x  :y pd fd 1 bk 1 pu
  setxy :x -:y pd fd 1 bk 1 pu
  ]
end

-- 
===============================================================
George Mills
email: mills@softronix.com
http://www.softronix.com
The www page contains some very powerful educational software.
Our single most important investment is our kids.
---------------------------------------------------------------
Please post messages to the Logo forum to logo-l@gsn.org.  Mail
questions about the list administration to logofdn@gsn.org.  To
unsubscribe send    unsubscribe logo-l    to majordomo@gsn.org.



Global SchoolNet Foundation - Linking Kids Around the World!
Copyright GSN - All Rights Reserved - Comments & Questions
Visit GSN's Global Schoolhouse for more exciting learning resources!
Search our Site - Home