add calculate equation and print result in main loop
trivial