Question
2. (50 points) At this time you should be very comfortable with converting between volumetric flowrate and velocity when using a circular pipe to compute
2. (50 points) At this time you should be very comfortable with converting between volumetric flowrate and velocity when using a circular pipe to compute the cross sectional area for flow in ChEE 201. Your task is to create a function that starts volumetric flowrate and calculates velocity. You want to be able to input the value and units on volumetric flowrate and diameter and have your program be able to handle L, m, in, and ft to the appropriate powers for the different possible combinations of those units to give you the velocity in m/s. 4. (30 points) Research VBAs loop statements. Use any kind of loop you are comfortable using to create a function that calculates factorials. The function must take an integer input in the function arguments and return the factorial of that integer into the cell the function was called in. Be sure to set up the function so that it evaluates 0 correctly and gives an error message when negative numbers are submitted.
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