subject
Engineering, 28.11.2019 00:31 jenny3661

You are developing an automated process for sorting fish caught by a trawler, and want to keep track of information from each haul. fish are separated by weight, and assigned quality and market categories accordingly, each with separate prices per kilogram. create a matlab program that will take a vector of fish weights, and create a detailed summary of the haul, complete with count, total mass, and total price for each category of fish. your program should: take user input for the weights (kg) of all fish from the haul as a vectoruse a loop to determine the total weight for each grade of fish in the haul, and the total income for each grade of fishdetermine the total income resulting from selling the hauloutput a detailed invoice including the weight of each grade of fish, the total income for each grade of fish, and the total income from the entire hauluse the following fish categoriesgradeuseprice ($/kg)range (kg)swhole fish2030 < weightafillet1520 < weight < = 30bcanning610 < weight < = 20cpet food45 < weight < = 10dfish extracts10 < weight < = 5create a sample run using the weight data in kg from the following haul of 15 fish: 4335221115540892819271714(as a vector: [4,3,35,22,11,15,5,40,8,9,28,19,27, 17,14])you caught 75 kg of fish for whole fish, to be sold for $1500you caught 77 kg of fish for fillet, to be sold for $1155you caught 76 kg of fish for canning, to be sold for $456you caught 22 kg of fish for pet food, to be sold for $68you caught 7 kg of fish for fish extracts, to be sold for $12your total income for this haul is $3191

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
What difference(s) did you notice using a pneumatic circuit over hydraulic circuit.explain why the pneumatic piston stumbles when it hits an obstacle.
Answers: 2
question
Engineering, 04.07.2019 18:10
Afull journal bearing has a journal diameter of 27 mm, with a unilateral tolerance of -0.028 mm. the bushing bore has a diameter of 27.028 mm and a unilateral tolerance of 0.04 mm. the l/d ratio is 0.5. the load is 1.3 kn and the journal runs at 1200 rev/min. if the average viscosity is 50 mpa-s, find the minimum film thickness, the power loss, and the side flow for the minimum clearance assembly.
Answers: 1
question
Engineering, 04.07.2019 18:10
The higher the astm grain size number, the finer the gran is. a)-true b)-false
Answers: 2
question
Engineering, 04.07.2019 18:20
Apiston-cylinder device contains 0.1 m3 of liquid water and 0.9 m3 of water vapor in equilibrium at 800 kpa. heat is transferred at constant pressure until the temperature of water reaches 350 °c. determine (a) the quality of water at the initial state (b) the work associated with this process, (c) the heat associated with this process.
Answers: 2
You know the right answer?
You are developing an automated process for sorting fish caught by a trawler, and want to keep track...
Questions
question
Mathematics, 05.05.2020 22:38
question
History, 05.05.2020 22:38
question
History, 05.05.2020 22:38
Questions on the website: 13722367