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
Acompressor receives the shaft work to decrease the pressure of the fluid. a)- true b)- false
Answers: 3
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
Inadequate stores control is not an obstacle to effective work order system. (clo4) a)-true b)-false
Answers: 3
question
Engineering, 04.07.2019 18:20
Acertain flow of air (at stp) has a velocity distribution given by v i (in ft/s). if this flow is going through a 4 ft square area in the yz-plane (centered at the origin), what is the mass flow rate (in lbm/s)?
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, 10.09.2019 23:10