Hi, I've been trying to do this numerical integration on Matlab for my Math Exploration, but I keep getting the error "Unexpected Matlab Expression".
The function that I am trying to integrate is attached as a file. Below is what I have put into Matlab to integrate. By the way, I am actually integrating from 0 to 6, not 0 to 5.
integral((sqrt(9x/10-x^2+xsqrt(21x/5+81/100)))(sqrt(1+((1/(2sqrt(9x/10-x^2+xsqrt(21x/5+81/100)))(9/10-2x+sqrt(21x/5+81/100)+21x/(10sqrt(21x/5+81/100))))^2))),0,6)
I have checked the brackets and am fairly certain they are all in order.
Thank you!
Best Answer