Let the firt number be n,
The largest number will be n+1
Their sum
n+n+1=55
2n+1=55
2n=54
n=27
Largest number =27+1=28
required number =H.C.F of (73-25),(97-73) & (97-25)
=H.C.F of 48 , 24 and 72 = 4 (c)
(115+65+x)/3=95
x=105
Let the number of males be given the name M.
Let the number of females be given the name F.
If 15 females are absent, then M will be twice that of
present females.
This means that M = 2 * (F – 15)
M = 2 * F – 30.
or 2 * F – M = 30.
Now if in addition to the 15 females being absent, we also
have 45 males being absent,
then this gives the equation,
(F – 15) = 5 * (M – 45)
which simplifies to
F – 15 = 5 * M – 225
5 * M – F = 210
Pulling the equations together, we get
5 * M – F = 210
-M + 2 * F = 30
Multiply the first equation by 2, and keep the second
equation as is.
10 * M – 2 * F = 420
– M + 2 * F = 30
Add the equations.
9 * M = 450
M = 50
Verify answer.
Calculate F
from – M + 2 * F = 30
-50 + 2 * F = 30
2 * F = 30 + 50
F = 40.
If 15 females are absent, then number of males will be twice
that of females.
40 – 15 = 25.
50 = 2 * 25. Confirmed.
If also 45 males were absent, then female strength would be
5 times that of males.
Female strength is 25 due to the 15 females being absent.
50 – 45 = 5.
25 = 5 * 5. Confirmed.
Let three consecutive even numbers be 2n,2n+2,2n+4
product=2n(2n+2)(2n+4)
If n=1,
product =2(4)(6)=48.
So, all the numbers will be divisible by 48 if change n.
Servlets are faster as compared to JSP, as they have a short response time.
JSP is slower than Servlets – JSP is a HTML-based codes.
Servlets are harder to code, as here, the HTML codes are written in Java – JSPs are easier to code, as here Java is coded in HTML.
In an MVC architecture, Servlets act as the controllers. – In MVC architectures, the JSPs act as a view to present the output to the users.
The service() function can be overridden in Servlets. – The service() function cannot be overridden in JSPs.
In order to enhance my career, I asked my colleagues about my strength and weaknesses, the areas where I need to improve more, and acquired more knowledge from my superiors. I worked on my weaknesses to convert into a positive response.
consider the tank capacity as 90 litres.
to fill the tank in 3 hrs first pipe must flow at a rate of 30 litres/hr
2nd pipe has to flow at a rate of 45 litres/hr
if two pipes are opened at a time the flow rate will become 75 litres/hr
90/75= 6/5 = 1.2= (i.e) 1hr and 12 minutes 1 1/5 hr
find out what is the problem and taking the bad out always works.
I have seen a few say 25% as an answer to this. But looks
like their math isn’t good and is extremeley complex to
have an asnwer of 25% to this question. Consider – Rs.1.00/-
per mango; so 40 mangoes = Rs.40.00/-, implies Rs.4.00/-
extra at the end of the deal. So he’s left with Rs.44.00/-
after selling 40 mangoes implies a profit of Rs.4.00/- over
Rs.40.00 = 44/40 = 110% which means his profit is 10%.
Hope this helps…
Thanks.
995