Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi,

 

myproc:=proc(name)
local i;
i:=10;
save i,"i_name";
end proc;

myproc(bob);

basically, I want to save the value i in the file that has name i_bob in this case.

how should I do that?

and dose it work the same way with Matrix? say I would like to Export a Matrix with name Matrix_bob, (or whatever I input in the myproc proceudre? )

 

Thanks.

 

I have a system of five big big big differential equations with a lot of Sin and cos. The system is not complex itself but we have complex  initial condtition?

How can I solve my system with maple with dsolve or something else?

 

Thanks

 

Have attached a worksheet with some questions about getting easy to read answers when solving a trigonometric equation and some other things using the context menu.

Pleas answer in an attached document since my Webb browser of some reason cannot read maple math in the forum.
Yours
Gustav

P.S. I use mapel 12

Edit: removed duplicate content (moderator)

Hi,

How can I read a file that has " in the context correctly? (see the attached file)

Download 7845_not_good.txt
View file details

> read "notgood.txt";

Warning, incomplete quoted name;  use ` to end the name

on line 1, unexpected end of input

Error, while reading `notgood.txt`

 

I have attached a maple document with some questions.  Pleas answer in an attached document since my web browser of some reason cannot read maple-math in the forum.
By the way admin should take a look at the
I have attached a maple document with some questions.  Pleas answer in an attached document since my web browser of some reason cannot read maple-math in the forum.
By the way admin should take a look at the

question1:

DEtools[phaseportrait]

([diff(y(x),x)=-y(x)],y(x),x=-2.2,[[y(-2)=2],[y(-2)=1],[y(-2)=-2]],dirgrid=[17,17],arrows=LINE,axes=NORMAL);

This is the version in Maple 7?

After accessing to the help file,maybe it should be

with(DEtools):

phaseportrait(diff(y(x),x)=-y(x),y(x),x=-2.2,[[y(-2)=2],[y(-2)=1,[y(-2)=-2]],dirgrid=[17,17],arrows=LINE,axes=NORMAL);

but can't generate the resuls.

dirgrid seems not exist in the help.

 

question2:

 

for what value(s) of m the function is increasing (Xderivative > 0)/decreasing (Xderivative < 0):

 

m * log(x) / 2^m + (1-x^m) / (1+x)^m

Hi,

I got some Matrix problems to ask:

First,

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

it will fill with '0's

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

it will fill with '8's

B:=Matrix(3,4,[1,2,3,4,5,6]);

it will fill with '0's

B:=Matrix(3,4,[1,2,3,4,5,6],fill=8);

it does not fill

what's the proper way to do it?

Second,

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

convert(A,listlist);

[[1, 2, 3, 4], [5, 6, 0, 0], [0, 0, 0, 0]]

 

what if I want to have ONE single list as

In my previous posts I have discussed various difficulties encountered when writing parallel algorithms. At the end of the last post I concluded that the best way to solve some of these problems is to introduce a higher level programming model. This blog post will discuss the Task Programming Model, the high level parallel programming model introduced in Maple 13.

BIFURCATION DIAGRAM PROCEDURE
restart:
with(plots):
*xexpr is the logistic function to be iterated (we always start off at x=1/2, which will eventually attract).
*[ra,rb] is the range of the parameter.
*acc is the number of points sampled in [ra,rb]
Bifurcation := proc(initialpoint,xexpr,ra,rb,acc)
   local p1,hr,A,L1,i,j,phi:
   global r,L2:
   hr := unapply(xexpr,x);
   A := Vector(600):
   L1 := Vector(acc*500):

Hi,

I am trying to generate a non-singular Matrix.

 

> KeyMatrix:=Mod(127,RandomMatrix(n),integer);
> if Determinant(127,KeyMatrix)=0 then
> Return(KeyMatrix);
> fi;

Basically, it asks Maple to return to
KeyMatrix:=Mod(127,RandomMatrix(n),integer);
again if the current one if not invertible.

 

however, i have confused myself with RETURN and return

which is should i use?

thanks

casper
 

 

What is the pattern in the following polynom: (how to generate them) 

1:     12 n^2 + 12 n + 1

2:    300 n^3 + 450 n^2 + 160 n + 5

3:   840 n^4+1680 n^3+1030 n^2+190 n+3

4:  1260 n^5+3150 n^4+2730 n^3+945 n^2+107 n+1

5:  27720 n^6+83160 n^5+93030 n^4+47460 n^3+10689 n^2+819 n+5

First 1900 1901 1902 1903 1904 1905 1906 Last Page 1902 of 2233