subject
Computers and Technology, 07.04.2020 20:12 any80

Diesel engine specifications include its weight ( w ), maximum horsepower ( hp ), and maximum torque ( t ). The performance of such engines can be compared using a performance index. In one study the performance index ( pi ) is defined as the ratio of maximum horsepower per unit of weight (i. e. pi = hp / w ) of engine. Write a program to calculate the performance index of several engines based on the following guidelines.

Define a class (called engine ) containing the specifications of a typical engine (i. e. w , hp , and t ) and member function(s) to read these specifications.

Write a program to make use of an object of class engine type to calculate the performance index of six different engines listed below and print the index and the specifications of each engine to an output file having a format exactly like that shown below
Maxium(hp): 68, 72, 168, 725, 220, 130

Maximm torque(Ib-ft): 225, 281, 664, 2840, 560, 393

Weight(Ib): 4750, 5012, 7240, 9680, 7540, 6180

Performance Index(hp/Ib): 0.01431,

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:30
To hide gridline when you display or print a worksheet
Answers: 1
question
Computers and Technology, 22.06.2019 15:30
When creating a budget, log fixed expenses before income. after income. after savings. at the top.
Answers: 1
question
Computers and Technology, 22.06.2019 21:00
Kirk found a local community college with a two-year program and he is comparing the cost with that of an out-of-state two-year school. what is the expected total cost for one year at the local community college if kirk lives at home? what is the expected total cost for one year at the out-of-state school if kirk lives on campus?
Answers: 2
question
Computers and Technology, 23.06.2019 00:50
Representa os dados de um banco de dados como uma coleç? o de tabelas constituídas por um conjunto de atributos, que definem as propriedades ou características relevantes da entidade que representam. marque a alternativa que representa o modelo descrito no enunciado. escolha uma:
Answers: 3
You know the right answer?
Diesel engine specifications include its weight ( w ), maximum horsepower ( hp ), and maximum torque...
Questions
question
Biology, 14.04.2020 23:10
question
Mathematics, 14.04.2020 23:10
Questions on the website: 13722362