MaplePrimes Questions

who can help me with following question?

Write a procedure MULTIPLYMATRIX to find the
multiplication product of an h x i matrix and an i x j matrix.

that is what I do. is it right?

mult := proc (A, B, C::evaln) local h, i, j; h := LinearAlgebra[rowdim](A); i := linearalgebra[coldim](A); j := linearalebra[coldim](B); A := array(1 .. h, 1 .. i); B := array(1 .. i, 1 .. j); C[h, j] := `&*`(A[h, i], B[i, j]) end proc

 

 

I want to increase the length of a slider so I can display more values .

How can this be done ?

Hi, I have written the following code in maple.. which I have to compare with the crank-nicolson scheme written in matlab.. that code is well.. but this is not working.. i need to analytically solve the heat equation PDE := diff(u(x,t),t)=1/2*diff(u(x,t),x,x) IBC := {u(x,0)=T0, u(0,t)=0, u(d,t)=0}: vals := {a=1/2, T0=0.1*sin(x), d=pi}: PDE := eval(PDE,vals); IBC := eval(IBC,vals); sol := pdsolve(PDE, IBC) i get this error Error, (in pdsolve/sys) too many arguments; some or all of the following are wrong: [{u(x, t)}, {u(0, t) = 0, u(pi, t) = 0, u(x, 0) = .1*sin(x)}]

Hi,

I have this equation:

> Eq := cT*a*b*sT+cT*c+sT*d+cT*sT;

I want to substitute cT*sT by s2T. But when I try to use subs it doesn't work because (I think) in the first term it's cT*a*b*sT and not a*b*cT*sT. I can't use collect as well because not all terms have the both variables.

This is a simple example, but my equation have like 40 lines and I really want to do in a automate way, so I don't have to do this manually everytime I change the values.

Thanks in advance,
Rodrigo

I have a large variable (an array of 3*n elements, where n may end up large) containing data from a simulation in maple. I would like to further play with this data in matlab, but cant find a way save/export the array in a way which matlab can read from, thanks for any help.

A=[0 0 60

      1 0 7

      0 1 -6]

How can I find the eigenvalues and a correspnding eigenvector for each eigenvalue for A^5.(A to fifth power)

View 1600_Polar Help.mw on MapleNet or Download 1600_Polar Help.mw
View file details

 

Please see the attached Maple 12 file. I need help in entering and solving this type of polar coordinates.

Any help will be appreciated greatly

TIA

Malt_master

As the title says already:
Is it possible to stop Maple when executing the entire worksheet with !!! ?

I want to check some intermediate output before the rest of the worksheet should be executed.
I searched for help on 'break', "quit', "wait', "pause', 'exit', but can't find a command that does the thing I want.

Any ideas?

Petra

Im trying to graph a cardioid r=8-8sin(theta). Ive tried interactive plot builder and even 2d input but i cant get it to work at all. I am pretty new to maple so any help would be appreicated.

thanks

How do I use ProbabilityTable so that the first element in P denotes the probability of zero, and not one? That is I have three states: 0,1, and 2, and I want them be an immediate output of my Sample. Thanks.

with(Statistics):
P:= [1/2,1/8,3/8];
X:= RandomVariable(ProbabilityTable(P));
ProbabilityFunction(X, 0);
Sample(X, 10);
 

<p>Hello Everyone.</p>
<p>Suppose I have a list of list.</p>
<p>[[1,2,3,4],[2,3,5,5],[3,4,4,6],[4,5,5,7]]</p>
<p>I want to sort this list <b>descendingly </b>according to its <b>third </b>element.</p>
<p>So it becomes:</p>
<p>[[1,2,3,4],[3,4,4,6],[2,3,5,5],[4,5,6,7]]</p>
<p>and then I want to sort it <b>descendingly </b>accoring to its <b>fourth </b>element.</p>
<p>So it becomes:</p>
<p>[[1,2,3,4],[2,3,5,5],[3,4,4,6],[4,5,6,7]]</p>
<p>Is there any way to acheive this?</p>
<p>Thank you in advance.</p>

with(Maplets[Elements]);
MySimpleMaplet := Maplet([["Bienvenido Usuario al Generador de Solidos de Revoluci?n"]]);
Maplets[Display](MySimpleMaplet);
Student[Calculus1][VolumeOfRevolutionTutor]();

This post was generated using the MaplePrimes File Manager

Download 10813_Prueba 1 con graficador.maplet
View file details

So I am trying to get the first 25 terms of a sequence, a(n) = (ln (n))/n, this is how I input it in maple:

> q := seq([ln(n)/n, a(n)], n = 1 .. 25);
 

answer:
[ln, a(1)], [ln, a(2)], [ln, a(3)], [ln, a(4)], [ln, a(5)], [ln, a(6)], 

[ln, a(7)], [ln, a(8)], [ln, a(9)], [ln, a(10)], [ln, a(11)], [ln, a(12)],

[ln, a(13)], [ln, a(14)], [ln, a(15)], [ln, a(16)], [ln, a(17)],

[ln, a(18)], [ln, a(19)], [ln, a(20)], [ln, a(21)], [ln, a(22)],

[ln, a(23)], [ln, a(24)], [ln, a(25)]
 

So I am trying to find the arc length of an ellipse, and we have yet to learn it in the classroom.

An example ellipse:

(x^2)/9 +(y^2)/16 =1

Hi, I am working on small number integer problems for my thesis and use Maple to do keep track of ugly equations and to do some numerical simulations to see if the results make sense quantitatively.

Now, I use with(RealDomain) and assume to tell Maple some characteristics of my models, but I cannot find a way to tell Maple that most of my variables are integers (number of different agents in small groups). Is this possible?

Related (or not): I have the following:

N_unr:='sum((n_0-2+u)!/(u!*(n_0-2)!),u=0..n_P-2)';

First 2135 2136 2137 2138 2139 2140 2141 Last Page 2137 of 2434