[Cuis-dev] [Ann] First sketch of Cuis 6.1 release - Please REVIEW and TEST!
Hilaire Fernandes
hfern at free.fr
Tue Jan 2 03:46:59 PST 2024
Nice.
I guess you think about the next step, to introduce them how to simulate
these two historical approaches with programming.
You may want to even write it visually, you will find examples in DrGeo
Smalltalk Sketch for pi approximations.
The Spanish DSL will help a bit to write DrGeo commands in Spanish,
however the Smalltalk extentions I translated in French are not yet
translated to Spanish.
So written only in English, this gives these instructions:
Regarding the Archimedes methods, I have examples. It is easier to
implement as you can ask DrGeo the length of the regular polygon.
In both examples, the user observes visually what is going on with
animation.
Hilaire
Le 02/01/2024 à 11:59, Juan Vuletich via Cuis-dev a écrit :
> For the second session I wanted to play with real numbers, so we tried
> two ways of computing Pi. The first one was to "draw" a circle on a
> grid, and take the number of points in the grid that lie inside the
> circle (using the x^2+y^2 <= r formula), divide that by the total
> number of points. And do that for increasingly larger grids, to
> improve the approximation. This one is interesting because it only
> uses integers. But it is slow. Then we tried another method, that is
> the perimeter of an inscribed polygon of increasing number of sides.
> This later one can be done without trigonometry, but it requires
> sqrt() to normalize the vertexes, hence Float. These are way more
> complicated things that what we did before, so I went slower, and
> explained my solution on my computer as I guided them on writing their
> own. So I didn't push them too much and they didn't get frustrated. I
> guess the ability to write the solution completely on their own
> requires a bit more time and practice, and my objective is to engage
> them, not scare them. They still could really understand what we were
> doing, and appreciate the kind of thinking involved.
--
GNU Dr. Geo
http://gnu.org/s/dr-geo/
http://gnu-drgeo.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240102/f1687b8c/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zspqYRGHNnDIdBS5.png
Type: image/png
Size: 200614 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240102/f1687b8c/attachment-0001.png>
More information about the Cuis-dev
mailing list