MaplePrimes Questions

variables := s, phi(s);
                           s, phi(s)
expr := (k*s^2+1)*(diff(phi(s), s, s))-k*phi(s)+s*k*(diff(phi(s), s));
  /   2    \ / d  / d        \\                  / d        \
  \k s  + 1/ |--- |--- phi(s)|| - k phi(s) + s k |--- phi(s)|
             \ ds \ ds       //                  \ ds       /
expr2 := int(expr, s);
                           /   2    \ / d        \
             -s k phi(s) + \k s  + 1/ |--- phi(s)|
                                      \ ds       /
int(expr2, s);
            /              /   2    \ / d        \   \
         int|-s k phi(s) + \k s  + 1/ |--- phi(s)|, s|
            \                         \ ds       /   /

solve({int(expr2, s)});
Error, (in solve) cannot solve expressions with int(-s*k*phi(s)+(k*s^2+1)*(diff(phi(s), s)), s) for s


I have two big symbolic and numerical matrices in a worksheet, whats the best way and easiest way to transfer them to another maple worksheet?

Why is Maple 13 giving me

instead of (s-3)/((s-3)^2+4)?

Thank you!

It seems if for some reason Maple runs a command that returns an error but the error is outputing to the display, and it is very very large, javaw.exe will consume enormous amounts of memory and pretty much freeze your system.  It took me forever to get into task manager on Windows to try to kill the processes slowing my system down to a crawl. 

For example if you run say listplot on a 60,000 set data element which is not in the correct form for listplot, Maple will error each element and attempt to output it to the screen which on my system quickly ran javaw.exe up to 2.5 Gb of memory usage. But then it went to zero again (probably due to garbage collection or something) and quickly ramped back up into 2 Gb.  Momentarily I was given enough system control to kill some processes to Maple and Firefox which eventually allowed me to take back control of my system.  When this first occurred, I did a hard reset, the second time I wanted to see if I could have any luck otherwise, but it took 5 minutes of frustration to get my system back to normal operating condition.

Hopefully Maple developers can use this information to prevent system hangs like this in the future.  Additionally pushing the interupt the current operation did little to stop the process already underway. 

how to intergrate 6*(int(int(r(1-r^p*cos(t)^p-r^p*sin(t)^p)^(1/p), t = 0 .. (1/2)*pi), r = 0 .. 1))

when p = 0.05 to 4 with 0.05 increments.

Thanks a lot

it should be (cos(t))^p not cos(t)^p. same for sin(t)^p

int(sqrt(t^4+1)-t^2, t = 1 .. infinity);
       (1/2*I)*sqrt(2), I)+(1/3)*sqrt(2)*(-(2*I)*EllipticK(I)-EllipticK(I*sqrt(-2)))-(1/3)*sqrt(2)*
       EllipticF((1/2)*sqrt(2)+(1/2*I)*sqrt(2), I)-(1/3)*sqrt(2)+1/3

The result is the correct value for int(sqrt(t^4+1)-t^2, t = 1 .. -infinity).

I am trying to find the orthocenter in the x,y plane, given three coordinates  (x1,y1) (x2,y2) (x3,y3).

I am trying to avoid division by zero.

local m1,m2,m3,L1,L2,L3,slope;

if x1=x2 then L1:=x=x1;
elif y1=y2 then L1:=y=y1;
else m1:=-1/slope(x2,y2,x3,y3); L1:=y-y1=m1*(x-x1);
end if;

if x2=x3 then L2:=x=x2;
elif y2=y3 then L2:=y=y2;
else m2:=-1/slope(x1,y1,x3,y3);L2:=y-y2=m2*(x-x2);
end if;

if x1=x3 then L3:=x=x1;
elif y1=y3 then L3:=y=y1;
else m3:=-1/slope(x1,y1,x2,y2);L3:= y-y3= m3*(x-x3);
end if;
end proc:


{x = 11/4, y = 9/2}



Error, (in slope) numeric exception: division by zero






Hi! I need a help to understand how the variables in maple 17 works

I want to know if it's possible to change a variable, that I have already declared in a proc, along the body of a procedure. For example this procedure:

>Bucklingload:= proc(a,b,c,d,Q,pr)
local A;
A:=FN(a,b,c,d,Q); #vector of another gobal variable
while A[1] >0 do
Q:=Q+pr ;#"Q"and "pr" are both a list, wich the first value of the vector B decrease his value after an increase estimated in "pr" in "Q"
end do;
end proc;

After execute the worksheet, maple display this message:" illegal use of a formal parameter ". I want to know if its possible to use Q as a local variable chaging his value in this loop

Thank you all and sorry for my english!

The following website contains worksheets written in an early version of Maple.

I would like to import worksheets 5.1 and 5.2 and work with them in Maple 2016. Is this possible?

Clicking on the worksheet id, e.g. 5.1, displays an .mws worksheet written in HTML which is not supported as an import format.

I'm currently working on compressing audio files using DCT to remove the frequencies that only contribute marginally to human perception of the sound. To do this, I'd like to do as the attached image describes. Sadly, I'm having trouble plotting the values of the DCT-coefficients as done in figure 6.4 b) and d). 

Any help would be kindly appreciated.

write a maple to find occrunces of 5 in a die.

write a maple script to find whether the given function is one one or onto

given a binary sequence of length n ,how many sequence of length n can be generated such that there are no 2 adjacent 0's.

write a procedure to find the permutation of word LEADING considering {E,I,A} together .



I am solving a problem using the homotopy perturbation problem, I have the code already but I don't know how to fix my f0(eta) = 1 - e^-(eta). f0(eta) is the assumed solution. 



5 6 7 8 9 10 11 Last Page 7 of 1529