Define equilibrium constant and for the following reaction 2NH3(g) ⇌ 2N2(g) +3H2 (g) i. Write the expression for Kc. ii. Relate Kc to Kp, and iii. Relate Kc to Kx
Derive an expression for the entropy change for isothermal Mixing of Ideal Gases.
Define spontaneity of a reaction and give the criteria of spontaneity of reactions in terms of i) entropy and ii) Gibbs energy.
Describe the method for experimental determination of energy changes accompanying chemical reactions under constant volume conditions.
Explain the significance of rU and rH and derive the relationship between them.
Predict the enthalpy of hydrogenation of 1-propene using the bond enthalpy data from Table 3.2 of (Unit 3; p, 76).
In java
Create a java program to test if a password is valid or not. For the password to be acceptable it must satisfy the following rules:
- At least one (1) vowel.
- No two (2) consecutive same letter, except "ee" or "oo".
- No three (3) consecutive vowels.
- Must not be more than 20 characters and no uppercase letter.
Input
Enter one or more possible password per line, the word "end" ends the input.
Output
Display the entered password followed by either "is Valid" or "is Invalid"
Sample Input
bee
books
pc
beautiful
ambitious
end
Sample Output
bee is Valid
books is Valid
pc is Invalid
beautiful is Invalid
ambitious is Invalid
A meeting of consuls was attended by 4 Americans and 2 Germans. If three consuls were selected at random one after the other, list down all possible outcomes for the random variable G (number of Germans)
What are Newtonian and non-Newtonian fluids?
Create a program that will String input. Based on the number of inputs, the program will decide what shape it is. (1 input – circle, 2 inputs – square or rectangle, 3 inputs - triangle). The program will then display the shape type, details, perimeter and area.
Justines-MacBook-Pro:classes Justine$ java-jar Shape.jar15
Type:Circle
Radius:15
Perimeter:94.2
Area:706.5
Justines-MacBook-Pro:classes Justine$ java-jar Shape.jar15
Type:Rectagle
Length:24
Width:12
Perimeter:72.0
Area:288.0
Justines-MacBook-Pro:classes Justine$ java-jar Shape.jar15
Type:Square
Side:12
Perimeter:48.0
Area:144.0
Justines-MacBook-Pro:classes Justine$ java-jar Shape.jar 9 15 12
Type:Triangle
Sides:9, 15, 12
Perimeter:36.0
Area:54.0
Justines-MacBook-Pro:classes Justine$ java-jar Shape.jar 9 15 12 8
Invalid input