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 is an equation of the line that passes through the points (8,0) and (3,-5)?
slava [35]
Recall that the general equation for a line is y=mx+b where m is the slope and b is the y-intercept.
First, let's find the slope by finding
(y2-y1)/(x2-x1):
(-8-0)/(-5-3)
-8/-8
1

Now we know the equation is y=1x+b, or y=x+b.
By plugging in one of the two points we know is on the line, we can solve for b.
0=3+b
b=-3

So the equation is:
y=x-3
5 0
2 years ago
Read 2 more answers
You flip three coins. What is the probability that you get three tails, given that you get at least two tails?
rjkz [21]
It’s still 50/50. Flipping coins is purely chance. There isn’t an actual pattern, our brain just create one to make sense of things!
6 0
3 years ago
what is the width of a rectangular prism that has a volume of 138.24 cubic inches, a height of 9.6 inches, and a length of 3.2 i
e-lub [12.9K]

Answer:

18 square inches.

Step-by-step explanation:

If the volume V = 144 cubic inches, and V = length*width*height,

then 144 cubic inches = length*width*8 inches

and length*width = 144/8 square inches = 18 square inches.

6 0
3 years ago
What is equivalent to 4(6x+2)-5(2x-1)
givi [52]

Answer:

14x +13

Step-by-step explanation:

4(6x+2)-5(2x-1)

Distribute

24x +8 -10x +5

Combine like terms

24x  -10x +8+5

14x +13

6 0
3 years ago
Read 2 more answers
A team from the high school went on a science-and-math quiz show. The science questions were worth 1 point and the math question
pentagon [3]

Answer:

for science the number of question is 3

And, for math it would be 5

Step-by-step explanation:

The computation is shown below:

Total questions answered is 8

And, earned points is 13

Let us assume the science question be x

And, the math question be y

Now the equation would be

x + 2y = 13

And the second equation would be

x + y = 8

Now solve the both equation

y = 5

So, the x = 3

hence, for science the number of question is 3

And, for math it would be 5

7 0
3 years ago
Other questions:
  • What is the height of the shape?
    9·1 answer
  • Elisa withdrew $26 at a time from her bank account and withdrew a total of $208. Frances
    13·2 answers
  • Solve (x − 2) = 3<br> Give your solutions correct to 3 significant figures.
    14·1 answer
  • Emily thinks the perfect tomato sauce has 8 cloves of garlic in every 500 mL of sauce. Raphael's tomato sauce has 12 cloves of g
    7·1 answer
  • What the answer to this problem 4(9p+6)
    14·1 answer
  • What is the unit rate of $420 for 15 tickets!
    15·2 answers
  • 34 percent of 1200 thank you for helping
    13·1 answer
  • Math problem I need help on
    9·1 answer
  • What is the range and domain of the set? :R: {(−11, 16), (17, 23), (2, -13), (7, 4), (-7, −21)}
    6·1 answer
  • A chemical balance needs to weigh 237g using weights of 50g, 20g, 10g and 1g. How many of each weight is needed?
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!