\r \n" );
document.write( "\n" );
document.write( "S = where is the first term, and r is the common ratio.\r \n" );
document.write( "\n" );
document.write( "For this problem \n" );
document.write( " = 1 \n" );
document.write( "r = 1/2\r \n" );
document.write( "\n" );
document.write( "S = = 2