Answer:
#include <iostream>
#include <iomanip>
using namespace std;
class pointType
{
public:
pointType()
{
x=0;
y=0;
}
pointType::pointType(double x,double y)
{
this->x = x;
this->y = y;
}
void pointType::setPoint(double x,double y)
{
this->x=x;
this->y=y;
}
void pointType::print()
{
cout<<"("<<x<<","<<y<<")\n";
}
double pointType::getX()
{return x;
}
double pointType::getY()
{return y;
}
private:
double x,y;
};
int main()
{
pointType p2;
double x,y;
cout<<"Enter an x Coordinate for point ";
cin>>x;
cout<<"Enter an y Coordinate for point ";
cin>>y;
p2.setPoint(x,y);
p2.print();
system("pause");
return 0;
}
Answer:
Repairable component
Explanation:
Repairable component is defined to be the probability that a failed component or system will be restored to a repaired specified condition within a period of time when maintenance is performed in accordance with prescribed procedures.
Answer:
type 2, k = 4
Explanation:
(a) The transfer function of the controller for a satellite attitude control is

The transfer function of unity feedback structure is
To determine system type for reference tracking, identify the number of poles at origin in the open-loop transfer function.
For unity feedback system, the open-bop transfer function


Determine the poles in G(s)4(s).
s = 0,0,-5
Type of he system is decided by the number of poles at origin in the open loop transfer function.
Since, there are two poles at origin, the type of the system will be 2.
Therefore, the system type is
Type 2
check the attached file for the concluding part of the solution
Answer:
The function of the Deaerator is to remove dissolved non-condensable gases and to heat boiler feed water.
Explanation:
Answer:
Shining lantern Magic beans
Explanation:
I will explain the code line by line.
The first statement contains a string type variable magicPowers and second statement has an int type variable experienceLevel which is initialized by value 9.
Nested if statement are used and lets see which of those statements execute.
The first if statement checks if the value of experienceLevel is greater than 10. This statement evaluates to false because the value of experienceLevel is set to 9. Then the program control moves to the next if statement.
The second if statement checks if the value of experienceLevel is greater than 8. This if condition evaluates to true because the value of experienceLevel is 9. So this if statement is executed which contains the statement magicPowers = magicPowers + "Shining lantern "; . This means magicPowers stores the string Shining lantern.
The third if statement checks if the value of experienceLevel is greater than 2. As the value of experienceLevel is 9 so this condition also evaluates to true which means the statement magicPowers = magicPowers + "Magic beans "; is executed. This statement means magicPowers stores the string Magic Beans
You can use a print statement to display the output on the screen as:
System.out.print(magicPowers);
Output:
Shining lantern Magic beans
The program along with the output is attached as a screenshot.