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, 03.07.2019 14:10
Explain the difference laminar and turbulent flow. explain it with the shear stress and the velocity profiles.
Answers: 1
question
Engineering, 04.07.2019 18:10
Apump is used to circulate hot water in a home heating system. water enters the well-insulated pump operating at steady state at a rate of 0.42 gal/min. the inlet pressure and temperature are 14.7 lbf/in.2, and 180°f, respectively; at the exit the pressure is 60 lbf/in.2 the pump requires 1/15 hp of power input. water can be modeled as an incompressible substance with constant density of 60.58 lb/ft3 and constant specific heat of 1 btu/lb or. neglecting kinetic and potential energy effects, determine the temperature change, in °r, as the water flows through the pump.
Answers: 1
question
Engineering, 04.07.2019 18:10
Aflywheel accelerates for 5 seconds at 2 rad/s2 from a speed of 20 rpm. determine the total number of revolutions of the flywheel during the period of its acceleration. a.5.65 b.8.43 c. 723 d.6.86
Answers: 2
question
Engineering, 04.07.2019 18:20
Agas mixture consists of 8 kmol of h2 and 2 kmol of n2. determine the mass of each gas and the apparent gas constant of the mixture.
Answers: 3
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, 02.02.2021 22:00
question
English, 02.02.2021 22:00
question
Mathematics, 02.02.2021 22:00
Questions on the website: 13722363