Write a program that uses a structure to store the following data about a customer account:
· Name
· Address
· City
· Telephone Number
· Account Balance
With a function of withdrawMoney( float amountwithdraw) and depositMoney(float amountdeposit).
Implement a structure of car having car model, plate number, location, isParked (boolean type).
Car can move and park.
Move(): This function may update the location of car as it is moved.
Park(): This function added car details in the system and update is parked status.
Your program will also tell the parking managemt about the status of parking using isParked().
IsParked() : This function can find a car is it parked on not?
2. A random variable X can have values -4. - 1, 2, 3 and 4, each with probability 1/5 Find: the density function f_{Y} . the distribution function F_{y} , the mean E(Y) . and the variance sigma_{y} ^ 2 , of the random Y = 3X ^ 3
Determine the electric field and the potential at any point in space produced by a spherical
crown where the internal radius is R1 and the external one R2, with a total charge Q, for the
following cases: (a) non conducting and an uniform charge distributed throughout the volume;
and (b) metallic and on electrostatic equilibrium. Particularize the results for a solid sphere with radius R
We have an isolated spherical conductor whose radius is R1 = 4 cm, and whose
potential is 9000 V referring to ground. After, it is surrounded with a concentric spherical
conducting layer, with inner radius R2 = 8 cm and exterior one R3 =10 cm, isolated and with
null total charge. Determine charges and potentials on the inner conductor, as well as the
conducting layer, for the following cases:
a. Inner conductor and conducting layer isolated.
b. If the conducting layer is connected to ground.
Determine the electric field produced on any point in space by a very long line
(infinite) charged with a uniform density λ
an=3an-1+(n2+n-2)3n
C. Find the mean (𝝁𝑿), variance (𝝈𝑿 𝟐) and standard deviation (𝝈𝑿) of the sampling distribution of the means given the sample size, and the means and standard deviation of the population. Sample size n were randomly selected from the population
7. 𝑛 = 9
𝜇 = 5.3
𝜎 = 3
Mean:
Variance:
Standard Deviation:
8. 𝑛 = 11
𝜇 = 4.23
𝜎 = 5
Mean:
Variance:
Standard Deviation:
B. Find the mean (𝝁) variance (𝝈 2)and standard deviation (𝝈) of the population given the sample size, and the means and variances of the sampling distribution of the means. Sample size n were randomly selected from the population
4. 𝑛 = 5
𝜇𝑥 = 3
𝜎²𝑥 = 4.5
Mean:
Variance:
Standard Deviation:
5. 𝑛 = 7
𝜇𝑥 = 10
𝜎²𝑥 = 6
Mean:
Variance:
Standard Deviation:
A. Find the mean (𝝁𝑿), variance (𝝈 𝑿
𝟐) and standard deviation (𝝈𝑿) of the sampling distribution of the means given the sample size, and the means and variances of the population. Sample size n were randomly selected from the population.
1. 𝑛 = 3
𝜇 = 6
𝜎² = 2.4
Mean:
Variance:
Standard Deviation:
2. 𝑛 = 25
𝜇 = 20
𝜎² = 5.5
Mean:
Variance:
Standard Deviation: