Ok, so I am new to this and lost beyond belief, how do I solve this and show my
ID: 3557828 • Letter: O
Question
Ok, so I am new to this and lost beyond belief, how do I solve this and show my work? Where do I begin?
Write an algorithm to compute the volume of water in cubic feet, flowing through a pipe of diameter d in feet, with a velocity of v feet per second. The formula to compute the volume flow rate per second is given by:
Write an algorithm to compute the volume of water in cubic feet, flowing through a pipe of diameter d in feet, with a velocity of v feet per second. The formula to compute the volume flow rate per second is given by: R = d/2 Area = pi r2 Volume = area . VExplanation / Answer
#include<stdio.h>
main()
{
float v,d;
float area,volume,radius;
printf("enter velocity and diameter ");
scanf("%f%f",v,d);
radius=d/2;
area=(22/7)*radius*radius;
volume=area*v;
printf("volume is: %f",volume);
}
Related 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.