Remove whatever is holding the old filter in place and remove it. Put the new filter on in the same position as the old filter. Replace whatever holds the filter in place, and make sure it's secure. Replace the fuse for the fuel pump in the fuse box.
Answer:
import java.util.*;
public class PerfectNum{
public static String isPerfect(long number){
String s = "";
long sum = 0;
//Checking if the number is perfect or not
for(long i = 1; i < number; i++){
if(number % i == 0){
sum += i;
}
}
if(sum == number){
for(long i = 1; i < number; i++){
String t = "";
if(number % i == 0){
long n = i;
//Converting into string
while(n > 0){
long p = n % 10;
t += (char)(p + '0');
n /= 10;
}
//Reversing the number
for(int j = t.length() - 1; j >= 0; j--){
s += t.charAt(j);
}
s += " ";
}
}
}
return s;
}
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
System.out.println("Enter maximum number");
long n = sc.nextLong();
System.out.println("Displaying perfect numbers 2 to " + n);
for(long i = 2; i <= n; i++){
String s = isPerfect(i);
if(s != "")
System.out.println(s +"->" + i);
}
}
}
Answer:
Explanation:
From the question we are told that:
Liquid density
Diameter of pipe
Diameter of venture
Specific weight of mercury P_mg
Flow rate
Area A:
Generally the Bernoulli's equation is mathematically given by
Where
Therefore
Generally the equation for pressure difference b/w manometer fluid is given as
Therefore
Therefore elevation change is mathematically given by