Hello, I desire a different version of CodeGeneration[Fortran], and at the recommendation of the Maple 10 help system, copied the files in 'C:\Program Files\Maple 10\samples\CodeGeneration\Fortran77' and started making some very minor changes (i.e., changing .ne. to /=). However, I have not been able to work out how to load this modified file into Maple. The help system points to CodeGeneration:-LanguageDefinition:-Add(langname, moddef) function. The key is, I guess, is to load the modified file into moddef. I do not see how I can do this.
I enter this at the command prompt
>sss := [[1, 2], [2, 4], [3, 6], [4, 8], [5, 10]]
Then I enter this at the command prompt
and I get the output
[[1, 2], [2, 4], [3, 6], [4, 8], [5, 10]]
Then I enter this
MakeData := proc () local i; global ggg; for i to 5 do
ggg[i, 1] := i; ggg[i, 2] := 2*i
Then I run the proceedure MakeData and I test various values of ggg[i,j] to verify that ggg[i,j] = sss[i,j]
But when I type ggg at the command prompt, the output just returns ggg, it doesn't give me the whole display, as it does when I type sss as the command prompt. Is there any way to get that output when just using ggg ?
After reading pg. 201 in the INTRODUCTORY PROGRAMMING GUIDE, I got the impression that one could declare both local and global variables within a proceedure.
proc1 := proc () local i; end proc;
So does this
proc1 := proc () global j; end proc;
But not this
proc1:=proc() local i: global j: end proc;
Is it possible to declare both global and local variables from inside a procedure?
How can enter a command in MAPLE to calculate a partial sum of an already exhibited continued fraction?
How do I get the context menu elements in command line, I tried
but I got error.
Note: above was working in an old version of maple.
Hello everybody,I am a newby and
I need some help here quite desperately:
We have a number, for example: 632096185
Is there a way in maple to make a list of numbers like that:
that is, cutting our number in the 3-digit
numbers: 632,096,185 and putting them in a list?
I want to have a list of integers
and NOT strings.["632","096","185"] won't do
(except if there is a way to turn strings into numbers
like this "123"->123).
I need to make a routine where the input is
a list.Is there a way to make a procedure proc(L)
where L is a list?!
If not, any similar way?
I was wondering if someone can help me locate worksheets for Pre-Calculus (high school level)? I'm a new Maple user and still trying to figure out how to use the software. Also, my teacher gives us problems that are not in the book, which makes it really difficult.
I want to use dsolve (Maple 10) to iteratively solve two systems of ODEs adjusting the boundary conditions until the solutions match at a fitting point.
My problem is that the output of dsolve is a set of functions, and, each time dsolve is called, the solutions might not be reported in the same order as the last time dsolve was called. This makes it difficult to write a routine that compares the results of each iteration.
I would appreciate any advice on how to extract the solutions from the dsolve output.
Sorry for the poorly formated post of the same name. I'm still trying to figure out how to cut and paste from Maple to this forum. Is it possible?
Also the main question is: I have the results of a Fourier series and I wish to factor out a common coefficient:
Is there a command(s) to get the results:
(4/Pi)*(sin(x) + sin(3*x).....+ )
View 1600_11.2-6 Primes 1 Post.mw on MapleNet or
How would I use Maple to find two prime numbers that, if multiplied, would generate a 400-digit number?
I know that the purpose of Maple is not to be a typesetting worksheet. But the improved typesetting abilities (Ver 10) are useful for making demonstration worksheet. Specifically, I would like to make a demonstration worksheet of a mark-recapture model I am currently working on. The main purpose is show how how the likelihood is built, step by step, following the paper's notation. As well as showing estimable parameters (including sparse data scenarios). Since my work is used by biologists rather than mathematicians, I feel it is a worth pursuit.
The only problem is that I cannot dupicate notation such as:
I have still been using mostly release 8, but was wondering
whether MAPLE 10 now can do things standard in MATLAB, JAVA:
Is there a way in release 10 (maybe via maplets?) to use
the mouse for extract the coordinates of a point from a
maple-plot [[ e.g. want to use initialize a dsolve() by
graphically selecting the initil data.]]
going further, is there a way to "draw" a curve on a maple
plot using the mouse -- and get the coordinates of points
along the curve back into the worksheet )(e.g. as an array
that can be further manipulated)?
I have done some searching and have been unable to find out how to use complex numbers in polar form in Maple 10. Is this possible? If so, what about degrees versus radians and can both polar and rectangular representations be used in the same document/worksheet?
I am having problems with subs and collect. Unfortunately, I still haven't figered out how to make the input part of a MAPLE equation visible in the post. I still have the problem that it just appears as "MAPLE equation" so anyone who is kind enough to want to help me will have to look at my file
View 2292_SubstitutionAndCollect.mw on MapleNet
or Download 2292_SubstitutionAndCollect.mw
I would like to apply a relation such as
f(x,a)*f(x,b) = (f(x,a)+f(x,b))/c (where x,a,b are any real number say)
to simplify an expression such as
a3*( f(y1,a1)+f(y1,a4) )*( f(y2,a2)+f(y2,a5) )/c/c
The only way I can see to do this is to struggle to get the function in the `right' order with no constants between them, and then do a substitution for every variable triple (y1,a1,a2) that occurs.
There must be a better way. I've looked around the forums but I don't even know what to look for really so any suggestions of where to look would be great.