Message Boards Message Boards

0
|
3849 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Evaluate integral that involves derivatives?

Posted 6 years ago

I have an analytical expression that I want to evaluate (please see the attached picture). Here is the code I tried `s[r_]=[Alpha] * r ;

xxSum[r_] := Sum[(-s[r])^kk/kk!*D[G[r], {r, kk}], {kk, 0, 4}];
xxLAB[r_] := xxSum[r]*f[r];
A = NIntegrate[xxLAB[r], {r, 100, Infinity}] `

The above code did not work. I appreciate your help

Attachments:
POSTED BY: mohamed alzenad
 s[r_, \[Alpha]_] := \[Alpha]*r
 G[r_] := Exp[-r] (* I assume *)
 f[r_] := Sin[r]  (* I assume *)

 xxSum[r_, \[Alpha]_] := Sum[(-s[r, \[Alpha]])^k/k!*D[G[r], {r, k}], {k, 0, 4}];
 xxLAB[r_, \[Alpha]_] := xxSum[r, \[Alpha]]*f[r];
 A[\[Alpha]_] := NIntegrate[xxLAB[r, \[Alpha]], {r, 100, Infinity}]; 
 A[10^10] (* I assume  alpha = 10^10  *)
 (* 303.243 *)
POSTED BY: Mariusz Iwaniuk
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract