MaplePrimes Questions

Hi! Any help would be greatly appreciated :)

I have two matrices S and R, where 

S :=

Matrix([[a_1, a_2, a_3, a_4], [b_1, b_2, b_3, b_4], [c_1, c_2, c_3, c_4], [d_1, d_2, d_3, d_4]]);

such that 

a_1*d_1 = b_1*c_1
a_2*d_2 = b_2*c_2
a_3*d_3 = b_3*c_3
a_4*d_4 = b_4*c_4;
and 
R :=
Matrix([[s_1, t_1, r_1, l_1], [s_2, t_2, r_2, l_2], [s_3, t_3, r_3, l_3], [s_4, t_4, r_4, l_4]]);

Hey, I have a system of ODE and I can't draw it's phase curve. I tried to use DEplot and phaseportrait, but it doesn't work. Here is my system:

 dx/dt=x

dy/dt=ky              (k is a constant)

 

Here is my piece of code:

DE := [diff(x(t), t) = x(t)];

DF := [diff(y(t), t) = k*y(t)];

with(DEtools);

phaseportrait([DE, DF], [y, x], t = -5 .. 5, y = -5 .. 5, x = -5 .. 5, k...

Greetings

It occured to me to try to animate this spiral.

I found some code on the interweb. but when you run the animation, only one triangle appears, to be replaced by another. how to get them to stay?

Spiral_of_Theodoru.mw

Hey, I'm trying to plot the phase curve of the simple system of ODE, BUT it shows me an error which one I don't understand at all :)

Here is my code:

DE := diff(x(t), t) = x(t);
DF := diff(y(t), t) = k*y(t);
with(DEtools);
phaseportrait([DE, D], [y, x], t = -5 .. 5, [[y(0) = 1, x(0)], [y(0) = 0, x(0) = 2], [y(0) = 0, z(0) = -2]], y = -5 .. 5, x = -5 .. 5, color = black, linecolor = red);

Error, (in DEtools/phaseportrait) invalid initial...

Hi! Any help would be greatly appreciated :)

I have two matrices S and R, where 

S := Matrix( [ [a_1, a_2, a_3, a_4], [b_1, b_2, b_3, b_4], [c_1, c_2, c_3, c_4], [d_1, d_2, d_3, d_4] ] );

such that 

a_1*d_1 = b_1*c_1
a_2*d_2 = b_2*c_2
a_3*d_3 = b_3*c_3
a_4*d_4 = b_4*c_4;
and 
R := Matrix( [ [s_1, t_1, r_1, l_1], [s_2, t_2, r_2, l_2], [s_3, t_3, r_3, l_3], [s_4, t_4, r_4, l_4] ] );
such that 

I am trying to get Maple to calculate for me.. Let X and Y have a trinomial distribution with parameters n=3, p1=1/6 and p2=1/2. I am supposed to find E(X), E(Y), Var(X), Var(Y) and Cov (X,Y). Thank you to anyone who can assist with this. And if  you can help me understand the concept behind it.. Im having some troubles with bivariate distributions in my Stats course :( Thanks!

In Maple 15.01, the commands

   f := x -> sin(2 x)
   h := n -> (1/Pi) int(f(x) sin(n x), x = -Pi .. Pi)
   g := x -> add(h(n) sin(n x), n = 1 .. 4)
   g(x)

result in

   sin(2 x)

which is what I expect.  However, the command

   evalhf(g(2))

results in the error message
   "Error, unable to evaluate function `int` in evalhf"
so evalhf is not being passed sin(4) as I want....

How does one simplify an expression and keep the base number, if it is a perfect square?

If for example I have  (16^j)/16  and I want  16^(j-1)

simplify(%)
                                  (4 j - 4)
             ...

I am new to Maple and trying to use it for a school project. I actually have this section of code written in a textbook and I want to use Maple to solve and plot this predator prey model. Here is what I have, Im not sure why it won't work any help will be geatly apprciated.

> e1 := diff(e(t), t)-0.325e-1*e(t)+.8*e(t)*w(t);
> e2 := diff(w(t), t)+.6*w(t)-0.5e-1*e(t)*w(t);
> sys := {e1, e2};
> ic := {e(0) = 18.0, w(0) = 0.21e-1};
> ivp := `union`(sys, ic);

Hello, I have a problem with plotting graphs with a constant.. I have one system of equations and one another equation:

dx/dt=x(t)

dy/dt=ky(t)

and 

|y|=C|x|^k

 

I need to compare theit curves.

k and C are constants. I thought it is alright if I would remove constants, BUT there is one in the power, so I have no idea what to do.. 

I just tried to plot the system, but it doesn't work either:

I'm filling an array of functions like this:

 

below code is calculate basis of kernel and kernel

i guess basis of image is 

remove(has, Ga, [r,u,v,w]); if this correct, i eliminate this, i can get the image
however it include variable 'a'
is it correct? if not, how to calculate? 
my final goal is to make unexact sequence into exact sequence

Hello, I have a problem in plotting the vector field of dx/dt=sinx/sint

It shows me an error:

Error, (in DEtools/dfieldplot) unable to evaluate function `sin(x)` in evalhf

Dunno how to fix it

Here is my code:

DE := [diff(x(t), t) = sin(x)(t)/sin(t)];
with(DEtools):
DC:=[sin(x)/sin(t),.1]:
dfieldplot(DE, x(t), t = -2 .. 2, x = -1 .. 2, arrows = medium, title = 'Diff', color = DC);

Hello,


I have an awfully complicated expression depending on three variables m1, m2, m3 and a lot of parameters. When I try to substitute m1, m2 and m3 by 0, 0 and 1 respectively, m1, m2 and m3 are effectively replaced but lots of (0)s and (1)s appear after some of the parameters (and even 0(0), 1(0), 1(1), 0(1)...)

What does this mean and how to avoid it? Following is an example of the problem.

Instruction:

First 1625 1626 1627 1628 1629 1630 1631 Last Page 1627 of 2434