Hello, I was brushing up on my javascript and html and decided to make a basic calculator to calculate Sequential Tips (aka 1+2+3+4+5...). Maybe some people here might find it use full.
There are two parts:
Goal Calculator: You enter in a value of tokens you want and it will tell you 1 though whatever is needed for that amount.
Total Calculator: You enter in a start and an end value and it will tell you what the total is.
http://pastehtml.com/view/boevn7fv1.html
http://pastehtml.com/view/boextmfy5.html (version two with corrected spelling)
Nerdy Math Stuff:
Total Sum of values from A to B where B > A
(B-A+1)/2*(A+B) = Total
Goal Calculation (Returns decimals for numbers not in the sequence)
( sqrt(X*8)+1)-1) /2 = End Value
There are two parts:
Goal Calculator: You enter in a value of tokens you want and it will tell you 1 though whatever is needed for that amount.
Total Calculator: You enter in a start and an end value and it will tell you what the total is.
http://pastehtml.com/view/boevn7fv1.html
http://pastehtml.com/view/boextmfy5.html (version two with corrected spelling)
Nerdy Math Stuff:
Total Sum of values from A to B where B > A
(B-A+1)/2*(A+B) = Total
Goal Calculation (Returns decimals for numbers not in the sequence)
( sqrt(X*8)+1)-1) /2 = End Value