Difference between revisions of "GeoGebra-5.04/C3/Scripting-and-LaTeX-in-GeoGebra/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with " {|border=1 ||'''Visual Cue''' ||'''Narration''' |- ||'''Slide Number 1''' '''Title Slide''' ||Welcome to this Spoken Tutorial on '''Number Line: Operations.''' |- ||'''...")
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
  
 +
'''Keywords''': GeoGebra, scripting, latex, input bar, Texworks, if commands, circle, parabola, spoken tutorial, video tutorial.
  
  
{|border=1
+
{| border=1
||'''Visual Cue'''
+
|| '''Visual Cue'''
||'''Narration'''
+
|| '''Narration'''
|-
+
|-
||'''Slide Number 1'''
+
|| '''Slide Number 1'''
  
 
'''Title Slide'''
 
'''Title Slide'''
||Welcome to this Spoken Tutorial on '''Number Line: Operations.'''
+
|| Welcome to this Spoken Tutorial on '''Scripting and LaTeX in GeoGebra'''.
 
+
 
+
 
+
 
|-
 
|-
||'''Slide Number 2'''
+
|| '''Slide Number 2'''
  
 
'''Learning Objectives'''
 
'''Learning Objectives'''
||In this tutorial, we will learn how to:
+
|| In this tutorial we will learn to,
* Add integers on the number line
+
* Subtract integers on the number line
+
* Calculate the additive inverse
+
  
 +
* Use various '''script commands''' to draw and manipulate objects.
  
 +
* Use '''IF '''commands to draw objects.
  
 +
* Convert '''GeoGebra''' file to a '''LaTeX '''file.
  
 +
* Run the '''LaTeX '''code to show the output in '''pdf '''format.
 
|-
 
|-
||'''Slide Number 3'''
+
|| '''Slide Number 3'''  
  
'''System Requirements'''
+
'''System Requirement'''  
||This tutorial is recorded using,  
+
|| To record this tutorial, I am using;
  
macOS Catalina version 10.15.7
+
*'''Ubuntu Linux''' '''OS''' version 18.04
  
Google chrome version 101.0.49
+
*'''GeoGebra''' version 5.0660.0-d
 +
 
 +
*'''TeXworks''' version 0.6.3
 +
 
 +
The '''commands''' shown in this tutorial will work in all 5.0x versions of '''GeoGebra'''.  
 
|-
 
|-
||'''Slide Number 4'''
+
|| '''Slide Number 4'''  
  
'''Pre-requisites'''
+
'''Pre-requisites'''  
  
 +
'''https://spoken-tutorial.org'''
 +
|| To practise this tutorial,
  
'''https://spoken-tutorial.org'''
+
You should have full version of '''TeXworks''' installed on your system.
  
 +
You should be familiar with '''GeoGebra''' and '''LaTeX'''.
  
  
||To follow this tutorial,
+
For the prerequisite '''GeoGebra''' and '''LaTeX '''tutorials please visit this website.
 +
|-
 +
|| '''Slide Number 5'''
  
Learners should be familiar with topics in basic mathematics.  
+
'''Code Files'''
 +
|| The files used in this tutorial are provided in the '''Code files '''link.
  
 +
Please download and extract the files.
  
Please use the link below to access the tutorials on '''PhET simulations'''.
+
Make a copy and use them for practising.
 +
|-
 +
|| Cursor on the '''GeoGebra '''window.
 +
|| I have opened a new '''GeoGebra '''window.
 +
|-
 +
|| Only Narration.
  
  
 +
Open and show the '''scripting-commands.txt ''' file.
 +
|| Let us begin with '''scripting''' in '''GeoGebra'''.
  
|-
 
||'''Slide Number 5'''
 
  
'''Link for PhET simulation'''
+
The '''commands''' used in this tutorial are available in '''scripting-commands.txt ''' file.
  
  
'''https://phet.colorado.edu/en/simulations/number-line-operations'''
+
This file is given in the '''Codes Files '''for the learners to use.
||Please use the given link to download the '''PhET''' '''simulation'''.
+
 
|-
 
|-
||'''Slide Number 6'''
+
|| For beginners the''' Input bar '''is at the bottom.
  
'''PhET simulations'''
+
Shown as''' Input:'''
 +
|| In this tutorial we will use the''' Input bar '''to draw various objects.
  
 +
|-
 +
|| Type in '''Input bar''':
  
 +
'''A= (2,4) ''' >> Press '''Enter'''.
  
||In this tutorial, we will use the '''Number Line: Operations''' '''PhET simulation.'''
 
|-
 
||Point to the simulation in the Downloads folder
 
  
 +
Cursor near Point '''A'''.
 +
|| In the '''Input bar '''type '''A= (2, 4) '''and press '''Enter'''.
  
'''Number Line: Operations simulation'''
 
  
 +
Point '''A''' is marked in the '''Graphics view''' at (2,4).
  
 +
|-
 +
|| Cursor near point '''A'''.
 +
|| Now we will use '''script commands''' to change the coordinates of point '''A'''.
  
||I have already downloaded the '''simulation''' to my '''Downloads''' folder.
 
 
|-
 
|-
||Double click on the '''number-line-operations_en.html''' file
+
|| Type in the '''input bar:'''  
||To open the simulation, double click on the '''number-line-operations_en.html''' file.
+
  
  
The file will open in your default browser.
+
'''SetCoords(A, x(A)+1, y(A)-1)'''
  
  
 +
Point to the code in the''' Input bar.'''
 +
|| In the''' input bar '''type the following command.
  
 +
This code moves the '''x '''coordinate of '''A '''by one up and '''y''' coordinate by one down.
 +
 +
 +
Press '''Enter''' to execute the '''command'''.
 
|-
 
|-
||Point to the simulation interface
+
|| Point to '''A(3,3)'''
||This is the interface of the '''Number Line: Operations''' simulation.
+
|| The coordinates of point '''A''' now are (3,3).
 +
 
 
|-
 
|-
||Point to each screen
+
|| In the '''Input bar''' click the up, down arrow keys >>
||The interface has four screens:
+
  
 +
select the command from the list.
  
'''Chips''', '''Net Worth''', '''Operations''', and '''Generic'''
 
  
 +
Cursor near point '''A '''in the '''Graphics view'''.
 +
|| Let us execute the same '''command''' once again.
  
  
|-
 
||Click on '''Chips''' screen
 
||Click on the '''Chips''' screen.
 
|-
 
||Point to the number line
 
||The screen has a '''number line '''to represent the total amount of chips or coins.
 
|-
 
||Point to the '''Total''' box
 
||The total can also be viewed at the top of the screen in the '''Total '''box.
 
|-
 
||Point to the right panel next to the '''Positives''' bag
 
  
 +
The coordinates of point '''A''' change to (4,2).
  
 +
|-
 +
|| Type in the '''input bar''' >>
  
||We can put chips in the Positives bag from the panel on the right.
+
'''Circle'''('''A''', '''3''') >>
  
 +
Press '''Enter'''.
  
This will increase chips in the total amount.
 
  
 +
Point to circle '''c'''.
  
  
|-
+
Drag the '''Algebra view''' boundary.
||Point to the left panel next to the '''Negatives''' bag
+
|| Now let us draw a circle using point '''A'''.
  
  
 +
Type this '''command''' in the''' input bar '''and press '''Enter'''.
  
||We can put chips in the '''Negatives''' bag from the panel on the left.
 
  
 +
A circle with centre '''A''' and radius 3 cm is drawn.
  
This will decrease chips in the total amount.
 
  
 +
Drag the boundary to see the equation clearly.
  
 +
|-
 +
|| Point to the circle '''c'''.
 +
|| Let’s now change the colour of circle '''c '''dynamically.
  
 
|-
 
|-
||Point to the information checkboxes
+
|| Type in input bar:
||On the top left, we have the following checkboxes.
+
  
 +
'''SetDynamicColor[c, Red, Green, Blue]''' >>
  
'''Operation Descriptions, Operation Labels, '''and''' Tick Marks'''
+
Press '''Enter'''.
  
  
We can use these check boxes to show and hide the details.  
+
Point to the dialog box.
 +
|| Type this '''command''' in the''' input bar '''and press '''Enter'''.
  
  
 +
'''Create Sliders '''dialog box appears.
  
 
|-
 
|-
||Point to the '''reset''' button
+
|| Click the '''Create Sliders '''button.
||The '''reset''' button takes us back to the starting point of the simulation.  
+
|-
+
||Point to the right panel next to the '''Positives''' bag
+
  
 +
Point to the '''sliders'''.
 +
|| Click the '''Create Sliders '''button.
  
  
||Let us put the +1 chip in the positives bag.  
+
Three '''sliders Red''', '''Green''', and''' Blue '''are created.
  
 +
|-
 +
|| Drag '''sliders Red''', '''Blue ''' and '''Green''' back and forth.
 +
|| Now drag the '''sliders''' to see the circle in various combinations of colours.
  
 +
|-
 +
|| Point to '''c'''.
 +
|| Now let’s create a random circle using a random point '''B'''.
  
 
|-
 
|-
||Point to the number line
+
|| Create a random point''' B''', type in the input bar:
||The description tells us we have added a positive 1 to the total amount.
+
  
  
The mark on the number line moves one place to the right.
+
'''B= (RandomBetween[-2, 2], RandomBetween[-2, 2])'''
  
 +
Point to Point '''B'''.
 +
|| In the''' Input bar''' type the following command and press '''Enter.'''
  
 +
Point '''B '''is drawn.
  
 
|-
 
|-
||Point to the '''Total '''box
+
|| Type in input bar:
||The total amount is now 1.
+
|-
+
||Point to the left panel next to the '''Negatives''' bag
+
  
  
 +
'''r=RandomBetween[0,5]'''
  
||Let us now put the -1 chip in the '''Negatives '''bag.
 
  
 +
Point to '''r '''value in the '''Algebra view'''.
 +
|| Now let’s create radius '''r''' of circle''' c '''randomly using this '''command'''.
  
  
 
|-
 
|-
||Point to the number line
+
|| Type in input bar:
||The description tells us we have added a negative 1.
+
  
  
The mark on the number line moves one place to the left.
+
'''c= Circle[B,r]'''
  
  
 +
Drag the '''sliders Red''', '''Blue '''and '''Green'''.
  
|-
 
||Point to the '''Total '''box.
 
  
 +
|| To get a random circle '''c''', type this '''command'''.
  
  
 +
Drag the sliders to see the circle in different colours.
  
  
 +
|-
 +
|| Press '''Ctrl + R''' to move the circle randomly in the''' Graphics view'''.
  
  
 +
Point to the circle.
 +
|| Press''' Ctrl''' and '''R''' keys to move the circle randomly in the '''Graphics view'''.
  
Add annotation while editing.
 
||The total amount is now 0 as 1 + (-1) is 0.
 
  
 +
Notice the change in the radius of the circle as it moves.
  
This means -1 is the additive inverse of 1.
 
  
 +
|-
 +
|| Press '''Ctrl''' and '''A ''' keys to select and
  
Additive inverse of a number x, is a number that results in 0 when added to x.  
+
Press '''Delete''' Key to delete.
 +
|| Let us select all the objects and delete them.
  
 +
 +
|-
 +
|| Only Narration.
 +
|| Next let's create a randomly generated parabola.
  
  
 
|-
 
|-
||Point to the number line
+
|| Type in the input bar:
||However, we know 1 - 1 is also equal to 0.
+
  
 +
'''A = (RandomBetween[-3,3],RandomBetween[-3,3])'''
  
This means adding -1 to 1 has the same effect as subtracting 1 from 1.  
+
Press '''Enter'''.
 +
|| To create a random parabola let’s create a random point '''A'''.  
  
  
Let us try this with other combinations of chips.  
+
Type the following '''command''' and press '''Enter'''.  
  
  
 +
|-
 +
|| Point to point '''A'''.
 +
|| Point '''A''' will be the vertex of the parabola.
  
 
|-
 
|-
||Point to right panel next to the '''Positives''' bag
+
|| Press Ctrl and R keys repeatedly.
 +
|| Press '''Ctrl '''and''' R''' keys repeatedly.
  
 +
Observe that the coordinates of point '''A''' keep changing.
  
 
||Let us put +2 in the '''Positives''' bag.
 
 
|-
 
|-
||Point to the number line
+
|| In the '''Input bar''' type:
||The mark on the line moves two places to the right.
+
  
 +
'''f(x) = ( x + x(A) )^2 + y(A) '''and press '''Enter'''.
  
  
|-
+
Point to '''x(A) '''and '''y(A)''' in the input bar.
||Point to right panel next to the '''Positives''' bag
+
|| In the '''Input bar''' type the following command.
  
  
 +
Here '''x(A) '''and '''y(A)''' are the coordinates of point '''A''' in the equation.
  
||Let us further put +4 in the '''Positives''' bag.
 
 
|-
 
|-
||Point to the number line
+
|| Point to the parabola.
||The mark on the line now moves four places to the right.  
+
|| Observe that, parabola opens upwards.
 
+
 
+
  
 
|-
 
|-
||Point to the '''Total''' box
+
|| Point to the parabola.
||The total is now 0 + 2 + 4 which is 6.
+
|| To make the parabola open downwards, we need to randomly generate +1 and -1.  
 
+
 
+
  
 
|-
 
|-
||Point to the left panel next to the '''Negatives''' bag
+
|| In the input bar type:
  
 +
'''n = RandomBetween[ 0 , 1 ]''' >> press '''Enter'''
  
 +
Point to '''n''' value in the '''Algebra view'''.
  
||Let us put the -5 chip in the '''Negatives '''bag.
 
|-
 
||Point to the number line
 
  
 +
Type:
  
 +
'''a = If[ n == 1 , 1 , -1 ] ''' >> Press '''Enter'''.
  
||The description tells us we have added a negative 5.
 
  
 +
Point to the values of '''a''' and '''n''' in the '''Algebra view'''.
 +
|| Type the following '''command''' and press '''Enter'''.
  
The mark on the line moves five places to the left.
 
  
 +
Here ''' n''' is a number which is in between 0 and 1.
  
  
|-
+
Type the following '''command'''.  
||Point to the '''Total''' box
+
||Hence, the total is 6 + (-5) which is 1.  
+
  
 +
Here '''a''' changes when '''n''' is equal to 1.
  
This is also equal to 6 - 5.
 
  
 +
We can see the values of '''n '''and '''a '''only in the '''Algebra view'''.
  
Observe that adding -5 to 6 has the same effect as subtracting 5 from 6.
+
|-
 +
|| press '''Ctrl + R''' keys repeatedly.
 +
|| Keep pressing '''Ctrl '''and '''R''' keys repeatedly.
  
  
 +
Observe the changes in point '''A''', '''a '''and '''n''' values and the parabola.
  
 
|-
 
|-
||Point to the '''Negatives''' bag
+
|| Double-click the function '''f(x)''' in the '''Algebra View'''.  
||Let us now remove the -1 chip from the Negatives bag.
+
|-
+
||Point to number line
+
||The description tells us we have removed a negative 1.
+
  
  
The mark on the line moves one place to the right.  
+
Type''' a *''' before the '''function'''.
  
  
 +
'''a * (x + x(A))² + y(A)'''
  
|-
 
||Point to the '''Total''' box
 
||The total amount is now 1 - (-1) which is 2.
 
  
 +
Point to the parabola.
 +
|| Double-click on the '''function f(x) '''in the '''Algebra View'''.
  
We already know 1 + 1 is also equal to 2.
 
  
 +
'''Redefine '''text box appears.
  
This means subtracting -1 from 1 has the same effect as adding 1 to 1.
 
  
 +
Type '''a '''space asterisk(*) before the '''function''' and click '''OK''' button.
  
  
 +
Observe that the parabola has opened downwards.
 
|-
 
|-
||Click on the '''Net Worth '''screen
+
|| Press '''Ctrl '''and '''R''' keys repeatedly.
||Click on the '''Net Worth''' screen.  
+
|| Press '''Ctrl '''and '''R''' keys repeatedly to see the changes in the parabola.
 
+
  
 +
|-
 +
|| Only Narration.
 +
|| Now we will see how to use '''IF commands''' to generate various '''functions'''.
  
 
|-
 
|-
||Point to the right panel next to the '''Positives''' bag
 
||In the right panel, we have different assets.
 
  
 +
|| Click on '''File''' >> '''New''' Window.
 +
|| For this we will open a new '''GeoGebra '''window.
  
Assets are items that a person owns which have value.
 
  
 +
|-
 +
|| Type '''IF''' in the input bar to show the list of''' IF''' commands.
 +
|| In general, the '''IF command''' is '''IF[Condition, Then, Else]'''
 +
|-
 +
|| Select the''' Slider''' tool(tool is shown as '''a=2''').
  
 +
Click in the '''Graphics View'''.
  
|-
+
In the '''Slider''' dialog box
||Point to the left panel next to the '''Negatives''' bag
+
  
 +
Change name to '''n'''.
  
 +
Change the '''Min '''value to 0 and '''Max '''value to 5.
  
||In the left panel, we have debts.  
+
Click the '''OK '''button.
  
  
Debt is money that a person owes to someone.
 
  
 +
|| Let’s first create a number slider '''n''' with '''Min''' value 0 and '''Max '''value 5.
 +
|-
 +
|| Select the '''Move''' tool(tool shown as arrow).
 +
|| Click the '''Move''' tool to avoid accidental clicking of unnecessary objects.
  
  
 
|-
 
|-
||Point to the '''Net Worth''' box
+
|| Cursor on the '''Graphics view'''.
 +
|| Let us draw circles of two different radii using the '''IF command'''.
  
  
 +
|-
 +
|| Type in the input bar:
  
||Using the net worth box on the top, we can calculate the net worth.
 
  
 +
'''IF[n<3, Circle[(0,0),1], circle[(2,0),4]]''' >>
  
It is all the assets and debts added together.
+
Press '''Enter'''.
|-
+
||'''Slide number 7'''
+
  
'''Assets and Debts table'''
 
||See the following table.
 
  
 +
Point to the circle.
 +
|| Type the following '''command''' and press '''Enter.'''
  
Pause the video here and perform these transactions using the Net Worth screen.
 
  
 +
A circle with center at the origin (0,0) and radius 1 cm is drawn.
  
Calculate the net worth of a person.  
+
|-
 +
|| Drag the '''slider''' from '''n=0 '''to '''n=3'''.
  
  
(Note: See table 1)
+
Point the circle.
 +
|| Now drag the slider from '''n''' is equal to zero to '''n '''is equal to three.
  
  
 +
A new circle with center at (2,0) and radius 4 centimetres is drawn.
  
 
|-
 
|-
||Point to the number line
+
|| Drag the '''slider n=0''' to '''n=5'''.
||After performing these operations, the final net worth of a person is $100.
+
|-
+
||Click on the '''Operations''' screen
+
||Click on the '''Operations''' screen.
+
  
 +
Point to the circle with different radius.
 +
|| As we drag the slider from '''n'''<nowiki>=0 to </nowiki>'''n'''<nowiki>=5 the radius changes from 1 cm to 4 c</nowiki>entimetres.
  
  
 
|-
 
|-
||Point to the number line
+
|| In the '''Algebra View '''
||The screen has a '''number line '''to represent net worth.
+
|-
+
||Point to the '''Initial''' '''Net Worth''' box
+
  
 +
Click to select '''c''' >>
  
Click and show the net values.
+
Press '''Delete''' key on the keyboard.  
||At the bottom, there is an initial net worth box.  
+
  
 +
'''or'''
  
Using the up and down arrows we can set a starting point.  
+
Click to select '''c ''' >> and  
 +
 
 +
Right-click on it >> select '''Delete''' option.
 +
||Now let’s delete circle '''c'''.
 
|-
 
|-
||Point to the top right box.
+
|| Only Narration.
 +
|| Next let us draw a segment and a circle in the same manner using the '''IF command'''.
  
  
 +
|-
 +
|| Drag the '''slider '''to '''n=0'''.
 +
|| Let us drag the '''slider''' back to '''n=0'''.
  
 +
|-
 +
|| Type in the input bar:
  
Point to the up and down arrow buttons.
 
  
 +
'''IF[n>2,Circle[(0,0),2], Segment((2,2), 3)]''' >>
  
 +
Press '''Enter'''.
  
  
 +
Point to the segment.
 +
|| Type the following '''command''' and press '''Enter'''.
  
  
 +
A segment parallel to''' x''' axis and at a distance of 2 cm is drawn.
  
  
 +
|-
 +
|| Drag the slider from '''n=0 ''' to '''n>2'''.
  
  
 +
Point to the circle.
  
||On the top right, there is an option to perform two transactions.
 
  
 +
Point to the circle in '''Algebra view'''.
 +
|| Now drag the slider from '''n'''<nowiki>=0 to </nowiki>'''n '''greater than 2 (n>2).
  
We can select an amount using the up and down arrows.
 
  
 
+
A circle with center at (0,0) and radius 2 cm is drawn.
A positive amount is an asset and a negative amount is a debt.
+
  
  
 +
Users may change the values to draw the circle with different dimensions.
  
 +
|-
 +
|| Drag the''' slider n=0''' to '''n=5'''.
  
 +
Point to the segment and circle.
 +
|| As we drag the '''slider '''from '''n'''<nowiki>=0 to </nowiki>'''n'''<nowiki>=5 the segment changes </nowiki>to a circle.
  
 
|-
 
|-
|| Point to the plus button.
+
|| In the '''Algebra View'''
  
 +
Click to select '''c''' >>
  
Point to the minus button.
+
Press the '''Delete''' key on the keyboard.
 
+
|| Again let’s delete the circle '''c '''and retain the''' slider n'''.
 
+
Click the down arrow.
+
  
 +
|-
 +
|| Drag the '''slider''' to '''n=0'''.
 +
|| Let us drag the slider back to n=0.
  
 +
|-
 +
|| Only Narration.
 +
|| Now we will use the''' IF command''' to show '''trigonometric functions'''.
 +
|-
 +
|| Type in the input bar:
  
  
Scroll the right arrow to move to right slide.
+
'''IF[n>2, sin(90-x),cos(x)] '''>> press '''Enter'''.
|| We can add an asset or debt using the plus button.
+
  
We can remove an asset or debt using the minus button.
 
  
 +
Point to the function in the '''Algebra view '''and '''Graphics view'''.
 +
|| Type the following '''command''' and press '''Enter'''.
  
Let us click the down arrow to add it to the net worth.
 
  
 +
A '''cos(x) function''' is plotted.
  
We can scroll right using the right arrow to perform the second transaction.
 
 
|-
 
|-
||Point to the '''Net Worth''' box
+
|| Drag the''' slider n=0''' to '''n=5'''.
  
  
Point to Simplify button
+
Point to the '''function''' in the '''Algebra view '''and '''Graphics view'''.
 +
|| As we drag the '''slider '''from '''n'''<nowiki>=0 to </nowiki>'''n'''<nowiki>=5,</nowiki>
  
 +
function changes from '''cos(x)''' to '''sin(90-x)'''.
  
 +
|-
 +
|| In the '''Algebra View '''
  
 +
Click to select '''function''' >> Press '''Delete '''key on the keyboard.
 +
|| Let’s delete the '''function'''.
 +
|-
 +
|| Type in the input bar:
  
 +
'''IF[n>2, sin(90-x),tan(x)]'''
 +
|| Similarly let us plot''' tan(x)''' and '''sin(90-x) functions'''.
  
 +
|-
 +
|| Drag the '''slider n=0''' to '''n=5'''.
  
Point to equals button
 
||The net worth box next to it displays the net worth amount.
 
  
 +
Point to the '''function''' in the '''Algebra view '''and '''Graphics view'''.
 +
|| As we drag the '''slider''' from n=0 to '''n'''<nowiki>=5,</nowiki>
  
We can click the Simplify button to simplify negative signs in the expression.  
+
'''function''' changes from '''tan(x)''' to '''sin(90-x)'''.
  
 +
|-
 +
|| '''Slide Number 6'''
  
We can click the equals button to evaluate the expression.
+
'''Assignment'''
  
 +
|| Pause the tutorial and do this assignment.
  
  
|-
+
Use '''IF '''command to:
||Point to the information checkboxes
+
||On the top left, we have the following checkboxes.
+
  
 +
* Draw triangles of different sizes.
  
'''Operation Descriptions, Operation Labels, Point Labels '''and''' Tick Marks'''
+
* Plot '''sin(x)''' and '''sinh(x) functions'''.
  
 +
* Plot '''cot(x)''' and '''cos(x) functions'''.
  
We can use these check boxes to show and hide the details.  
+
* Plot '''sin(90-x)''' and '''sinIntegral(x) functions'''.
  
 +
|-
 +
|| Only Narration.
 +
|| Now we will learn how to generate '''LaTeX '''code for a '''GeoGebra '''file.
  
 
|-
 
||Point to the '''eraser''' button
 
||The eraser button takes us back to the initial net worth.
 
|-
 
||Click the '''reset''' button
 
||Let us reset our screen.
 
 
|-
 
|-
||Point to the '''Initial Net Worth''' box
+
|| Point to the '''Code files''' on the '''Desktop'''.
||Let us set an initial net worth of $200.
+
|| For this let us open the files provided in the '''Code files '''link.
  
 +
I have downloaded and saved them on my '''Desktop'''.
  
 +
Please download and save them to your convenient folder.
  
 
|-
 
|-
||Point to the top right box
+
|| Point to the two '''GeoGebra '''files.
||Now let us add debt of $300 to the net worth of $200.  
+
|| The '''Code Files''' folder contains two '''GeoGebra '''files to generate the '''LaTeX code'''.
  
  
 
+
One for the '''article class''' and another for the '''beamer class'''.
|-
+
||Point to the '''Net Worth''' box
+
||The net worth is now 200 + (-300).
+
  
  
 +
Users may use the files as per their choice.
  
 
|-
 
|-
||Click and hold the '''Simplify''' button
+
|| Point to '''Triangle.ggb''' file.
||Click and hold the simplify button.  
+
  
  
This expression is equal to 200 - 300.  
+
Double-click on the file to open in '''GeoGebra'''.
 
+
|| Let us first open the''' Triangle.ggb '''file in '''GeoGebra'''.
 
+
We have already learned this concept.  
+
 
+
Adding a negative number has the same effect as subtracting its additive inverse
+
  
  
 +
Double-click on the file to open in '''GeoGebra'''.
  
 
|-
 
|-
||Click and hold the '''Equals '''button
+
|| Click on '''File '''menu and select '''Export'''.
||Click and hold the equals button.  
+
  
  
The net worth is now -$100.  
+
From the submenu select '''Graphics View as PGF/TIKZ'''.
 +
|| Click the''' File''' menu and select '''Export'''.
  
This means the person is in debt of $100.
 
  
 +
From the submenu select '''Graphics View as PGF/TIKZ'''.
  
 +
|-
 +
|| Point to the window.
 +
|| '''GeoGebra to PGF Export '''window opens.
  
 
|-
 
|-
||Point to the top right box
+
|| Click the '''Format''' drop-down button.
||Let us add assets of $500.
+
  
  
Scroll right in the top right box to add the asset.  
+
Point to '''LaTeX(article class)'''
 +
|| In the window,''' Format''' option has a drop-down arrow button.
  
 +
By default '''LaTeX(article class) '''is selected.
  
 +
 +
We will leave the default selection as such.
  
 
|-
 
|-
||Point to the '''Net Worth''' box
+
|| Click the '''Generate PGF/TikZ code''' button in the window.
||The net worth is now 200 + (-300) +500.
+
|| Now click the '''Generate PGF/TikZ code''' button in the window.
 
+
  
 +
|-
 +
|| Point to the generated code.
 +
|| Code is generated in the text box below.
  
 
|-
 
|-
||Click and hold the '''Simplify''' button
+
|| Press '''Ctrl +A''' to select text.
||Click and hold the simplify button again.  
+
  
 +
Press''' Ctrl + C''' to copy text.
  
This expression is equal to 200 - 300 + 500.
 
  
 +
Point to '''Copy to Clipboard '''button.
 +
|| Select the text and copy it.
  
 +
 +
You may also click the '''Copy to Clipboard '''button to copy the '''LaTeX''' code.
  
 
|-
 
|-
||Click and hold the '''Equals '''button
+
|| Open your '''Texworks''' tex file.
||Click and hold the equals button.  
+
|| I have opened a new '''Texworks''' file.
  
  
The net worth is now $400.  
+
Users may open their default '''LaTeX '''file.
 +
|-
 +
|| Press '''Ctrl + V '''keys to paste in the '''untitled''' '''TeXworks''' window.
 +
|| Now paste the copied code in the''' TeXworks '''window.
 +
|-
 +
|| Click on''' File''' and select '''Save'''.
  
This means the person has assets of $400.
 
  
 +
Point to the dialog box.
  
 +
Select '''Desktop''' to save the file.
  
|-
+
Type the name as '''Triangle''' >>
||Click on '''Generic''' screen
+
||Click on the '''Generic''' screen.
+
  
 +
Click on '''Save'''.
 +
|| To save the file click on '''File''' and select '''Save'''.
  
The Generic screen has some new tools.  
+
'''Save '''dialog box opens.
  
 +
I will save the file on my '''Desktop.'''
  
 +
Type the file name as '''Triangle '''and click on '''Save'''.
  
 
|-
 
|-
||Point to the '''Scale'''
+
|| Point to the file name.
||From this list, we can select the '''scale''' of the number line.  
+
|| File is saved as '''Triangle.tex'''.
  
 +
|-
 +
|| Click the green '''Typeset '''button.
 +
|| Now let's run the file.
  
-10 to 10 is chosen by default.
+
Click the green '''Typeset''' button to run the code.
 
+
  
 +
|-
 +
|| Point to the generated pdf file.
 +
|| The '''pdf''' file of the drawn figure is generated.
  
 
|-
 
|-
||Point to the net worth representations
+
|| Show the Code files folder.
||We can choose between representing one or two numerical expressions.  
+
  
  
For two expressions, two number lines will be displayed.
+
Point to '''Arc-sector.ggb''' file.
  
  
One is chosen by default.
+
Double click on '''Arc-sector.ggb''' file to open in GeoGebra.
|-
+
|| Let us go back to the '''Code files''' folder.
||Point to the information checkboxes
+
||On the top left, we have the following checkboxes.
+
  
  
'''Operation Labels, Point Labels '''and''' Tick Marks'''
+
This time let us open the '''Arc-sector.ggb''' file in '''GeoGebra'''.
  
 +
|-
 +
|| Click the '''File '''menu and select '''Export'''.
  
We can use these check boxes to show and hide the details.
 
  
 +
From the submenu select '''Graphics View as PGF/TIKZ'''.
 +
|| Click the '''File''' menu and select '''Export'''.
  
  
 +
From the submenu select '''Graphics View as PGF/TIKZ'''.
 
|-
 
|-
||Point to the number line
+
|| Point to the window.
||You can explore the '''Generic''' screen yourself.
+
|| '''GeoGebra to PGF Export '''window opens.
 
|-
 
|-
||
+
|| Click on '''Format '''drop down >> Select '''LaTeX(beamer class)''' option.
||With this, we have come to the end of this tutorial. Let us summarise.  
+
|| In the '''Format''' drop-down let us select '''LaTeX(beamer class)''' option.
 +
 
 
|-
 
|-
||'''Slide number 8'''
+
|| Click the '''Generate PGF/TikZ code''' button.
 
+
|| Click the '''Generate PGF/TikZ code''' button.
'''Summary'''
+
||In this tutorial, we have learnt how to:* Add integers on the number line
+
* Subtract integers on the number line
+
* Calculate the additive inverse
+
  
 +
|-
 +
|| Point to the generated code.
 +
|| The generated code is seen in the text box below.
  
 
|-
 
|-
||'''Slide Number 9'''
+
|| Press '''Ctrl + A''' to select text.
  
'''Assignment'''
+
Press '''Ctrl + C''' to copy text.
 +
|| Select the text and copy it.
  
 +
|-
 +
|| Point to the new '''Texworks''' file.
 +
|| I have opened a new '''Texworks''' file.
  
 +
|-
 +
|| Press '''Ctrl + V''' keys to paste the code.
 +
|| Now paste the copied code in the window.
  
||As an assignment,
+
|-
 +
|| Click on File and select Save.
  
 +
Select '''Desktop''' to save the file.
  
Use the Operations screen to calculate the net worth in different scenarios.  
+
Type file name as '''Arc-sector''' >> Click on '''Save'''.
 +
|| To save the file click on '''File''' and select '''Save'''.
  
 +
In the '''Save '''dialog box, type the file name as '''Arc-sector '''and click on '''Save'''.
  
Open the Generic screen and choose the two numerical expressions option.
+
|-
 +
|| Point to the saved file.
 +
|| The file is saved as''' Arc-sector.tex'''.
  
 +
|-
 +
|| Click the green''' Typeset '''button to run the code.
 +
|| Now let’s run the file.
  
Then perform the steps shown in this table.
+
Click the green '''Typeset''' button to run the code.
 
+
Compare the different operations on integers.  
+
 
+
(Note: See table 2)
+
  
 +
|-
 +
|| Point to the generated '''pdf''' file.
 +
|| A '''pdf''' file is generated with a number of pages.
  
 +
|-
 +
|| Scroll through the pages to see the construction in a step by step process.
 +
|| '''Pdf '''file shows the step by step construction of the drawn figure on each page.
  
 
|-
 
|-
||'''Slide number 10'''
+
|| Only Narration.
 
+
|| With this we come to the end of this tutorial.
'''About the Spoken Tutorial project'''
+
|| The video at the following link summarises the Spoken Tutorial project.  
+
 
+
Please download and watch it.
+
 
+
 
+
  
 +
Let us summarise.
 
|-
 
|-
||'''Slide number 11'''
+
|| '''Slide Number 7 '''
  
'''Spoken Tutorial workshops'''
+
'''Summary'''.
|| The Spoken Tutorial Project team:
+
|| In this tutorial we have learnt to,
  
conducts workshops using spoken tutorials and  
+
* Use various '''script commands''' to draw and manipulate objects.
  
gives certificates on passing online tests.
+
* Use '''IF''' commands to draw objects.
 
+
For more details, please write to us.  
+
  
 +
* Convert '''GeoGebra '''file to a '''LaTeX '''file.
  
 +
* Run the '''LaTeX''' code to show the output in pdf format.
  
 
|-
 
|-
||'''Slide number 12'''
+
|| '''Slide Number 8 '''
  
'''Forum for specific questions'''
+
'''Assignment'''
 +
|| Here is an assignment for you.
  
 +
* Plot '''sin(x)''', '''cos(x)''' and '''tan(x) functions''' in the same''' GeoGebra ''' file.
  
Do you have questions in THIS Spoken Tutorial?
+
* Using the '''GeoGebra''' file generate a '''LaTeX''' code for '''article class'''.
  
 +
* Run the '''LaTeX '''code to generate a pdf file.
  
Please visit this site.  
+
|-
 +
|| Glimpse of assignment
 +
|| Your completed assignment should look as follows.
  
 +
|-
 +
|| '''Slide Number 9 '''
  
Choose the minute and second where you have the question.  
+
'''Assignment'''
 +
|| Here is another assignment for you.
  
 +
* Open a new '''GeoGebra''' window.
  
Explain your question briefly.  
+
* Draw a circumscribed circle in it.
  
 +
* Generate a''' LaTeX '''code for '''beamer class'''.
  
The Spoken tutorial project will ensure an answer.
+
* Run the '''LaTeX''' code to generate a pdf file.
  
 +
|-
 +
|| Glimpse of assignment
 +
|| Your completed assignment should look as follows.
  
You will have to register to ask questions.
+
|-
 +
|| '''Slide Number 10'''
  
 +
'''About Spoken Tutorial Project'''
 +
||
 +
* The video at the following link summarises the Spoken Tutorial project.
 +
* Please download and watch it.
  
 
||Please post your timed queries in this forum.
 
 
|-
 
|-
||'''Slide number 13'''
+
|| '''Slide Number 11'''
  
'''Acknowledgement'''
+
'''Spoken tutorial workshops'''
 +
||
 +
* We conduct workshops using Spoken Tutorials and give certificates.
 +
* For more details, please contact us.
  
 +
|-
 +
|| '''Slide Number 12'''
  
 +
'''Forums'''
 +
|| Please post your timed queries in this forum.
  
||The Spoken Tutorial project is funded by the Ministry of Education, Government of India.
+
|-
 
+
|| '''Slide Number 13'''
  
 +
'''Acknowledgment'''
 +
|| The '''Spoken Tutorial''' project is funded by the '''Ministry of Education '''Govt. of India.
  
 
|-
 
|-
||'''Slide number 14'''
+
||  
 
+
|| This is Madhuri Ganapathi from, IIT Bombay signing off.  
'''Thank you'''
+
||This is Radhika Yadav, a FOSSEE summer fellow 2022, IIT Bombay signing off.  
+
 
+
  
Thanks for joining.  
+
Thank you for watching.  
 
|-
 
|-
 
|}
 
|}

Latest revision as of 14:50, 2 December 2022

Keywords: GeoGebra, scripting, latex, input bar, Texworks, if commands, circle, parabola, spoken tutorial, video tutorial.


Visual Cue Narration
Slide Number 1

Title Slide

Welcome to this Spoken Tutorial on Scripting and LaTeX in GeoGebra.
Slide Number 2

Learning Objectives

In this tutorial we will learn to,
  • Use various script commands to draw and manipulate objects.
  • Use IF commands to draw objects.
  • Convert GeoGebra file to a LaTeX file.
  • Run the LaTeX code to show the output in pdf format.
Slide Number 3

System Requirement

To record this tutorial, I am using;
  • Ubuntu Linux OS version 18.04
  • GeoGebra version 5.0660.0-d
  • TeXworks version 0.6.3

The commands shown in this tutorial will work in all 5.0x versions of GeoGebra.

Slide Number 4

Pre-requisites

https://spoken-tutorial.org

To practise this tutorial,

You should have full version of TeXworks installed on your system.

You should be familiar with GeoGebra and LaTeX.


For the prerequisite GeoGebra and LaTeX tutorials please visit this website.

Slide Number 5

Code Files

The files used in this tutorial are provided in the Code files link.

Please download and extract the files.

Make a copy and use them for practising.

Cursor on the GeoGebra window. I have opened a new GeoGebra window.
Only Narration.


Open and show the scripting-commands.txt file.

Let us begin with scripting in GeoGebra.


The commands used in this tutorial are available in scripting-commands.txt file.


This file is given in the Codes Files for the learners to use.

For beginners the Input bar is at the bottom.

Shown as Input:

In this tutorial we will use the Input bar to draw various objects.
Type in Input bar:

A= (2,4) >> Press Enter.


Cursor near Point A.

In the Input bar type A= (2, 4) and press Enter.


Point A is marked in the Graphics view at (2,4).

Cursor near point A. Now we will use script commands to change the coordinates of point A.
Type in the input bar:


SetCoords(A, x(A)+1, y(A)-1)


Point to the code in the Input bar.

In the input bar type the following command.

This code moves the x coordinate of A by one up and y coordinate by one down.


Press Enter to execute the command.

Point to A(3,3) The coordinates of point A now are (3,3).
In the Input bar click the up, down arrow keys >>

select the command from the list.


Cursor near point A in the Graphics view.

Let us execute the same command once again.


The coordinates of point A change to (4,2).

Type in the input bar >>

Circle(A, 3) >>

Press Enter.


Point to circle c.


Drag the Algebra view boundary.

Now let us draw a circle using point A.


Type this command in the input bar and press Enter.


A circle with centre A and radius 3 cm is drawn.


Drag the boundary to see the equation clearly.

Point to the circle c. Let’s now change the colour of circle c dynamically.
Type in input bar:

SetDynamicColor[c, Red, Green, Blue] >>

Press Enter.


Point to the dialog box.

Type this command in the input bar and press Enter.


Create Sliders dialog box appears.

Click the Create Sliders button.

Point to the sliders.

Click the Create Sliders button.


Three sliders Red, Green, and Blue are created.

Drag sliders Red, Blue and Green back and forth. Now drag the sliders to see the circle in various combinations of colours.
Point to c. Now let’s create a random circle using a random point B.
Create a random point B, type in the input bar:


B= (RandomBetween[-2, 2], RandomBetween[-2, 2])

Point to Point B.

In the Input bar type the following command and press Enter.

Point B is drawn.

Type in input bar:


r=RandomBetween[0,5]


Point to r value in the Algebra view.

Now let’s create radius r of circle c randomly using this command.


Type in input bar:


c= Circle[B,r]


Drag the sliders Red, Blue and Green.


To get a random circle c, type this command.


Drag the sliders to see the circle in different colours.


Press Ctrl + R to move the circle randomly in the Graphics view.


Point to the circle.

Press Ctrl and R keys to move the circle randomly in the Graphics view.


Notice the change in the radius of the circle as it moves.


Press Ctrl and A keys to select and

Press Delete Key to delete.

Let us select all the objects and delete them.


Only Narration. Next let's create a randomly generated parabola.


Type in the input bar:

A = (RandomBetween[-3,3],RandomBetween[-3,3])

Press Enter.

To create a random parabola let’s create a random point A.


Type the following command and press Enter.


Point to point A. Point A will be the vertex of the parabola.
Press Ctrl and R keys repeatedly. Press Ctrl and R keys repeatedly.

Observe that the coordinates of point A keep changing.

In the Input bar type:

f(x) = ( x + x(A) )^2 + y(A) and press Enter.


Point to x(A) and y(A) in the input bar.

In the Input bar type the following command.


Here x(A) and y(A) are the coordinates of point A in the equation.

Point to the parabola. Observe that, parabola opens upwards.
Point to the parabola. To make the parabola open downwards, we need to randomly generate +1 and -1.
In the input bar type:

n = RandomBetween[ 0 , 1 ] >> press Enter

Point to n value in the Algebra view.


Type:

a = If[ n == 1 , 1 , -1 ] >> Press Enter.


Point to the values of a and n in the Algebra view.

Type the following command and press Enter.


Here n is a number which is in between 0 and 1.


Type the following command.

Here a changes when n is equal to 1.


We can see the values of n and a only in the Algebra view.

press Ctrl + R keys repeatedly. Keep pressing Ctrl and R keys repeatedly.


Observe the changes in point A, a and n values and the parabola.

Double-click the function f(x) in the Algebra View.


Type a * before the function.


a * (x + x(A))² + y(A)


Point to the parabola.

Double-click on the function f(x) in the Algebra View.


Redefine text box appears.


Type a space asterisk(*) before the function and click OK button.


Observe that the parabola has opened downwards.

Press Ctrl and R keys repeatedly. Press Ctrl and R keys repeatedly to see the changes in the parabola.
Only Narration. Now we will see how to use IF commands to generate various functions.
Click on File >> New Window. For this we will open a new GeoGebra window.


Type IF in the input bar to show the list of IF commands. In general, the IF command is IF[Condition, Then, Else]
Select the Slider tool(tool is shown as a=2).

Click in the Graphics View.

In the Slider dialog box

Change name to n.

Change the Min value to 0 and Max value to 5.

Click the OK button.


Let’s first create a number slider n with Min value 0 and Max value 5.
Select the Move tool(tool shown as arrow). Click the Move tool to avoid accidental clicking of unnecessary objects.


Cursor on the Graphics view. Let us draw circles of two different radii using the IF command.


Type in the input bar:


IF[n<3, Circle[(0,0),1], circle[(2,0),4]] >>

Press Enter.


Point to the circle.

Type the following command and press Enter.


A circle with center at the origin (0,0) and radius 1 cm is drawn.

Drag the slider from n=0 to n=3.


Point the circle.

Now drag the slider from n is equal to zero to n is equal to three.


A new circle with center at (2,0) and radius 4 centimetres is drawn.

Drag the slider n=0 to n=5.

Point to the circle with different radius.

As we drag the slider from n=0 to n=5 the radius changes from 1 cm to 4 centimetres.


In the Algebra View

Click to select c >>

Press Delete key on the keyboard.

or

Click to select c >> and

Right-click on it >> select Delete option.

Now let’s delete circle c.
Only Narration. Next let us draw a segment and a circle in the same manner using the IF command.


Drag the slider to n=0. Let us drag the slider back to n=0.
Type in the input bar:


IF[n>2,Circle[(0,0),2], Segment((2,2), 3)] >>

Press Enter.


Point to the segment.

Type the following command and press Enter.


A segment parallel to x axis and at a distance of 2 cm is drawn.


Drag the slider from n=0 to n>2.


Point to the circle.


Point to the circle in Algebra view.

Now drag the slider from n=0 to n greater than 2 (n>2).


A circle with center at (0,0) and radius 2 cm is drawn.


Users may change the values to draw the circle with different dimensions.

Drag the slider n=0 to n=5.

Point to the segment and circle.

As we drag the slider from n=0 to n=5 the segment changes to a circle.
In the Algebra View

Click to select c >>

Press the Delete key on the keyboard.

Again let’s delete the circle c and retain the slider n.
Drag the slider to n=0. Let us drag the slider back to n=0.
Only Narration. Now we will use the IF command to show trigonometric functions.
Type in the input bar:


IF[n>2, sin(90-x),cos(x)] >> press Enter.


Point to the function in the Algebra view and Graphics view.

Type the following command and press Enter.


A cos(x) function is plotted.

Drag the slider n=0 to n=5.


Point to the function in the Algebra view and Graphics view.

As we drag the slider from n=0 to n=5,

function changes from cos(x) to sin(90-x).

In the Algebra View

Click to select function >> Press Delete key on the keyboard.

Let’s delete the function.
Type in the input bar:

IF[n>2, sin(90-x),tan(x)]

Similarly let us plot tan(x) and sin(90-x) functions.
Drag the slider n=0 to n=5.


Point to the function in the Algebra view and Graphics view.

As we drag the slider from n=0 to n=5,

function changes from tan(x) to sin(90-x).

Slide Number 6

Assignment

Pause the tutorial and do this assignment.


Use IF command to:

  • Draw triangles of different sizes.
  • Plot sin(x) and sinh(x) functions.
  • Plot cot(x) and cos(x) functions.
  • Plot sin(90-x) and sinIntegral(x) functions.
Only Narration. Now we will learn how to generate LaTeX code for a GeoGebra file.
Point to the Code files on the Desktop. For this let us open the files provided in the Code files link.

I have downloaded and saved them on my Desktop.

Please download and save them to your convenient folder.

Point to the two GeoGebra files. The Code Files folder contains two GeoGebra files to generate the LaTeX code.


One for the article class and another for the beamer class.


Users may use the files as per their choice.

Point to Triangle.ggb file.


Double-click on the file to open in GeoGebra.

Let us first open the Triangle.ggb file in GeoGebra.


Double-click on the file to open in GeoGebra.

Click on File menu and select Export.


From the submenu select Graphics View as PGF/TIKZ.

Click the File menu and select Export.


From the submenu select Graphics View as PGF/TIKZ.

Point to the window. GeoGebra to PGF Export window opens.
Click the Format drop-down button.


Point to LaTeX(article class)

In the window, Format option has a drop-down arrow button.

By default LaTeX(article class) is selected.


We will leave the default selection as such.

Click the Generate PGF/TikZ code button in the window. Now click the Generate PGF/TikZ code button in the window.
Point to the generated code. Code is generated in the text box below.
Press Ctrl +A to select text.

Press Ctrl + C to copy text.


Point to Copy to Clipboard button.

Select the text and copy it.


You may also click the Copy to Clipboard button to copy the LaTeX code.

Open your Texworks tex file. I have opened a new Texworks file.


Users may open their default LaTeX file.

Press Ctrl + V keys to paste in the untitled TeXworks window. Now paste the copied code in the TeXworks window.
Click on File and select Save.


Point to the dialog box.

Select Desktop to save the file.

Type the name as Triangle >>

Click on Save.

To save the file click on File and select Save.

Save dialog box opens.

I will save the file on my Desktop.

Type the file name as Triangle and click on Save.

Point to the file name. File is saved as Triangle.tex.
Click the green Typeset button. Now let's run the file.

Click the green Typeset button to run the code.

Point to the generated pdf file. The pdf file of the drawn figure is generated.
Show the Code files folder.


Point to Arc-sector.ggb file.


Double click on Arc-sector.ggb file to open in GeoGebra.

Let us go back to the Code files folder.


This time let us open the Arc-sector.ggb file in GeoGebra.

Click the File menu and select Export.


From the submenu select Graphics View as PGF/TIKZ.

Click the File menu and select Export.


From the submenu select Graphics View as PGF/TIKZ.

Point to the window. GeoGebra to PGF Export window opens.
Click on Format drop down >> Select LaTeX(beamer class) option. In the Format drop-down let us select LaTeX(beamer class) option.
Click the Generate PGF/TikZ code button. Click the Generate PGF/TikZ code button.
Point to the generated code. The generated code is seen in the text box below.
Press Ctrl + A to select text.

Press Ctrl + C to copy text.

Select the text and copy it.
Point to the new Texworks file. I have opened a new Texworks file.
Press Ctrl + V keys to paste the code. Now paste the copied code in the window.
Click on File and select Save.

Select Desktop to save the file.

Type file name as Arc-sector >> Click on Save.

To save the file click on File and select Save.

In the Save dialog box, type the file name as Arc-sector and click on Save.

Point to the saved file. The file is saved as Arc-sector.tex.
Click the green Typeset button to run the code. Now let’s run the file.

Click the green Typeset button to run the code.

Point to the generated pdf file. A pdf file is generated with a number of pages.
Scroll through the pages to see the construction in a step by step process. Pdf file shows the step by step construction of the drawn figure on each page.
Only Narration. With this we come to the end of this tutorial.

Let us summarise.

Slide Number 7

Summary.

In this tutorial we have learnt to,
  • Use various script commands to draw and manipulate objects.
  • Use IF commands to draw objects.
  • Convert GeoGebra file to a LaTeX file.
  • Run the LaTeX code to show the output in pdf format.
Slide Number 8

Assignment

Here is an assignment for you.
  • Plot sin(x), cos(x) and tan(x) functions in the same GeoGebra file.
  • Using the GeoGebra file generate a LaTeX code for article class.
  • Run the LaTeX code to generate a pdf file.
Glimpse of assignment Your completed assignment should look as follows.
Slide Number 9

Assignment

Here is another assignment for you.
  • Open a new GeoGebra window.
  • Draw a circumscribed circle in it.
  • Generate a LaTeX code for beamer class.
  • Run the LaTeX code to generate a pdf file.
Glimpse of assignment Your completed assignment should look as follows.
Slide Number 10

About Spoken Tutorial Project

  • The video at the following link summarises the Spoken Tutorial project.
  • Please download and watch it.
Slide Number 11

Spoken tutorial workshops

  • We conduct workshops using Spoken Tutorials and give certificates.
  • For more details, please contact us.
Slide Number 12

Forums

Please post your timed queries in this forum.
Slide Number 13

Acknowledgment

The Spoken Tutorial project is funded by the Ministry of Education Govt. of India.
This is Madhuri Ganapathi from, IIT Bombay signing off.

Thank you for watching.

Contributors and Content Editors

Madhurig, Nancyvarkey