Question: We are using python to run this code. Submit a function that takes no arguments and returns a list of periods in seconds of an
We are using python to run this code. 
Submit a function that takes no arguments and returns a list of periods in seconds of an anharmonic oscillator. The potential function is V(x)-x**4. The list should contain the periods for starting positions, a, ranging from 0.1 to 2.0 in steps of 0.01. Name your function anharmonic. Your submitted code should look like: def anharmonic): your code your code return yourlistofperiods Heavily comment your code and also include a brief description of your approach and results at the top of your file. You do not have to use Gaussian quadrature integration. You can use any method you like
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
