Question: Problem 2: Pump Flow Rates and Efficiency Learning objective: Create and manipulate 1D Arrays using a function in MATLAB. Engineering focus: Pump Characteristics (mechanical, civil)

Problem 2: Pump Flow Rates and Efficiency Learning objective: Create and manipulate 1D Arrays using a function in MATLAB. Engineering focus: Pump Characteristics (mechanical, civil) Lead Team Member: Background: Collected data was used to establish equations to describe flow rate and efficiency as a function of system head height for a fountain pump. The range of head height operation for the pump is between 0 and 1.0 meter. Flow Rate = -99.22x2 - 90.886x + 257.46 Efficiency = -5.596x2 - 0.6347x + 5.1038 a) Create a script (A3_P4_Pump.m) that completes the following: i) Create an array head Heights, that begins at 0 and ends at 1 with 20 equally spaced points. Include code to assign values to flow rate (pumpER) and efficiency (pumpEff) arrays for a the given head heights. iii) Create an array (peakEfflagic) using logic operators and the max command that includes a true value in the location for greatest efficiency. iv) Create an array (peakData) that includes peak data for head height, flow rate and efficiency. b) Create the following output to the display using the format bank, fprintf () & disp.) commands to configure output. i) Peak Efficiency Data with a header with units ii) Table of values including a header with units; organize the data with head height in the first column, with flow rate and efficiency in the 2nd and 3rd columns. Cut & Paste your A2_P4_Pump.m code below: + Cut & Paste your Command Window output below
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
