Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

legt vector you may use any MATLAB Kunction in completing this problem di To redate put Calculated the mout in TDS. generates a lot of

image text in transcribed

legt vector you may use any MATLAB Kunction in completing this problem di To redate put Calculated the mout in TDS. generates a lot of most og red d antos angle green TS as a cyan ang anda Tosas angle magenta pus Problem 1: statistics Function (25 Points) As part of your capstone project, you are testing a new design for a compact seawater desalinization system. One of the parameters you are measuring is Total Dissolved Solids (TDS). Create a function called statistics that meets the following criteria: requires TDS as the only input generates four outputs that work for any length vector (you may use any MATLAB function in completing this problem) mean TDS- calculated mean of the input median TDS - calculated median of the input. min TDS - calculated minimum of the input max TDS - calculated maximum of the input generates a plot of TDS as blue asterisks, mean TDS as a single red circle, median Tos as a single green cross, min TDS as a single cyan triangle, and max TDS as a single magenta plus sign Your plot should have a title, labels on both axes, and a legend your plot should look something like this: TDS Statistics TDS mean median min max + Total Dissolved Solids 10753 15 20 Sample Number 25 30 5) in a bag there are 5 red socks and 11 black socks, unpaired and mixed up. One dark morning you pull two socks from the drawer, without replacement. What is the probabilit that the two socks match? Activate Windows

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

Ethical Obligations And Decision Making In Accounting Text And Cases

Authors: Steven Mintz, Roselyn Morris

2nd Edition

0078025281, 9780078025280

More Books

Students also viewed these Accounting questions

Question

Why do companies prepare budgets?

Answered: 1 week ago

Question

Understand the primary objectives of performance appraisals

Answered: 1 week ago