Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hey,

    I'm doing a little experimenting on Maple and I want to display 3 Matrixes side by side with text explaining what is what. I have a for cycle in which 5 sets of 3 matrixes are made. And my goal is to display each of the 5 sets.
How would I go about doing that? I've tried the following:

display(Array(print(cat("Matriz A", k, AA[k])), print(cat("Matriz B", k, BB[k])), print(cat("Matriz D", k, DD[k]))))

But with this I end up getting this instead of what I want:

http://i.imgur.com/p087Upr.png

Any ideas are welcome, thanks in advance.

Rafael.

I found the following: 

Question:matrix multiplication element by element

Does this not apply to vectors?  If not what syntax is required?  I cannot seem to execute this simple operation which I can easily do in MATLAB.  If you have such a capability why is it not clearly documented in the HELP pages?

HI, I'm new to maple and am having trouble taking partial derivitives. I couldn't find anything in the documentation that seemed to resolve the situation, and can't be the first person to stumble through this part of Maple.

Namely, it seems like the exponential function causes an extra "ln()" term to show up in the solution. I've tried with e^(y) and exp^(y) but nothing seems to be working. When i use the same markup up in wolfram and matlab and Ti-CAS i get the "correct" solution.

I attached a screen showing my input and output.

thanks for any insight!

 

 

 

Dear Maple experts,

 

I would like to teach volume of solids generated by revolution of an area between two curves by washers & cylindrical shell methods uisng Maple technology to my students. In this regard, I request the Maple experts to provide easy commands to meet my requirement.

 

With thanks & best regards.

 

Mr.M.Anand

Associate Professor in Mathematics

How do i implement Runge-Kutta of order 6 for a sytem of boundary value problems on maple

i could have sworn that when itegrating a gaussian maple will write it in terms of the erf functions... but i end up with:

gg:=A * exp( - ( (t - t0) / (tau) )^2 );
val1:=int(gg, t=-x0..x1) assuming t0::real, tau::real, x0<x1, t0>x0, t0<x1, x0::real, x1::real;  #or with no assumptions

 

the results is just gg unchanged... Doing:

convert(val1, erf)

does not help. I can set t0 (or transform it away), and it works, but I was hoping maple would not require this. 

Any thoughts how to help maple with this?

Mathematiaca can read my mind without issues:

 

I've been using maple every few years since 1986, but am a bit rusty again.  I want to save a sequence of variables created in a do loop. I'm sure this is an old easy question, but can't find the answer searching.  For example

for i from 1 to 10 do
a:=i:
save a, `i.m`:
od:
quit

Keeps overwriting the file i.m, but I want files 1.m, 2.m, 3.m, etc.  Don't see how to do this, but should be easy.  

 

Is this a bug?

hypergeom([1, -1, 1/2], [-12,-3], 1);
Error, (in hypergeom/check_parameters) function doesn't exist: missing appropriate negative integers in the first list of parameters to compensate the negatives integer(s): [-3], found in the second list.
 

Yet this hypergeometric series terminates and Maple should be able to handle it, at least according to the Maple help page (the second rule below applies, yet the numerator has a smaller absolute value, so the first rule below applies).

If some   n[i] is a non-positive integer, the series is finite (that is,   F(n, d, z)  is a polynomial in    z).
If some  d[j]  is a non-positive integer, the function is undefined for all non-zero  z, unless there is also a negative upper parameter of smaller absolute value, in which case the previous rule applies.
 

 

Interestingly, the Wolfram Mathematica app can evaluate this to 311/312.

 

 

One way is coloring a surface on both sides. We build equidistant surface with very small radius and stain the equidistant surface in color different from the color of the original surface.
Examples coloring of surfaces on both sides.  Radius equal to abs (0.0001).
x3-0.5*exp(sin(x1+2.5*x2+x3))=0;
(x1^2+x2^2-0.4)^2+(x3+sin(x1*x2+x3))^4-0.1=0;

2_COLORS.mw


Hi all, i have a problem someone help me.

Define per(f(a,b,c)) = {f(a,b,c), f(b,c,a), f(c,a,b)}. I want to write a function removePer() that removes the permutations, example:

ds := {a, b, a^2, b^2, c, c + 2a, a - b, c^2, a + 2b, b + 2c}

then removePer(ds) return {a, a^2, c + 2a, a - b} because per(a) = {a, b, c}, per(a^2)  = {a^2, b^2, c^2} and per(c+2a) ={a+2b, b+2c, c+a}. Note that removePer(ds) can return {b, a^2, c + 2a, a - b} or {c, a^2, c + 2a, a - b}, ...  but just one result.

ds := {ab, bc, a - b^2, b - c^2, a^2, c - a^2},

then removePer(ds) return {ab, a - b^2, a^2}.

Thank you very much.

Hi dears,

How can I draw the solution of the following 3d linear inequalities in Maple?

A:={-x-y+3*z >= 0, -x+2*y >= 0, 3*x-2*y-z >= 0, x > 0, y > 0, z > 0}

I am looking forward to hearing from you

Sincerely yours.

 

hi.how i can solve or fsolve this equations?

i can not with fsolve?

thanks alot

SOLVE.mw


Maple Worksheet - Error

Failed to load the worksheet /maplenet/convert/SOLVE.mw .
 

Download SOLVE.mw

 

Let say I have a linear system of equations with 28 unknowns (Z1, Z2, ..., Z28).

I know that dimension of space of solution > 0. I want for all unknowns to be expressed only by (let say: Z20, Z21, ..., Z28).

How to specify these free variables? I'm pretty sure it is implemented in Maple.

Hello. My question is enclosed in the Maple file. Using DrawGraph I get a complicated mess.

graph.mw

 

Hello,

So as to build a function which gives several outputs, i have made a code with this manner :

Input:=[i1, ..., in]

Output:=proc(Input);

      export o1, o2, o3
      o1=f1(Input);
      o2=f2(Input);
      o3=f3(Input);
      end module

End proc;

By doing, output1:=Output(Input):-o1; , i obtained my result. However, as my structure begins with the procedure (proc End proc), I can't export my result in package.

For this reason, I'm thinking about changing the structure of my code by starting with the creation of the module and put all the functions inside.

Input:=[i1, ..., in]

Output:=module():

export o1,o2,o3;
option package;
o1:=proc(Input)
f1(Input);
end proc;

o2:=proc(Input)
f2(Input);
end proc;

o3:=proc(Input)
f3(Input);
end proc;
   
End module;

Can you give me your feedback on the two structures ? Do you think that the second choice Module->Functions is more appropriated ?

Thanks a lot of your help and feedback.

First 1013 1014 1015 1016 1017 1018 1019 Last Page 1015 of 2224