Amjad reached Emporium with his family. They are all excited since he successfully passed his test for BSCS admission and now, they are here to celebrate. All the family members are interested in watching the movie while having popcorn. You must ask Amjad the number of people with him. Emporium Cinema is offering different type of tickets for the film: [Student (S) 250, Normal (N) 400, and Executive (E) 750]. Any choice other than mentioned is considered as invalid input. Ask them what ticket choice will they prefer. Before the start of the film, all the family members decide to have popcorn also. Popcorn stall is offering three different flavors. [Simple (S) 100, Tacos (T) 150, and Caramel (C) 200]. Any choice other than mentioned is considered as invalid input. Ask them what popcorn choice will they prefer.
Calculate and print the amount used for the film and popcorn separately and the total expense at the end. Your solution should show proper menu-based system.
An air craft flight at an attitude of 320m it fire a rocket with the initial velocity of 300km/h how long does it take the rocket to reach the ground
In the daily production of a certain kind of rope, the number of defects per foot
Y is assumed to have a Poisson distribution with mean A = 2. The profit per foot
when the rope is sold is given by X, where X = 50 - 2Y - y2. Find the expected
profit per foot
Assume that the daily S&P return follows the normal distribution with mean μ = 0.00032 and standard deviation a= 0.00859.
a. Find the 75th percentile of this distribution.
b. Find the probability that the daily S & P return will be larger than 0 01
C. Consider the sample average S & P of a random sample of 20 days.
27:2 i. Describe the distribution of the sample mean with its expected value and standard error.
ii. What sample size is necessary to double the standard error of the mean?
iii. Is it more likely that the average S & P will be greater than 0 007, or that one day's S & P return will be?
iv. Find the number b such that P(x > b) = 0975
A new car is purchased for 24500 dollars. The value of the car depreciates at 14.75% per year. What will the value of the car be, to the nearest cent, after 14 years?
Determine whether each of the following functions from Z to Z is one to one and onto.
a.f(n)=n-1
b.f(n)=[n/2]
C.f(n)=n²+1
The noble gas configuration of oxygen is
Find the domain and range of the function (x,x/|x|).
Write a C++ program that reads in the radius of a Sphere, then calculates and prints its volume and surface area.
Write a C++ program that inputs three integers from the user and prints the smallest and largest of these numbers.