Declare variables iOperand1 and iOperand2 type of int.
3.A heat engine makes use of the thermal cycle shown. The working fluid is 3 grams of nitrogen, an ideal diatomic gas. There are two isobaric and two isochoric processes:
p1 = 1×106 Pa, p2 = 2×106 Pa
V1 = 500 cm3, V2 = 1000 cm3.
a) What is the temperature, T, of the gas at point 4 (p1, V1)?
A. T = 120 K
B. T = 561 K
C. T = 842 K
b) How much work, Wby, does the gas do in the 1→2 process?
A. Wby = -1000 J
B. Wby = -500 J
C. Wby = 500 J
D. Wby = 1000 J
2. The latent heat of the water-steam phase transition at p=1 atm and T=100oC is 2256 kJ/kg. What is the entropy change delta S as the liquid vaporizes?
A. –22.56 kJ/K-kg
B. -6048 J/K-kg
C. 6048 J/K-kg
D. 22.56 kJ/K-kg
A sample of 0.892 g of potassium chloride (KCl) is dissolved in 54.6 g of water (H2O). Determine the percent mass of KCl in the solution and its molality if the molar mass of KCl is 74.5513 grams
per mole.
The user will input 5 grades. Determine individual subjects either passed or failed. Lastly, calculate the average grade and determine whether if passed or failed.
Sample output:
Student Name: Jessica
Math: 74
Science: 89.5
English: 74
Geography: 82
Filipino: 80
*Average Grades: 79.9
*If the average grade is >= 75 the output should be
PASSED!
*If the subject grade is below 74 the output should be
You need to re-take in Math Subject and English Subject
*If the average grade is <= 74 the output should be
YOU FAILED!
How many grams of O2 is needed to produce 37.5 g of CO2.
The weight of goats at a farm is normally distributed with a mean of 60 kg. A truck used to transport goats can only acommodate not more than 650 kg.If goats are selected at random from the population, what is the probability that the total weight exceeds the maximum weight?
1. Write a program using string functions that determine if the input word is a palindrome. A palindrome word is a word that produces the same word when it is reversed.
Sample Input/output Dialogue:
Enter a word: AMA
Reversed: AMA
“It is Palindrome”
Enter a word: HELLO
Reversed: OLLEH
Make a C++ program that will print the values of array named areas with values {84,76,48} using while loop.
write a program to print the product of given two numbers.
Input the first line of input will contain and integer.
the second line of input will contain an integer.