Calculate the absolute pressure of the fluid in psi when its volume is at
1000 cubic inches per lbm given that the enthalpy of the fluid flow is
10 Btu/lbm and has an internal energy of 5 Btu/lbm
How many hydrogen atoms are in 2.50 g of pharmacolite,
CaHAsO4•2H2O (M = 216.0)?
Area of a Sub-matrix
You are given an M*N matrix and K, write a program to compute the area of the sub-matrix and print the result.
A sub-matrix is a matrix formed after deleting K rows each from the top and bottom and K columns each from left and right.
Area of a matrix is defined as the product of all elements of the matrix.
Explanation
For M = 5 and N = 4, the matrix is:
1 2 3 4
5 6 7 8
9 10 11 12
13 14 15 16
17 18 19 20
For K = 1, the sub-matrix is as follows:
6 7
10 11
14 15
Therefore, the area of the matrix is 6*7*10*11*14*15 = 970200.
Sample Input1
5 4
1 2 3 4
5 6 7 8
9 10 11 12
13 14 15 16
17 18 19 20
1
Sample Output1
970200
A bullet 2.00 cm long is fired at 420𝑚/𝑠 and passes straight through a 10.0 cm thick board, exiting at 280𝑚/𝑠. What is the average acceleration of the bullet through the board?
a. -490,000 m/ s2
b. 196,000 m/ s2
c. -1,400 m/ s2
d. -700 m/s2
Find the initial and final velocities in ft/s of a ball thrown vertically upward that returns to the thrower 3 s later ?
To burn the fats she accumulated during the enhanced quarantine time, Inday walks south at a speed of 3 m/s for 10 minutes. She then turns around and walks north a distance 1000 m in 5 minutes. What is her total distance covered?
a. 2,800 m
b. 11,800 m
c. 300,000 m
d. 2,030 m
New Dictionary
Peter is making a new dictionary.He wants to arrange the words in the ascending order of their length and later arrange the ones with the same length in lexicographic order.Each word is given a serial number according to its position.Find the word according to the serial number.
Input
The first line of input is a positive integer which is the serial number.
Output
The output should be a single line containing the word that represents the serial number.
Explanation
Given serial number is 42.
As the serial number is between 26 and 52, the first character of the word is A.The remaining counter of the serial number is 16 (42-26).
The second character of the word is the 16th alphabet, which is P.
So, the output should be AP.
Sample Input1
42
Sample Output1
AP
Sample input2
751
Sample output2
ABW
The volume of a sphere is 4/3πr3, where π has the value of "pi" given in Section 2.1 of your textbook. Write a function called print_volume (r) that takes an argument for the radius of the sphere, and prints the volume of the sphere.
Call your print_volume function three times with different values for radius.
Include all of the following in your Learning Journal:
A certain pendulum has a period of 1.7s on Earth. What is the period of this pendulum on a planet that has a gravitational acceleration of 15m/s 2.
1. Constraints on the number of independently moving particles; i.e., on whether the particles must move as an aggregate or can move separately.
2. Constraints on the direction of motion.
3. Constraints on the volume in which the motion is executed
How thermodynamic properties, in particular Entropy, would now respond to these constraints.