1 / 17

Creating a Mathematica Demonstration from Scratch

Creating a Mathematica Demonstration from Scratch. Software Requirements. To Create Mathematica Version 8 To View Mathematica is not needed CDF Player browser plug-in I’ve tested IE / Chrome / Safari / Firefox. Manipulate. Manipulate[expression , { u,u min ,u max ,du }]

dasha
Download Presentation

Creating a Mathematica Demonstration from Scratch

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Creating a Mathematica Demonstration from Scratch

  2. Software Requirements • To Create • Mathematica Version 8 • To View • Mathematica is not needed • CDF Player browser plug-in • I’ve tested IE / Chrome / Safari / Firefox

  3. Manipulate • Manipulate[expression , {u,umin,umax,du}] • Add as many parameters as you want • {u,umin,umax},{v,vmin,vmax},… • Add label and initial value • {{u,uinitial,”label”}, umin,umax}

  4. 2d Graph

  5. Manipulate Vertical Shift

  6. ControlType • The control for a parameter is decided by Mathematica by the context, but this can be overridden • Slider, Slider2D • PopupMenu • {{u,uinitial,”label”}, umin,umax},ControlType->PopupMenu • SetterBar • {{u,uinitial,”label”},{u_v1,u_v2,…}},ControlType->SetterBar

  7. PopupMenu

  8. SetterBar

  9. Control, Delimiter & Grid • Control • Designates the parameter as a control • Control[{{u,u_initial,”label”},u_min,u_max}] • Delimiter • Inserts Horizontal Line between controls • Grid • Helps to organize your controls • Grid[{a11,a12,…},{a21,a22,…},…}]

  10. Save Definitions • Will save anything that has been defined outside the scope of the Manipulate command into the Manipulate Command

  11. ImageSize • Plot option • ImageSize-> Full

  12. Putting on the Web • Authoring to the Wolfram Demonstrations Project • Embedding in a Webpage • Save As CDF • Html needed • <embed src=“yourfile.cdf” width=“xxx” height=“xxx”> • Deploy • Standalone • Just creates the cdf file • Embed in HTML • Creates code to copy and paste to your html file

  13. Resources • http://reference.wolfram.com/mathematica/tutorial/IntroductionToManipulate.cdf • http://reference.wolfram.com/mathematica/howto/CreateAComputableDocumentFormatFile.cdf • http://staff.jccc.edu/rgrondahl/tangentlines.html

More Related