Need help to solve a summation till infinity problem

asked 2020-09-09 13:27:30 +0200

Srp123 gravatar image

updated 2020-09-09 14:18:39 +0200

slelievre gravatar image

I need to solve a problem in SageMath:

P = sum of alpha_m from (K-1) till infinity,

where

alpha_m = integrate((((lmd*t)^m)/factorial(m))*b(t)*exp(-lmd*t), t,0,infinity),

and lmd is a constant value.

How to feed this in SageMath? I tried to input as:

sum((integrate((((lmd*t)^m)/factorial(m))*b(t)*exp(-lmd*t), t,0,infinity)), m,K-1,infinity)

It shows error.

edit retag flag offensive close merge delete

Comments

You should provide the whole code. In particular, how are b(t) and lmd defined ?

tmonteil gravatar imagetmonteil ( 2020-09-09 17:35:44 +0200 )edit

What error do you get. The code provided is not enough to reproduce the problem.

slelievre gravatar imageslelievre ( 2021-01-02 10:07:59 +0200 )edit