MaplePrimes Questions

Hi everyone, I have a problem with the plot of a function I'm trying to use. The function is quite complicated and when I try to plot it between k=0..100 for example, it will only show the half of the points. What is the problem?
Here is the function Im talking about:
question.mw

Thanks for your help

one angle is 45 degree and one side is 4 find the other remaining two angles and sides, how?

part of my codes are:
func[1] := (1/2)*(c+s)*x[1]+s*x[3]+(s-c)*x[1]*x[2];
func[2] := (1/2)*(c-s)*x[1]+s*x[3]+(s+c)*x[1]*x[2];
func[3] := -b*x[2]-x[1]^2;
They are just three ODE , how to fix the error?Where is the so-called recursive assignment...?
The program works well when:
"func[1] := x[2] + (x[1]^2 - x[1]*x[3]);
func[2] := - x[1] +  (x[2]^2 + x[1]*x[4]) + x[2]^3;

Twenty five observations of a random variable X are :130.8  129.9  131.5  131.2  129.5  132.2  133.7  127.8  131.5  132.7  134.8 131.7  133.9  129.8  131.4  132.8  132.7  128.8  130.6  131.1  133.8  130.5 131.4  131.3  129.5  //.. How do I construct a stem and leaf display using stems of 127, 128, 129, ... 134? I also need to find all quartiles.. Thank you to anyone...

eq1 := {
diff(S_h(t),t)= mu_h*(N_h-S_h(t))-(bi_h*b)/(N_h+m)*S_h(t)*I_v(t),
diff(I_h(t),t)=(bi_h*b)/(N_h+m)*S_h(t)*I_v(t)-(mu_h+ga)*I_h(t),
diff(R_h(t),t)=ga*I_h(t)-mu_h*R_h(t),
diff(S_v(t),t)=A-(bi_v*b)/(N_h+m)*S_h(t)*I_h(t)-mu_v*S_v(t),
diff(I_v(t),t)=(bi_v*b)/(N_h+m)*S_v(t)*I_h(t)-mu_h*I_h(t),
mu_h=0.0000457,mu_v=0.25,b=1,ga=0.167,
bi_h=0.4, bi_v=0.4,m=0,N_h=10000,A=5000,
S_h(0)=10000,
I_h(0)=1,R_h(0)=0,S_v(0)=10000,I_v(0)=1
};

 

Hi all,

I have a problem with 'Rank' when trying to find the rank of a matrix.

For some purpose, I have to load both with(LinearAlgebra) and with(Statistics) packages.

Without using Statistics[Tally], (not loading the Statistics package), the Rank works fine.

With the Statistics package, Rank sometimes gives an error, saying,


Error, (in Statistics:-Rank) expected 1-dimensional Array, but .....

I now fix this by using LinearAlgebra[Rank].

In my complex root finding problem it is essential to obtain complex roots in each period of the function. to do this i have write the following code with functional periods but it doesnt work. would you please tell me why? and how can i correct the code?

A curve has the equation y=f(x).

Find the eqn of the normal to the curve at the point x=xin the form y=g(x, x0) and write a procedure to plot curve y=f(x) with its normal at any point on the curve.

Animate the plot so that the normal is seen sliding along the curve.

How can I simplify the following expression

sin(x+pi/4)+cos(x+pi/3)

to the following form

A*sin(x+B) or A*cos(x+B)

where A and B are calculated constant

 

How do I convert the following trigonometric expression?

sin(A)+sin(B)->2sin(A+B)/2*cos(A-B)/2

Hi!

I want to program a specific type of tensor product in to Maple. For two 2x2x2 tensors (hypermatrices)

(A|B) and (C|D), there is a product x defined by equation (2) in the link that yields a 2x2x2x2 tensor

(it would be too difficult to type the product here). If someone

could please let me know how to write a short algorithm that takes as input (A|B) and (C|D) 

and outputs the product (represent it however is most convienent). 

Hi I am writing a program that studies the stability of a dynamical system. I want to sort the eigenvalues of the matrix by magnitude in ascending order and then assign theses eigenvalues to a variable and then check to know those that are outside the unit circle. I am dealing with a 5 by 5 matrix. Do not want to go through  the permuation of thses eigenvalue which is lengthy. can someone help me out. JUS HOW TO ASSIGN EACH EIGENVALUE TO A VARIABLE. THANK YOU

Dear All,

I am trying to find the exact amplitude and phase angle for the signal, with values attached using MATLAB.  BUT the phase angles doesn't make sense.  Can you guys help me in doing the FFT of the signal and find the amplitude and phase using MAPLE.   I am interested in,  fundamental component, 5th , 7th , 11th, 13th 15th, 17th and 19th harmonics with their phases.

I shall be very thankful if anyone of you can actually solve the problem.

I'm looking to create a procedure,Inside:=proc(expr), in maple that takes an expression and will return a direct graph of all the elements,including the operands,of that expression.

For instance for x+2*y*z^2 the output should be (in a graph form not a tree)

                           +
        ...

On Maple 16.02, plattools[transform] only works for very simple procedures. It does not work for procedures with the `if` function even with the simple arrow definition. or with any if-block in a more general proc definition.

With the sequence of commands:

simp:=plot(sin(x), x=0..Pi);
f:=(xx,yy)->`if`(yy > 0, [xx,4*yy], [xx,yy]);
trns:=plottools:-transform(f);
trns(simp);

The first three statements run without error messages. At the last...

First 1616 1617 1618 1619 1620 1621 1622 Last Page 1618 of 2427