May be this is more of a math problem, but I really need to know how to do it? can anyone help?
Integrate[Sin[n1 \[Pi] sp] Sin[n2 \[Pi] sp] (1/(s - sp)), {sp, 0, 1}]
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this communityMay be this is more of a math problem, but I really need to know how to do it? can anyone help?
Integrate[Sin[n1 \[Pi] sp] Sin[n2 \[Pi] sp] (1/(s - sp)), {sp, 0, 1}]
Something like this?
Int = Integrate[Sin[n1 π sp] Sin[n2 π sp] (1/(s - sp)), sp]
(Limit[Int, sp -> 1] - Limit[Int, sp -> 0]) // FullSimplify
n1
,n2
ands
? $\endgroup$ – zhk Jul 14 '17 at 0:58n1[Pi]
is a syntax error. $\endgroup$ – John Doty Jul 14 '17 at 1:11