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, 23.06.2019 06:10
The head restraint should be adjusted so that it reaches a.the top of your ears b.the base of your skull c.the top of the head
Answers: 1
question
Computers and Technology, 23.06.2019 21:20
In microsoft word, when you highlight existing text you want to replace, you're in              a.  advanced mode.    b.  automatic mode.    c.  basic mode.    d.  typeover mode
Answers: 1
question
Computers and Technology, 23.06.2019 21:30
Which of the following includes the three primary network access technologies? dsl, cable modem, broadband lan, wan, man voip, uc, iptv tcp/ip, ftp, dhcp
Answers: 2
question
Computers and Technology, 23.06.2019 22:00
Jackson, who works in the finance department of a company, is holding a seminar for other employees on how to file taxes. only three employees sign up to attend the seminar. which device can he use to share his presentation with a group of three employees?
Answers: 1
You know the right answer?
Diesel engine specifications include its weight ( w ), maximum horsepower ( hp ), and maximum torque...
Questions
Questions on the website: 13722361