Archive page for tag → mathematics

Simple Javascript OOP

I like to use maths to exercise my javascript coding.Below is the code I used to make a simple user interface which uses the input values to calculate the answers to three problems. html for the user input and results Firstly we add the text input boxes, one for the number(n) and one for the […]


Comparison of PI values using two different infinite series


For an explanation for both the Gregory-Leibniz series and the Nilakantha series used here to calculate the value of PI please click here . Enter the number of fraction iterations in the text box and press the RETURN or TAB key. Number of iterations