math finding root of equation on C++ factorial can be defined as fact(n) note: equation must be manually written inside code on line 128