DreamThrall
Newbie
- Joined
- Oct 14, 2003
- Messages
- 3,483
- Reaction score
- 0
Okay, I'm trying to write this function in JavaScript and I feel like a dolt because I can't figure out the algebraic equation I need to use.
I need to be able to find y if I know what both x and n are. I know there's an equation or some sort of parabolic function or whatever, but I can't for the life of me remember what it is. Help!
y = (x * 1) + (x * 2) + (x * 3) + (x * n)...
I need to be able to find y if I know what both x and n are. I know there's an equation or some sort of parabolic function or whatever, but I can't for the life of me remember what it is. Help!
y = (x * 1) + (x * 2) + (x * 3) + (x * n)...