Does anyone have a good idea on how to do this?
I have two polynomials
alpha := x -> sum('a[k]*x^k','k'=0..N);
and
beta := x -> sum('b[k]*x^k','k'=0..N);.
where N is some constant. I then create a third polynomial
g := x -> beta(alpha(x))^2;
Then I integrate g(x) from some point to an other point, say -1 to 2:
d_tot := int(g(x), x=-1..2);
The result is now a 'polynomial' of the indexes a[i] and b[i] from alpha and beta. So far so good but here I'm stuck.
Next I would like to choose the indexes a[i] and b[i] for all i=0..N in order to minimize d_tot. Therefore I want Maple to see the a[i]'s and b[i]'s as variables and not coefficients so I can do some manipulations (for instance try minimize(d_tot)).

I am currently working on kinetics area. We have for Kinetic Energy KE = 1/2*m*v^2 and for momentum P= m*v.
I need to check for the presence of 'm*v' term in the kinetic Energy expression and want to express Kinetic energy in terms of momentum. That is KE= 1/2*m*v^2 should be expressed as 1/2*P*v after checking for the presence of m*v. The momentum expression should be contained in the formula foe Kinetic energy.
Anyone please help me on this
Siva

I am trying to numerically solve the equation
(1+j/365)^365=1.1
using command:
fsolve((1+j/365)^365=1.1,j);
or
fsolve((1+j/365)^365=1.1,j,0...1);
both cause Maple a lot of problems...cycling. I lost patience. Anyone know how to get the answer?

I have used the dsolve feature and solved a normal ODE. The problem ariss from evaluating that result for different y(x) values. I get the y(x) attached to some message regarding a table. The ODE was y'=-400t*y(t). After solving the diff eq, I evaluated y(t) at t=0 and I got a nice answer, which I defined as t[0]. A few lines later I attempted to use t[0] in a simple subtraction step but got 19.7table[....]... where 19.7 was the correct answer but the subsequent phrase table referred to earlier y(t) evaluation. So, even though t[0] gives a nice answer it can't be used for any calculations. How do I rectify this problem?

Hi,
Again I'm hearing voices! I have beat myself to death and have found the end of the internet in my search for help on the solutions to String deflection problems:
I need to find u(x,t) for the following:
Initial velocity = 0, a small k = 0.01, L=1 c^2 = 1
Problem 1
k*(sin(2*Pi*x)
;
#Problem 2
k*(sin(Pi*x)-1/3*sin(Pi*3*x));
The second problem is a homework problem.
The first is a problem I want to do to see how this works, but I can't grasp the idea.
The problems are from the 9th Ed of Kreyszig AEM. (Great for proofs, short on examples)

I'm working through an example program.
It seems to be working correctly.
However, I would like to know why this procedure produces a Maplet ?
Any other insight into this procedure you can provide would also be helpful.
thanks,

View 285_dicegame.mw on MapleNet or

Download 285_dicegame.mwView file details
A scientific journal, which will remain nameless, requires that tickmarks on the plots face IN rather than OUT. I don't see how to change this in Maple... I can't blame them, it seems like a triviality.
So is there a way? And failing that, anyone have any ideas. I'm thinking I'll load the gifs into gimp and fix them that way, but that seems awfully roundabout.
Thanks.

A while ago I posted to a forum which was not the one I intended to post to. I reposted but my original post remains in the MAPLE TA forum. Is there any way to remove one's own post from a forum?

Sorry in advance, for the low-level question. What Maple command allows you to form an (n,2) matrix from two (n,1) column vectors?
thanks a lot

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.
Cheers Dave

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
>sss;
and I get the output
[[1, 2], [2, 4], [3, 6], [4, 8], [5, 10]]
as expected.
Then I enter this
MakeData := proc () local i; global ggg; for i to 5 do
ggg[i, 1] := i; ggg[i, 2] := 2*i
end do
end proc
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.
This parses
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?

Hello everyone!
How do I get the context menu elements in command line, I tried
ContextMenu(x^2-3=0);
but I got error.
Note: above was working in an old version of maple.
-Ali-

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:
[632,96,185]
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).
Another question:
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?