Once you have a working Colab notebook, here's another example that shows how to plot something, and apply a polynomial fit.
Our data is in a CSV format with two columns: Time and Position
In a tabular format it looks like this.
Time | Distance |
---|---|
0.0 | 0.0 |
1.0 | 4.9 |
2.0 | 19.6 |
... | ... |
It's located in a github repo, so that makes it accessible via a url, which you can obtain by clicking the RAW button on the above page.
Git hub raw: https://raw.githubusercontent.com/hedbergj/CCNY-PHYS471/main/example-data/free-fall-example-data.csv
Here is the notebook, which you should be able to access:
https://colab.research.google.com/drive/1BCUn4-EDf3bOB3jOjb6ryjxT7MKgkwDz?usp=sharing
After working through it, you should be able to obtain a graph that looks like this.
At this point, you would likely then look at the values in your polynomial and see how they matched up with the theoretical expectations.