WoW

240 days ago by WowWowWow

f(x) = (x^3 + 3*x) p1 = plot(f(x), (x, -3, 3), color = 'green') g(x) = (3*x^2 + 3) p2 = plot(g(x), (x, -3, 3), color = 'blue') (p1 + p2) 
       
f(x)=(x^2 - 2) p1 = plot(f(x), (x, 0, 4) , color = 'magenta') g(x)=(4*x - 6) p2 = plot(g(x), (x, 0, 4), color = 'red') h(x)=((-1/4)*x + 5/2) p3 = plot(h(x), (x, 0, 4), color = 'blue') show(p1 + p2 + p3) 
       
var('x, y') f(x,y) = 2*(x^2 + y^2)^2 - 25*(x^2 - y^2) g(x,y) = 9/13*x + y - 40/13 p1 = implicit_plot(f(x,y)==0, (x, -5, 5), (y, -5, 5)) p2 = implicit_plot(g(x,y)==0, (x, -5, 5), (y, -5, 5), color='yellow') show(p1+p2)