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
Factorise using the difference of two squares:<br> I)4x squared-(2x+3) squared
alex41 [277]
4x² - (2x + 3)²
4x² - (2x + 3)(2x + 3)
4x² - (2x(2x + 3) + 3(2x + 3))
4x² - (2x(2x) + 2x(3) + 3(2x) + 3(3))
4x² - (4x² + 6x + 6x + 9)
4x² - (4x² + 12x + 9)
4x² - 4x² - 12x - 9
-12x - 9
-3(4x) - 3(3)
-3(4x + 3)
8 0
3 years ago
5+1/√7 - √3 + 1/√7 - √3​
dimulka [17.4K]
2.291827331. That is what I got.
3 0
3 years ago
A choir teacher is dividing 3 sopranos and 12 altos into singing groups. he wants each group to have the same combination of sop
Andreyy89
You can have a maximum of 3 groups. This is due to the fact that you only have 3 sopranos to equally divide between groups. Over 3 you would have a group lacking a soprano so 3 is the greatest you can make it.
7 0
3 years ago
Is 2 hours and 30 minutes more or less than 10% of a day?
belka [17]
10% of the day =10/100×24=2 hours 24 minutes therefore 2 hours 30 minutes is more than 10% of a day
8 0
3 years ago
The greatest common factor of 24, 40 and 60
ExtremeBDS [4]

Answer:

4

Step-by-step explanation:

Nothing else rlly works besides 1,2,4 soo

Kono Dio Da!!!

5 0
3 years ago
Read 2 more answers
Other questions:
  • Help me please i need help on geometry to passthe 10th grade
    7·1 answer
  • What’s the missing digit?
    7·1 answer
  • The daily cost of hiring a plumber, y, to work hours on a repair project can be modeled
    7·1 answer
  • Rewrite each equation in standard form<br> Y=6x-4
    9·1 answer
  • How many degrees do the supplementary angle add up to?
    9·2 answers
  • Will give brainliest <br><br>What's the measurement of Park St. and 116th Street?​
    11·1 answer
  • The base of a triangular prism is a right triangle whose legs are 9 cm and 12 cm. The height of the prism is 33 cm. What is the
    15·1 answer
  • 3/4 divided by 6/7<br> Please help me
    10·1 answer
  • G^2+2g-48=0<br> g=<br> Use a comma to separate answers as needed
    5·1 answer
  • You are draining your fish
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!