TCS
Company
abs(x)=x irrespective of the sign. abs(-3)=3 if abs(x)+x+y=10 and x+abs(y)-y=12,then what is x+y?
Read Solution (Total 8)
-
- abs(x)=x and abs(y)=y
abs(x)+x+y=10 so x+x+y=10 so 2x+y=10
x+abs(y)-y=12 so x+y-y=12 so x=12
x=12 then y=-14
x+y=12-14=-2 - 11 years agoHelpfull: Yes(32) No(7)
- X=64/10 & Y=-28/10
SO X+Y=(64-28)/10 =36/10 - 11 years agoHelpfull: Yes(4) No(0)
- abs(x)=x and abs(y)=y
abs(x)+x+y=10 so x+x+y=10 so 2x+y=10
x+abs(y)-y=12 so x+y-y=12 so x=12
x=12 then y=-14
x+y=12-14=-2 - 11 years agoHelpfull: Yes(3) No(5)
- The Point everyone is missing is abs(y) is not equal to y
eq- 1. 2x+y=10
eq 2. x+abs(y)-2x+10=12
=>abs(y)=2+x
put abs(y) in 1 and we will get x=5 and y=0
therefore x+y=5
- 11 years agoHelpfull: Yes(3) No(2)
- solving two equations :
x=12 nd y=-14 - 11 years agoHelpfull: Yes(2) No(4)
- if y=-14 and x=12 then eqns. are
abs(12)+12-14=12+12-14=10 is correct but in 2nd
12+abs(-14)-(-14)=12+14+14=40!=12 , it is contradiction - 11 years agoHelpfull: Yes(1) No(0)
- answer is -2
- 11 years agoHelpfull: Yes(0) No(2)
- ans: 5 @kausik is right
- 11 years agoHelpfull: Yes(0) No(1)
TCS Other Question