Hooke's Law Computation

Will Barkoff and Thien Vo

In [1]:
%run ./utilities.ipynb

Let's add our uncertianties, calculated using experimental techniques

In [2]:
uncertianties = np.array([0.1, 0.1, 0.1, 0.1, 0.1])

Now let's add our data!

In [3]:
displacement = np.array([0,1.2,3.0,5.5,8.3])
force = np.array([0,3.06,4.94,6.79,8.38])

And finally, we'll figure out our trendlines

In [5]:
autoFit(x=displacement, y=force, dy=uncertianties, title="Force as a function of band extension", xaxis="Band extension [cm]", yaxis="Force [N]", movePoints=True )
datapoint: 1
datapoint: 2
datapoint: 3
datapoint: 4
datapoint: 5
In [ ]: