Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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)

image text in transcribed

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

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

Database Horse Betting The Road To Absolute Horse Racing 2

Authors: NAKAGAWA,YUKIO

1st Edition

B0CFZN219G, 979-8856410593

More Books

Students also viewed these Databases questions