1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Alchen [17]
4 years ago
7

Another fun question from my 5th grade

Mathematics
2 answers:
finlep [7]4 years ago
4 0
Solutions 

The given question is <span>a doable program.
</span>
Def pal():
    for a in range (0,10):
        for b in range(0,10):
            for c in range(0,10):
                for d in range(0,10):<span>

   c^1 =int(d*d) %10)

                   y= (c*d + c^1) %10

                   c^2=int((c*d+c^1)/10)

                 z =(b*d +c^2) %10

                    c^3=int((b*d+c^2)/10)

                    w=(a*d+c^3) %10 

if (a!=b and a!=c and a!=d and b!=c and b!=d and c!=d and x==a and y==b and z==c and w==d ):
                       print("a = ", a)
                       print("b = ", b)
                       print("c = ", c)
                       print("d = ", d)

</span>a= 1 &#10;&#10;b= 0 &#10;&#10;c=8 &#10;&#10;d=9 
<span>
Plug in the numbers to solve the problem.
</span>
The 'int' function is the same thing as floor.
<span>The % symbol is the modulo operator</span>


≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡

In base 10 expanded form ABCD=A*1000+B*100+C*10+D
and DCBA=D*1000+C*100+B*10+A , where A,B,C,D<span> are counting numbers. 
</span>
We are given ABCD*D=DCBA &#10;
<span>Converting to decimal expanded forms we get 
</span>
(A*1000+B*100+C*10+D)*D =D*1000+C*100+B*10+A 

<span>Distributing the above equation
</span>
AD*1000+BD*100+CD*10+D^2&#10;&#10;=D*1000+C*100+B*10+A<span>

</span>brute force solution works, but is best done by a computer not by hand. 

<span>We could also try to use modular math. 

</span>d^2  mod 10 = a 

cd+[d^2/10]mod10=b 

bd+[(cd+[d^2/10])/10]mod10=c 

ad+[(bd+[(cd+[d^2/10])]/10)/10]mod10=a)) 

1089 * 9 = 9801
RUDIKE [14]4 years ago
4 0
<span>A can only be 1, because D*A=D, and only *1 can get to that.
So B is 0, if not then the thousands place might not be D
In DCBA, the one's place is 1
D squared is 1, so D is 9 (because if D=1, then ABCD*D=ABCD)
So C is 8</span> because it's the only one that's valid.
<span>The final answer is A=1 B=0 C=8 D=9, and 1089*9=9801, so the statement hold true. </span>
You might be interested in
Trevon had $24 to spend on 5 pens after buying them he had $4 how much did each pen cost
alexira [117]
Ok.You have 24$. You used 20$. And you have $4 left. You bought 5 pens. So $20.00/ 5=$4.00. Each pen is four dollars.
8 0
3 years ago
PLEASE HELP!! Theres two questions
disa [49]

Answer:

1) 90

2) 38

Step-by-step explanation:

1) look at the attached diagram

As you can see, the floor and the wall must meet at a 90° angle.

2) Perimeter of office: 10 + 12 + 10 + 12 = 44

Subtract the door and windows' lengths:

44 - 3 - 3 = 38 ft.

3 0
3 years ago
I need help please and ty
Kitty [74]

Answer:

THe answer is

Step-by-step explanation:

The answer is 246

5 0
3 years ago
Read 2 more answers
Which career professional would work at a publishing company?
Vanyuwa [196]

Answer:

D

Step-by-step explanation:

They work by preparing the printing process.

Hope this helps!

5 0
3 years ago
Read 2 more answers
What is 15 percent of 60 show a model to prove it
mart [117]
What is 15 percent of 60 60x.15=9
7 0
3 years ago
Other questions:
  • A ball weighs 15lb on earth and 5.7 pounds on mars. What is the constant proportionality between weight of an object on mars and
    5·1 answer
  • A hiker is lost in the woods. A search team has created a coordinate grid to represent the woods. Each unit on the grid is one s
    6·2 answers
  • Dave tried to evaluate 55 – 15 + 20 step-by-step.
    7·1 answer
  • Due Tomorrow, 11:59 PM
    11·1 answer
  • There are an equal number of red, orange, blue, green, and purple candies in a bag of 40 candies Joey picks a candy at random
    12·1 answer
  • How much money will you have after investing $2000 at 10% annual simple interest
    7·1 answer
  • Find the value of x in the triangle shown below.<br> 33<br> 103
    8·1 answer
  • A factory needs to produce 1,800 jars of peanut butter on a certain day.
    9·2 answers
  • A line passes through the point (-4,9) and has a slope of -5/2 what is the answer.
    13·1 answer
  • Find the solution to the given system of linear equations using elimination-5y=3x-9 3x+4y-3=0
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!