WebSiteMadeEasy.net
|
FontsMadeEasy.com
|
RankChecker.net
Google Search:
Learn Java Script Today
|
Over 5000 Free Fonts
|
Tutorials
|
Javascript Forum
|
Other Javascript Resources
|
Cheat Sheet
JavaScript Basics
Inserting Javascript
Complete Tutorial
Advance DHTML Tutorial
Script archive
Advance Tutorials
Alert Scripts
Animation
Audio
Background Effects
Banner Ads
Browser Window
Buttons
Button Forms
Calculcators
Calendars
Clocks & Dates
Cookies
Cursor Effects
DHMTL Games
DHTML Miscellaneous
Equivalents
Forms
Games
IE4+ Scripts
IE5+ Scripts
Image Effects
Image Miscellaneous
Links & Buttons
Math Related
Messages Miscellaneous
Miscellaneous
Mouse Tricks
Navigation
Page Details
Password Protection
Pulldown Menus
Random Stuff
Scrolling
Status Bar
Text Animation
User Detail
User Info
Window Control
Wind Chill Calculator
Wind Chill is a mysterious and often misunderstood phenomenon. This script describes what the wind chill factor really is and offers a form to calculate the wind chill factor when given the air temperature and wind speed.
Wind Speed (MPH) =
Air Temperature (ºF) =
º F
Insert into <HEAD>
<SCRIPT LANGUAGE="JavaScript"> <!-- Original: James P. Dildine (jpd@wlsmail.com) --> <!-- Web Site: http://www.mste.uiuc.edu/dildine --> <!-- Begin function windChill(form) { wind=eval(form.wind.value); temp=eval(form.temp.value); chill=(0.0817*(3.71*(Math.pow(wind, 0.5))+ 5.81-0.25*wind)*(temp-91.4)+91.4); form.windchill.value = chill; } // End --> </script>
Insert into <BODY>
<form action="" method=post name=windform> <center> <table border=1 cellpadding=3 cellspacing=0 width="250"> <tr> <td align=center> Wind Speed (MPH) = </td> <td align=center> <input type=text name=wind value="" size=6> </td> </tr> <tr> <td align=center> Air Temperature (ºF) = </td> <td align=center> <input type=text name=temp value="" size=6> </td> </tr> <tr> <td colspan=2 align=center> <br> <input type=button value="Calculate Wind Chill" onclick="windChill(this.form)"> <p> <input name=windchill type=text value="" size=10> º F </td> <tr> </table> </center> </form>
Other Options