Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hi. i have this project that ive been working on for a while right now and i dont seem to get the last part. Im
Hi. i have this project that ive been working on for a while right now and i dont seem to get the last part. Im really new to programing in general. I have tried to use loops and insert the if statment in it, but it still didnt work. i also tried using arrays and I dont seem to get the answer " im not good with arrays TBH". Anyway, please explain how is it possible to do the last part where its say the closest pipe radius to desired flow. thanks.
h proj3.pdf Tzy 5.4. The #define directive D begre245 How to use float in an array ir v e sqrt, sqrtt, sqrti-cppreferencx > d liberty.egr.vcu.edu/~reslerimirror/egre245/protected/proj3.pdf proj3.pdf 1 /2 EGRE245 Spring 18 Choosing a Pipe 1 Overview An engineer is responsible for recommending certain sizes of pipes for a new plant based on a desired volume of liquid flowing out of the pipe. Write a complete C program that will print out a table of 10 flow volumes and the suggested pipe radius to use given a flow rate f, the smallest diameter (entered as radius r) of pipe possible, the amount to increment the pipe radius per table entry, and the desired flow volume v out of the pipe. Note that the output volume v is equal to the area of the pipe's cross-section times the rate of flow r rate of flow f us (cm) r (m/s) volume output v (cubic m/s) Assume that the pipe's cross-section is a circle; use the constant value for pi from C's math.h library. All values should be stored a floating-point values using variables of type float Echo print all input as per the sample run below. Your prompts and output should eractly match the sample run (except you would use your name instead of mine)! Carefully note the number of digits after the decimal points for each of the values printed
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started