Hello,
function minmax(int p1,int p2,int p3, int adr_big, int adr_small)
{ int mini=p1,maxi=p1;
if (p1>p2) {mini=p2;}
else {maxi=p2;};
if (p3>maxi) maxi=p3;
if (p3<mini) mini=p3;
*adr_big=maxi;
*adr_small=mini;
};
// main
int a=31,b=5,c=19,big,small;
minmax(a,b,c,&big,&small);
Answer:
12
Step-by-step explanation:
Answer:
0.0143
Step-by-step explanation:
In this question, we are asked to use the binomial distribution to calculate the probability that 10 or fewer passengers from a sample of MIT data project sample were on American airline flights.
We proceed as follows;
The probability that a passenger was an American flight is 15.5%= 15.55/100 = 0.155
Let’s call this probability p
The probability that he/she isn’t on the flight, let’s call this q
q =1 - p= 0.845
Sample size, n = 155
P(X < A) = P(Z < (A - mean)/standard deviation)
Mean = np
= 125 x 0.155
= 19.375
Standard deviation = √npq
= √ (125 x 0.155x 0.845)
= 4.0462
P(10 or fewer passengers were on American Airline flights) = P(X \leq 10)
= P(Z < (10.5 - 19.375)/4.0462)
= P(Z < -2.19)
= 0.0143
Answer: (f•g)(x)=2x²+12x
Step-by-step explanation:
(f•g)(x) is the same as saying f(x)•g(x). Since we have f(x) and g(x), we can just multiply them together.
(f•g)(x)=2x(x+6) [distribute by FOIL]
(f•g)(x)=2x²+12x
Now, we know that (f•g)(x)=2x²+12x.