Jan 7, 2013 at 5:55pm
Write 4 * x
if that is what you mean.
Jan 9, 2013 at 6:00am
No, I meant x^4, but it doesn't work, if I write like that
Jan 9, 2013 at 6:07am
The ^ symbol is the exclusive or symbol, not the power symbol. You need to use pow() like the other areas in this calculation
Jan 9, 2013 at 9:23am
x^4
mean what do you want?
Jan 9, 2013 at 8:41pm
I meant x*x*x*x, but this way it still doesn't work. It gives me the same error: invalid suffix "x" on integer constant on row 9.
Jan 9, 2013 at 10:02pm
Just use pow() with the appropriate arguments. It's already there in the code, just copy + paste it as required.
Or simply put x*x*x*x if you like.
Last edited on Jan 9, 2013 at 10:06pm