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
PLEASE HELP!!!! I would really appreciate it
Anettt [7]

Answer:

i would say 6 miles

Step-by-step explenation

seems right to me. sorry i cant tell you why but out of  your options thats the  one i would go with

5 0
3 years ago
An assistant is in charge of ordering lunch for the monthly office meeting. For the first month, she orders five Falafel wraps,
Andru [333]

Answer:

x (Falafel) = $5.50

y (Turkey BLT) = $7.50

z (Paninis) = $6.00

Step-by-step explanation:

Step 1: Write out systems of equations

5x + 15y + 20z = 260

8x + 18y + 14z = 263

12x + 16y + 12z = 258

There are multiple ways to solve for this systems of equations. I will use an augmented matrix for this:

Top row: [5 15 20 | 260]

Middle row: [8 18 14 | 263}

Bottom row: [12 16 12 | 258]

We find RREF form of the augmented matrix to find our answers:

Top row: [1 0 0 | 11/2]

Middle row: [0 1 0 | 15/2]

Bottom row: [0 0 1 | 6]

And we have our answer!

4 0
3 years ago
Read 2 more answers
About how tall is the actual Golden Gate Bridge?
vazorg [7]

Answer:

746′

Step-by-step explanation:

hope this helps

5 0
2 years ago
Read 2 more answers
What is 64% of 875??
Evgen [1.6K]
I think the answer is $560

working:
$875 * 64% = $560
8 0
3 years ago
Read 2 more answers
For which distributions is the median the best measure of center?<br> select each correct answer.
emmainna [20.7K]

Step-by-step explanation:

you have to add all of the together so like graph number 1 add all those numbers together and then divide by how much numbers there are and that is the median

7 0
3 years ago
Other questions:
  • 7. nelly spends 25% of her free time surfing the internet. if she spends approximately 2 hours per day surfing the internet, how
    5·1 answer
  • Plz help will give brainliest.....
    8·1 answer
  • Anna is in a cave 39 feet below the cave entrance. She descends 19 feet, then ascends 25 feet. Find her new position relative to
    14·1 answer
  • X&gt;10 is 3 a solution
    8·2 answers
  • If f(n+1)=f(n)-8if f(1)=100what is f(6)
    8·1 answer
  • I need some help, please
    8·1 answer
  • Gavin owes the bank $63,000. After 10 years, Gavin owes $93,255. Gavin knows the debt grows with an interest rate that compounds
    6·1 answer
  • Janice is building a fence around a portion of her rectangular yard. The length of yard she will enclose is x and the width is 2
    12·1 answer
  • Find the slope of the line 6x + 2y=10​
    14·1 answer
  • Please someone answer this I’ll give 20 points
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!