(1) A program in python to calculate the area between the curve and the X -axis (2) mass probability function.
Budget: $10 – $30 USD
(1) Write a program to calculate the area between the curve and the X -axis
for f(x) = sin(x) * cos(x) on the interval (0, 4pi) . Area under the curve should be counted as positive value. Calculate the area analytically and compare the results.
(2) Non programming answer to this question :
The Celtics and the Lakers are set to play a playoff series of n basketball
games, where n is odd. The Celtics have a probability p of winning any one game,
independent of other games.
(a) Find the values of p for which n = 5 is better for the Celtics than n = 3.
(b) Generalize part ( i.e., for any k > 0, find the values for p for which n = 2k + 1
is better for the Celtics than n = 2k - 1 .
for f(x) = sin(x) * cos(x) on the interval (0, 4pi) . Area under the curve should be counted as positive value. Calculate the area analytically and compare the results.
(2) Non programming answer to this question :
The Celtics and the Lakers are set to play a playoff series of n basketball
games, where n is odd. The Celtics have a probability p of winning any one game,
independent of other games.
(a) Find the values of p for which n = 5 is better for the Celtics than n = 3.
(b) Generalize part ( i.e., for any k > 0, find the values for p for which n = 2k + 1
is better for the Celtics than n = 2k - 1 .