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:
Due to power factor correction; voltage regulation is improved and efficiency is increased.
Explanation:
Power Factor Vs Voltage Regulation:
When the power factor is improved, the current in the system decreases as power factor and current have inverse relation.
When current decreases, the corresponding voltage drops in the system decreases as the voltage and current are directly proportional.
Since the voltage drop decreases, the voltage regulation improves since the voltage regulation is given by
Voltage regulation = (Vin - Vout)/Vout x 100%
Vout will be greater due to less voltage drop.
Power Factor Vs Efficiency:
Efficiency is given by
η = Pout/Pin
but Pin = Pout + Plosses
η = Pout/Pout + Plosses
When power factor is improved, the current decreases, the decrease in current reduces the power losses since the losses are directly proportional to the square of current (I²R) therefore, decrease in Plosses results in the increased efficiency of the system.
Answer:
The Food and Drug Administration is responsible for protecting the public by ensuring the safety of our nation's food supply, cosmetics, and products that emit radiation
Explanation: