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.
Answer:
They can help to explain the relationship between the output and input variables.
Hope this Helps!
There are some function which can be performed with database but not with a spread sheet, these functions include:
1. Enforcement of data type.
2. Support for self documentation.
3. Defining the relationship among constraints in order to ensure consistency of data.
The following are examples of animation apps:
- Toon Boom Animation (2-D)
- Prisma3D (3-D) and
- AnimeTok (3-D)
<h3>What are the Pros and the cons of each app listed above?</h3>
Toon Boom Animation Pros:
- It has a great set of tools
- It has camera angles functionality
- Has a vector drawing tool
Cons:
Prisma3D (3-D) Pros:
- It is good for modeling;
- Easy to use interface
Cons:
- It has too many bugs.
- lacks sculpting tools
AnimeTok (3-D) Pros:
- It makes it easy to move the characters easily
- It is easy to understand
Cons:
- It has too many ads
- does not have an undo and redo button
Learn more about Animation Apps at:
brainly.com/question/7279789