The number of customers arriving per hour at a certain automobile service facility is assumed to follow a Poisson distribution with mean 𝜆 = 7. Compute the probability that more than 10 customers will arrive in a 2-hour period.
Implement a class Sequence to store a sequence of non-negative integer values, and the length of the sequence. The class has the following private data members:
1. int length
2. int *pseq
The class shall provide the following public methods:
1. Sequence() – default constructor
2. Sequence(int lengthVal, int n1=0,int n2=0,int n3=0, int n4=0, int n5=0, int n6=0, int n7=0, int n8=0, int n9=0, int n10=0) – parameterized constructor should initialize the
length and array to sequence values passed in the arguments.
3. Sequence(Sequence &s)
4. int getLength()
5. int* getSeq()
6. void Sort(int n)
7. int RemoveDuplicates()
Return n after placing the final result in the first k elements of the array.
8. void Rotate(int steps) – a method that rotates the sequence elements clockwise for the
given steps
9. ~Sequence()
A 12.4 uF capacitor is connected through a 0.895-MΩ resistor to a constant potential difference of 60.0V.
a. Compute the charge at the following times after the connections are made: 5.0s,10.0s,20.0s,and 100.0s.
b. Compute the charging currents at the same instants.
How Lmao moles of KCl can be produced by letting 4 moles of KClO3 react
Four coins are tossed. Let Z be the random variable representing the number of heads that occur. Find the values of the random variable Z. Compute for the mean, variance, standard deviation. Construct a Probability histogram. *
9 points
Determine the boiling point and freezing point of the following solutions:
5.00g caffeine (C8H10N4O2) and 250.0 ml water.
0.300 kg chloroform (CHCl3) and in 21.0 g eucalyptol (C10H18O).
Determine the osmotic pressure of the solution made by dissolving 25.0 g of sodium chloride in 2.0 L of solution at 25 0C.
Reserpine is a natural product isolated from the roots of the shrub Rauwolfia serpentine. It was first synthesized in 1956 by Nobel prize winner R.B Woodward. It is used as a tranquilizer and sedative. When 1.00g reserpine is dissolved in 25.0g camphor, the freezing point depression is 2.63 0C. Calculate the molality and the molar mass of reserpine.
A standard cast from pipe inner diameter = 50mm and outer diameter is insulated with 85% magnesium insulation (k = 0.02w/mc) temperature at interface between the pipe and insulation is 300 degree celcius, the allowable heat loss through pipe is 600w/m length of pipe
Azeem Telco Sdn. Bhd charges file, contains records for each call made by its subscribers during a month. Each record on a file contains the subscriber’s name and phone number, the phone number called, the distance from Shah Alam of the number called (in kilometers) and duration of the call-in seconds.
As a junior programmer, you are required to design and write a complete C++ program that asked the user to enter subscriber’s name and phone number, the phone number called, the distance from Shah Alam of the number called (in kilometers) and duration of the call-in seconds. The user also needs to enter types of call either Local or International call.
The cost of each call is calculated based on Table 1.
 Distance from Shah Alam
Less than 25 km
25 <=km<75
75 <=km<300
300 <= km <=1000 Greater than 1000 km
Cost(RM)/minute
Local International 0.35 0.55 0.65 0.85 1.00 1.20 2.00 2.20 3.00 3.20
          Your program should use the following:
1. Appropriate Control Structure
2 User Defined Function