MaplePrimes Questions

Hi, I have a 4x4 matrix

How can I arrange it diagonally and make it into 3 repleating matrix? I'll get a 12x12 matrix, with the middle representation having negative values?

For example,

A:=Matrix([[2,2,8,5],[6,3,4,9],[5,5,7,4],[2,1,3,2]]);

I am trying to get something like B:=DiagonalMatrix(A,-A,A);

May I know what is the correct way of doing it please? Thanks.

Dear everyone,

 

  Hello,

 

  I have a stupid question. From

http://www.maplesoft.com/support/help/Maple/view.aspx?path=examples/string

  There are many examples about "" '' `` related to character string (let me call it in this way for a moment )

  Actually what is the precise difference between these symbols?

 

Thank you very much in advance

with best regards

Dear everyone,

 

  Excuse me, I made some editing work witn the result of maple in editplus, then copy the editplus result to maple. Then I received several ">"

 

E.g.

f1:=2;
f2:=3;

copy to editplus then copyback to maple, it becomes

>f1:=2;
>f2:=3;

I have to "shift+enter" in maple to create new lines without ">", then copy the content of one line with ">" to the new created line without ">".

Hi,

I'm trying to creat u which is a function of ξ. but I do not have the full definition of u yet. how can i write it in a way where when i differentiate it, it'll give me something like u(ξ),ξ? And that i can differentiate it once more with ξ and it gives me u(ξ),ξξ and so on?

please advice. Thanks.

Hi I have a problem with the resolution of an equation. When I tried to solve it it returns "solutions may have been lost"... Here is the problem:

restart:with(Statistics):
> x:=rand()/10^12;

197859430267
x := ------------
500000000000

> X:=RandomVariable(Gamma(2,4));

X := _R

> XL:=RandomVariable(ChiSquare(3));

I've the equation

(-x^2+eta^2+2*x*xi+2*x*eta-xi^2-2*xi*eta-2*x*y-2*y*eta+2*xi*y+y^2)*(-x^2-2*x*eta+eta^2+2*x*xi+2*xi*eta-xi^2+2*x*y-2*xi*y-2*y*eta+y^2)-(x-xi)^4+6*((x-xi)^2)(-y+eta)^2-(-y+eta)^4

The answer is 0

But I can't get the answer by simplify and expand

Then which .Thanks

We have the data
X := Vector([seq(.1*j, j = 0 .. 16), 1.65], datatype = float):
Y := Vector([2.61, 2.62, 2.62, 2.62, 2.63, 2.63, 2.74, 2.98, 3.66,
 5.04, 7.52, 10.74, 12.62, 10.17, 5, 2.64, 11.5, 35.4], datatype = float):
and the model function of x with 5 parameters
F := a*cosh(b*x^c*sin(d*x^e)):
How to fit F to the data  up to the sum of the squared residuals being about 0.001?
Is such good fit possible with Maple at all? It is interesting that Mathcad (not MATLAB...

[edited by moderator] Consider the question of finding all partitions of a given set, for example as done using the two procesures in this previous Answer.

my problem is that i wont to represent the second Proc can not have a set as input 

Dear everyone,

 

  I have a weird question about the "print" command. Suppose I have somthing like

 

f1:=x^2;
f2:=x^3;
f3:=x^4;
print(f1,f2,f3);

 

 It will print

I frequently have a list of numbers and what I want is a sorted list of unique elements with a count of how many times each element appears.  Is there some way to do this with ListTools?

Here is my code:

listhist := proc(L)
local S, T, i;
T := table(sparse):
for i in L do T[i] := T[i]+1; end do;
S := sort(map(op,[indices(T)]));
[seq([i,T[i]], i=S)];
end proc:

I have 2 questions that I can solve by hand, but I need to show how to solve using maple.

1. Solve for y: dy/dx = -y/x ; y(1)=-1

 

2. Indicate at each of the twenty-five points specified on the graph frame to the right (this is just a x=-2..2 and y=-2..2 graph with a 25 point grid) what the slope of the solution curve to y'=y is at that point.  Sketch the curve for the initial condition y(0)=0. The indicated points are at the (x,y) points from...

Is it too much to expect Maple 13 to do some basic simplification that a 8th grader student could do to clean up some of the wacky expressions it outputs?  In the above, why could it not divide by "C" straight away?  And why does it leave a minus sign hanging outside the expression?  A little more development programming effort devoted...

Hi, Could some body help me here, Am trying to use dsolve to solve the following system of equations but I am getting the following error

difS := diff(w(t), t) = nu+delta*z(t)-(1/100)*psi*w(t)*(x(t)+epsilon*y(t))-mu*w(t);

difI := diff(x(t), t) = (1/100)*(1-rho)*psi*w*(x(t)+epsilon*y(t))+PI*y(t)-h[1]*x(t);

difC := diff(y(t), t) = (1/100)*rho*psi*w*(x(t)+epsilon*y(t))+(1-q)*eta*x(t)-h[2]*y(t);

difR := diff(z(t), t) = q*eta*x(t)+beta*y(t)-(mu+delta)*z(t)

What is the maplet in maple ? What does it help me?

What is the maple sim ? where I can download it ?

Hello,

I'm trying to fit a double-diode equation using Maple.  I can get an analytic form of the fitting function in my two variables V and J of the form V(J), but I want J(V), so I'm using fsolve to extract this.  I'm then trying to fit the resulting function to a set of experimental data, but I'm getting an error about writing to an rtable.  I've tested the function, and it gives me a numeric value if I give it numeric inputs.  Is there a way I can fit it?  Code is below:

First 1739 1740 1741 1742 1743 1744 1745 Last Page 1741 of 2434