TCS
Company
The size of a program is N. And the memory occupied by the program is given byM = square root of 100N. If the size of the program is increased by 1% then how much more memory is required now?
Read Solution (Total 7)
-
- for,size=N
M=sqrt(100N)
=10sqrt(N)
new size=N+(1/100)*N
=N+.01N
=1.01N
new value for M=sqrt(100*(1.01N))
=10sqrt(1.01N)
increase in M=10(sqrt(1.01N)-sqrt(N))
- 13 years agoHelpfull: Yes(3) No(1)
- it could also be stated as increase in M={sqrt(101N)-sqrt(100N)}
- 13 years agoHelpfull: Yes(3) No(1)
- m=sqrt(100N+1)
because given M=sqrt(N)
now size increases by 1%=N+0.01
now M=sqrt(100(N+0.01))
=sqrt(100N+1) - 13 years agoHelpfull: Yes(0) No(2)
- M=sqrt(100N)=10*sqrt(N)
M2=sqrt(100*1.01N)=sqrt(101N)=sqrt(101) * sqrt(N)
M2-M= Sqrt(N) ( Sqrt(101) - 10)= Sqrt(N) (.05)
= Sqrt(N) / 20 - 13 years agoHelpfull: Yes(0) No(1)
- m=sqrt(100n)
after increase 1% in n =1.01n
now
m=sqrt(100*1.01n)
m=101/100sqrt(n)=10.1sqrt(n)
more memory required is=10.1sqrt(n)-10sqrt(n)=0.1sqrt(n) Answer - 13 years agoHelpfull: Yes(0) No(1)
- Answer is 0.5% bcoz...
take n=100 then memory m=sqrt(100n)=sqrt(10000)=100
Increase n by 1% then
n=101 then memory m=sqrt(100n)=sqrt(10100)=100.5
then memory will be increased by 0.5% - 8 years agoHelpfull: Yes(0) No(0)
- 1)m=sqrt(100N)
2)1m/100=?(Here we are finding the increased one)
3)Ans:- 0.1sqrt(N) - 7 years agoHelpfull: Yes(0) No(0)
TCS Other Question