subject

Write an html document which contains two text fields, a button, and a div. the first text field should be labeled “temperature”, and the second should be labeled “wind speed”. the button should have the text “wind chill” written on it. write two functions with these headers: function compute() function windchill(tempf, speed) the first function (compute) must be called from the onclick attribute of the button and must do the following: get a temperature from the first text field get a wind speed from the second text field call the second function (windchill) store the value returned by windchill in a variable output the value returned by windchill to the div for the user to see the second function (windchill) must take a temperature in fahrenheit as a parameter take a wind speed in miles per hour as a parameter calculate the wind chill factor as a temperature in fahrenheit return the wind chill factor in fahrenheit in other words, the second function (windchill) must not gather any input from a user and must not output anything for a user to see. instead it must calculate and return the result which makes this second function very reusable in other projects. the formula for computing the wind chill factor is f = 35.74 + 0.6215 t − 35.75 s0.16 + 0.4275 t s0.16 where f is the wind chill factor in fahrenheit, t is the air temperature in fahrenheit, and s is the wind speed in miles per hour at five feet above the ground.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:30
When using a public computer or network, you should always
Answers: 2
question
Computers and Technology, 22.06.2019 20:00
What statement best describes operating systems? it’s possible for modern computers to function without operating systems. most operating systems are free or very inexpensive. operating systems are managed by the computer’s microprocessor (cpu). operating systems manage the computer’s random access memory (ram).
Answers: 1
question
Computers and Technology, 22.06.2019 21:30
After you clean an engine with hot water spray, it seems to stall; when it doesn't stall, it's idling noisily. technician a says to check for loose bolts on the flex plate near the torque converter. technician b says to wipe down the spark plug wires and the distributor cap. who is correct? a. technician a b. both technicians a and b c. technician b
Answers: 1
question
Computers and Technology, 23.06.2019 21:00
Will this setup result in what kathy wants to print?
Answers: 2
You know the right answer?
Write an html document which contains two text fields, a button, and a div. the first text field sho...
Questions
question
Mathematics, 18.03.2021 07:00
question
Mathematics, 18.03.2021 07:00
question
Mathematics, 18.03.2021 07:00
question
Computers and Technology, 18.03.2021 07:00
question
Mathematics, 18.03.2021 07:10
question
Social Studies, 18.03.2021 07:10
Questions on the website: 13722363