Use the following phase diagram for Questions 10 11 The foll
Use the following phase diagram for Questions 10 11. The following phase diagram is for salt water. There are four possible phases, which depend on the temperature and the sodium chloride content (NaCl). Ice and SC - Mixed ice and salt crystal Ice and SW - Ice and saltwater. SW - Saltwater. SW and SC - Saltwater and salt crystals. There are often multiple ways to solve the same problem; here we look a few alternative ways to determine the phase of the mixture. In Column C, develop the equation for the line dividing the phases of the ice-saltwater mix and the saltwater. Assume it was written in cell C11 and copied down. In Column D. develop the equation for the line dividing the phases of the saltwater and the saltwater salt crystals mix. Assume it was written in cell D11 and copied down. In Column F. write an expression to determine the phase of the mixture. Use conditional formatting to highlight the various phases Provide a color key. In column A and Column B, use data validation to restrict the user from entering values outside the valid parameter ranges: NaCl (%):0-100%; Temp[degree C]: - 35 degree C to 35 degree C. In Column C, develop the equation for the line dividing the phases of the ice saltwater mix and the saltwater. In Column D, develop the equation for the line dividing the phases of the saltwater and the saltwater salt crystals mix. In Column E, write an expression to determine the phase of the mixture. Use conditional formatting to highlight the various phases Provide a color key. When liquid and vapor coexist in a container at equilibrium, the pressure is called vapor pressure. Several models predict vapor pressure. One, called the Antoine equation, first
Solution
import java.text.DecimalFormat;
public category mathematician
zero ) // this if statement handles the initial conditions
else if ( i > zero )
scientific discipline.exp(t_k[i-1]))*(Math.sin(x_k[i-1]) );
}
System.out.println( k + \" \" + df.format(t_k[i]) + \" \" + df.format( x_k[i]) );
}
}
}
