Question

The following data was collected by measuring the force load acting on a small area of...

  1. The following data was collected by measuring the force load acting on a small area of a beam under repeated “fixed” conditions:
    Reading Output (N) Reading Output (N)
    1 923 6 916
    2 932 7 927
    3 908 8 931
    4 932 9 926
    5 919 10 923
    Plot the data using Python with appropriate labels for the x axis, y axis, and plot title. Be sure to comment your Python code. Determine the systematic error and maximum random error if the true value is known to be 912.

Homework Answers

Answer #1

Code

#importing matplotlib library for plotting
import matplotlib.pyplot as plt

#creating the y values
y = [923, 932, 908, 932, 919, 916, 927, 931, 926, 923]

#plotting the data
plt.plot(y, marker='o')

#setting x-label
plt.xlabel('Experiment Number')

#setting y-label
plt.ylabel('Force Load')

#setting the title
plt.title('Force load acting on small area')

plt.savefig('plot.png')

#display the plot
plt.show()

Plot

Comments has been given in the code for the reference. Please execute the code in any python IDE to get the output.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT