To integrate tan(x)csch(x)/x^9 from 0.3 to 0.4 numerically in MATLAB, you can use the integral function. First, define the function as a MATLAB function handle:
main.m32 chars2 lines
Then, use the integral function to integrate this function from 0.3 to 0.4:
main.m32 chars2 lines
The result variable will contain the value of the definite integral.
To plot the integral, you can create a new function handle F that represents the antiderivative of f, and then use the fplot function to plot F over the same interval:
main.m132 chars4 lines
This will plot the antiderivative F of f over the interval [0.3, 0.4].
gistlibby LogSnag