Question: Please answer in c++, program used is codeblocks Chapter 6.4, Problem 5E Bookmark Show all steps: Chapter 6.4A Problem (Ducts) The equivalent diameter of a
Please answer in c++, program used is codeblocks

Chapter 6.4, Problem 5E Bookmark Show all steps: Chapter 6.4A Problem (Ducts) The equivalent diameter of a circular duct that provides the same pressure loss as a rectangular duct (see Figure) is given by the Huebsher equation 2E 3E 1.3(a b)0.625 a b)0.25 4E 5E GE de is the equivalent diameter (mm or in) a is the rectangular duct width (mm or in) b is the rectangular duct height (mm or in). Figure: Rectangular to circular ducting TE 8E 9E Chapter 6.5 Y Chapter 6.6 Y Chapter 7 Chapter 7.1 Chapter 7.2 Chapter 7.3 Y Chapter 7.4 Y Chapter 7.5 Chapter 7.6 Chapter 8v Chapter 8.1 a. Using this formula, write and test a C+unction named equivDuct) that accepts two double- precision arguments (one for the duct's width and one for its height), and then calculates and retums the equivalent diameter for a circular duct that provides the same pressure loss as the rectangular duct having the width and height speciried by function's arguments b. Include the function written for Exercise a in a working C++ program. When you have verified that your program is working correctly, use it to fill in the following chart: 4 6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
