davidaltherr.net  home  |  journal  |  maps  |  archive  |  resume   

  academics : mathematics : mass spring system one-dShare  


mass spring system one-d

  Download notebook at mass spring system one-d.

This notebook shows the progression of simple graphics primitives into a realistic model of a mass-spring system and then provides functions for animating the system per any specified function.

We start with the surface definition of a torus.



We then extend it such that it wraps about a helical path.



Eventually, we are left with a basic spring model. We then define the surface of the mass as well as the space curve that will plot our arbitrary function. We also provide functions for automatically resizing the function such that it will fit within a specified range. Finally we are left with a functional three-d model for visualizing the one-d motion of a mass-spring system, as shown below with a simple oscillator function.



Of course, we also demonstrate that the system works for virtually any continuous function in R2.



This notebook also provides custom functions for exporting the images of the animations directly to the file system.

The full notebook is available and can be viewed with Mathematica or MathReader.


  Download notebook at mass spring system one-d.

  Return to mathematics.



 search 
 

advanced search... 

 mathematica 

mass spring system 

airplane model 

trajectory model 

huffman encoding 

 



  copyleft © 2012 david altherr
  free for use by open source license
  view: full | compact | mobile | print 

today:  
updated:  
2012.02.05 0.36
2009.02.05 17.26