×

Scratch cartesian circle_s pdf

To draw a circle using Cartesian coordinate system

1.

ccs

2.

 

pythagoreantheorem

A Cartesian coordinate system is a coordinate system that specifies each point uniquely in a plane by a pair of numerical coordinates. Considering two points x and y on the x-axis and y-axis which meet at (x,y), this produces a right angle triangle with base of length x and height y. Here we could implement Pythagorean theorem which states ; The sum of the areas of the two squares on the legs (a and b) equals the area of the square on the hypotenuse (c). now applying to the above fig we get.

x,ywhere ‘r’ denotes the radius of the circle, which can be drawn by keeping either x or y a constant and varying the others value.

To run the script ;                                                                         Script ;

scScreenshotofcode

  • the step are defined to 40.
  • setting radius of the circle to r
  • defining x position to 0
  • defining y position to -r ( i.e.. To start the circle from the point (0,-r))
  • determines the centre of x and y.Pen down starts to draw
  • the first loop repeats for the number of steps i.e..40
  • y value is changed with respect to delta of y .
  • x is set to the modified equation of circle i.e.. x= √(r*r) – (y*y)
  • this draws only a semi circle starting from the point (0,-r) to the point (0,r)
  • hence we require a second loop to draw the other half of the semi circle.
  • the second loop repeats for the number of steps ie.40
  • y value is changed with respect to delta of – y.
  • y is set to the modified equation of circle i.e.. x= – √ (r*r) – (y*y)
  • this draws only a semi circle starting from the point (0,r) to the point (0,-r)
  • hence the other half of the semi circle is dawn.

Now this whole script is user defined to perform 3 concentric circles around each points (0,0) and (100,50)

The Drawn Circles;

 screenshotoutput

reference : http://en.wikipedia.org – image 2

Author

prathap7618@gmail.com

Related Posts

Exploring Awareness Through the Body (ATB) – A Teacher’s Journey

-SandhiyaBala, SivaguruPrasath and Nithya Santhosh SAIIER Teachers’ Centre recently invited teachers to a three-day workshop series called ATB for Teachers, held on...

Read out all

Bhishma Hunt program

The Bhishma Hunt program, organized by Sanvi Educational and Charitable Trust at Sanvi International School, invited STEM Land to lead robotics and...

Read out all

India news clippings

About SAIIER and STEM land from 16:45

Read out all

Plaksha School Visit

-Ilakiya, Tamil, Rajesh, Sivaguru and Aarthi STEMland was invited by Plaksha School in Andhra Pradesh for a three-day session to work with...

Read out all

Physical and Mental Health Awareness Session

-SandhiyaBala, Sivaguru , Tamil, Durai, Ajay, Rajesh , Gunavathi, Poovizhi , SandhiyaSaravanan and Sri Bhavani Every Tuesday morning, we have a learning...

Read out all

Joy of Creating Puzzles in Algebraic equation

-Sribhavani New Initiative of Sanjeev for the year 2025 is to support children from 5th to 8th grade to make project and...

Read out all