i don't understand the formula for caluculating e^x in order to write the code(java)

See:

http://www.jiskha.com/display.cgi?id=1286508468