NTNUJAVA Virtual Physics LaboratoryEnjoy the fun of physics with simulations! Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
October 24, 2020, 01:36:46 pm

An interaction between two opposites produces a unique outcome. ..."Jules Henri Poincare(1854-1912, One of France's greatest mathematicians)"

 Pages: 1 [2]   Go Down
 Author Topic: Ejs open source Vernier calipers java applet with objects, help & 0-error logic  (Read 112113 times) 0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
dipu222
Newbie

Offline

Posts: 2

 « Embed this message Reply #30 on: June 01, 2011, 06:51:59 pm » posted from:Guwahati,Assam,India

Dear Lookang,
Can You add another version 0.1 mm Vernier constant where 10 divisions of vernier will coincide will 9 divisions of the main scale. Which will be very useful for me because I am using that in the class. Thanking you.
 Logged
lookang
Moderator
Hero Member

Offline

Posts: 1796

http://weelookang.blogspot.com

 « Embed this message Reply #31 on: June 01, 2011, 07:30:26 pm »

Hi dipu222
I dont understand what u mean
Do u have a picture to explain ?

ok i understand what u mean now after looking at my own applet version 3

but it would make the applet vernier scale very short in the x direction, see attached image.
u sure it is what you want?
 Screen shot 2011-06-01 at PM 09.52.30.png (32.48 KB, 747x512 - viewed 706 times.) « Last Edit: June 01, 2011, 08:35:15 pm by lookang » Logged
Fu-Kwun Hwang
Hero Member

Offline

Posts: 3086

 « Embed this message Reply #32 on: June 01, 2011, 11:11:42 pm » posted from:Taipei,T'ai-pei,Taiwan

Dear Lookang,
Can You add another version 0.1 mm Vernier constant where 10 divisions of vernier will coincide will 9 divisions of the main scale. Which will be very useful for me because I am using that in the class. Thanking you.

Are you looking for something like Vernier or Another Cliper?
 Logged
lookang
Moderator
Hero Member

Offline

Posts: 1796

http://weelookang.blogspot.com

 « Embed this message Reply #33 on: June 07, 2011, 01:52:23 pm » posted from:Singapore,,Singapore

Dear Lookang,
Can You add another version 0.1 mm Vernier constant where 10 divisions of vernier will coincide will 9 divisions of the main scale. Which will be very useful for me because I am using that in the class. Thanking you.
done!
enjoy! under 0.1 mm version 4 option of drop down menu!
please thank Professor Fu-Kwun Hwang too, he is the one who created the original versions http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=567.0 & http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1189.0 so that people like me (ordinary teacher) can make this version http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=684.0 even more customized to our own pedagogy hints and design features.
 Screen shot 2011-06-07 at PM 03.11.01.png (32.05 KB, 750x522 - viewed 660 times.) « Last Edit: June 07, 2011, 02:02:09 pm by lookang » Logged
lookang
Moderator
Hero Member

Offline

Posts: 1796

http://weelookang.blogspot.com

 « Embed this message Reply #34 on: July 21, 2011, 04:10:23 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE

21 july 2011
added zoom for close up view of the vernier scale on the main scale

some teacher feedback that in secondary 1 and 2 (grade 7 & 8 ) the students are expected to answer in cm.
i may have to create cm drop-down options/version as well ?!!?.

i suggested that to teach 10mm = 1.0 cm would have been an easier way and to prepare students for real world, mm should be explained instead of the cm answers.

It is rather painful to add cm to all the possibilities of the simulation now that it is rather complex, with hints and answers all in mm

how?
 « Last Edit: July 21, 2011, 04:12:32 pm by lookang » Logged
Fu-Kwun Hwang
Hero Member

Offline

Posts: 3086

 « Embed this message Reply #35 on: July 21, 2011, 09:09:38 pm » posted from:Taipei,T'ai-pei,Taiwan

I would suggest to keep original display: i.e. in unit of mm.
As far as I know, mm is the unit being in work place (for technician who use calipers).

And it is not difficult for student's to convert between mm and cm.
 Logged
lookang
Moderator
Hero Member

Offline

Posts: 1796

http://weelookang.blogspot.com

 « Embed this message Reply #36 on: July 27, 2011, 10:25:47 am » posted from:SINGAPORE,SINGAPORE,SINGAPORE

I would suggest to keep original display: i.e. in unit of mm.
As far as I know, mm is the unit being in work place (for technician who use calipers).

And it is not difficult for student's to convert between mm and cm.
thank you for your confirmation, i will not re-create a cm version

27july 2011
fixed bug where 0.02mm is selected the hints is 11.98 mm is shown as 12.00 + .98 mm the top pointer jump ahead due to a code
Code:
if(unit==0.02)out=((int)(v*50+dv))/50.;
the correct code is inserted as
Code:
if(unit==0.02)out=((int)(v*50.+dv))/50.; //// 50. instead of 50 fix bug of pointer
 Logged
lookang
Moderator
Hero Member

Offline

Posts: 1796

http://weelookang.blogspot.com

 « Embed this message Reply #37 on: October 31, 2011, 09:49:24 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE

31 october 2011
redo the zoom into a similar magnify just like the micrometer thanks to ability to draw students attention to the lines based on codes from http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=2268.0 by Fu-Kwun Hwang
randomize the size of the black object each time to simulation is reset for greater challenge and fun

enjoy!
 Logged
lookang
Moderator
Hero Member

Offline

Posts: 1796

http://weelookang.blogspot.com

 « Embed this message Reply #38 on: January 17, 2012, 07:57:27 am » posted from:SINGAPORE,SINGAPORE,SINGAPORE

Code:
[applet code='users.sgeducation.lookang.AAPTVernierCaliper_pkg.AAPTVernierCaliperApplet.class' codebase='https://sites.google.com/site/lookang/Home/ejs_AAPTVernierCaliper.jar?attredirects=0&d=1' archive='ejs_AAPTVernierCaliper.jar' name='AAPTVernierCaliper2452' id='AAPTVernierCaliper2452' width='750' height='520' mayscript=true>
 « Last Edit: January 17, 2012, 08:00:23 am by lookang » Logged
lookang
Moderator
Hero Member

Offline

Posts: 1796

http://weelookang.blogspot.com

 « Embed this message Reply #39 on: June 14, 2012, 08:43:08 am » posted from:SINGAPORE,SINGAPORE,SINGAPORE

edited the applet to show actual reading = main scale + vernier scale - (zero error)
enjoy!
writing a journal article on this

contributed this to Wikipedia a while back and it is still there! http://en.wikipedia.org/wiki/Caliper
Zero error

The method to use a vernier scale or caliper with zero error is to use the formula 'actual reading = main scale + vernier scale - (zero error)'. Zero error may arise due to knocks that cause the calibration at the 0.00 mm when the jaws are perfectly closed or just touching each other.
when the jaws are closed and if the reading is 0.10mm, the zero error is referred to as +0.10mm.The method to use a vernier scale or caliper with zero error is to use the formula 'actual reading = main scale + vernier scale - (zero error)' thus the actual reading is 19.00 + 0.54 - (0.10) = 19.44 mm

Positive zero error refers to the fact that when the jaws of the vernier caliper are just closed, the reading is a positive reading away from the actual reading of 0.00mm. If the reading is 0.10mm, the zero error is referred to as +0.10mm.
when the jaws are closed and if the reading is -0.08mm, the zero error is referred to as -0.08mm..The method to use a vernier scale or caliper with zero error is to use the formula 'actual reading = main scale + vernier scale - (zero error)' thus the actual reading is 19.00 + 0.36 - (-0.08) = 19.44 mm

Negative zero error refers to the fact that when the jaws of the vernier caliper are just closed, the reading is a negative reading away from the actual reading of 0.00mm. If the reading is -0.08mm, the zero error is referred to as -0.08mm.
 vernier2012-06-14_0944.png (36.1 KB, 758x554 - viewed 937 times.) *** There are 1 more attached files. You need to login to acces it! Logged
lookang
Moderator
Hero Member

Offline

Posts: 1796

http://weelookang.blogspot.com

 « Embed this message Reply #40 on: December 11, 2012, 11:28:30 am » posted from:SINGAPORE,SINGAPORE,SINGAPORE

changes:
2) Corrected the Java simulation to allow units (or to ask for the answer in mm) and to prevent the vernier scale from being unreadable.

done.
made xmagnify = -10 , ymagnify = 0
found that mx and my is causing the weird behavior, made them -10 and 0 as well like xmagnify and ymagnify so that it loads at the centre of the simulation view!

mirror here
http://dl.dropbox.com/u/44365627/lookangEJSworkspace/export/ejs_AAPTVernierCaliper.jar

enjoy!
 Logged
rajeshk
Newbie

Offline

Posts: 1

 « Embed this message Reply #41 on: September 04, 2013, 11:02:37 am » posted from:Chandigarh,Chandigarh,India

Is there any software for running it?
 Logged
lookang
Moderator
Hero Member

Offline

Posts: 1796

http://weelookang.blogspot.com

 « Embed this message Reply #42 on: September 04, 2013, 01:03:28 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE

Is there any software for running it?
u need Java runtime
 Logged
 Pages: 1 [2]   Go Up
An interaction between two opposites produces a unique outcome. ..."Jules Henri Poincare(1854-1912, One of France's greatest mathematicians)"

 Related Topics Subject Started by Replies Views Last post Ejs open source Micrometer java applet with objects, help & zero error logic Collaborative Community of EJS lookang 23 85573 December 11, 2012, 11:40:49 am by lookang Vernier Calipers misc ahmedelshfie 11 33951 October 09, 2010, 02:41:25 am by ahmedelshfie Vernier Calipers Questions related to EJS ahmedelshfie 5 25816 January 25, 2011, 12:22:44 am by ahmedelshfie Ejs Open Source Cyclotron Java Applet in 3D Collaborative Community of EJS lookang 7 31054 September 20, 2018, 11:40:59 am by Monybarx Ejs Open Source Capacitor java applet Collaborative Community of EJS lookang 0 7344 December 21, 2010, 03:18:29 pm by lookang
Page created in 0.068 seconds with 24 queries.since 2011/06/15