solve 3^X=7 giving exact answer to the base 10

3 ^ x = 7

x * lgt ( 3 ) = lgt ( 7 )

x = lgt ( 7 ) / lgt ( 3 )

x = 0.845098 / 0.477121

x = 1.771245

lgt is the logarithm with base 10