maxima newbie usage question
  Home FAQ Contact Sign in
sci.math.symbolic only
 
Advanced search
POPULAR GROUPS

more...

sci.math.symbolic Profile…
 Up
maxima newbie usage question         


Author: Jim
Date: Mar 31, 2008 13:01

I am attempting to do partial derivatives of a function in wxMaxima.
The function is:
e(x,y,ybar,m,s):=sum(ybar[l]*product(exp(-1/2*(x-m[k])^2/s[k]^2),k,
1,p),l,1,M)/sum(product(exp(-1/2*(x-m[k])^2/s[k]^2),k,1,p),l,1,M)-y;

I tried
diff(e(x,y,ybar,m,s), m[k])
and many variations with no luck.

I also looked through the documentation with no luck.
1 Comment
Re: maxima newbie usage question         


Author: rjf
Date: Apr 2, 2008 08:04

On Mar 31, 1:01 pm, Jim lmco.com> wrote:
> I am attempting to do partial derivatives of a function in wxMaxima.
> The function is:
> e(x,y,ybar,m,s):=sum(ybar[l]*product(exp(-1/2*(x-m[k])^2/s[k]^2),k,
> 1,p),l,1,M)/sum(product(exp(-1/2*(x-m[k])^2/s[k]^2),k,1,p),l,1,M)-y;
>
> I tried
> diff(e(x,y,ybar,m,s), m[k])
> and many variations with no luck.
>
> I also looked through the documentation with no luck.

1. try simplifying your problem.
2. try stating what response you got.
3. try stating what response you hoped to get.

It appears that you believe that m[k] occurs somewhere in sum(m[k],k,
1,p).
m[k] does not, because k is a logically bound variable inside the sum.
Show full article (0.85Kb)
no comments