Federal University of Agriculture, Abeokuta (FUNAAB)
Doi
Abstract
Advancement in programming and language development has made possible improved efficiency and accuracy in solving numerical problems and hence the numerical computation of physical problems as used in Computational Physics. Hitherto, languages such as Basic, Fortran, C, among others, have commonly been employed in solving numerical problems. In this work, Java, a modern object oriented language was deployed in solving some physical problems, specifically, determination of roots of non-linear equations using the Root-Bisection Method. A comparison between results obtained showed faster convergence and greater accuracy using Java than as obtained using Fortran.