> The answer is 48 for this command but how ?

The answer is 48 for this command but how ?

Posted at: 2014-12-18 
sider the following expression (if x=2 and it's an integers)

(4+1/x)*(6*x-1/x+2))

1/x = 1/2 = 0 (integer division)

We get

(4+0) * (6*2 + 2) = 4 * 14 = 56

There's an additional closing bracket at the end though, is this the correct expression?

Equate this equation to 48..x!=2

consider the following expression (if x=2 and it's an integers)

(4+1/x)*(6*x-1/x+2))