33 views

Uploaded by Cynthia Solomon

- Mathematics for the Million - How to Master the Magic of Numbers.
- Class 4 Imo Wkbsol e Book
- Sample Tiered Math Problems
- JMO_p
- Isoparametric Fomulation
- Final Project
- Management Aptitude Test 20 November
- Probleme de Geometrie Computationala
- Tareget 2014 Math
- Sundara Row
- Rules of Geometry - V0
- Sample Test LMAT
- Equations of Quadrilaterals
- assignment_2_straight_lines_mathongo.pdf
- 8_Maths Lab in Schools Ix
- ICSE Sample Paper Class 9 - Mathematics - # 1 Questions - Topperlearning.pdf
- polygons power point
- Spm June 2010 Paper 1
- Geometry LT 4.3.pdf
- 2010AMC10-Asolutions

You are on page 1of 8

The turtle can draw different triangle shapes. The triangle we discuss below is like a square in that all its sides are equal and all its angles are equal. In this example, the turtle will take 30 steps for ward, the same amount it took in s q u a r e .

>

FD 3 0

Equiangular Triangle

Now comes the big decision. How many degrees does the turtle have to turn to draw this triangle? In school we learned that equiangular triangles have 60 degree angles. Look what happens when the turtle turns 60 degrees.

RT 6 0 FD 3 0 RT 6 0

g f S |

FD 3 0 RT 6 0

FD 3 0 RT 6 0

73

FD 3 0 RT 6 0 FD 3 0 RT 6 0

The figure is a hexagon; it has 6 rather than 3 sides. To make a triangle the turtle needs to turn 120 degrees at each corner. Why 120 and not 60? The answer is simple. When the turtle starts its triangle trip, it must turn 360 degrees (a complete circle) before it returns to its starting state. It walks along an edge of the trian gle of the triangle. The turtle does this 3 times. (3 times 120 is 360; 6 times 60 is 360.) When the tur tle draws a square it turns four times instead of three; 4 times 90 is 360! Now we can finish drawing the triangle.

CS FD 3 0 RT 1 2 0 FD 3 0

P*

J>

>

RT FD RT

120 30 120

74

Now you can define the word use the editor to do this.

EDI T "TRI ANGLE

t r ia n g l e

Lets

REPEAT END 3 [FD 30 RT 120]

i>

3 [ T R I A N G L E RT 1 2 0 ] 6 [ T R I A N G L E RT 6 0 ] 1 0 0 [ T R I A N G L E RT 3 0 ]

T R IA N G L E

In this last example the turtle retraces its path many times. You can always stop the turtle by pressing c t r l - g . You might want to figure out how many times the turtle needs to repeat a set of commands. For ex ample if the turtle turns 30 degrees each round, it has to repeat the set of commands 360/30 or 12 times. Logo can do arithmetic and so can divide 360 by 30 for you.

REPEAT 360/30 [TRIANGLE RT 3 0 ]

r ia n g l e

R E P E A T 3 [T R IA N G LE RT 120]

R E P E A T 6 [T R IA N G LE RT 60]

R E P E A T 360/30 [T R IA N G LE RT 30]

( Lets make the turtle draw t e n t . Just running t r i a n g l e is not enough. The t e n t will be tipped.

CS TRIANGLE

Turn the turtle r t 90 and run time the tent is upside down.

I >

t r ia n g l e

This

CS RT 9 0 TRIANGLE

Remember when we made t r i a n g l e , the inside angle was 60 degrees. If we now turn the turtle r t 90 and then l t 60 the turtle is set up for drawing a tent. Of course, we could just turn the turtle r t 30.

CS RT 3 0 TRIANGLE

TO T E N T RT 3 0 TRIANGLE END

TENT

t e n t

to help with

t r e e

A

cs

TENT RT 6 0 FD 1 5

76

RT 9 0 FD 15 RT 1 8 0

Now define t r e e . You could then make three or four trees appear on the screen. For example,

RT 9 0 PU FD 3 0

m

LT 90 PD TREE

It is a good programming habit to put the setup instructions in a separate procedure, s e t t r e e will set up the turtle for drawing a new tree on the screen.

TO S E T T R E E RT 9 0 PU FD 3 0 LT 9 0 PD END

REPEAT 3 [TREE SETTREE]

If you want to change the distance between trees, then edit s e t t r e e and increase the amount the turtle goes f o r w a r d . Turtle Makes a House You have taught the turtle to make a square and a triangle. Now put them together to make a house.

SQUARE FD 3 0 TRIANGLE

You put them together but the turtle didnt draw a house. There is a bug. The fix is simple. We should use t e n t instead of t r i a n g l e .

SQUARE FD 3 0 TENT

- Mathematics for the Million - How to Master the Magic of Numbers.Uploaded byJonathan Camargo Popham
- Class 4 Imo Wkbsol e BookUploaded byanupthatta
- Sample Tiered Math ProblemsUploaded byFirman S
- JMO_pUploaded by28322888
- Isoparametric FomulationUploaded byNadji Chi
- Final ProjectUploaded byAaron John Perea
- Management Aptitude Test 20 NovemberUploaded byKNOWLEDGE CREATORS
- Probleme de Geometrie ComputationalaUploaded byValentin
- Tareget 2014 MathUploaded byRoyleTouseefsiraj
- Sundara RowUploaded bySushant Mungse
- Rules of Geometry - V0Uploaded bystrshirdi
- Sample Test LMATUploaded byAmna Mushtaq
- Equations of QuadrilateralsUploaded byMayukh Nath
- assignment_2_straight_lines_mathongo.pdfUploaded byNagireddy Kalluri
- 8_Maths Lab in Schools IxUploaded bySravan Kumar Challoju
- ICSE Sample Paper Class 9 - Mathematics - # 1 Questions - Topperlearning.pdfUploaded byAvinash Dubey
- polygons power pointUploaded byapi-293888675
- Spm June 2010 Paper 1Uploaded bymiearjuna
- Geometry LT 4.3.pdfUploaded byAaliyah Acosta
- 2010AMC10-AsolutionsUploaded byNitin Gupta
- Some Mathematical terms you need to knowUploaded byGeorge Graham
- Hinge theoremUploaded byGlenda Hernandez
- n Iz World Austrian Mathematical Olympiad 2010Uploaded byJoaquim Marques
- Measurement by DANUploaded byDarma Andreas Ngilawayan
- 4E midyr p1 2008Uploaded byjiashengrox
- 12 Maths NcertSolutions Chapter 8 (2)Uploaded bysaavu
- 2010 Term 3 Class Test 1Uploaded byyeeluv99
- 12mathsUploaded byRakesh Soni
- 4 ChapterUploaded bySaahil Ledwani
- SMC2016_Junior_Exam_Solutions.pdfUploaded byDgjjk

- OLPCMemo1Uploaded byCynthia Solomon
- Cynthia.seymour.specialissue1Uploaded byCynthia Solomon
- 1972 Exeter Mathland Demonstration FlyerUploaded byCynthia Solomon
- afirstlesson_0001Uploaded byCynthia Solomon
- OLPCMEMO5Uploaded byCynthia Solomon
- Chapter 3Uploaded byCynthia Solomon
- Teachingyoung ChildrenUploaded byCynthia Solomon
- Leading a ChildUploaded byCynthia Solomon
- Chapter 17 EmUploaded byCynthia Solomon
- OLPCMemo1Uploaded byCynthia Solomon
- Case StudyUploaded byCynthia Solomon
- Archive-RESUMES-Cynthia_Solomon”Uploaded byCynthia Solomon
- AppendixUploaded byCynthia Solomon
- moned1Uploaded byCynthia Solomon
- OLPCMEMO3Uploaded byCynthia Solomon
- OLPCMEMO4Uploaded byCynthia Solomon
- OLPCMEMO2Uploaded byCynthia Solomon
- Chapter 18 EmUploaded byCynthia Solomon
- Chapter 12 EmUploaded byCynthia Solomon
- Chapter 4 EmUploaded byCynthia Solomon
- Chapter 14Uploaded byCynthia Solomon
- Chapter 15Uploaded byCynthia Solomon
- Chapter 16Uploaded byCynthia Solomon
- Index&AcknowledgeUploaded byCynthia Solomon
- Chapter 17 TitleUploaded byCynthia Solomon
- Chapter 18 TitleUploaded byCynthia Solomon
- TableofcontentsUploaded byCynthia Solomon
- Chapter 2Uploaded byCynthia Solomon

- Palmer.08.Digital Processing Of Shallow Seismic Refraction Data.pdfUploaded byAir
- Applied Computational Fluid DynamicsUploaded bytriantosd
- Physics Forces LabUploaded byjtepei
- lesson 9 4 addition subtraction of radical expressionsUploaded byapi-233527181
- Student Pocket HandbookUploaded byhfguavita
- New ElectrodynamicsUploaded byrbanduric
- integrated math 2 syllabus 2017-2018Uploaded byapi-367635235
- Reflection and Refraction of LightUploaded byseunnuga93
- syllabusUploaded byseomana
- Blade Pass Frequency in Centrifugal PumpsUploaded byGyangunj Siddhashram
- Software Engineering.docxUploaded byOmer Ali
- User Defined Subroutines for Heat Transfer CoefficientUploaded byDan Wolf
- Intro PhysicsUploaded bypeechoong_lau
- Parallel RLC Circuit and RLC Parallel Circuit AnalysisUploaded byProsenjit Chatterjee
- ARCGIS 9 - GeoprocessorUploaded byYerzydDavidAlconBustos
- BOOK Building VibrationUploaded byVladimir Gucond
- Final Report With ChangesUploaded byAkash Kumar
- 06_articol_41_44Uploaded byFelicia Damian
- geo_5_user_guide_enUploaded byD SRINIVAS
- Zengobi Curio 6 User ManualUploaded bydoglord
- mathematical modelUploaded byBaalaji Ravichandran
- Tense and Aspect SystemsUploaded byjollyorang
- MCTE-DP2013Uploaded byAbdulAziz
- Software Design SpecificationUploaded byYathestha Siddh
- The Thermodynamics is That Branch of EngineeringUploaded bySandeep Bunty
- v18i05.pdfUploaded byelpobre113
- 6eevised Syllabus Bsc Cs 2014Uploaded byVignesh Mohandas
- eerrUploaded bykhey
- 12563124 ScatteringUploaded byjestamil
- His to Grams ExtractUploaded byTrishnee Munusami