About
Useful Variables:
- Coordinates of Rod, xRod, yRod, relative position East, most right tip
- Coordinates of Magnet, xMagnet, yMagnetm relative position West, most left tip
- Heating, fireOn, true or false
Information:
- Very simple repulsion, attempted attraction
- Based on the qns, Rod X is supposed to be a magnet, so flipping the magnet is an option, meaning we must include attraction. (variable: flipMagnet:true/false)
Debugging Purposes:
TL: "xRod+dxRod/2="+(xRod+dxRod/2).toFixed(2)+"\ninCollisionRange="+inCollisionRange+"\nxMagnet.toFixed(2)="+xMagnet.toFixed(2)
TR: "distance=" + distance+"\nattractivepower="+attractivepower+"\nxRod="+xRod+"\nxMagnet="+xMagnet+"\ndebugangle="+debugangle+"\ncheck="+((xRod+dxRod/2)>xMagnet)
BL: %hint%
BR: "distance2="+distance2+"\nstage="+stage+"\ntheta="+theta+"\nomega="+omega+"\nthetacollsion="+thetacollsion
Translations
Code | Language | Translator | Run | |
---|---|---|---|---|
Credits
This email address is being protected from spambots. You need JavaScript enabled to view it.; Francisco Esquembre; Felix J. Garcia Clemente; Siti
Sample Learning Goals
[text]
For Teachers
Initial Setup. User is able to drag the magnet closer to the Rod to see the interaction.
Research
[text]
Video
Version:
Other Resources
https://youtube.com/shorts/NwhnMLd0_wY?si=gHyJr7JDBnPabqf0
end faq
{accordionfaq faqid=accordion4 faqclass="lightnessfaq defaulticon headerbackground headerborder contentbackground contentborder round5"}
- Details
- Written by Siti
- Parent Category: 05 Electricity and Magnetism
- Category: 07 Magnetism
- Hits: 4026