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
The temperature of air decreases as it is compressed by an adiabatic compressor. a)- true b)- false
Answers: 2
question
Engineering, 04.07.2019 19:10
Ahelical coil spring has a mean diameter of 50 mm, a wire diameter of 5.5 mm and is wound with a pitch of 10 mm. the spring steel has an ultimate strength of 1250 mpa. find the force needed to compress the spring solid and the wire stress in this condition. state whether the spring will return to its initial length.
Answers: 1
question
Engineering, 06.07.2019 02:30
Air (c-1.006 kj/kg.k, r-0.287 kj/kg.k) enters a nozzle steadily at 280 kpa and 77°c with a velocity of 50 m/s and exits at 85 kpa and 320 m/s. the heat losses from the nozzle to the surrounding medium at 20°c are estimated to be 3.2 kj/kg. determine (a) the exit temperature and (b) the total entropy change for this process. solve this problem using constant specific heats.
Answers: 1
question
Engineering, 06.07.2019 04:10
Ahousehold refrigerator operating steadily and with a coefficient of performance of 2.5 removes energy from a refrigerated space at a rate of 650 kj/h. evaluating electricity at $0.06 per kw.h, determine the cost of electricity in a month when the refrigerator operates for 360 hours.
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
Questions on the website: 13722367