NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
October 19, 2017, 11:14:58 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
To be a citizen of the world. ...Wisdom
Google Bookmarks Yahoo My Web MSN Live Netscape Del.icio.us FURL Stumble Upon Delirious Ask FaceBook

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

Posts: 1784


http://weelookang.blogspot.com


WWW
«
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
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
  • 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 Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
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];
instead of
Code:
  xField[i][j] = b[0];
  yField[i][j] = b[1];

finally by trial and error. LOL Smiley
Logged
Pages: [1]   Go Up
  Print  
To be a citizen of the world. ...Wisdom
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
Magnetic field generated bar magnet
Electromagnetism
Fu-Kwun Hwang 4 15399 Last post 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 10180 Last post 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 5884 Last post January 03, 2009, 10:06:53 pm
by lookang
Change orientation of center panel
Question related to Physics or physics related simulation
andresgo 5 7942 Last post February 01, 2012, 07:41:22 am
by andresgo
Skydiver - can vary descent speed by adjusting orientation
Collaborative Community of EJS
LeeTl 0 2721 Last post April 18, 2013, 04:10:52 pm
by LeeTl
Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.052 seconds with 23 queries.since 2011/06/15