Answer:
The electric current from the batteries installed in a radio supplies direct current (DC) electricity to the radio components directly as an alternative source to the Alternating Current (AC) converted to DC by the power unit located at the radio end of the cable plugged into the wall outlet.
Explanation:
Part of the power unit in a radio includes an AC to DC converter, which is an electrical circuit that is able to convert the alternating current power input from the wall outlet into a direct current output to the radio with which the radio can work
The alternative source of electric current from the batteries installed in a radio bypasses the AC to DC converter and supplies power directly to the radio so it can also work.
Answer:
Head loss=0.00366 ft
Explanation:
Given :Water flow rate Q=0.15 
= 6 inch=0.5 ft
=2 inch=0.1667 ft
As we know that Q=AV

So 

=0.687 ft/sec
We know that Head loss due to sudden contraction

If nothing is given then take K=0.5
So head loss
=0.00366 ft
So head loss=0.00366 ft
Answer:
import java.util.*;
public class Main {
public static void main(String[] args) {
double milesPerGallon = 0;
int totalMiles = 0;
int totalGallons = 0;
double totalMPG = 0;
Scanner input = new Scanner(System.in);
while(true){
System.out.print("Enter the miles driven: ");
int miles = input.nextInt();
if(miles <= 0)
break;
else{
System.out.print("Enter the gallons used: ");
int gallons = input.nextInt();
totalMiles += miles;
totalGallons += gallons;
milesPerGallon = (double) miles/gallons;
totalMPG = (double) totalMiles / totalGallons;
System.out.printf("Miles per gallon for this trip is: %.1f\n", milesPerGallon);
System.out.printf("Total miles per gallon is: %.1f\n", totalMPG);
}
}
}
}
Explanation:
Initialize the variables
Create a while loop that iterates until the specified condition is met inside the loop
Inside the loop, ask the user to enter the miles. If the miles is less than or equal to 0, stop the loop. Otherwise, for each trip do the following: Ask the user to enter the gallons. Add the miles and gallons to totalMiles and totalGallons respectively. Calculate the milesPerGallon (divide miles by gallons). Calculate the totalMPG (divide totalMiles by totalGallons). Print the miles per gallon and total miles per gallon.