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
Juli2301 [7.4K]
3 years ago
8

What is 2 + 2? Its kinda important. for a very important school project.

Mathematics
2 answers:
Agata [3.3K]3 years ago
5 0

I do not know how to solve this incredibly difficult question. The complexity rivals those of the millennial problems. Instead, I’ll let reddit user u/sellopou speak his words.

Take a computational approach to the problem. Specifically, consider the encoding of natural numbers in the simply-typed lambda calculus called Church numerals. In this encoding, the number 2 is represented by a function that looks like this:

2 ≡ λf.λx.f (f x)  

In other words, the number two is a function that takes a function and some value (let's assume that we're comfortable with currying here), and applies the function twice to the value. In general, a number n is represented by a function that takes a function and some value and applies f to the value n times.

Using the Church encoding, you can define operations on the numbers as well. In this case, you're interested in plus, which takes two numbers and returns a number

plus ≡ λm.λn.λf.λx.???  

So what's in the body? Well, the body has to be n + m applications of f to the value x. If we pass f and x to n, we get n applications–call that r, and if we apply m to f and r, that'll be m + n applications of f:

plus ≡ λm.λn.λf.λx.m f (n f x)  

So the expression 2 + 2 using this encoding is:

plus 2 2 ≡ (λm.λn.λf.λx.m f (n f x)) (λf.λx.f (f x)) (λf.λx.f (f x))  

Now β-reduce until you get the result:

plus 2 2 ≡ (λm.λn.λf.λx.m f (n f x)) (λf.λx.f (f x)) (λf.λx.f (f x))  

        ↦ (λn.λf.λx.(λf.λx.f (f x)) f (n f x)) (λf.λx.f (f x))  

        ↦ (λf.λx.(λf.λx.f (f x)) f ((λf.λx.f (f x)) f x))  

        ↦ (λf.λx.(λx.f (f x)) ((λf.λx.f (f x)) f x))  

        ↦ (λf.λx.(λx.f (f x)) ((λx.f (f x)) x))  

        ↦ (λf.λx.(λx.f (f x)) (f (f x)))  

        ↦ (λf.λx.f (f (f (f x))))  

        ≡ 4.  

But now, let's bust out of this theoretical prison and say we have a number 0 in some representation that we can actually work with, as well as a function add1 that knows how to increment a number in that representation. Well, then we can get a useable representation out of our church numeral, by applying to the numeral to add1 and the value:

4 add1 0 = 4  

vladimir1956 [14]3 years ago
4 0
I mean you could know this but 2+2 is 4 you add two and two and get four.
You might be interested in
A ball is dropped from a height of 9 m. Each time it strikes the ground it bounces vertically to a height that is 2/3 of the pre
vredina [299]

Answer:

The answer i 9

Step-by-step explanation:

If the ball bounces 2/3 of the height of 9, and a 1/3 of 9 is 3, then 6 is the answer.

6 0
2 years ago
X2-9=16 find x. X2 is x squared
Andrei [34K]

Answer:

x=5

Step-by-step explanation:

Isolate the x by adding 9 on both sides:

x^{2}  =25

Take the square root of both sides:

\sqrt {x^2} =\sqrt{25}

Simplify:

<u>x=5</u>

6 0
3 years ago
Do these equations have infinite solutions 2x + 5y= 31 and 6x -y = 13
katovenus [111]

2x = 31 - 5y \\ x =  \frac{31}{2} -  \frac{5}{2}y

6x = 13 + y \\ x =  \frac{13}{6}  +  \frac{1}{6} y

8 0
4 years ago
If 7/8 is multiplied by 4/7, will the product be greater than either of the factors?
Ratling [72]

Answer:

Less

Step-by-step explanation:

Because a number less than one times a number less than one will always result in a lower answer.

Ex: 0.5 x 0.5 = 0.25

6 0
3 years ago
Can you guys help me please
Maurinko [17]

Answer:

it would be 25

Step-by-step explanation:

pls mark brainlist

3 0
3 years ago
Other questions:
  • What are the length of each side of a quadrilateral when the perimeter is 33 and the sides are:
    14·1 answer
  • The graph of a line is ____ a line<br><br>A always<br>B sometimes ​
    9·1 answer
  • The top of a ladder slides down a vertical wall at a rate of 0.675 m/s . At the moment when the bottom of the ladder is 3 m from
    9·1 answer
  • Write a algebra expression for the word phrase. 10 times the product of G &amp; H
    8·1 answer
  • Find the greatest factor
    11·1 answer
  • What is the total investment of $2150 invested at 5.3% for 16 years and compounded continuously?
    6·1 answer
  • How do you solve: 81 X 9^(-2b-2)=27
    6·2 answers
  • 1)A triangle has sides that measure 3 cm, 8 cm, and 4 cm. Do these measurements form a right
    5·2 answers
  • (12) Which equation has irrational solutions?<br> Group of answer choices
    8·1 answer
  • 20 points I need help with this problem.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!