Forum Discussion
pwlbwnski
Nov 25, 2026Copper Contributor
How should a formula look for y=(-x^2 * e^-x) - 0,2 ?
The task was to create a formula for x between (0;10>. X was supposed to be in the column A, i input 0,1 for A1, 0,2 for A2 and so on. My formula in column B was =(-(A1^2)*exp(-A1))-0,2 according to ...
Riny_van_Eekelen
Nov 26, 2026Platinum Contributor
pwlbwnski Well, I'm no mathematician but it all depends on what -x^2 is supposed to calculate.
In Excel, -(x^2) will return the negative of a squared number (i.e. always negative) whereas -x^2 returns the square of a negative number (i.e. always positive).