Question: PRODUCT 5.4.4 Exercise 4: Flow Rate Problems Write a program that will output the flow rate (Q) of FT-101 and FT-102 in litres/min given the

 PRODUCT 5.4.4 Exercise 4: Flow Rate Problems Write a program that

PRODUCT 5.4.4 Exercise 4: Flow Rate Problems Write a program that will output the flow rate (Q) of FT-101 and FT-102 in litres/min given the differential pressure measurement from the transmitters. Also calculate the rate at which V-101 is changing in % of the vessels capacity as an absolute value. You will need to use functions that are in the "math.h" library. Flow Rate Formula: Q = C/AP Where: Q = Flow rate in litres/min V-101 C for FT-101 is 56.57 C for FT-102 is 48.99 AP = differential pressure in inches of H:0 V-101 capacity is 875.0 litres Write a program that: HODUCT OUT 1. Reads the differential pressure signal from FT-101 and FT-102 (user inputed) 2. Calculate the flow rates of FT-101 and FT-102 in litres per minute (Ipm) - formula above. 3. Calculate rate of change in V-101 in percent (make this always be a positive number - hint: need a function from the library). The rate of change will be the difference in the flow rates over the capacity of the vessel. 4. Display the results formatted to match the sample output. Your program should contain: 1. Your name, lab #. program description and comments for blocks of code: You can use the single line comment (1) or the multi line comment (**) 2. Good spacing of sections of code 3. Proper indentation of lines of code 4. Good variable names (descriptive, but not too long) Sample Output 1: Enter the TORRE Lal pressure on T-101 Sanches of water 3 Enter the differential pressure reading froR PT-132 inches of water. 25 FT 101 282.5 LIM FI-102 244.95 LIM U-101 Presenter to end. Sample Output 2: Enter the differential presure reading from FT-181 Kine hea of Macer: 35-1 Enter the differential pressure reading from FT-182 inches of water)19.9 PT-101 336.58 LIM PT-102 346-07 LIH U-10 Pre enter to end. Page 58 Lab - Introduction to Programming 11 NAIT CP#1149

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!