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 22:30
What is the most popular genre of video games?
Answers: 1
question
Computers and Technology, 22.06.2019 22:30
Alex’s family members live in different parts of the world. they would like to discuss the wedding plans of one of their distant relatives. however, alex wants all the family members to talk to each other simultaneously so that they can make decisions quickly. which mode of internet communication should they use? a. blog b. email c. wiki d. message board e. instant messaging
Answers: 2
question
Computers and Technology, 23.06.2019 22:40
22. sata3 allows for data transfer rates of 600 mb/s. explain why you would likely not be able to copy data from one hard drive to another at anywhere close to this speed. also, what could be upgraded on the computer to achieve transfer speeds closer to 600 mb/s
Answers: 1
question
Computers and Technology, 24.06.2019 12:40
Match the feature to the network architecture. expensive to set up useful for a small organization easy to track files has a central server inexpensive to set up difficult to track files useful for a large organization does not have a central server client- server network peer-to-peer network
Answers: 3
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, 16.10.2019 06:00
Questions on the website: 13722359