I try to integral below function. But it makes some error when I try.
syms x, T, Ef, kQ = x.^k/(1+exp(-(x-Ef)/T));int ( Q, x, 0.2, 1);
it makes error they cannot find something.
————————————————
Finally, I want to make below function
Function [K] = ff(a,b,c);k=a; Ef =b, T = c;Q = x.^k/(1+exp(-(x-Ef)/T));k = int ( Q, x, 0.2, 1);
Also, if it is possible, numerical integral method is fine for me. I think I can use Simpson numerical integration but please give me some hints to use it.
Thank you!
Best Answer