Post Reply 
recalling subroutine
02-21-2015, 07:26 PM (This post was last modified: 02-21-2015 07:27 PM by salvomic.)
Post: #1
recalling subroutine
hi,
why this code won't work?
Code:

GF1();
// declared 'cause I don't want to export GF1

EXPORT gamma(a,l,n)
BEGIN
local f;
f:=int(GF1(a,l,X), X, 0, n);
return f;
END;

GF1(a,l,n)
BEGIN
return (l*e^(-l*n)*(l*n)^(a-1))/Gamma(a);
END;

I get undef...

The formula in G1 is right.

Thanks

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)