Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

Calc-III Parametric representation of POOL

Views: 71
t = var('t') p1 = parametric_plot([t*sqrt(17)/2.5, 4*t*sqrt(17)/2.5], (t, 0, 2.5/sqrt(17)), color='green', thickness=3, fill = false) p2 = parametric_plot([cos(2.5*t)+2, sin(2.5*t)+4], (t, pi/2.5, 3*pi/2.5), color='green', thickness=3, fill = True) p3 = parametric_plot([2.5*cos(t)+6.5, 2.5*sin(t)+2.5], (t,4*pi,6*pi), color='green', thickness=3, fill = True) p4 = parametric_plot([2.5*cos(t)+12.5, 2.5*sin(t)+2.5], (t, 6*pi,8*pi), color='green', thickness=3, fill = True) p5 = parametric_plot([16, 2.5*t-65], (t, 26, 28), color = 'green', thickness=3, fill = True) p6 = parametric_plot([2.5*t-54, 0], (t, 28, 29.2), color = 'green', thickness=3, fill = True) show(p1+p2+p3+p4+p5+p6, axes = true)
t = var('t') p1 = [parametric_plot([a*t*sqrt(17)/2.5, a*4*t*sqrt(17)/2.5], (t, 0, 2.5/sqrt(17))) for a in sxrange(0,1.1,.1)] a1 = animate(p1) p2 = [parametric_plot([cos(2.5*t*b)+2, sin(2.5*t*b)+4], (t, pi/2.5, 3*pi/2.5)) for b in sxrange(0,1.1,.1)] a2= animate(p2) p3 = [parametric_plot([2.5*cos(t*c)+6.5, 2.5*sin(t*c)+2.5], (t,4*pi,6*pi)) for c in sxrange(0,1.1,.1)] a3 = animate(p3) p4 = [parametric_plot([(2.5*cos(t*d))+12.5, 2.5*sin(t*d)+2.5], (t,6*pi,8*pi)) for d in sxrange(0,1.1,.1)] a4 = animate(p4) p5 = [parametric_plot([16, e*((2.5*t)-65)], (t, 26, 28)) for e in sxrange(0,1.1,.1)] a5 = animate(p5) p6 = [parametric_plot([(2.5*t-54), .05], (t, 28, 29.2)) for f in sxrange(0,1.1,.1)] a6 = animate(p6) drawCurve = a1 + a2 + a3 + a4 +a5 +a6 drawCurve.show(delay=40)