private void inputState6( String s )
	{
		Float f1;
		f1 = new Float(op1);
		float fop1;
		fop1 = f1.floatValue();
		if ( operator.equals("sqrt") )
		{
			if ( fop1 < 0 )
			{
				textField.setText(errMsg);
				return;
			}
			else
				fop1 = (float) Math.sqrt( fop1 );
		}
		else if ( operator.equals("x^2") )
			fop1 = fop1 * fop1;

		else if ( operator.equals("x^3") )
			fop1 = fop1 * fop1 * fop1;
		
		else if ( operator.equals("sin") )
			fop1 = (float) Math.sin( fop1 );
			
		else if ( operator.equals("cos") )
			fop1 = (float) Math.cos( fop1 );
		
		else if ( operator.equals("tan") )
			fop1 = (float) Math.tan( fop1 );
		
		else if( operator.equals("n!") )
			fop1 = this.fN(fop1);
		
		op1 = String.valueOf(fop1);
		textField.setText(op1);
	}