I could run the MATLAB codes but the main issue is that data for T1 and U1 could not be produced. I am currently trying to calculate the displacement of two particles after the collision with walls with length of 10 units.
Here are the codes. If you don't understand its context, you can refer...
You may find mathematics more enjoyable if you look at its application. Since you are learning calculus, reading some university physics and engineering books may inspire you. You will realize how interesting the application of calculus is in daily life.
Try searching for these books. "Calculus by James Stewart, CENGAGE Learning" . "Probability and Statistical Inference (8th edition) by Robert V. Hogg and Elliot A. Tanis, PEARSON"
Try searching for these books. "Applied Complex Variable by Yue Kuen Kwok, Cambridge University Press." The mathematics level should be suitable for your Phd level and it explains the application of complex variables in electrical circuits.
Plus, you can try "Partial Differential Equation with...
Try finding "Introductory Statistical Mechanics (2nd edition) by Roger Bowley and Mariana Sanchez, Oxford Science Publication". It explains statistical physics concepts clearly and the language is not as technical as many physics books found in the market. Very enjoyable to read and almost every...