Explore BrainMass

Javascript windchill calculator

Please see the attached file.

© BrainMass Inc. brainmass.com June 19, 2018, 10:14 pm ad1c9bdddf


Solution Preview

This solution requires developing a couple of Javascript functions to read the current values, calculate the new windchill value, and then display that value. It also requires creating a basic webpage to test the Javascript on.

First we'll look at creating the Javascript functions. Calculating the windchill is a matter of using the arithmetic function defined in the problem statement. This is put into a Javascript function as follows:

function windChill(windSpeed,temperature) {
var windChill = ...

Solution Summary

This solution demonstrates how to create a javascript function that can calculate the windchill. It provides a detailed explanation of how the function works.