Reference no: EM13866340
Problem Statement:
The drive pulley for a conveyor belt has a diameter D1. The pulley is turned by a motor, while the idler wheel is freely rotating. The idler wheel has a diameter D2. There is no slack in the belt. The belt is moving at a linear speed of VBELT.

Assumptions:
1. The diameters of the drive pulley and idler wheel are specified in centimeters (cm).
2. The speed of the belt is specified in units of meters per second (m/s).
3. The rotation rates are in revolutions per minute (rpm).
Determine the following:
1. What is the rotation rate of the drive pulley?
2. What is the rotation rate of the idler wheel?
Program Requirements:
The requirements are as follows:
1. The program should prompt the user to enter the following information:
o Drive pulley diameter D1 (in cm)
o Idler wheel diameter D2 (in cm)
o Belt speed VBELT (in m/s)
2. The program should calculate and display the following values:
o Drive pulley rotation rate (in rpm)
o Idler wheel rotation rate (in rpm)
3. Display your results to two decimal places.
4. Floating point variables should be declared as type double for best accuracy.
5. Define a macro for the value of π (PI). For consistency, use 3.141592654.
Your program must be ISO C90 compliant.
Sample Output:
The following link shows a sample run of the instructor's version of the program: transcript
$ ./hw2
Enter the diameter D1 of the drive pulley (cm): 30
Enter the diameter D2 of the idler wheel (cm): 5.5
Enter the belt's velocity (m/s): 2
The rotation rate of the drive pulley is 127.32 rpm.
The rotation rate of the idler wheel is 694.49 rpm.
$ ./hw2
Enter the diameter D1 of the drive pulley (cm): 50
Enter the diameter D2 of the idler wheel (cm): 25
Enter the belt's velocity (m/s): 0.5
The rotation rate of the drive pulley is 19.10 rpm.
The rotation rate of the idler wheel is 38.20 rpm.
You are free to make your program's output look as fancy or as plain as you like (within reason).
Notes
- For the scanf()function, use the correct conversion specifier for input variables of type double.
- Be aware that you may need to perform some unit conversions.
- For the Program Design Report, explain in detail the mathematics you used to calculate the required values.
- Good programming style is important. Remember to properly document the program in order to get full credit.
What advice do you have for the nurse supervisor
: Based on the case study, respond to the following: What advice do you have for the nurse supervisor to improve the motivation of staff nurse Charlie
|
Describe the various instruments of monetary policy
: Describe the various instruments of monetary policy and how they are used
|
Unified soil classification system
: Describe how the Unified Soil Classification system is used to classify a soil sample as a clay with low plasticity CL. Indicate the suitability of a CL soil for engineering purposes.
|
Klein actions violate any rules of conduct in the aicpa code
: Did Klein actions violate any rules of conduct in the AICPA Code? Why or why not? Do you think Klein would have any legal liability for his actions? Explain.
|
Drive pulley for a conveyor belt
: The drive pulley for a conveyor belt has a diameter D1. The pulley is turned by a motor, while the idler wheel is freely rotating. The idler wheel has a diameter D2. There is no slack in the belt. The belt is moving at a linear speed of VBELT.
|
Compute the depreciation rate per year for the group.
: At the end of Year 1, Herkimer & Co. sells two laptops for $1,800 each. Based on the information in RE11-6 in Year 1, prepare the journal entries to record the purchase of the laptops, the depreciation on the laptops, and the sale of the laptops.
|
Uses composite depreciation for its assets
: Buffalo, Inc., uses composite depreciation for its assets. Buffalo, Inc., owns a car with a cost of $25,000, a residual value of $1,500, and a useful life of 5 years; as well as equipment with a cost of $7,500,
|
Attractive forces between the particles of a solid
: Compare the compare the tractor forces between the particles of a gift to the attractive forces between the particles of a solid
|
Discrimination scheme is more profitable than a single
: discrimination scheme is more profitable than a single monopoly price
|