Well it depends if your thinking! I know many reasons why people should get married but I also know many reasons why people shouldn’t get married!
For an example if you are a man and you don’t want to get married, well I think it’s 50% wrong and another 50% right cause if you want to enjoy life and not be stuck with the same wife you wouldn’t get married, but now think of having a family when you get married you receive a blessing, cause you will have son , daughters and a wife who will support you all the time!
Answer:
The time elapsed is 0.017224 s
Solution:
As per the question:
Analog signal to digital bit stream conversion by Host A =64 kbps
Byte packets obtained by Host A = 56 bytes
Rate of transmission = 2 Mbps
Propagation delay = 10 ms = 0.01 s
Now,
Considering the packets' first bit, as its transmission is only after the generation of all the bits in the packet.
Time taken to generate and convert all the bits into digital signal is given by;
t = 
t =
(Since, 1 byte = 8 bits)
t = 7 ms = 0.007 s
Time Required for transmission of the packet, t':


Now, the time elapse between the bit creation and its decoding is given by:
t + t' + propagation delay= 0.007 +
+ 0.01= 0.017224 s
Yes actually it is it’s a machine to use for opening bottles such as cans n other
Answer:
- import math
-
- def standard_deviation(aList):
- sum = 0
- for x in aList:
- sum += x
-
- mean = sum / float(len(aList))
-
- sumDe = 0
-
- for x in aList:
- sumDe += (x - mean) * (x - mean)
-
- variance = sumDe / float(len(aList))
- SD = math.sqrt(variance)
-
- return SD
-
- print(standard_deviation([3,6, 7, 9, 12, 17]))
Explanation:
The solution code is written in Python 3.
Firstly, we need to import math module (Line 1).
Next, create a function standard_deviation that takes one input parameter, which is a list (Line 3). In the function, calculate the mean for the value in the input list (Line 4-8). Next, use the mean to calculate the variance (Line 10-15). Next, use sqrt method from math module to get the square root of variance and this will result in standard deviation (Line 16). At last, return the standard deviation (Line 18).
We can test the function using a sample list (Line 20) and we shall get 4.509249752822894
If we pass an empty list, a ZeroDivisionError exception will be raised.