Water can freeze in cold weather and cause brake failure.
Question
Determine the minimum hole diameter for the spring to operate in
Answer:
11 mm
Explanation:
Mean spring coil diameter is given from the following relationship
D=cd where C is spring index and d is the diameter of oil-tempered wire
By substitution
D=10*1 mm=10 mm
To find the outer diameter, we add the d to D hence getting the minimum hole diameter as

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.
Answer:
Solve the problem
Explanation:
The statement is : The team requests bids from a vendor to offer alternatives to raw materials that are too expensive for the proposed
price of the tablet.
The team wanted vendors to submit bids so that it can choose an alternative to raw materials to replace those that were expensive as compared to previous proposed price of a tablet. This is a process of solving the problem to identify a better solution.