physics calculator made with javascript aqnd html code