How to get numeric value of integration:
eq:=int(c*x^(4/5)*exp((1+x)^(1/7)),x=1..2)
I tried to do:
assume(c,real);
evalf(eq,5);
The output I am expecting is:
4.32052c
But it doesn't work (with output same as input).
Thanks in advance,
How to get numeric value of integration:
eq:=int(c*x^(4/5)*exp((1+x)^(1/7)),x=1..2)
I tried to do:
assume(c,real);
evalf(eq,5);
The output I am expecting is:
4.32052c
But it doesn't work (with output same as input).
Thanks in advance,
Pull the symbolic coefficient outside the integral, so that the definite integral is then purely numeric and may evaluate to a float under
evalf.