The minimum radius required for a cylindrical rod, such as one supporting a bicy
ID: 3638012 • Letter: T
Question
The minimum radius required for a cylindrical rod, such as one supporting a bicycle pedal, to provide enough support for the pressure exerted by the rider's foot yet not exceed the stress placed on the crank arm's sprocket attachment is provided by this formula: r^3= d*P/p*SWhere
r is the radius of the rod in inches.
d is the length of the pedal arm in inches.
P is the weight placed on the pedal in lbs.
S is the stress in lbs/in2.
p is 3.14159.
Using this information, design, write, compile, and execute a C++ program that computes the value of r for a crank arm that is d=7 inches long, accommodates a maximum weight of P=300 lbs, and is able to sustain a stress of S=10,000 lbs/in2.
Explanation / Answer
#include #include #include int main() { double r,d=7,P=300,S=10000,p=3.14,t; clrscr(); t= (d*P)/(p*S); r=pow(t,1/3.0); coutRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.