write a program that show the working of tollplaza.the program will consist of vehicle class which has further two child(paying vehicle and non paying vehicle).Vehicle class should be having an account of all the vehicle that pass through the toll-plaza . paying vehicle has three type:
1)Type A(used for cars/jeeps)
2)Type B(used for Hiace/truck)
3)Type C(used for bus/heavy vehicles)
Type A has passing fee RS30/- Type B has passing fee RS50/- Type C has passing fee RS100/-
There is another class Person who is going to the entry but he needs to be authorized by assigning a unique id and password.
Note:
us static function,classes,constant,global variable where ever necessary.Output will begin by a Welcome message and then ask for authorization of the person. It should be having proper messages and the object should only be created at the time of use. Incorrect entry of person should only take 5 entries and then end/exit the program.
In exercises 7-8, let X = {1 , 2} and Y = {a, b, c}. List the elements in each set.
X x Y
1. The height of the students in Bataan National High School- SHS has a mean of 151 cm with the standard deviation of 6. Assume that the variable is normally distributed.
a. What is the probability that their mean height is less than 150 cm?
b. If 50 of them are taken as samples, what is the probability that their mean height is less than 150cm?
1. A population consists of the values (2, 4, 7). List down all the possible samples of size 2 which can be drawn with replacement from this population.
How many 5mb mp3 files can be stored on a 1gb flash drive?
A circular loop of wire of radius 0.25 cm is expected to an external magnetic field that is perpendicular to the plane of the loop. For a time, the magnetic field decreases at a rate of 0.0035 T/s. What is the magnitude of the induced electromagnetic force in the loop?
Correct the given Solution:
Solution:
F= SB cos α,
S =πr², α= 0°
F= SB cos α
or F=πr² B
F = (3.14) (0.25) ² (0.0035)
F= 0.000686875
Or
F= 6.9 x 10-8 N
Application of Charles’ Law can be seen as one flies in a hot air balloon, when heated, causes the air to expand; thus, becomes lighter and so it rises. Which of the following is another application of Charles’ Law?
*
1 point
Sketch and Shade. Given the following critical values and blank normal curve, draw the line then shade
Level of Signifinance
90 %
Critical value
t = -1.282
Level of Signifinance
99%
Critical Value
z= ± 2.56
Level of Signifinance
95%
Critical Value
z= 1.65
The mean height of random sample of 100 individuals from a population is 160 cms. The
S.D. of the sample is 10cms. Would it be reasonable to suppose that the mean height of the
population is 165cms?