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

SageMath-Witch-of-Agnesi

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

a 5
max 15

You might also like