Question: Overview: You will write a program that will compute the probability of wind occurrence using the Rayleigh wind distribution formula. This formula will be used

 Overview: You will write a program that will compute the probability

Overview: You will write a program that will compute the probability of wind occurrence using the Rayleigh wind distribution formula. This formula will be used in your upcoming Power and Energy course for calculating the annual energy output of a wind turbine using the power curve method. Processing requirements: Your program will do the following: Calculate the probability of wind occurrence using the following Rayleigh wind distribution formula the range of wind speeds entered by the user: 1=0(77).562 Where: f is the probability of occurrence in decimal form) Varg is the average wind speed at hub height (m/s) V is the wind speed (in m/s), e.g. 1,2,3 Allow the user to enter the start and stop wind speeds for the calculation (the starting value of Vand the stopping value for V assume they are typically rounded off to 1 m/s intervals and within a range of about 3 to 25 m/s for the start and stop speeds). Allow the user to enter the average wind speed (it is typically a decimal value within a range of about 3 to 15 m/s) Ensure that the user enters reasonable values. Calculate the frequency of occurrence between 3 to 25 m/s. Allow the user to enter the start and stop wind speeds (assume it is typically rounded off to 1 m/s intervals and within a range of about 3 to 25 m/s). Display the results as a percent with 4 decimals of accuracy Make use of the math.h library (go to Wikipedia and type in math.h to look-up the math library for C)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!