// JavaScript Document
				


/*&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
  &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
  &&                                                                                  &&
  &&                                                                                  &&
  &&                    logarithmic functions                                         &&
  &&                                                                                  &&
  &&                                                                                  &&
  &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
  &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&*/


//functions takes the log of the decimal value in the X register
function It_log()
{
	numberArray[0].decimalValue = Math.log(numberArray[0].decimalValue)/Math.log(10);

	operations_2nd_level();	//displays result, assigns value to string value and resets what needs to be reset
}
						
	
/*&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
  &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&*/


//functions raises 10 to the power of the decimal value in the X register
function It_10ToTheX()
{
	numberArray[0].decimalValue = Math.pow(10,numberArray[0].decimalValue);

	operations_2nd_level();	//displays result, assigns value to string value and resets what needs to be reset
}
						
	
/*&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
  &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&*/
 
  
//functions takes the natural log of the decimal value in the X register
function It_ln()
{
	numberArray[0].decimalValue = Math.log(numberArray[0].decimalValue);

	operations_2nd_level();	//displays result, assigns value to string value and resets what needs to be reset
}
						
	
/*&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
  &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&*/
 

//functions raises e to the power of the decimal value in the X register
function It_eToTheX()
{
	numberArray[0].decimalValue = Math.pow(Math.E,numberArray[0].decimalValue);

	operations_2nd_level();	//displays result, assigns value to string value and resets what needs to be reset
}
						
	
