EX 5:- 1 The molecular weight of carbon dioxide, CO2
, is 44. In an experiment the value
γ for CO
2 was found to be 1.3. Assuming that CO
2
is a perfect gas, calculate the gas
constant, R, and the specific heats at constant pressure and constant volume, Cp, Cv
(0.189 kJ/kg.K; 0.63kJ/kg.K; 0.819kJ/kg.K).
EX 5:- 1 The molecular weight of carbon dioxide, CO2
, is 44. In an experiment the value
γ for CO
2 was found to be 1.3. Assuming that CO
2
is a perfect gas, calculate the gas
constant, R, and the specific heats at constant pressure and constant volume, Cp, Cv
(0.189 kJ/kg.K; 0.63kJ/kg.K; 0.819kJ/kg.K).
Write a c++ program using string function that will accept the course
abbreviation as input value and it will display the corresponding
college.
a division wide aptitude test in mathematics was conducted to 1,000 pupils the mean of the test is 58 and the standard deviation is 12. find the z-value that corresponds to a score x = 70. draw the normal curve distribution. what is your conclusion regarding the scores of the pupils
Write a C++ function in which it reads namesfrom file “data.txt” into character array and remove
the repeating names. Write your updated names list in another file called “output.txt”
Example:
Data.txt
Hira
Ali
Ahmad
Imran
Ali
Warda
Annie
Ali
Kinza
Hira
Output.txt
Hira
Ali
Ahmad
Imran
Warda
Annie
Kinza
The volume of a cube is increasing at a rate of 1200 cm3/min at the
moment the lengths of the sides are 20 cm. How fast are the lengths of
the sides increasing at that moment?
[8]
1. Let f be the function defined by
f (x) = x2
-------------
(2x + 1)2
:
(a) Determine the vertical and horizontal asymptotes (show all limits). (4)
(b) Use the sign pattern for f ' (x) to determine
(i) the interval(s) over which f rises and where it falls; (4)
(ii) the local extrema. (2)
(c) Use the sign pattern for f " (x) to determine
(i) where the graph of f is concave up and where it is concave down. (4)
(ii) the inflection points (if any) (2)
The HHAPPPy viruses. i.e. DNA viruses are: Herpes viridae, Hepadnaviridae, Adenoviridae, Papovaviridae, Parvoviridae and Poxviridae. Which of the HHAPPPy viruses are envelloped?
Ash is now an expert in python function topic. So, he decides to teach others what he knows by making a question on it. Problem statement of his question is as follows.
Your task is to write a function outer_layer(num) that returns function inner_layer, where num is a positive integer. Function inner_layer(div) check whether num is divisible by div or not, its return type is bool (True/ False).
num is of type string
div is of type int and belongs to {2, 5, 9, 10}
Functions are Objects - Since functions are just like variables, they can be returned from a function!
def outer_layer():
print 'This is outer layer'
def inner_layer():
print 'This is inner layer'
return inner_layer
def __name__ == '__main__':
func_obj = outer_layer() # func_obj now becomes inner_layer, and This is outer layer is printed on the screen.
func_obj()Output:
This is outer layer
This is inner layer3. A division wide aptitude test in Mathematics was conducted to 3 800 students. The mean of the test is 58 and the standard deviation is 14.
a. What is the score that divides the distribution into two such that 80% of the cases is below it.
b. What are the scores that bounds the middle 90% of the distribution.
c. How many scores are between 60 and 96?
d. How many students belong to the top 12% of the examinees?