Find the volume of an object enclosed by cylinders z = y2 +2, z = 4−y2 and planes x = −1 and x = 2.
The density of a crystal depends on what
The distribution of the binomial random variable (X) has the following parameters p = 0.3 and n = 9. Determine standard deviation
How many samples of size n=3 can be selected from a population with the following sizes: N=4, N=8, N=20, N=50? A population consists of the five numbers 2, 3, 6, 8 and 11. Consider samples of size 2 that can be drawn from this population.
Design a class Account that has the following member: Data Fields: account_id(int type), balance(double type)). Member Functions-> withdraw(),deposit(),getmonthly_interest() and parameterize constructor to initialize data members. Use this class to print the balance. Use the withdraw () to withdraw money less than Rs 5000 and then deposit more than or equal 1500 using deposit function.
Two students are to be selected at random from a class with 10 girls and 12 boys. What is the probability that both will be girls, if selected
a) With replacement
b) Without replacement
If 4.0 moles of C3H8 will react with sufficient oxygen gas in the reaction,
C3H8 (g) + 5O2 (g) → 3CO2 + 4H2O(l),
how many moles of CO2 shall be formed?
12. Create a class named 'Rectangle' with two data members 'length' and 'breadth' and two functions to print the area and perimeter of the rectangle respectively. Its constructor having parameters for length and breadth is used to initialize the length and breadth of the rectangle. Let class 'Square' inherit the 'Rectangle' class with its constructor having a parameter for its side (suppose s) calling the constructor of its parent class. Print the area and perimeter of a rectangle and a square. C#
Create a class with a function that prints "This is parent class" and its subclass with another function that prints "This is child class". Now, create an object for each class and call
1 - function of the parent class by the object of the parent class
2 - function of the child class by the object of the child class c#
3 - function of the parent class by the object of the child class
10. Write a program that would print the information (name, year of joining, salary, address) of three employees by creating a class named 'Employee'. The output should be as follows:
Name Year of joining Address
Robert 1994 64C- WallsStreat
Sam 2000 68D- WallsStreat
John 1999 26B- WallsStreat
C#