Question: can you solve this and write code fortran and thank you .. For all values of At mentioned above, calculate the root mean square deviation

 can you solve this and write code fortran and thank you

can you solve this and write code fortran and thank you ..

For all values of At mentioned above, calculate the root mean square deviation between the analytical solution and the numerical solution obtained from both methods. Let RMS1 and RMS2 be the deviation using the Euler method and the leap frog method, respectively. At the end of the code file (the ".190" file), after the end program statement, write down the values you obtained for RMS1 and RMS2. Write the values following the order dt RMS1 RMS2 Discuss the performance and the error scaling of each of the methods you used. Write down your discussion at the end of the code file. Upload the code file to Blackboard and choose the file name to be "ID_A81.190". . Note that the method in Eq. 2 requires two previous time steps. Since you have the value of N given only at t = 0, you can use the Euler prediction to the value at t - At and then use these two values to proceed. The assessment will be based on the following: 1. Your code should be well commented 2. The code should compile without errors and generate the correct relevant results. 3. You should correctly implement the numerical methods described above. Also, the correct analytical solution should be used to calculate the RMS values. 4. You should submit one code only (.e., do not write two different codes for each method, one code should do both). You do not have to automate the run over the values of At. 5. The results should be written at the end of the code file follwoing the same order described above, followed by brief, correct, and relevant discussion For all values of At mentioned above, calculate the root mean square deviation between the analytical solution and the numerical solution obtained from both methods. Let RMS1 and RMS2 be the deviation using the Euler method and the leap frog method, respectively. At the end of the code file (the ".190" file), after the end program statement, write down the values you obtained for RMS1 and RMS2. Write the values following the order dt RMS1 RMS2 Discuss the performance and the error scaling of each of the methods you used. Write down your discussion at the end of the code file. Upload the code file to Blackboard and choose the file name to be "ID_A81.190". . Note that the method in Eq. 2 requires two previous time steps. Since you have the value of N given only at t = 0, you can use the Euler prediction to the value at t - At and then use these two values to proceed. The assessment will be based on the following: 1. Your code should be well commented 2. The code should compile without errors and generate the correct relevant results. 3. You should correctly implement the numerical methods described above. Also, the correct analytical solution should be used to calculate the RMS values. 4. You should submit one code only (.e., do not write two different codes for each method, one code should do both). You do not have to automate the run over the values of At. 5. The results should be written at the end of the code file follwoing the same order described above, followed by brief, correct, and relevant discussion

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!