Can you conclude that A = B if A and B are two sets
with the same power set?
Find two different linear mappings which map imz>3 onto rez>3
10. A supercritical power generates steam at 25 Mpa and 560 oC. The condenser pressure is 7 kpa. Determine the exit quality of steam if it expands through a turbine in this power plant. PLEASE EXPLAIN THE DETAILED SOLUTION.
Answer: a. 45.66% c. 56.66%
b. 68.45% d. 74.26%
What is the relationship between the US dollar index, 30 year T bond prices and T bond interest rates? I know bond prices and interest rates are inversely correlated but please explain their relationship with the US dollar.
.If marginal revenue is greater than marginal cost:
A. it will pay the firm to expand production.
B. the firm should leave the level of production unchanged.
C. the firm should cut back on production.
D. profit is at a maximum.
E. only normal profit will be possible.
Riya took part in a maths quiz competition. To win the prize money she has to solve a tricky question at the end.For a given list of integers, write a program where all the integers in a given index range to be added.
She will be given M multiple ranges, where she should print the sum of numbers for each corresponding range.
Note: The limits in the range are both inclusive.
Input
The first line f input is space-separated integers.
The second line of input is a positive integer M denoting the number of index ranges.
The next M lines contain two space-separated integers of the range.
Output
The output should be M lines.
Each line contains an integer that represents the sum for the corresponding ranges.
Sample Input1
1 3 4 5 6
5
3 5
Sample Output1
12
[Please test the sample test cases and send the screenshots].Class Distance with private attributes Feet (int) and Inches (float). Also, define public member functions:
Set_distance( )
Display_distance( ) – to display the values of class attributes
Include a main ( ) program that creates an instance (object) of type Distance. Ask the user to enter the value of Distance variables and call the appropriate functions to set the object value and then display the object value.
Define the class member functions outside the class using scope resolution operator (::).
Task 7-01
Define a constructor for the class Distance, that should initialize the Distance attributes (feet, inches) to 0.
define an overloaded constructor that initializes the object to certain values.
e.g, Distance d1, d2(10,2) initialize d1 to 0 and values of d2 to 10, 2
Task 7-02
Make changes to the Set_distance( ) function and class constructor so that the values of inches never exceed 11. e.g
obj.Set_distance (10,12) - the value of obj members will be feet: 11, inches: 0
7. In 1900, W. Y. Kevin published the article “The anticipated Error of a Mean”. In this pioneering paper, written under the pseudonym “Student,” Kevin introduced what later became known as Student’s t-distribution. Kevin used the following data set, which gives the additional sleep in hours obtained by a sample of 10 patients using laevohysocyamine hydrobromide.
1.9 0.8 1.1 0.1 −0.1
4.4 5.5 1.6 4.6 3.4
a. Obtain and interpret a 95% confidence interval for the additional sleep that would be obtained on average for all people using laevohysocyamine hydrobromide.
b. Was the drug effective in increasing sleep? Explain your answer.
Consider a toll plaza on a bridge. Cars passing through the toll plaza must pay a toll of Rs.30/-. Most of the time, they do, but every now and then, a car drives by without paying. The toll plaza records the number of cars that have passed through as well as the total amount of money collected. Model this toll-plaza with the help of the toll-plaza class. The classs two data items are to hold the total number of cars and to hold the total amount of money collected. For the c++ class, implement:
A constructor that initializes both data items to 0.
A member function called payingCar() increments the car total and adds 30 to the cash total.
Another function, called nopayCar() that increments the car total but adds nothing to the
cash total.
Finally, a member function called display() should display the total cars and the total cash collected.
4. Calculate the boiling point of an aqueous solution that contains 20.0 mass % ethylene glycol (C2H6O2, a nonvolatile liquid).