This is for my Timely measurments assignment. In this assignment I have to write a javascript program that will calculate the circumference of a circle when r changes depending on the hour of the day. The way you get the answer is by clicking the button. I used 4 variables, them beng n, d, r, c. N is pi, which I got by using Math.PI, d is the date, which I got by using new Date(), r is the hours, which is d.getHours(), and c is 2*n*r, which is the formula for the circumference of a circle.