Snell's Law Javascript
Type a number in any THREE input boxes. Then click COMPUTE to solve for the fourth variable.
Angle of incidence (
i )
Incident index of refraction (
n
i
)
Angle of refraction (
r ) -- set to 90 to find critical angle
Refractive index of refraction (
n
r
)
Speed of light calculations:
m/s = Vi (speed of light in incident medium)
m/s = Vr (speed of light in refractive medium)
Mr Ruo's Physics 20 Javascripts
By L Ruo, 2002 May 28 (Revised 2005 February 13)
Click here for a discussion of accuracy and number format. Javascript can cause some problems at times
Celcius to Fahrenheit and vice versa
Insert a number in either input field, and the number will be converted into either Celsius or Fahrenheit.
degrees Celsius
equals
degrees Fahrenheit
Note that the
Math.round
method is used, so that the result will be returned as a whole number.
FROM:
http://www.w3schools.com/js/tryit.asp?filename=tryjs_celsius
Blood Glucose Units: mmol/L (the standard in some countries, e.g. the UK) to mg/dL (the standard in other countries, e.g. the USA).
Insert a number in either input field, and the number will be converted into either mmol/L or mg/dL.
(1 mmol/L of glucose = 18 mg/dL)
mmol/L (Canada)
equals
mg/dL (USA)
Created with
Arachnophilia
Boycott Microsoft