I have the expression:
Times[0.19157500241430547,Power[Plus[0.7235014213631388,k,Times[-1,Power[m,c]]],Times[g,z]]]
Also represented as:
0.191575 (0.723501 + k - m^c)^(g z)
I want to randomly select either a symbol or real and delete it from the expression, so the expression might become:
0.191575 (k - m^c)^(g z)
Or maybe:
0.191575 (0.723501 + k - m^c)^(z)
Is there a simple way to do this?