English, asked by rohan857922, 10 months ago

Sameer please can u explain this code a bit? it's written in python​

Attachments:

Answers

Answered by ankursinghtomar2606
0

So basically we have used if and elif condition to form a mathematical operator or a program .

This is just a clear cut input what to explain here . It is totally based upon the roots of a general equation . What to explain here?

However I found an error in the input are you guyz supposed to find the error in the input? . Maybe I m wrong because it is only a month since I started learning python

Answered by sameer211314
0

Answer:

Pythagoras's constant" redirects here. It is not to be confused with Pythagoras number.

The square root of 2 is equal to the length of the hypotenuse of a right triangle with legs of length 1

The square root of 2, or the (1/2)th power of 2, written in mathematics as √2 or 21⁄2, is the positive algebraic number that, when multiplied by itself, gives the number 2. Technically, it is called the principal square root of 2, to distinguish it from the negative number with the same property.

Geometrically the square root of 2 is the length of a diagonal across a square with sides of one unit of length; this follows from the Pythagorean theorem. It was probably the first number known to be irrational.

As a good rational approximation for the square root of two, with a reasonably small denominator, the fraction

99

/

70

(≈ 1.4142857) is sometimes used.

The sequence A002193 in the OEIS consists of the digits in the decimal expansion of the square root of 2, here truncated to 65 decimal places:

1.41421356237309504880168872420969807856967187537694807317667973799...

Similar questions