Explore BrainMass
Share

Program for wind speed, temperature, humidity

This content was STOLEN from BrainMass.com - View the original, and get the already-completed solution here!

In a certain region, pesticide can be sprayed from an iairplane only if the temperature is at least 70 degrees, the relative humidity is between 15 and 35%, and the wind speed is at most 10 miles per hour,

© BrainMass Inc. brainmass.com October 24, 2018, 6:06 pm ad1c9bdddf
https://brainmass.com/computer-science/algorithms/program-wind-speed-temperature-humidity-31575

Solution Preview

Dear student

as you did not write your preference, I am writing the program in C.

Here, scanf function is ...

Solution Summary

Write a program that accepts three numbers representing temperature, relative himidity, and wind speed; assigns the value true or false to the boolean vairable okToSpray according to these criteris; and displays this value.

$2.19
See Also This Related BrainMass Solution

Provide a plot of temperature versus distance east. Based on its appearance, is it a good linear model for predicting temperature as a function of distance?

Details: Your company was very impressed with your results from the recent study. They have asked that you investigate another location for them and present this new promising location at the upcoming sales meeting. Again, it is your job to check out the various areas and the friendliness for business. One of the factors of interest is the average temperature.

Along the way to the new location- you find that all the temperatures provided are in °F. You will now continue your observations - that you had done previously. To do so, you will need to solve a linear equation. The linear equation that relates °C to °F is as follows:

°F = 1.8 °C + 32.0

The following data was calculated in this way:

Temperature °F Miles east from starting point
85.2
0

84.5
15

83.6
25

Your presentation must include the following:

Provide a plot of temperature versus distance east. Based on its appearance, is it a good linear model for predicting temperature as a function of distance?
Use the graph to determine the expected temperature at 75 miles east- where the company branch is located?
What challenges is your company up against in using this formula?
In what ways is the average of the temperature important for your company to consider?

View Full Posting Details