NTNUJAVA Virtual Physics LaboratoryEnjoy the fun of physics with simulations! Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
April 05, 2020, 06:32:39 pm

Discovery consists of seeing what everybody has seen and thinking what nobody has thought. ..."Albert von Szent-Gyorgyi(1893-1986, 1937 Nobel Prize for Medicine, Lived to 93)"

 Pages: [1]   Go Down
 Author Topic: how do make the magnet turn orientation to NS from current SN?  (Read 4882 times) 0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
lookang
Hero Member

Offline

Posts: 1794

http://weelookang.blogspot.com

 « Embed this message on: April 16, 2010, 04:24:38 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE

Hi Prof,

how do make the magnet turn orientation to NS from current SN?

I was tinkering the codes here.

I was looking for a way to understand the codes i was unsuccessful to isolate the codes responsible for the magnetic dipoles bearing currently it is SN ( left to right)

If i can locate the codes, i can proceed to make the changes!

thx!

Embed a running copy of this simulation

Embed a running copy link(show simulation in a popuped window)
Full screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
• Please feel free to post your ideas about how to use the simulation for better teaching and learning.
• Post questions to be asked to help students to think, to explore.
• Upload worksheets as attached files to share with more users.
Let's work together. We can help more users understand physics conceptually and enjoy the fun of learning physics!
 Logged
lookang
Hero Member

Offline

Posts: 1794

http://weelookang.blogspot.com

 « Embed this message Reply #1 on: April 16, 2010, 09:24:47 pm » posted from:Singapore,,Singapore

not to worry!
got it
Code:
xField[i][j] = -b[0];
yField[i][j] = -b[1];
Code:
xField[i][j] = b[0];
yField[i][j] = b[1];

finally by trial and error. LOL
 Logged
 Pages: [1]   Go Up
Discovery consists of seeing what everybody has seen and thinking what nobody has thought. ..."Albert von Szent-Gyorgyi(1893-1986, 1937 Nobel Prize for Medicine, Lived to 93)"

 Related Topics Subject Started by Replies Views Last post Magnetic field generated bar magnet Electromagnetism Fu-Kwun Hwang 4 17641 September 28, 2009, 09:00:19 am by lookang is it possible to make applet make a sound when i condition is met? Questions related to EJS lookang 8 12189 December 22, 2008, 12:10:01 pm by lookang how to make a Earth Globe realistic enough when view show correct orientation? Questions related to EJS lookang 0 6471 January 03, 2009, 10:06:53 pm by lookang Change orientation of center panel Question related to Physics or physics related simulation andresgo 5 9218 February 01, 2012, 07:41:22 am by andresgo Skydiver - can vary descent speed by adjusting orientation Collaborative Community of EJS LeeTl 0 3524 April 18, 2013, 04:10:52 pm by LeeTl
Page created in 0.065 seconds with 22 queries.since 2011/06/15