Answer:
Program that removes all spaces from the given input
Explanation:
// An efficient Java program to remove all spaces
// from a string
class GFG
{
// Function to remove all spaces
// from a given string
static int removeSpaces(char []str)
{
// To keep track of non-space character count
int count = 0;
// Traverse the given string.
// If current character
// is not space, then place
// it at index 'count++'
for (int i = 0; i<str.length; i++)
if (str[i] != ' ')
str[count++] = str[i]; // here count is
// incremented
return count;
}
// Driver code
public static void main(String[] args)
{
char str[] = "g eeks for ge eeks ".toCharArray();
int i = removeSpaces(str);
System.out.println(String.valueOf(str).subSequence(0, i));
}
}
C. seems like the best answer. i may be wrong so don’t quote me on that
Answer:
Electrical faults are also caused due to human errors such as selecting improper rating of equipment or devices, forgetting metallic or electrical conducting parts after servicing or maintenance, switching the circuit while it is under servicing, etc.
Explanation:
Answer: b) False
Explanation: Microscopic energy is the the energy that is based on the molecular level in a particular energy system. Microscopic energy basically comprise with tiny particles like atoms and molecules .The sum of all microscopic form of energy e together make the internal energy .Therefore, the statement given is false because the sum of all the microscopic forms of energy of a system is quantified as internal energy not flow energy.
Answer:
a) 23.89 < -25.84 Ω
b) 31.38 < 25.84 A
c) 0.9323 leading
Explanation:
A) Calculate the load Impedance
current on load side = 0.75 p.u
power factor angle = 25.84
= 0.75 < 25.84°
attached below is the remaining part of the solution
<u>B) Find the input current on the primary side in real units </u>
load current in primary = 31.38 < 25.84 A
<u>C) find the input power factor </u>
power factor = 0.9323 leading
<em></em>
<em>attached below is the detailed solution </em>