A is the answer for the sentence
Answer:
Option B
10,20,24,75,70,18,60,35
Explanation:
The first, second and third iteration of the loop will be as follows
insertion sort iteration 1: 20,24,10,75,70,18,60,35
insertion sort iteration 2:10,20,24,75,70,18,60,35
insertion sort iteration 3: 10,20,24,75,70,18,60,35
Answer:
//Define the header file
#ifndef PLAYER_H
#define PLAYER_H
//header file.
#include <string>
//Use the standard namespace.
using namespace std;
//Define the class Player.
class Player
{
//Declare the required data members.
string name;
int score;
public:
//Declare the required
//member functions.
void setName(string par_name);
void setScore(int par_score);
string getName();
int getScore();
}
//End the definition
//of the header file.
#endif
Player.cpp:
//Include the "Player.h" header file,
#include "Player.h"
//Define the setName() function.
void Player::setName(string par_name)
{
name = par_name;
}
//Define the setScore() function.
void Player::setScore(int par_score)
{
score = par_score;
}
//Define the getName() function.
string Player::getName()
{
return name;
}
//Define the getScore() function.
int Player::getScore()
{
return score;
}
Answer:
a) 4.1 kw
b) 4.68 tons
c) 4.02
Explanation:
Saturated vapor enters compressor at ( p1 ) = 2.6 bar
Saturated liquid exits the condenser at ( p2 ) = 12 bar
Isentropic compressor efficiency = 80%
Mass flow rate = 7 kg/min
A) Determine compressor power in KW
compressor power = m ( h2 - h1 )
= 7 / 60 ( 283.71 - 248.545 )
= 4.1 kw
B) Determine refrigeration capacity in tons = m ( h1 - h4 )
= 7/60 ( 248.545 - 107.34 )
= 16.47 kw = 4.68 tons
C) coefficient of performance ( COP )
= Refrigeration capacity / compressor power
= 16.47 / 4.1 = 4.02
Attached below is the beginning part of the solution