MaplePrimes Questions

i have an equation like this:

a*b*c =  sqrt(a+2)*d*e

I want that the maple writes this equation like this :  a == .........

how can i achieve this.

thanks.

int(e^(-x^2/2),x=-infinity..infinity)

Can someone please help me on this. I am trying to decode the List [1,128,130]  to get the original list [ 1,2,3] but my program gives me [1, 32,0]. What did i do wrong and how can i get it to give the original list [1,2,3]?

 

 

 

so in the big picture, i have a transfer function and i am wanting to determine it magnitude and eventually later on do some optimization of the function but now i just want to get the real and imaginary parts of the function.  So here is my function:

>tf:=-M[tot](I*C[P]*omega+1/R[eq])/(-I*M[tot]*C[p]*omega^3-(M[tot]/R[eq]+2*Zeta*omega[n]*C[p])*omega^2+I*(omega[n]^2*M[tot]*C[p]+2*Zeta*omega[n]*M[tot]/R[eq]-Theta^2)*omega+omega[n]^2*M[tot]/R[eq])

These four questions arose while trying to learn how to use Maple 12:

How can I break a string into substrings of a given length and store the substrings into a list.

 

i.e.

my string is `i love going to the movies`;

and i want the substring size to be 2

so my list L would look something like this

 

L = [[i ],[lo],[ve],[ g],[oi],[ng],[ t],[o ],[th],[e ],[mo],[vi],[es]]

 

 

Hi.
I try to find the Maximum of the function F1 under some linear constraints with the NLP-Solve command. In the NLP-Solve command I set assume= nonnegativ and the range of the variable y[2]
is given by y[2]=[0..4.9999].
The porblem is that NLP-Solve finds the maximum at
x[2] = 6.33333333333333392, y[2] = -2.22044604925031308*10^(-16)
y[2] is nearly zero, but it is negative an so it is not in the domain of F1. How can that happen if I set  "assume=nonnegativ"

Hi , every one! Now I use the maple12 and feel it convenient to work with execpt that when I open the procedure by maple10 on another computer, the procedure become messy code? what can I do with this? Is there any direct way to do this without rewrite the procedure?  many thanks!

The concrete procedure is as follows:

PDE := diff(u(x,t),t)+diff(u(x,t),x)=0;  IBC := {u(x,0)=x,u(0,t)=0};

pds := pdsolve(PDE,IBC,numeric,time=t,range=0..0.1);

pds:-plot3d(t = 0 .. .1, x = 0 .. 1, axes = boxed, orientation = [-110, 60], color = [0, 0, u]);

and the greatest number in the graph is over 4,500. I do not understand why the number is so high?  The former PDE and the initial value are very small.   many thanks!

 

Is there a way to have a legend on a plot? I knonw we have legendstyle=s move the legend around the plot, but it is often so much nicer to place the legend onto the unused area of the plot. I read it somewhere it was not possible, but my source could well be ancient. If not, any convenient adoptations of textplot for this task?

How do I quickly paste and copy the path to my file or working directory? For example, in R:   IN: > getwd(); OUT: [1] "C:/Program Files/R/R-2.8.2/bin". What's the Maple equivalent for that, if any? How do I set/change a working directory? Thanks.

RandomVariable(Geometric(1/p))+1; ProbabilityFunction(%, j) - FAIL. Adding one is a legitimate way to get a zero truncated geometric distribution, having a simple prob. function. Is there a way to make maple understand that? Why does it fail? Thanks.


What's the easierst way to show (with maple) the integral below evaluates (for alphas, betas>0) to the expression given after it? Thanks.

First of all I must say that I am not particulary impressed by the regression commands (fit and LeastSquares) in Maple.

I find them complicated and I must say quite annoying. You have to have the data in this format, you cannot do that...bla bla bla

Hi,

I need to maximize this function:

f := proc(x::Array)
>   if (x[1]^2+x[2]+x[3]+x[4] < 15 and x[1]^2+x[2]+x[3]+x[4] > 10) then
>      2*x[1]^2+3*x[2]+4*x[3]+2*x[4];
>   else
>      1/x[1]+x[2]^2+x[3]+x[4]^2;
>   end if;
> end proc:  

here is the constraint:

> b1:=add(x[i],i=1..4) <= 20;

and initial point:

> initPoint:=[seq(x[i]=1,i=1..4)]:

command for optimization:

First 2138 2139 2140 2141 2142 2143 2144 Last Page 2140 of 2434