Fu-Kwun Hwang
|
 |
«
Embed this message
on: November 23, 2007, 04:46:01 pm » posted from:Taipei,T'ai-pei,Taiwan |
|
 This is an EJS version of vernier caliper with option for positive or negative zero error for faulty caliper(Adjust the vertical slider up/down). Click the checkbox to find out the base unit and the correct value. You can select different type of vernier caliper,too (from the selection list). A new 1/128 inch mode has been added! -*- 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 listPress 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
|
|
|
|
Fu-Kwun Hwang
|
 |
«
Embed this message
Reply #1 on: November 24, 2007, 10:19:45 am » |
|
 Due to request from one of the user. I hope you will create one on micrometer screw gauge, hopefully, with zero error as well, so that we will know how to handle with it properly. The following micrometer applet was created with zero error. (previous version Micrometer applet) Usage: Click Demonatration to view flash swf file. Click  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 listPress 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!
  to view another simulation or check out Micrometer with zero error options. -*-
|
|
|
Logged
|
|
|
|
1993.bryan
Newbie
Offline
Posts: 3
|
 |
«
Embed this message
Reply #2 on: November 26, 2007, 08:11:19 am » |
|
 Thank You!
|
|
|
Logged
|
|
|
|
lookang
|
 |
«
Embed this message
Reply #3 on: May 12, 2008, 02:05:19 pm » posted from:Singapore,,Singapore |
|
 hi prof, i want to make a pointer to point the user's attention to the upper scale number like the way for the bottom scale. like in the lower scale i changed to (xp , y2-size) for the arrow for the bottom so for example, 12.5 mm = 12 + 0.5 mm need to understand how you reference the coordinates of 12 in the drawing panel? chance to explain?  there is an website applet that i am trying to customize to do http://members.shaw.ca/ron.blond/Vern.APPLET/index.html
|
|
« Last Edit: May 12, 2008, 02:29:48 pm by lookang »
|
Logged
|
|
|
|
Fu-Kwun Hwang
|
 |
«
Embed this message
Reply #4 on: May 12, 2008, 10:59:14 pm » |
|
 The coordinate system in the drawing panel were determined by xmin,xmax,ymin,ymax property in the drawing panel. And the ejs let you access user coordinate as variable value. If you know where to draw the string 12, you should know the coordinate. I am sorry that I did not fully understand what is your question? 
|
|
|
Logged
|
|
|
|
lookang
|
 |
«
Embed this message
Reply #5 on: May 13, 2008, 07:43:31 am » posted from:Singapore,,Singapore |
|
 i have been examining the codes and i just cannot figure out the codes that correspond to the answer here. u can examine my xml  
|
|
|
Logged
|
|
|
|
Fu-Kwun Hwang
|
 |
«
Embed this message
Reply #6 on: May 13, 2008, 10:21:48 am » posted from:Taipei,T\'ai-pei,Taiwan |
|
 Array xm[nm] store the coordinates for all the upper marker (vertical lines) and the separation between lines is dxm. Initizlize Tab: xm =x2+zerox+i*dxm;
Constraint Tab: From the displacement x, you can find the number (int)(x/dxm);
l_x=dvalue(x/dxm,unit)+"mm";
|
|
|
Logged
|
|
|
|
lookang
|
 |
«
Embed this message
Reply #7 on: May 13, 2008, 02:09:25 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE |
|
 wow.... i did it!!! i assign in fixed relations: vss = (int)(x/dxm); // to count the value of the answer as u hinted xpt=xm[vss]; // assign xpt to xm [ array determine by vss ] u r the best !!! thanks! BTW i will continue to post the collaborated work here for others to learn from my comments lines in the source code xml end of the day, would you be hosting my derived work on your forum as evidence of this good example of 21 st century collaboration cum distance learning  ?? that will be so cool thanks for a wonderful deep learning experience. 
|
|
« Last Edit: May 13, 2008, 02:15:12 pm by lookang »
|
Logged
|
|
|
|
Fu-Kwun Hwang
|
 |
«
Embed this message
Reply #8 on: May 13, 2008, 02:19:34 pm » posted from:Taipei,T\'ai-pei,Taiwan |
|
 I am glad that I can help and you are a very active learner. So I am really enjoy working with you. I think you still need to improve the simulation. Something wrong in your applet, please check out attached image. I will post you simulation when you make it a better one. 
|
|
|
Logged
|
|
|
|
lookang
|
 |
«
Embed this message
Reply #9 on: May 13, 2008, 03:38:45 pm » posted from:Singapore,,Singapore |
|
 it is going to be the best vernier applet in the whole physics teaching community for the world  i am glad to be part of your effort to give free physics learning-by-doing education. it is correct  i have number to prove LOL. 
|
|
« Last Edit: May 13, 2008, 04:42:24 pm by lookang »
|
Logged
|
|
|
|
Fu-Kwun Hwang
|
 |
«
Embed this message
Reply #10 on: May 13, 2008, 09:09:23 pm » |
|
 Sorry, You are right. I made a mistake. The applet is fine. However, there are some error when loading your file with my EJS. (I am using old version ejs, not the same as your version). So those numbers from the left panel was missing. The compiled version of your work is shown here. Click image to toggle applet view: 
|
*** There are 1 more attached files. You need to login to acces it!
|
|
Logged
|
|
|
|
lookang
|
 |
«
Embed this message
Reply #11 on: May 14, 2008, 05:30:27 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE |
|
 this is the final version, hope the public learners here like it
|
|
|
Logged
|
|
|
|
Fu-Kwun Hwang
|
 |
«
Embed this message
Reply #12 on: May 17, 2008, 10:30:27 pm » |
|
 Nothing changed when I change the selection in the combobox? Could you upload the jar file for the above applet (weecaliper09.jar),too! So that I can check it!
|
|
|
Logged
|
|
|
|
lookang
|
 |
«
Embed this message
Reply #13 on: May 19, 2008, 09:37:04 pm » |
|
 ok but the jar file is 1.36MB, i dont think ur forum allows large attachment i export as html n zip it....u try to unzip and run  OR r u talking about the other applet on the vector sum.....with some component combo box? http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=216.msg2359#msg2359
|
|
« Last Edit: May 19, 2008, 09:42:17 pm by lookang »
|
Logged
|
|
|
|
Fu-Kwun Hwang
|
 |
«
Embed this message
Reply #14 on: May 20, 2008, 09:14:09 pm » |
|
 You do not need to upload the ejs library jar files. Just upload jar file for your simulation. For example: weecaliper09.jar It should be a small size jar file. (Usually less than 100K)
|
|
|
Logged
|
|
|
|
lookang
|
 |
«
Embed this message
Reply #15 on: May 20, 2008, 09:25:31 pm » |
|
|
|
|
Logged
|
|
|
|
lookang
|
 |
«
Embed this message
Reply #16 on: May 26, 2008, 11:35:50 am » posted from:Singapore,,Singapore |
|
 can i be made an admin for a category on your website for me to post applets the way u do yours  maybe under the heading on "Collaborative Community of EJS" u decide.
|
|
|
Logged
|
|
|
|
|
lookang
|
 |
«
Embed this message
Reply #18 on: May 30, 2008, 04:27:17 pm » posted from:Singapore,,Singapore |
|
 any idea which variable control this ? i trying to figure out like it is taking too long  very complex modelling, trying to make sense . anyway i intend to bring in good features from the vernier into the micro meter 1. the hint: with the arrows and text numbers
|
|
« Last Edit: May 30, 2008, 04:30:12 pm by lookang »
|
Logged
|
|
|
|
Fu-Kwun Hwang
|
 |
«
Embed this message
Reply #19 on: May 31, 2008, 02:18:48 pm » |
|
 I think it is variable:d
|
|
|
Logged
|
|
|
|
lookang
|
 |
«
Embed this message
Reply #20 on: May 31, 2008, 11:56:36 pm » posted from:Singapore,,Singapore |
|
 thanks!! that is correct. i found a panel with the variables useful to understand the codes as well as guess the purpose of each variable. will revert when i can't solve the puzzle. using spare time now LOL.
|
|
|
Logged
|
|
|
|
lookang
|
 |
«
Embed this message
Reply #21 on: June 03, 2008, 10:30:00 pm » posted from:Mountain View,California,United States |
|
 for example for the micrometer xml, i have the number 1.23 which is idv how do i split the variable into an integer part and the decimal place part? 1.23 = 1.00 + 0.23 integer part i figure out to be integerd =(int)(id/100.); but how to give the decimal place ? i cant find a math.function to do that reference: http://www.irt.org/articles/js069/index.htmMethod Summary * abs() - Returns the absolute value of a number * acos() - Returns the arccosine (in radians) of a number * asin() - Returns the arcsine (in radians) of a number * atan() - Returns the arctangent (in radians) of a number * atan2() - Returns the arctangent of the quotient of its arguments * ceil() - Returns the smallest integer greater than or equal to the number * cos() - Returns the cosine of a number * exp() - Return the Enumber, where number is the argument, and E is Euler's constant, the base of the natural logarithms. * floor() - Returns the largest integer less than or equal to a number * log() - Returns the natural logarithm (base E) of a number. * max() - Returns the greater of two numbers * min() - Returns the lesser of two numbers * pow() - Returns base if the exponent power, that is baseexponent * random() - Returns a pseudo-random number between 0 and 1 * round() - Returns the value of a number rounded to the nearest integer * sin() - Returns the sine of a number * sqrt() - Returns the squareroot of a number * tan() - Returns the tangent of a number
|
|
« Last Edit: June 03, 2008, 11:05:42 pm by lookang »
|
Logged
|
|
|
|
lookang
|
 |
«
Embed this message
Reply #22 on: June 04, 2008, 12:49:58 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE |
|
 i did it !!!! integerd =(int)(id/100.); decimald =(-integerd*100+id)/100.; no worries 
|
|
|
Logged
|
|
|
|
lookang
|
 |
«
Embed this message
Reply #23 on: June 04, 2008, 01:28:50 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE |
|
 final micrometer
|
|
« Last Edit: June 04, 2008, 01:53:46 pm by lookang »
|
Logged
|
|
|
|
Fu-Kwun Hwang
|
 |
«
Embed this message
Reply #24 on: September 02, 2008, 05:20:47 pm » posted from:Taipei,T'ai-pei,Taiwan |
|
Registed user can get files related to this applet for offline access.Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list If java program did not show up, please download and install latest Java RUN TIMEit"s great topic about measuring instrument vernier caliper µmeter but i do not know how do know the scale value with my self
The total length for the scale of the moving part is 19mm. And it was divided by 10 divisions, so each division is 1.9mm which is less than two units in the main scale by 2.0-1.9mm=0.1mm. Think of the above system in the following way: Assume every 2.0 mm in the main part is replaced by a 2.0mm block. And every 1 division in the moving part is replace by a 1.9mm block. If the first block of both part are aligned at the right, then there is a 0.1 mm displacement at the left. If the second block of both part are aligned at the right, then there is a 0.2mm displacement at the left. ... I hope you can understand what I mean. Anyway, I am going to create another java applet to show it. Click image to view applet: Drag the slider to change the alignment points. Assume the top block is 2.0mm each, and the lower one is 1.9mm each (total length =1.9mm*10=19mm) Registed user can get files related to this applet for offline access.Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list If java program did not show up, please download and install latest Java RUN TIME
|
|
|
Logged
|
|
|
|
sparkysparty
Newbie
Offline
Posts: 1
|
 |
«
Embed this message
Reply #25 on: October 09, 2008, 06:02:23 am » |
|
 Do you have this set up for imperial micrometers and verniers?
|
|
|
Logged
|
|
|
|
Fu-Kwun Hwang
|
 |
«
Embed this message
Reply #26 on: October 09, 2008, 10:47:04 pm » |
|
 I can ry to create one if you can provide me detail information about imperial micrometers and verniers. For example:Upload image for all different types of imperial micrometers and verniers.
|
|
|
Logged
|
|
|
|
mn12833
Newbie
Offline
Posts: 7
|
 |
«
Embed this message
Reply #27 on: June 08, 2009, 11:09:50 pm » posted from:Marysville,Ohio,United States |
|
 Can anyone tell me how to download this app for educational purposes? I am just not having much luck. I am new to the forum. I would like to download the micormeter app as well. Any help would be appreciated. Thanks.
|
|
|
Logged
|
|
|
|
Fu-Kwun Hwang
|
 |
«
Embed this message
Reply #28 on: June 08, 2009, 11:14:39 pm » posted from:Taipei,T\'ai-pei,Taiwan |
|
 You will find " Download EJS jar file" link just below the simulation. Or you will find " get file for offline use" button. Click the link or button to download file or sent to your email account. You need to login to find the above link or button.
|
|
|
Logged
|
|
|
|
mn12833
Newbie
Offline
Posts: 7
|
 |
«
Embed this message
Reply #29 on: June 09, 2009, 12:37:10 am » posted from:Marysville,Ohio,United States |
|
 Thanks for the help. I downloaded the jar file and when I double-clicked it I got and error message stating that the it was and invalid or corrupt jarfile. Any suggestions on this.
|
|
|
Logged
|
|
|
|
|