Question: ta/Local/Temp/Temp 1-HW01 %20(1 ).zip/HW01.-DrillProblems.pdf Function Name: lemonade Inputs: 1. (double) Number of quarts Outputs: 1. 2. 3. (double) Number of gallons (double) Number of pints

 ta/Local/Temp/Temp 1-HW01 %20(1 ).zip/HW01.-DrillProblems.pdf Function Name: lemonade Inputs: 1. (double) Number

ta/Local/Temp/Temp 1-HW01 %20(1 ).zip/HW01.-DrillProblems.pdf Function Name: lemonade Inputs: 1. (double) Number of quarts Outputs: 1. 2. 3. (double) Number of gallons (double) Number of pints (double) Number of cups Background You and your friends decide to put together a lemonade stand to make a little money However, when looking at all the different recipes you can make, you notice they're all in different units! After worrying about the numerous conversions you have to make, you realize you can just write in function in MATLAB to do it for you! Function Description: Write a function that has one input- the amount of liquid in quarts, and outputs three different conversions- the amount of liquid in gallons. pints, and cups. Conversions 1 gallon = 4 quarts 1 quart 2 pints 1 pint 2 cups Notes: Round your answer to the second decimal place

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!