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
What does 4x-2y=2 equal to step by step
podryga [215]

Answer:

y = 2x - 1

Step-by-step explanation:

4x - 2y = 2

So I'm assuming that your goal is to solve for the value of y in terms of x

First: the whole equation can be divided by 2

2x - y = 1

Second: subtract 2x from both sides

-y = -2x + 1

Third: divide each side by -1

y = 2x - 1

Done! I would appreciate Brainliest but no worries.

5 0
3 years ago
Read 2 more answers
Tristan is comparing two number patterns based on the information below.
ivanzaharov [21]

Answer:

Pattern B gets larger fast since 4 is greater than 3.

explanation:
Pattern A is ; 1, 4, 7, 10, 13

Pattern B: 1, 5, 9, 13, 17

as u can see pattern b goes up faster

8 0
3 years ago
Jessica wrote down a fraction on a piece of paper. If you take her fraction and multiply it by four you get sex. can you guess w
RideAnS [48]
1 1/2

6÷4 = 1 1/2

hope this helped!
6 0
3 years ago
Shakeela is planning to buy a pair of pants that have an original price of $51. The pants are on sale for 50% off and the sales
Mila [183]

Answer:

C) $25 + $1.25

Step-by-step explanation:

1.  51 x .5 = 25.5

2.  25.5 x .05 = 1.275

25 + 1.25  ≈  25.5 + 1.28

6 0
3 years ago
Which number line shows the solution set for StartAbsoluteValue d EndAbsoluteValue greater-than 3?
Liono4ka [1.6K]

Answer:

Whats the question

Step-by-step explanation:

5 0
3 years ago
Read 2 more answers
Other questions:
  • Write the equation of a parabola, in standard form, that goes through these points: (0, 3) (1, 4) (-1, -6)
    15·1 answer
  • Rosario draws the right triangular prism shown here and calculates the volume. She then draws a second right triangular prism in
    10·2 answers
  • Solve x and y x/5+y/6=12
    6·1 answer
  • A pitcher contains 2/3 quart of lemonade if an equal amount of lemonade is poured into each of 6 glasses how much lemonade will
    5·1 answer
  • A shipping company processed 72,124 packages this month. If this is 23.5% more than last month, how many packages did they proce
    5·1 answer
  • Last year, the debate club had 16 members. This year, the club has 10 members. What is the percent of change in the number of cl
    5·1 answer
  • Hey there! Can you please help me with 6th grade :-)
    6·1 answer
  • Convert 8.132132132... to a rational expression in the form of a fraction
    11·1 answer
  • Mrs. Garcia planted a pepper plant and a tomato plant in her garden. The pepper plant is 6 inches tall and grows 2 inches each w
    10·1 answer
  • The current salaries in Sasha’s department are $42,000, $32,000, $33,000, $38,000, and $50,000. Sasha wants to adjust the lowest
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!