Ask Your Question

Revision history [back]

How to combine the @interact command with complex plot?

How to combine the @interact command with complex plot? Hi, I'm trying to create a code to combine the @interact command with complex plot. I have created the complex plot using sage: f(z) = z^5 + z - 1 + 1/z sage: complex_plot(f, (-3, 3), (-3, 3)) but I wish to change the z^5 term to z^x where I can create a slider for the value of x using the @interact command. Does anyone know how I should start with this? I'm currently a high student working for a project but I don't know much about sage. If you know anything and can explain in simple terms it will be greatly appreciated. THANK YOU

How to combine the @interact command with complex plot?

How to combine the @interact command with complex plot? Hi, I'm trying to create a code to combine the @interact command with complex plot. I have created the complex plot using

sage: f(z) = z^5 + z - 1 + 1/z
sage: complex_plot(f, (-3, 3), (-3, 3))

but I wish to change the z^5 term to z^x where I can create a slider for the value of x using the @interact command. Does anyone know how I should start with this? I'm currently a high student working for a project but I don't know much about sage. If you know anything and can explain in simple terms it will be greatly appreciated. THANK YOU

click to hide/show revision 3
retagged

How to combine the @interact command with complex plot?

How to combine the @interact command with complex plot? Hi, I'm trying to create a code to combine the @interact command with complex plot. I have created the complex plot using

sage: f(z) = z^5 + z - 1 + 1/z
sage: complex_plot(f, (-3, 3), (-3, 3))

but I wish to change the z^5 term to z^x where I can create a slider for the value of x using the @interact command. Does anyone know how I should start with this? I'm currently a high student working for a project but I don't know much about sage. If you know anything and can explain in simple terms it will be greatly appreciated. THANK YOU