'negative number to a fractional power not real' while evaluating integral [closed]

asked 2015-05-19 10:35:43 +0100

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

I want to evaluate the following integral. B=40 Ef=1.1310^(-18) KT=4.0310^(-21) mu=1.7329.2710^(-24) f(t)=(sin(t)(cos(t))^(3/2))/(exp((Bmu*cos(t)-Ef)/KT)+1) numerical_integral(f,0,pi,eps_rel=1e-20)

Howver, it gives "
Exception ValueError: ValueError('negative number to a fractional power not real',) Can somebody help? Ajit Kumar

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by kcrisman
close date 2015-05-19 15:41:43.977670