TCS
Company
If p, q, r and s are positive unequal integers such that p + q + r + s = 16, what is the maximum value of p-q/r+s ?
Read Solution (Total 12)
-
- nope.it's 7/3
- 11 years agoHelpfull: Yes(19) No(2)
- p=10,q=3,r=1 and s=2(this way p-q/r+s will be maximum)
- 11 years agoHelpfull: Yes(13) No(0)
- is it 5/3?
- 11 years agoHelpfull: Yes(4) No(5)
- how it come 7/3
- 11 years agoHelpfull: Yes(3) No(0)
- 13/3.. in any way.. p=7,q=6,r=1,s=2..
- 11 years agoHelpfull: Yes(1) No(9)
- Taking p=10,q=1,r=2,s=3
So using the above max value of p-q/r+s = 25/2 - 11 years agoHelpfull: Yes(1) No(1)
- p+q+r+s=16
r+s=16-(p+q)
max((p-q)/(16-(p+q)))=max(P-q)/min of(s+r)
min of s+r=1 for p+q=15
max of p-q=15 for any p or q=0
so ans is 15/1=15 - 11 years agoHelpfull: Yes(1) No(3)
- ans will be 11 as p can be 9, q = 4 ,r = 1 ,s =2
p-s/r+q=11 - 11 years agoHelpfull: Yes(1) No(0)
- p=10,q=3,r=1 and s=2
it's 7/3 - 11 years agoHelpfull: Yes(1) No(0)
- If fractions are allowed then p= 10 q= 3 r=2 and s= 1
hence (10-3)/(2+1)=7/3
else p=10 q=2 r=3 and s=1
hence (10-2)/(3+1) = 2 - 11 years agoHelpfull: Yes(1) No(0)
- taking p=10,s=2,q=1,r=3.. we get max i.e 11.66...
- 11 years agoHelpfull: Yes(0) No(0)
- we choose 10,1,2,3
so (10-3)/(1+2)=2.3333 - 11 years agoHelpfull: Yes(0) No(0)
TCS Other Question