MaplePrimes Questions

Hi please, how can I pair two lists and form another list? 

P := [.6286420119, -.6286420119, 0., 0., 0., 0., 0., 0., 0., 0., 0.]

Q = [2.106333379, 2.106333379, 4.654463885, 7.843624703, 10.99193295, 14.13546782, 17.27782732, 20.41978346, 23.56157073, 26.70327712, 29.84494078]

I want to pair them into something like this:

W := [ [.6286420119,2.106333379], [-.6286420119,  2.106333379] ... ]

Then use pointplot(W) and  display(seq(pointplot(W[j], j = 1 .. 20), insequence = true):

Hello Everyone.

Hope you are fine. I have two following queries

1. Are there any builtin commands in Maple, so that we can apply the finite difference method directly to the PDE's?

2. We all know about "BurdenFaires, and Burden's NUMERICAL ANALYSIS" book. The important Maple codes are discussed on this book. Is there any website where I can take these codes on Maple files?

I am waiting for kind response.

Thanks

I am trying to present a linear combination of vectors as such using mathML. In order to prevent automatic simplification I use InertForm package. The problem is, it also leaves me with unevaluated vector command, which is the only part of the expression I don't want to be inert.

Str :=  "1/3*Vector([3^(1/2), -3^(1/2), 3^(1/2), 0]) -1/3*Vector([3^(1/2), 3^(1/2), 3^(1/2), 0])+ Vector([2,1,1,0])":

Set := {op(InertForm:-Parse( Str ))};
Set := {-%*(%/(1, 3),

  %Vector([%^(3, %/(1, 2)), %^(3, %/(1, 2)), %^(3, %/(1, 2)), 0])),

  %*(%/(1, 3),

  %Vector([%^(3, %/(1, 2)), -%^(3, %/(1, 2)), %^(3, %/(1, 2)), 0])

  ), %Vector([2, 1, 1, 0])}

printf(InertForm:-ToMathML(`%+`(eval(op(Set)))))

Hence my question: Is there a way to only evaluate the vector command, while keeping the rest of the expression inert?

Hi,

How to animate my fractals procedures ? I managed to put them in the procedure, to explore them with the Explore command, but I can’t animate them, ( i want to export them in GIF format.) Thank you for your help

 

Fractalsanimate.mw

Hello,

I am a first time user of Maple. I have an (m x n) array called 'arr' with missing values. For all non NULL values within the array I'd like to apply a function, called 'EigenvalueEquation'. My Ansatz is as follows:

map(EigenvalueEquation, arr)

It produces an error since one cannot execute a function with a NULL value as an input. How can I skip those entries within my array? I'd like to avoid looping over the entire array.

Any help is greatly appreciated.

Patrick

Two of the three Watt's curves plotted in this worksheet display with gaps.

Why is this and how can these curves be displayed without gaps?

WattsCurve.mw

 Function given like this

J:=0

F:=proc(operation)

J:=0;

for i to n do
    for j from i + 1 to n do if A(i, j) = 1 then J := J + mod(X (operation) Y); end if; end do; end do;
end proc;

I have simply put the word operation their to explain

If call the fuction F by F("m")  m means multiple the I should get * operator should multiple and it should multiply

If I call function F by F("A") A means Addition then should get + operator should add and it should do +

If I call function F by F("S")  S means Subtraction then should get - operator should subtract and it should do -

mod means absolute value always

Hi

Keep getting "Error, null" on every calculation i make. It indicates hidden spaces or something weird????.

Screenshot of it is included. 

https://imgur.com/a/wSdUeqe

Would be great with a fix or some help because this is driving me mad....

I have  a:=1; b:= 2; c:=1; d:= 6; e:= 2;

P:= a*b*c*d*e;

How do I get  P:=1*2*1*6*2  result with the Maple command?

Thank you for your help!

Hello,

I have a term:

eq:=2*cosh(xi)^8*alpha*B[2]^2 + 4*A[2]*sinh(xi)^6*cosh(xi)^2 + 4*A[1]*sinh(xi)^5*cosh(xi)^3 + 4*sinh(xi)^4*cosh(xi)^4*A[0];

I want to extract the coefficient of for example "sinh(xi)^6*cosh(xi)^2" but the following codes failed:
coeff(eq,(sinh(xi)^6)*(cosh(xi)^2));

frontend(coeff,[eq,(sinh(xi)^6)*(cosh(xi)^2)]);

please help me to solve it.

Thanks in advance.

It would be nice to have the file name in addition to the name of the code attachment on the top.

I enter ...

5*a^2 + 2*b - 7 = 0

a:=1

b=

and get b=b not b=1

I thought I figgured out how to do this a couple of weeks ago but after an absense from Maple Flow I'll be darn'd if I can remember how to make it work.

Of course I can manually manulape the the equation...

b := (-5*a^2 + 7)/2

a:=1

then enter b =

and get the rusults 1 ... but I thought Maple Flow would do all that for me in the first instane above...

Thanks for any help.

 

 suppose i have outputs of several functions retured as variables float

A , B , C , D ,E , F , G , H , I , J , K ,L,M ,N , O, P,Q

I run the functions several times that all the function are run even if one is run 

so for each run I get a row of the matrix M in that order how to create from that outputs

each output is appended as next row in the same way to the matrix in the same order

Then I want the final matrix after all run to me exported to excel

2 3 4 5 6 7 8 Last Page 4 of 2132