GeoGebra-5.04/C3/Create-action-object-Tools/English-timed

From Script | Spoken-Tutorial
Revision as of 15:39, 10 October 2019 by PoojaMoolya (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Time Narration
00:01 Welcome to the Spoken Tutorial on Create Action Object Tools in GeoGebra.
00:07 In this tutorial we will learn about free and dependent Objects.
00:14 We will also learn to,

Create a check-box

Create an insert button

Insert an input box

00:23 To record this tutorial, I am using;

Ubuntu Linux OS version 16.04

GeoGebra version 5.0.438.0-d

00:36 To follow this tutorial, learner should be familiar with GeoGebra interface. For the prerequisite GeoGebra tutorials, please visit this site.
00:47 In this tutorial we will use tangents to a circle tool created in the previous tutorial.
00:54 To practise this tutorial you need to download the zip file given in the Code files link.
01:00 Extract the downloaded zip file.Locate tangents-circle.ggt file in the extracted folder.
01:10 I have already downloaded and extracted the file to my Desktop.
01:15 I will right-click on it and Open With GeoGebra.
01:20 Click on Tangents to a circle tool and click two points in the Graphics view.
01:28 Tangents to a circle are drawn in the Graphics view.
01:32 Now I will explain about Free and Dependent Objects.
01:37 Let us complete the figure.
01:40 Click on the Intersect tool. Mark points of intersection of the tangents to the circle.
01:49 Using the Segment tool we will join A C, A D and A B.
02:00 In the Algebra view, note that segment AC is equal to segment AD.

They are radii of the circle c.

02:09 Now let's measure the angles at the point of contact of the tangents to the circle.
02:15 Click on the Angle tool and click on the points B, C, A. and then click on the points A, D, B.
02:32 Observe that the angles alpha and beta are 90 degrees.
02:37 This is because at the point of contact, tangent to a circle is perpendicular to the radius.
02:44 In the Algebra view, click on the arrow triangle named as Toggle Style Bar.
02:50 Auxillary Objects, Sort Objects by drop-down and fx drop-down appear.
02:58 Click on Sort Objects by drop-down.Sort by menu opens.
03:05 This menu has, Dependency, Object Type, Layer and Construction Order check-boxes.
03:15 By default, Object Type check-box is selected.
03:19 In other operating systems a different check-box may be selected.
03:24 Let us select Dependency check-box.
03:28 Note that only points A and B are under Free Objects. All other objects are under Dependent Objects.
03:38 You can select other check-boxes and see how the objects are sorted.
03:45 Now we will learn how to create a check-box.
03:49 Click on the Check Box tool and click in the Graphics view.
03:56 Check Box to Show/hide Objects dialog box opens.
04:00 In the Caption text box, I will type Angles.
04:04 From the Select objects drop-down, let us select Angle alpha and Angle beta.
04:12 Then click on Apply button in the box.
04:16 Angles check-box appears in the Graphics view.
04:20 Let us click on Move tool to avoid clicking of other objects in the Graphics view.
04:27 Angles check-box is shown as a Boolean Value a in the views.
04:33 Using this check-box, we can show or hide the angles alpha and beta.
04:39 In the Algebra view, Boolean Value is true when the angles are shown.
04:44 Boolean Value becomes false when they are hidden.
04:49 Now we will insert an input box.
04:51 Click on the Input Box tool and click in the Graphics view.
04:59 Input Box appears in the Graphics view.
05:02 In the box, type the Caption as Circle.
05:06 In the Linked Object drop-down, select circle c. And click on OK button in the box.
05:14 Circle input box, along with its coordinates, appears in the Graphics view.
05:20 Click on Move tool to select it.
05:23 In the input box, type B in place of A and press Enter.
05:29 The tangents, angles and all related objects disappear.
05:34 Position of the circle has also changed
05:38 This happens because all the objects are dependent on point A.
05:44 As an assignment,

In the circle input box change (A,B) to (B,A) and (A,A) and see what happens.

Explain your observation.

05:57 Click on Undo button to undo the changes
06:01 Now, we will learn how to create a button.
06:04 Click on the Button tool and click in the Graphics view.
06:10 The Button dialog box opens.
06:13 Type Caption as Value.
06:16 In GeoGebra Script box type the following script.
06:20 Now I will explain the script.
06:23 This line will change the position of the coordinates of A to A-1

This means that the x coordinate of A becomes x-1 and y coordinate of A becomes y-l.

06:37 Similarly this line will change the poistion of the coordinates of B to B+2.
06:43 This line will set the colour of segment j to blue.
06:47 This line will set the colour of segment h to green.
06:51 This line will set the colour of segment i to red.
06:55 Click on the OK button at the bottom.
06:58 Value button appears in the Graphics view.
07:02 Select the Move tool and Click on value button.
07:08 Observe the changes in the Graphics view.
07:11 Observe that the coordinates of point A and point B have changed.
07:16 The colours of the segments have changed accordingly.
07:20 Click on Zoom Out tool and click in the Graphics veiw to zoom out.
07:26 I will click the Value button again.

Observe the changes in the coordinates of points A and B.

07:35 As an assignment,

Create a new button.

Write a GeoGebra script to change the colour and position of the points A and B.

07:46 Now we will combine action tools and see what happens.
07:51 I have opened a new GeoGebra window.
07:55 Click on the Slider tool and click in the Graphics view.
08:01 The Slider dialog box opens.
08:04 By default, Number radio button is selected with Name as a.

We will leave it as it is.

08:13 We will set the Min value to 1, Max to 10 and Increment to 1.
08:21 Click on OK button at the bottom. A number slider a appears in the Graphics view.
08:28 Now click on Regular Polygon tool and click two points in the Graphics view.
08:36 Regular Polygon text box opens. In the Vertices text box, type a and click OK in the box.
08:46 Notice in the Algebra view, under Polygon we have poly1 undefined.
08:52 As a we drag the slider, notice that polygons with different sides appear.
09:05 Now we will insert an input box.
09:08 Click on Input Box tool and click in the Graphics view.
09:15 Input dailog box opens.
09:18 Type the Caption as Number of sides in the box.
09:22 Select a=1 in the Linked Object drop-down. Click on OK button in the text box.
09:30 Number of sides input box appears in the Graphics view.
09:35 In the Algebra view, uncheck the number slider a=1 to hide the slider.
09:41 In the Number of sides input box, type 4 and press Enter. You will see a square.
09:50 Likewise, you can type any number between 3 to 10 and see the respective polygon.
09:57 As an assignment,

Create a check box to show and hide the slider and the input box.

10:04 Let us summarise.

In this tutorial we have learnt about free and dependent objects.

10:12 We have also learnt to,

Create a check-box

Create an insert button

Insert an input box

10:22 The video at the following link summarizes the Spoken Tutorial project. Please download and watch it.
10:30 The Spoken Tutorial Project team conducts workshops and gives certificates. For more details, please write to us.
10:38 Please post your timed queries in this forum.
10:42 Spoken Tutorial Project is funded by NMEICT, MHRD, Government of India. More information on this mission is available at this link.
10:54 This is Madhuri Ganapathi from, IIT Bombay signing off. Thank you for watching.

Contributors and Content Editors

PoojaMoolya