write up the complete modelimplement itand rerun the case from sect with various choices of parameters to illustrate various effects filenamesirv _v py exercise refactor flat program consider the file osc_fe py implementing the forward euler method for the oscillating system model ( )-( the osc_fe py is what we often refer to as flat programmeaning that it is just one main program with no functions to easily reuse the numerical computations in other contextsplace the part that produces the numerical solution (allocation of arraysinitializing the arrays at time zeroand the time loopin function osc_fe(x_ omegadtt)which returns uvt place the particular computational example in osc_fe py in function demo(construct the file osc_fe_func py such that the osc_fe function can easily be reused in other programs in pythonthis means that osc_fe_func py is module that can be imported in other programs the requirement of module is that there should be no main programexcept in the test block you must therefore call demo from test block ( the block after if __name__ ='__main__'filenameosc_fe_func py exercise simulate oscillations by general ode solver solve the system ( )-( using the general solver ode_fe in the file ode_ system_fe py described in sect program the ode system and the call to the ode_fe function in separate file osc_ode_fe py equip this file with test function that reads file with correct values and compares these with those computed by the ode_fe function to find correct valuesmodify the program osc_fe py to dump the array to filerun osc_fe pyand let the test function read the reference results from that file filenameosc_ode_fe py exercise compute the energy in oscillations amake function osc_energy(uvomegafor returning the potential and kinetic energy of an oscillating system described by ( )-( the potential energy is taken as while the kinetic energy is (note that these expressions are not exactly the physical potential and kinetic energysince these would be mv and ku for model mx kx place the osc_energy in separate file osc_energy py such that the function can be called from other functions badd call to osc_energy in the programs osc_fe py and osc_ec py and plot the sum of the kinetic and potential energy how does the total energy develop for the forward euler and the euler-cromer schemesfilenamesosc_energy pyosc_fe_energy pyosc_ec_energy py