1.6
Ans- 6,6 litres
Let x Litres from can1 (where, water = x/4 litres and milk = 3x/4 litres)
Now
12-x liters from can 2 ( where, water = 6-x/2, milk = 6-x/2)
Now given
water/milk = 3/5
0.25x+6-0.5x / 0.75 +6-0.5x = 3/5
6-0.25x/6+0.25 = 3/5
Solve it you get
x = 6 litres from can1
Then 12-x= 12-6=6 litres from can2
1208.9
Capacity of the tank =(12 x 13.5) liters =162 liters.
Capacity of each bucket =9 liters
Number of buckets needed = 162/9 =18.
S=D/T
S=624KM/6.5HRS
S=96KM/HR
Phillips
21
4155
3:4
3x:4x
3x+4x=420
7x=420
x=60
smaller number=3(60)=180.
Answer: 3121 gold coins
Let total no of coins be M
Let the disbursement D to each son:
D1 = 1 + (M – 1)/5 = (M + 4)/5
D2 = 1 + ( M – D1 -1)/5 = (D1) * 4/5
D3= (D2) * 4/5
D4= (D3) * 4/5
D5= (D4) * 4/5
Total disbursements to sons=
= ∑D= (M+4)*1/5[ 1+4/5+(4/5)(4/5)+ (4/5)(4/5)(4/5)+(4/5)(4/5)(4/5)(4/5) ]
= (2101/3125)*(M+4)
Thus balance left for daughters =M-{(2101/3125)*(M+4)}
=(1024M-8404)/3125
This balance should be a positive integer ( assuming M and all disbursements are full coins )
Thus 1024M-8404 should be a multiple of 3125….so….
1024M – 8404 = N*3125 where N is an integer
Using Python code:
n=int(input(“Enter num n: “))
X=int()
a=int()
a=0
X=’ ‘
for a in range(0,n+1):
a=a+1
X= (3125*a + 8404)/1024
if (3125*a + 8404)% 1024== 0:
print(X,a)
Enter num n: 10000
3121.0 1020
6246.0 2044
9371.0 3068
12496.0 4092
15621.0 5116
18746.0 6140
21871.0 7164
24996.0 8188
28121.0 9212
We get minimum value of N = 1021 and M = 3121 gold coins
underroot(1-r^2)/3
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.
yes
1 km/hr
if it is for MIcrosoft Interview Question, I sure they will
give you the job if you answer, “Google it”.
This is a sequence of English letters, in numbers.
⇒ ten = 3 letters
⇒ nine = 4 letters
⇒ sixty = 5 letters
⇒ ninety = 6 letters
⇒ seventy = 7 letters
⇒ Sixty six =8 letters
⭕️This logical question goes with the no. of letters in the number!!!!!!!
⭕️∴ the biggest number with 9 letters will be ninety-six (96).
Total marbles are 15
Blue and yellow are 5
Probability is 5/15