Answer:
bhai sahab kya question hai mujhe samajh mein hi nahin per Sara sale Kya Re Tu Hi Sab Kuchh Nahin
Implement the simulation of a biased 6-sided die which takes the values 1,2,3,4,5,6 with probabilities 1/8,1/12,1/8,1/12,1/12,1/
hjlf
Answer:
see explaination
Explanation:
import numpy as np
import matplotlib.pyplot as plt
a = [1, 2, 3, 4, 5, 6]
prob = [1.0/8.0, 1.0/12.0, 1.0/8.0, 1.0/12.0, 1.0/12.0, 1.0/2.0]
smls = 1000000
rolls = list(np.random.choice(a, smls, p=prob))
counts = [rolls.count(i) for i in a]
prob_exper = [float(counts[i])/1000000.0 for i in range(6)]
print("\nProbabilities from experiment : \n\n", prob_exper, end = "\n\n")
plt.hist(rolls)
plt.title("Histogram with counts")
plt.show()
check attachment output and histogram
Answer:
A cyber attack or hacking
Explanation:
let's say they catch-up to each other after t hour.
so
in t hour distance travelled by Renee
d = speed × time = 50t
in t hour distance travelled by Kim
d = speed × time = 60(t-1) + 0×1 = 60(t-1)
Note: here kim didn't covered any distance in first hour and in rest t-1 hour it travelled all distance
now.as distance travelled by both is same so
60(t-1) = 50t
60t -60 = 50t
adding 60 both sides
60t = 50t+60
subtracting 50t both sides
60t -50t = 50t+60 - 50t
10t = 60
dividing by 10 both sides
t = 60/10 = 6
so in 6 hour both will catch-up to each other
ICloud because it links your old device to the new one