Variable

A variable is something that is subject to change. In computer science and mathematics, it denotes a name that is used to represent an unknown value or quantity. Variables are used in open sentences. For instance, in the formula: x + 1 = 5, x is a variable which represents an "unknown" number. In mathematics, variables are usually represented by letters of the Roman alphabet, but are also represented by letters of other alphabets; as well as various other symbols. In computer programming, variables are usually represented by either single letters or alphanumeric strings[?].

Variables are useful in mathematics and computer programming because they allow instructions to be specified in a general way. If one were forced to use actual values, then the instructions would only apply in a more narrow, and specific, set of situations. For instance, by using variables, we can Now, all we need to do to find the square of a number is replace x with any number we want. For example: specify a mathematical definition for finding the square of ANY number: square(x) = x * x.

  • square(x) = x * x = y
  • square(1) = 1 * 1 = 1
  • square(2) = 2 * 2 = 4
  • square(3) = 3 * 3 = 9
etc...

In the above example, the variable x is a "placeholder[?]" for ANY number. One important thing we are assuming is that the value of each occurrence of x is the same -- that x doesn't get a new value between the first x and the second x. In computer programming, such changes can occur.

Common misspelling and questions (FAQ)

ariable  vriable  vaiable  varable  varible  variale  variabe  variabl  avriable  vraiable  vairable  varaible  varibale  varialbe  variabel  variabl  vvariable  vaariable  varriable  variiable  variaable  variabble  variablle  variablee  fariable  cariable  gariable  gariable  bariable  vqriable  vwriable  vzriable  vwriable  vsriable  vzriable  va4iable  vaeiable  vadiable  va5iable  vafiable  va5iable  vatiable  vafiable  var8able  varuable  varjable  var9able  varkable  var9able  varoable  varkable  variqble  variwble  varizble  variwble  varisble  varizble  variagle  variavle  variahle  variahle  varianle  variaboe  variabke  variab,e  variabpe  variab.e  variabpe  variab;e  variab.e  variabl3  variablw  variabls  variabl4  variabld  variabl4  variablr  variabld  varyable  variables 


Despite these efforts, the Project's etexts and any things, Defects may take the form of incomplete, inaccurate or intellectual property infringement, a defective or damaged codes that damage or cannot be read by your equipment. LIMITED WARRANTY; DISCLAIMER OF DAMAGES [1] Michael Hart and the Foundation (and any other party you may all liability to you for damages, costs and expenses, including UNDER STRICT LIABILITY, OR FOR BREACH OF WARRANTY OR CONTRACT, OR INCIDENTAL DAMAGES, EVEN IF YOU GIVE NOTICE OF THE receiving it, you can receive a refund of the money (if any) time to the person you received it from. If you received it such person may choose to alternatively give you a replacement choose to alternatively give you a second opportunity to WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, ARE MADE TO YOU.

getting around

home

adv.search

site map



Current spider themes

news archive

 

Licence of article: GNU FDL.
Original source @ wikipedia.