Computational Assignment

There are 3 python physics problems which use some basic python methods. I wanted to know if it was possible to write a code that I can copy and paste for them. I’ve been quite sick and didn’t have the possibility to focus on the project. Thank you!