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 the slope of the line through (1,0)(1,0)left parenthesis, 1, comma, 0, right parenthesis and (3,8)(3,8)
77julia77 [94]

The slope of the line passing through (1 , 0) and (3 , 8) is 4.

Slope, commonly represented by the letter m, is a value that describes the steepness and direction of a line. The slope of a line is also called its gradient or rate of change.

It is the vertical change in y divided by the horizontal change in x, sometimes called rise over run. The slope formula uses two points, (x_{1}, y_{1} ) and (x_{2}, y_{2} ), to calculate the change in y over the change in x.

m=\frac{y_{2}-y_{1}  }{x_{2}-x_{1} }     where

x_{1} = 1

y_{1} = 0

x_{2} = 3

y_{2} = 8

Substituting the values,

m=\frac{y_{2}-y_{1}  }{x_{2}-x_{1} } =\frac{8-0}{3-1} =\frac{8}{2}=4

Hence, he slope of the line passing through (1 , 0) and (3 , 8) is 4.

For more example on slope of line, visit brainly.com/question/3493733.

#SPJ4

7 0
2 years ago
Which set of ordered pairs could be generated by an exponential function?
klemol [59]

Answer: Third option.

Step-by-step explanation:

By definition, Exponential functions have the following form:

y = ab^x

Where "b" is the base (b > 0 and b\neq 1), "a" is a coefficient (a\neq 0) and "x" is the exponent.

 It is importat to remember that the "Zero exponent rule" states that  any base with an exponent of 0 is equal to 1.

Then, for an input value 0 (x=0) the output value (value of "y") of the set of ordered pairs that could be generated by an exponential function must be 1 (y=1).

You can observe in the Third option shown in the image that when x=0, y=1

 Therefore, the set of ordered pairs that could be generated by an exponential function is the set shown in the Third option.

4 0
3 years ago
Read 2 more answers
Circle O has a circumference of approximately 250π ft. Circle O with diameter d is shown. What is the approximate length of the
Vinil7 [7]

Answer:

250 ft

Step-by-step explanation:

circumference of circle 'C' is defined as

C = 2πr

250π = 2πr

r = 250π/2π

r= 125

d = 2r = 2×125 = 250 .

diameter of the given circle is 250 ft

4 0
3 years ago
Read 2 more answers
Tony and Maria are two star-crossed lovers trying to get on a committee of 4 people. If there are 9 people eligible for this com
ASHA 777 [7]

Answer:

The number of ways Tony and Maria can both be selected for the committee is 8 ways.

Step-by-step explanation:

i) Tony and Maria have to be on the committee together or not at all.

ii) Let us consider Tony and Maria as combined as one person.

 Therefore now we can say that the number of eligible people for the committee = 9 - 1 = 8.

iii) therefore the number of ways that both Tony and Maria can be selected for the committee are

 = 8C1   =  \hspace{0.2cm}\binom{8}{1} = \frac{8!}{1! (8-1)!}  = \frac{8!}{1!\times 7!}  = \frac{8}{1}  = \hspace{0.1cm}8 \hspace{0.1cm}ways

6 0
3 years ago
ABCD is a rectangle. What is the value of x? rectangle with length 63 m, width x m, and diagonal 65 m 2 meters 16 meters 63 mete
lesya [120]
The correct answer is 16 meters

Hope this helped :)
4 0
3 years ago
Read 2 more answers
Other questions:
  • What is the value of the expression<br>(25 - 7) X 2 + 4 + 2?<br>​
    12·2 answers
  • This graph shows a proportional relationship between the number of tulips and the number of daffodils in gardens planned by the
    5·2 answers
  • Four people are carpeting a house. Heidi carpets 16 of the house, Lisa carpets 16% of the house, Martina carpets 0.2 of the hous
    15·1 answer
  • Look at points C and D on the graph:
    12·1 answer
  • Using slope formula find the slope of the line through the points 0,0 and 3,12 use the pencil and paper
    14·2 answers
  • Please help me quick :(
    8·1 answer
  • J² - jk +k²= 7<br>J⁴ +j²k² + k⁴ = 133​
    7·1 answer
  • 1 and 5/7 x 1/6 simplify
    9·1 answer
  • Octavia is making cotton candy. She uses 17.5 cups of sugar to make 5 bags of cotton candy. At this rate, how many cups of sugar
    14·2 answers
  • Will Can type 63 words in 90 seconds how can he type in 30 seconds
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!