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
The Washer family spent $15.80 each week for milk until the milk prices rose 5% in their town How much do they spend weekly on m
Law Incorporation [45]
15.80 * 1.05 should give you the answer

A method to solve it would be would be:
First converting 5% to a decimal then multiplying that by 15.80 in order the find 5 percent of 15.80...Afterwards you have to add that value to the original 15.80 ..And you should end up with the same answer.
6 0
3 years ago
Read 2 more answers
12 inches to 36 inches
Schach [20]
You have to Multiply times 3...
12•3=36
36/12=3
3 0
2 years ago
Fatima took 546 US dollars to the bank to exchange for Canadian dollars. If the exchange rate on that day was 1.6 Canadian dolla
olchik [2.2K]

Answer:

$873.60 Canadian dollars

Step-by-step explanation:

All you have to do here is multiply the rate, so 1.6, by the total amount, so 546.

546 x 1.6=873.6

6 0
3 years ago
Which of the following numbers are greater than or equal to 4/7? Is it 2/5, 0.57, or 2/3. Use explanation why.
Sergeeva-Olga [200]

Answer:

2/3

Step-by-step explanation:

2/5=0.4 and 4/7=0.571428

0.57<0.571428

---------------------------

2/3=0.6667

which is greater than or equal to 4/7

5 0
2 years ago
Lynn multiplies 7/8 Times a number the product is less than 7/8 which could be Lynn's number
Brums [2.3K]

Answer: 6/8 <;3..?

Step-by-step explanation:

7 0
2 years ago
Other questions:
  • What is the solution to the system of linear equations?
    13·1 answer
  • A teacher has found that the probability that a student studies for a test is 0.610.61​, and the probability that a student gets
    5·1 answer
  • Round 0.71 to the nearest tenth.<br> 0.5<br> 0.7<br> 0.75<br> 0.8
    7·2 answers
  • Your paycheck (before deductions) varies directly as the number of hours you work. If your paycheck is $211.60 for 23 hours, fin
    12·1 answer
  • Eli gave out a survey to some students in his school about their favorite color. 880 of those surveyed said their favorite color
    14·1 answer
  • I need help on this <br> 5x+x-4
    8·2 answers
  • Which of the following functions has a rate of change that stays the same?
    15·1 answer
  • Use vertex (h, k) and a table of values g(x) = 2 * (x - 2) ^ 2 + 5
    8·2 answers
  • Triangle X Y Z is shown. The length of X Z is 12, the length of Y Z is 11, and the length of Y X is 6.
    6·2 answers
  • The population of a certain city decreased by 18,000 people. Write a signed number to represent this population change.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!