Answer the question
In order to leave comments, you need to log in
How to solve tasks of this type from the exam in computer science?
What is the smallest base of the positional number system x ,
in which 225 x \u003d 405 y , x and y are the bases of the number systems?
Write your answer as an integer.
I met only tasks where the basis of only one number system was the unknown. I tried to enter a function y(x)
and do it through the derivative - it did not work. The correct answer for this problem is: x = 8.
Answer the question
In order to leave comments, you need to log in
225 x = 2∙x 2 + 2∙x + 5 = 4∙y 2 + 5 = 405 y
2∙x 2 + 2∙x = 4∙y 2
y min = max(4, 0, 5) + 1 = 6
2∙x 2 + 2∙x = 4∙6 2 = 144
x 2 + x - 72 = 0
D = 1 + 4*72 = 289
x 1 = -(1 + 17)/2 = -9
x 2 = -(1 - 17)/2 = 8
PS It is also possible in a more general form:
2∙x 2 + 2∙x = 4∙y 2
x 2 + x - 2∙y 2 = 0
D = 1 + 8∙y 2
x 1= -(1 + sqrt(1 + 8∙y 2 ))/2
x 2 = -(1 - sqrt(1 + 8∙y 2 ))/2
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question