fenghedo

32 Reputation

4 Badges

14 years, 194 days

MaplePrimes Activity


These are questions asked by fenghedo

Hi guys,

I am not a experienced user of Maple. So the question is probably very basic. Any help is appreciated.

I have 2 coupled first order linear equations. I may be able to solve them manually, but I thought it would be a perfect application for Maple. The problem is that I have no idea how to do it in maple. So here it goes.

d(y1)/dt = (a-y1)/T1 - k1*y1 + k2*y2;

d(y2)/dt = (b-y2)/T2 - k2*y2 + k1*y1;

Under the following constraint: a*k1 = b*k2;

How may I solve this problem in Maple?

 

Thanks a lot.

 

I have the following code:

Likelihood := proc (r, t, s) options operator, arrow; product(exp(-(1/2)*((rr(k)-r*cos(t))^2+(ii(k)-r*sin(t))^2)/s), k = 1 .. n) end proc;

rho0 := 0; theta0 := 0; sigmae20 := (sum(rr(k)^2+ii(k)^2, k = 1 .. n))/(2*n);

l1 := Likelihood(rho0, theta0, sigmae20);

simplify(l1);

Mathematically it should simplify to exp(-n). However, maple seems not able to arrive at this simply solution. What am I doing wrong here?
 

Hi,

I am a beginning user and have no idea how one can view or import a table structure in maple. I used a procedure to compute some tables and it frustrates me that I don't know how to get them out efficiently.

The procedure is like the following:

get_quantities:=proc(j1,j2)

local x_min, x_max, y_min, y_max, x_seg,y_seg,idx_x,idx_y, q1;

option trace;

x_min:=j1-1.5;

x_max:=1.5;

y_min:=j2-1.5;

y_max:=1.5;

Page 1 of 1