First time here? Check out the FAQ!
answered 13 years ago
Try
def Pabrf: return N((abs(Be*exp(-i*Hrfrf(Phip=0)*tp)*Al))^2) plot(Pabrf)