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! thanks need done asap like oof im tired lol
ohaa [14]

Answer:

first ones 11

Step-by-step explanation:

-22/-2=11

7 0
3 years ago
Read 2 more answers
(Giving brainliest! Pls have at least one sentence to explain why you chose the answer :) )
Kryger [21]

Answer:

A

Step-by-step explanation:

Hope it helps

4 0
3 years ago
Read 2 more answers
In a group of 50 patrons, 12 patrons like lattes and espressos, 9 patrons like espressos and cappuccinos, 8 patrons like lattes
quester [9]
I used a Venn Diagram which I attached.
Think of it as a flower and work your way from the center out to the doubles (two kinds of coffee) and finally the singles (only one kind of coffee)
I place 4 in the center to represent the people that like all three.
Then I put 8 in the Latte Espresso group since they along with the 4 who like all three, make up the 12 who like lattes and espresso.  I put 4 in the Latte & Cappuccino group since they and the 4 who like all coffees, make up the 8 who like lattes and cappuccinos. And then I put 5 in the Espresso Cappuccino group who along with the 4 in the middle make up the 9 who like both of those.
In all 20 like lattes and my latte circle already has 16 so I added 4 (who only like lattes).  22 like espresso and I have accounted for 17 (8+4+5) so that means there are 5 who only like espresso.  Finally out of the 17 who like cappuccinos, 13 are already accounted for so I will add 4 who like only cappuccinos.
Since there are 50 people and I can account for 34 of them (add all the numbers in all three circles), there must be 50-34 people who don't like any.  The correct answer is d.16
Download docx
3 0
3 years ago
Read 2 more answers
I need help simpifying 5x-2/4-25x^2
Lyrx [107]

Answer:

−25x^2+5x−1/2

Step-by-step explanation:

5 0
3 years ago
A bakery sold 111 cupcakes in one day. The head baker predicted he would sell 91 cupcakes that day. What was the percent error o
Yuliya22 [10]
111-91=20-error\\\\\begin{array}{ccc}91&-&100\%\\\\20&-&p\%\end{array}\ \ \ |cross\ multiply\\\\\\91p=100\cdot20\\91p=2000\ \ \ \ |divide\ both\ sides\ by\ 91\\\\\boxed{p\approx21.98\ (\%)}\leftarrow answer
3 0
3 years ago
Other questions:
  • Three less than x is equal to 13
    9·2 answers
  • A bowl contains 3 red, 8 blue, and 7 black beads. Margaret randomly selects 3 beads one after the other without replacement. Fin
    7·1 answer
  • Three evaluating expression Equation
    6·1 answer
  • 3. Find the radius of a circle with a circumference<br>of 106.81 centimeters.<br>​
    14·2 answers
  • O is the center of the circle. Assume that lines that appear to be tangent are tangent. What is the value of x? 23 78.5 337 314
    6·1 answer
  • A circular flower bed is 19 m in diameter and has a circular sidewalk around it that is 4 m wide. Find the area of the sidewalk
    9·2 answers
  • Jim has 44 nickels and dimes. The total amount of money is $2.95. How many nickels does he have?​
    15·1 answer
  • According to the Fundamental Theorem of Algebra, how many roots exist for the polynomial function f(x)=(4x3−13x+11)3?
    11·1 answer
  • <img src="https://tex.z-dn.net/?f=%5Cfrac%7B6%7D%7B15%7D" id="TexFormula1" title="\frac{6}{15}" alt="\frac{6}{15}" align="absmid
    14·2 answers
  • A triangle has a base length of 4ac2 and a height 5 centimeters more than the base length. Find the area of the triangle if a =
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!