Suspended Magnet HTML5 Applet Javascript

 

 

 

Download ModelDownload Sourceembed

About

Intro Page

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

Software Requirements

SoftwareRequirements


Android iOS Windows MacOS
with best with Chrome Chrome Chrome Chrome
support full-screen? Yes. Chrome/Opera No. Firefox/ Samsung Internet Not yet Yes Yes
cannot work on some mobile browser that don't understand JavaScript such as.....
cannot work on Internet Explorer 9 and below

 

Credits

This email address is being protected from spambots. You need JavaScript enabled to view it.; Francisco Esquembre; Felix J. Garcia Clemente; Siti

end faq

Sample Learning Goals

[text]

For Teachers

Initial Setup. User is able to drag the magnet closer to the Rod to see the interaction.

 

 
The simulation is based on the question of whether Rod X is a magnet or not. In this case, it is as the two objects are repelling.

 

 
User can experiment by turning on the fire to heat up the rod to see if anything will happen.

 

 
The fire is assumed to be strong enough to demagnetise Rod X, thus rod X will be attracted by the Magnet. 

 

 
At the initial setup, the user can choose to flip the magnet to determine whether Rod X is a magnet. Thus, this shows an attraction between the two objects.

Research

[text]

Video

Suspended Magnet

 Version:

  1. https://weelookang.blogspot.com/2020/08/suspended-magnet-html5-applet-javascript.html

Other Resources

[text]

end faq

1 1 1 1 1 1 1 1 1 1 Rating 0.00 (0 Votes)