Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Conceptual Database Design An Entity Relationship Approach

Authors: Carol Batini, Stefano Ceri, Shamkant B. Navathe

1st Edition

0805302441, 978-0805302448

More Books

Students also viewed these Databases questions

Question

What does corporate sustainability mean?

Answered: 1 week ago