8
A 1×1 cube in the middle of an edge of the 3×3 cube will
have two faces painted. A cube has 12 edges, so the answer
is 12.
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
Placing three trees in triangle and placing the fourth tree in center
9 AND 3
P’s one min work=1/18
Q’s one min work=1/24
P’s x min work+Q’s 12 min work = tank fully filled ( 1 )
x(1/18)+12(1/24)=1
x=9 min
the answer is 34
Gain=(profit/c.p)*100
Gain =selling price-cost price =900-675
=225.
Gain=(225/675)*100.
=33.3%
let x be the avg age of each person in the family ten years
back…
so total age=6x
after 10 years i.e,now the total age of the family =6x+60
let grand father age as y
then the average of the family=(6x+60-y)/5
(bcoz grand father has expired and the new born baby has no
age at present)
according to the given question (6x+60-y)/5=x
bcoz x is the avg age bfore 10 years.
while calc the equation according to the presnt age we have
to add 10 to the result….
so the answer is 70
1,50,000
190 sec