Příklad physletu - Vrh šikmý bez odporu prostředí
<html> <head> <title>ball1</title> <script LANGUAGE="JavaScript"> function init() { document.Animator.setAutoRefresh(false); document.Animator.setDefault(); document.Animator.setTimeDisplay(true); document.Animator.shiftPixOrigin(-130,-70); xachse=document.Animator.addObject("line","x=-10, y=0, h=45, v=0"); yachse=document.Animator.addObject("line","x=0, y=-10, h=0, v=30"); document.Animator.addObject("text","x=35, y=-1,text=t"); document.Animator.addObject("text","x=-1, y=19, text=s"); ball=document.Animator.addObject("circle","x=0, y=20, r=2"); document.Animator.setRGB(ball,255,0,0); masse=1; document.Animator.setMass(ball,masse); g=9.81; fxstring = "0"; fystring = "-"+g+"*"+masse; document.Animator.setForce(ball,fxstring,fystring,0,0,10,15); document.Animator.setShowFVector(ball,true); document.Animator.setShowvVector(ball,true); document.Animator.setDragable(ball,true); document.Animator.setTrail(ball,300); document.Animator.setFootPrints(ball,10); document.Animator.setGhost(ball,true); document.Animator.setCaption("Schiefer Wurf ohne Luftreibung"); document.Animator.setOneShot(0,3.1,"Ende"); document.Animator.setAutoRefresh(true); } </script> </head> <body onload="init()"> <center> <applet code="animator4.Animator.class" codebase="../classes/" id="Animator" archive="Animator4_.jar,Bar4_.jar,DataTable4_.jar,STools4.jar" name="Animator" width="600" height="400" hspace="0" vspace="0" align="Middle"> <param name="FPS" value="20"> <param name="ShowControls" value="true"> <param name="dt" value="0.05"> <param name="PixPerUnit" value="10"> <param name="GridUnit" value="1.0"> </applet> </center> </body> </html>
Další příklady physletů
Potenciální a kinetická energie padajícího tělesa
Vytváření dvojité kruhové cykloidy pohybem rotujícího těleca
Harmonický oscilátor
Oscilující pružina se simulovanou pružností materiálu
Oscilátor s útlumem
Verze Newtonovy kolébky
Příčné a podélné vlnění
Interference kruhových vln
Dopplerův jev
De Brogliova dráha elektronu
Vlnové funkce atomů vodíku
Řešení jednodimenzionální Schodingerovy rovnice v konečné potenciální jámě