1) Write a program that accepts a set of integers (the user decides how many) and then stores them in an array. The main function then passes these values one by one to a method called get_even which returns 1 if the integer is even and 0 if it is odd. The main function should then specify which numbers were even, which ones were odd and their respective totals. It should also specify how many numbers were odd and how many were even. For example, if the user enters 25 34 56 17 14 20, the output should be: -
25 is an odd number
34 is an even number
56 is an even number
17 is an odd number
14 is an even number
20 is an even number
There is a total of 2 odd numbers and their sum is 42.
There is a total of 4 even numbers and their sum is 124.
NB: All data input and output should be done in main. Don’t use % any where in the main function (% can be used in the method).
In a hydroelectric power plant, 100 m 3 /s of water flows from an elevation of 70 m to a
turbine, where electric power is generated. The overall efficiency of the
turbine–generator is 86 percent. Disregarding frictional losses in piping, estimate the
electric power output of this plant.
Mean and Variance of Sampling Method:
Mean and Variance of
Sampling Method:
Identify the decision made using by proton could reduce the cost of production .
A rise in the price of coffee milkshakes from R6 to R10 results in an increase in quantity supplied from 6 000 to 12 000 units. This means that the arc price elasticity of supply for coffee milkshakes is.
Identify the decision made using by Honda could reduce the cost of production .
Sphere A has charge of +10.0 C. It is brought in contact with a neutral sphere B and then separated. Find the final charges on spheres A and B if
a. The spheres have equal radius and
b. If the radius of sphere B is twice the radius of sphere A
Experiment 3
Aim: To be able to understand, visualize and analyze geologic maps.
Apparatus
✓ Geology map ✓ Pencil
✓ Paper
✓ Protractor
✓ ruler
methods
1. Draw the topographical profile A-B using the contour lines
2. Draw a geological cross section along the profile using a vertical scale of 1cm : 100m.
3. Interpret the sub-surface geology by constructing appropriate geological boundaries.
4. Label the fold axis on your cross section
Additional Questions
1. What kind of fold is present? Explain how you could interpret this from the map only.
2. What is the relative age of the dolerite, shale and coal seam?.
3. A chilled margin was observed in the dolerite. Explain what a chilled margin is and how it occurs.
4.write a brief geological history of the area.
A. Answer the following. Solution is required.
A call center agent in a BPO company has received an average of 15 calls per hour.
a. What is the probability that he will receive 7 calls from 3am to 3:30am? Determine also its mean and variance. (15 points)
b. What is the probability that he will receive atleast 6 calls for a period of 1 hour? (10 points
c. What is the probability that he will receive atleast 8 calls, but not more than 12 calls in a span of 1 and a half hour? (10 points)
B. Give atleast three (3) real-life applications (each) of Binomial distribution and Poisson distribution. (15 points)