Solver Draw an Ellipse
Algebra
->
Quadratic-relations-and-conic-sections
-> Solver Draw an Ellipse
Log On
Algebra: Conic sections - ellipse, parabola, hyperbola
Section
Solvers
Solvers
Lessons
Lessons
Answers archive
Answers
Source code of 'Draw an Ellipse'
This Solver (Draw an Ellipse)
was created by by
Shin123(626)
:
View Source
,
Show
,
Put on YOUR site
About Shin123
:
Just a kid who solves math problems for fun :)
==section input Draw an ellipse with center (*[input x=2],*[input y=3]) with horizontal radius *[input r1=3] and vertical radius *[input r2=2]. ==section solution The equation for that ellipse is *[assign r3=$r1^2] *[assign r4=$r2^2] {{{((x-($x))^2)/$r3+((y-($y))^2)/$r4=1}}} *[assign r5=2*$r1] *[assign r6=2*$r2] {{{drawing(600,600,-15,15,-15,15,grid(1),ellipse($x,$y,$r5,$r6))}}} ==section output r3,r4,r5,r6 ==section check