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 16:10
The force on a cutting tool are 2600n vertically downward and 2100 horizontal. determine the resultant force acting on the tool and the angle at which it acts.
Answers: 1
question
Engineering, 04.07.2019 18:10
Afour cylinder four-stroke in-line engine has a stroke of 160mm, connecting rod length of 150mm, a reciprocating mass of 3kg and its firing order is 1-3-4-2. the spacing between cylinders is 100mm. i. show that the engine is in balance with regard to the primary inertia forces and primary 3. a and secondary inertia couples. li determine the out of balance secondary inertia force ii. propose ways of balancing this out of balance force and discuss the challenges that will arise
Answers: 3
question
Engineering, 04.07.2019 18:20
Atank with constant volume contains 2.27 kg of a mixture of water phases (liquid-vapor). in the initial state the temperature and the quality are 127 Ā°c and 0.6, respectively. the mixture is heated until the temperature of 160 oc is reached. illustrate the process in a t-v diagram. then, determine (1) the mass of the vapor in kg at the initial state, (2) the final pressure in kpa.
Answers: 3
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
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
Chemistry, 03.09.2020 20:01
question
Mathematics, 03.09.2020 20:01
question
Mathematics, 03.09.2020 20:01
Questions on the website: 13722361