Home  >  Article  >  Software Tutorial  >  How to create any n-sided polygon of a circle using geometric sketchpad

How to create any n-sided polygon of a circle using geometric sketchpad

WBOY
WBOYforward
2024-04-17 09:35:01607browse

For example: To draw any n-sided polygon of a circle, the specific operation is as follows:

Draw a circle O in the blank area of ​​the artboard and pick any point A on the circle, double-click circle O as the center of rotation.

How to create any n-sided polygon of a circle using geometric sketchpad

Create new parameter n=7 and calculate 360°/n (note that the unit [degree] must be used at this time).

How to create any n-sided polygon of a circle using geometric sketchpad

Select point A, click the menu [Transform] - [Rotate], a rotation dialog box will appear, click the calculation result '360°/n' as the mark angle , get point B; connect line segment AB.

How to create any n-sided polygon of a circle using geometric sketchpad

Select point A and parameter n in sequence, hold down the [Shift] key, click [Transform] - [Depth Iteration], the iteration dialog box will appear, click Click point B as the initial image. At this time, a complete regular heptagon is displayed on the screen. Press the [Iterate] button to complete the operation.

How to create any n-sided polygon of a circle using geometric sketchpad

How to change parameter n?

There are two methods: the first is to double-click parameter n and then enter the value in the dialog box. The second method is to click parameter n and press ‘ ’ and ‘-’ on the keyboard. The system default change amount is 1. You can modify the change amount by right-clicking.

Note: When iterating, the parameter n as the iteration depth must be selected at the end. This is a system requirement.

The above is the detailed content of How to create any n-sided polygon of a circle using geometric sketchpad. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:zol.com.cn. If there is any infringement, please contact admin@php.cn delete