# IMPLEMENTATION OF THE ROOT BISECTION COMPUTATIONAL PHYSICS METHOD FOR THE DETERMINATION OF ROOTS OF NON-LINEAR EQUATIONS USING JAVA

Keywords:
Numerical Computation, Computational Physics, Java, Fortran

### 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.

### References

Adesina, O.S. 2010. Implementation of Basic Computational Physics Methods using Java. Unpublished B.Sc. Project, Federal University of Agriculture, Abeokuta, Nigeria.

Arfken, G.B., Weber, H.J., Harris, F.E. 2012. Mathematical Methods for Physicists. 7th Edition. Associated Press. New York, U.S.A. P. 1205

Chapman, S.J. 1998. FORTRAN 90/95 for Scientists and Engineers. McGraw-Hill, USA

P. 431

Chow, T.L. 2000. Mathematical Methods for Physicists – A Concise Introduction. Cambridge University Press. U.S.A. pp 569

Dass, H.K. 2010. Advanced Engineering Mathematics. S Chand and Co. Publishers. New Delhi, India. pp 1358

Deitel, P.J., Deitel, H.M. 2007. Java: How to Program. Pearson Education Inc, New Jersey, USA. P. 317

DeVries, P.L. 1993. A First Course in Computational Physics. John Wiley & Sons, New York, U.S.A. P. 435.

Gerald, C.F., Wheatley, P.O. 1999. Applied Numerical Analysis. Dorling Kindersley, India. P. 698.

Gupta, B.D. 2010. Mathematical Physics. 4th Edition. Vikas Publishing House, New Delhi, India. P. 1417.

Jeffrey, A. 2002. Advanced Engineering Mathematics. Academic Press. U.S.A. P. 1181

Kiusalaas, J. (2005). Numerical Methods in Engineering with MATLAB. Cambridge University Press. U.S.A. pp 435.

Kreyszig, E. 2006. Advanced Engineering Mathematics. 9th Edition. John Wiley & Sons. U.S.A. P. 1246.

Pang, T. 2006. Introduction to Computational Physics. Cambridge University Press, New York, USA. P. 528.

Stroud, K.A., Booth, D.J. 2001. Engineering Mathematics. Palgrave Macmillan, New York, USA. P. 1236.

Stroud, K.A., Booth, D.J. 2003. Advanced Engineering Mathematics. Palgrave Macmillan, New York, USA. P. 1057.

Arfken, G.B., Weber, H.J., Harris, F.E. 2012. Mathematical Methods for Physicists. 7th Edition. Associated Press. New York, U.S.A. P. 1205

Chapman, S.J. 1998. FORTRAN 90/95 for Scientists and Engineers. McGraw-Hill, USA

P. 431

Chow, T.L. 2000. Mathematical Methods for Physicists – A Concise Introduction. Cambridge University Press. U.S.A. pp 569

Dass, H.K. 2010. Advanced Engineering Mathematics. S Chand and Co. Publishers. New Delhi, India. pp 1358

Deitel, P.J., Deitel, H.M. 2007. Java: How to Program. Pearson Education Inc, New Jersey, USA. P. 317

DeVries, P.L. 1993. A First Course in Computational Physics. John Wiley & Sons, New York, U.S.A. P. 435.

Gerald, C.F., Wheatley, P.O. 1999. Applied Numerical Analysis. Dorling Kindersley, India. P. 698.

Gupta, B.D. 2010. Mathematical Physics. 4th Edition. Vikas Publishing House, New Delhi, India. P. 1417.

Jeffrey, A. 2002. Advanced Engineering Mathematics. Academic Press. U.S.A. P. 1181

Kiusalaas, J. (2005). Numerical Methods in Engineering with MATLAB. Cambridge University Press. U.S.A. pp 435.

Kreyszig, E. 2006. Advanced Engineering Mathematics. 9th Edition. John Wiley & Sons. U.S.A. P. 1246.

Pang, T. 2006. Introduction to Computational Physics. Cambridge University Press, New York, USA. P. 528.

Stroud, K.A., Booth, D.J. 2001. Engineering Mathematics. Palgrave Macmillan, New York, USA. P. 1236.

Stroud, K.A., Booth, D.J. 2003. Advanced Engineering Mathematics. Palgrave Macmillan, New York, USA. P. 1057.