I took some time the past couple of days to learn the interact setup, and built a couple of demos for Monday's session of multivariable calculus. They are posted in the wiki at the end of the section at
http://wiki.sagemath.org/interact/calculus The 2D example plots an ellipse and allows display of vectors such as velocity, acceleration, unit tangent, unit normal, tangential and normal components of acceleration. Scalar speed and curvature are also displayed. Editing the definition of the position function should allow everything to work correctly, though you need to mess with figsize to get an aspect ratio of 1 (so orthogonal vectors really look orthogonal). Also re-discovered bug #4465 where zero-length arrows don't fail gracefully. The 3D example is similar but includes the binormal vector and uses an exponentially-growing helix. I setup computing torsion but it seems to take an inordinate amount of time, so it is commented-out. I'd imagine I could be more efficient about how functions are defined, or the methods I used. For students, I tried to stick to the definitions rather than less-intuitive shortcuts. This was all very easy to learn and make happen. Kudos to the folks who built the interact framework, the 2D and 3D plotting, and the differentiation and vector routines. It'll make Monday's class that much nicer. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sage-edu" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-edu?hl=en -~----------~----~----~----~------~----~------~--~---
