Math, asked by shahpuraatishaytrade, 2 months ago

the vatue of x ÷1 is​

Answers

Answered by adityaraj15719
0

answer is x

I HOPE YOU GOT THE ANSWER OF QUESTION

Answered by Anonymous
2

The assertion that X equals X+1 is false, if X represents a real number and the “+” represents addition.

In an IF/THEN statement, IF the assertion is false, THEN anything that follows may be true. Since X=X+1 is false, ANY value for X is equally valid (or invalid).

For any natural number {1,2,3,…}, X+1 is greater than and cannot be equal to X. The assertion “X=X+1” is also false if X is an integer {…,-2,-1,0,1,2,3,4,5,…} or a rational number {1/1, 1/2, 2/1, 1/3, 2/3, 3/2, 1/4, …} or even if X is a complex number (such as 3+2i).

Of course it is possible to interpret the symbols differently, e.g.

defining the “+“ to be some operation other than addition,

or by having either “X“ or “1” represent an element of some other set,

or even by defining an algebra in which X=X+1 is true for some cases

(Think of an algebra with only one possible element {X}

or an algebra in which “1” serves as the additive identity.)

The above also assumes that, in your question, the “=” symbol was meant to indicate the assertion of equality — which is commutative, so that “X+1=X” has the same meaning as “X=X+1”. If X represents a finite number, X cannot ever equal X+1; while “X=X+1” is a valid statement, it asserts something that is false.

Now, in most programming languages (where “=” represents the assignment operator),

X+1 = X  

is not a valid statement (i.e. it is a syntax error, therefore having no valid semantic meaning). This because most programming languages require a “variable” to the left of the assignment operator “=” and when expression such as “x+1” appears on the left, it is not a valid statement and therefore has no meaning in the language. Similarly, the following are also not valid statements:

2 = 1  

3.14159 = x  

a + b + c = 6.02e23  

However, the statement

X = X + 1  

is a valid “assignment statement” with a very specific interpretation:

the expression on the right (the R-value) will first be evaluated by adding one to the current value of the variable “X”,

then, that result will be assigned (destructively) as the new value of the variable on the left (“L-value” which is the location of the variable X).

More simply, the statement “X=X+1” adds one to the value of X. (Most programmers call this “bumping” but “incrementation” is a fancier term).

The same interpretation applies to each of the following statements in the C programming language and its descendants (such as C++, Java, Perl, etc.):

Hope it helps :)

Mark me as brainelist :)

Similar questions