S
Stan
Hello All,
Let me describe my problem first: I have an array (X) in column which
is net salary of a staff and need to caculate gross for further
calculation of witholdes from salary and social taxes from employer.
Thus I need to calculate Y - gross in another array. The equation for X
is folowing:
X = Y - (Y-(Y*2%)-(Y*1%)-(Y*0,5%))*13%-(Y*2%)-(Y*1%)-(Y*0,5%)
the equations also has constraint: if Y>=4960, then Y should be
substituted with 4960 in equation, because it is maximum taxable
amount. So I need to solve linear equation for Y
Could somebody give an advice how i can do this. I'll be appreciated
for any help...
Let me describe my problem first: I have an array (X) in column which
is net salary of a staff and need to caculate gross for further
calculation of witholdes from salary and social taxes from employer.
Thus I need to calculate Y - gross in another array. The equation for X
is folowing:
X = Y - (Y-(Y*2%)-(Y*1%)-(Y*0,5%))*13%-(Y*2%)-(Y*1%)-(Y*0,5%)
the equations also has constraint: if Y>=4960, then Y should be
substituted with 4960 in equation, because it is maximum taxable
amount. So I need to solve linear equation for Y
Could somebody give an advice how i can do this. I'll be appreciated
for any help...