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
May has 4 /15 meters of lace while Lovie has 2 /7 meter longer than May's lace. how many meters of lace do girls have together​
leonid [27]

Answer:

86/105

Step-by-step explanation:

May has 4/15 meters of lace

Lovie has a lace that is 2/7 meters longer

4/5 + 2/7

= 58/105

Therefore the lace they own together can be calculated as follows

= 4/15 + 58/105

= 86/105

Hence together they have 86/105 meters of lace

8 0
2 years ago
Walter owns 60 books now. He plans to buy 10 books every month. Which recursive formula gives the number of books Walter will ha
ololo11 [35]
Answer is 

<span>next = now + 10, starting at 60

hope it helps</span>
4 0
3 years ago
How many 5/11 inch pieces can be cut out of a piece of wood that is 60 inches long?
katrin2010 [14]

Answer:

132

Step-by-step explanation:

8 0
3 years ago
PLSSS HELP!!!!!!!!!!!!!!!!!!!!!!!!!!URGENT!!!!! Jamie says that if she knows only the measure of one angle in an isosceles trian
Pepsi [2]

Answer: Denise

Step-by-step explanation

This property is equivalent to two angles of the triangle being equal. An isosceles triangle therefore has both two equal sides and two equal angles.

3 0
3 years ago
The perimeter of a rectangle is 64 feet. The length of the rectangle is 3 times the width of the rectangle. If w represents the
Sliva [168]
The third answer would be correct.
8 0
3 years ago
Read 2 more answers
Other questions:
  • As part of geometry assignment, Celina drew a scalene triangle. Which of the following dimensions could represent the side lengt
    15·1 answer
  • A funnel is shaped approximately like a cone. The diameter of the base is 6 inches. The height is 10 inches.
    13·1 answer
  • $9500 is invested, part of it at 12% and part of it at 9%. For a certain year, the total yield is $1032.00. How much was investe
    15·1 answer
  • Explain how to add -7 + 12 as if you were teaching it to someone else.
    6·1 answer
  • A triangle shaped flag is shown 6 ft 4 ft enter the area of the flag in square feet ​
    13·2 answers
  • ∆ABC with Prove: Statement Reason 1. given 2. ∠CAB ≅ ∠EDB ∠ACB ≅ ∠DEB If two parallel lines are cut by a transversal, the corres
    10·1 answer
  • What is the sum of x + y when x = –2.7 and y = 5.2?
    14·1 answer
  • George bought a cylindrical tank for his garden but he forgot to ask the seller what the diameter of the tank was. He needs to k
    5·1 answer
  • 0.246446 to the nearest hundredth is?
    10·1 answer
  • How would the intervals of the solution set differ between a polynomial inequality and a rational inequality?​
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!