Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

new to python, i am using python 3 on mac, if you can include screen also 10.9 Statstics: compute deviation) Exercise 5.46 computes the standard

new to python, i am using python 3 on mac, if you can include screen also

image text in transcribed

10.9 Statstics: compute deviation) Exercise 5.46 computes the standard deviation of numbers. This exercise uses a different but equivalent formula to compute the standard deviation of n numbers. ?(x,-mean)2 x2 +x 7n mean deviation = 7n 1 To compute the standard deviation with this formula, you have to store the individual numbers using a list, so that they can be used after the mean is obtained Your program should contain the following functions # Compute the standard deviation of values def deviation(x): # Compute the mean of a list of values def mean(x): Write a test program that prompts the user to enter a list of numbers and displays the mean and standard deviation, as shown in the following sample run: Programming Exercises 351 Enter numbers: 1.9 2.5 3.7 2 1634 5 2 -Enter The mean is 3.11 The standard deviation is 1.55738

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications Dexa 2023 Workshops 34th International Conference Dexa 2023 Penang Malaysia August 28 30 2023 Proceedings

Authors: Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil ,Bernhard Moser ,Atif Mashkoor ,Johannes Sametinger ,Maqbool Khan

1st Edition

303139688X, 978-3031396885

More Books

Students also viewed these Databases questions

Question

1. Describe the types of power that effective leaders employ

Answered: 1 week ago