Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

SageMath-Kampyle-of-Eudoxus

var('x','y')
show("Cartesian equation: ",LatexExpr("a^2x^4=b^4(x^2+y^2)"))
@interact
def __(a = slider (1, 100, default = 6, step_size = 1), b = slider (1, 100, default = 4,
step_size = 1), max = slider (1, 100, default = 20, step_size = 1)):
show(implicit_plot (a^2*x^4==b^4*(x^2+y^2), (x, -max, max), (y, -max, max), axes = True,
figsize=10))
2 4 4 2 2
Cartesian equation:a x = b (x + y )

a 6
b 4
max 20

You might also like