MaplePrimes Questions

hi every one

 im new in maple, i have this problem , the output result (nod) dont disply after the for loop how can i disply it ?( sorry for this question, im new in this prog.)

the 2nd question is the (Typesetting:-delayDotProduct) how can i resolve this???

plz help 

 

for i from 2 to 3 do for j from 2 to 3 do Typesetting[delayDotProduct](rod, [i, j], true) := s*imp*l*i*f*y*subs*({cx^2 = 1-cy^2-cz^2}, Typesetting[delayDotProduct](rod, [i, j], true)) end do end do;
Typesetting[delayDotProduct](rod, [1, 1], true) := collect(rod[1, 1], cos(theta));

Typesetting:-delayDotProduct

Hello every body

i want to solve the following integal but i cant please help.

integral sqrt(a l (l - log(t) - 1) log^(l - 2)(t)×(1 - a×t/(a l log^(l - 1)(t)))/t^2) dt

 

Everytime I try to save Maple 2017 on my Windows 10 computer crashes. With this bug I cannot save anything. I have tried reinstalling maple but nothing changes.

Note this is not a maple autosave issue as I have disabled it.

I am trying to use MultiSeris package to expand a function (nu3 in the code).

The function has two variables, w and u. I want Maple to treat w as a constant and u as the variable.

As you can see from the code, somehow if I replace w by any rational number and do the expansion, I get an expansion with a constant * u term. However, if I replace w with zeta(3) (or pi), then some how the u term vanishes. I think this cannot be correct. Is this a bug?
 

nu3 := -sqrt(-2*sqrt(w)*sqrt(w+2)*u^4+2*u^4*w+4*sqrt(w)*sqrt(w+2)*u^2+u^4-4*u^2*w-2*sqrt(w)*sqrt(w+2)-2*u^2+w^2+2*w+1)+sqrt(-2*sqrt(w)*sqrt(w+2)*u^4+2*u^4*w+4*sqrt(w)*sqrt(w+2)*u^2+u^4-4*u^2*w-2*sqrt(w)*sqrt(w+2)-2*u^2+2*sqrt(-2*sqrt(w)*sqrt(w+2)*u^4+2*u^4*w+4*sqrt(w)*sqrt(w+2)*u^2+u^4-4*u^2*w-2*sqrt(w)*sqrt(w+2)-2*u^2+w^2+2*w+1)+2)+w-1

-(-2*w^(1/2)*(w+2)^(1/2)*u^4+2*u^4*w+4*w^(1/2)*(w+2)^(1/2)*u^2+u^4-4*u^2*w-2*w^(1/2)*(w+2)^(1/2)-2*u^2+w^2+2*w+1)^(1/2)+(-2*w^(1/2)*(w+2)^(1/2)*u^4+2*u^4*w+4*w^(1/2)*(w+2)^(1/2)*u^2+u^4-4*u^2*w-2*w^(1/2)*(w+2)^(1/2)-2*u^2+2*(-2*w^(1/2)*(w+2)^(1/2)*u^4+2*u^4*w+4*w^(1/2)*(w+2)^(1/2)*u^2+u^4-4*u^2*w-2*w^(1/2)*(w+2)^(1/2)-2*u^2+w^2+2*w+1)^(1/2)+2)^(1/2)+w-1

(1)

with(MultiSeries)

[AddFunction, FunctionSupported, GetFunction, LeadingTerm, RemoveFunction, SeriesInfo, asympt, limit, multiseries, series, taylor]

(2)

series(subs(w = 7/13, nu3), u = 0, 3)

series((-(-(2/13)*7^(1/2)*33^(1/2)+400/169)^(1/2)-6/13)+((1/13)*26^(1/2)*((2*7^(1/2)*33^(1/2)*(-(2/13)*7^(1/2)*33^(1/2)+400/169)^(1/2)+2*7^(1/2)*33^(1/2)-27*(-(2/13)*7^(1/2)*33^(1/2)+400/169)^(1/2)-27)/(-(2/13)*7^(1/2)*33^(1/2)+400/169)^(1/2))^(1/2))*u-((1/13)*(2*7^(1/2)*33^(1/2)-27)/(-(2/13)*7^(1/2)*33^(1/2)+400/169)^(1/2))*u^2+O(u^3),u,3)

(3)

series(subs(w = 1, nu3), u = 0, 3)

series(-(-2*3^(1/2)+4)^(1/2)+(2^(1/2)*((2*3^(1/2)*(-2*3^(1/2)+4)^(1/2)+2*3^(1/2)-3*(-2*3^(1/2)+4)^(1/2)-3)/(-2*3^(1/2)+4)^(1/2))^(1/2))*u-((-3+2*3^(1/2))/(-2*3^(1/2)+4)^(1/2))*u^2+O(u^3),u,3)

(4)

series(subs(w = zeta(3), nu3), u = 0, 2)

series((-(-2*zeta(3)^(1/2)*(zeta(3)+2)^(1/2)+zeta(3)^2+2*zeta(3)+1)^(1/2)+(-2*zeta(3)^(1/2)*(zeta(3)+2)^(1/2)+2*(-2*zeta(3)^(1/2)*(zeta(3)+2)^(1/2)+zeta(3)^2+2*zeta(3)+1)^(1/2)+2)^(1/2)+zeta(3)-1)-((2*(-2*zeta(3)^(1/2)*(zeta(3)+2)^(1/2)+2*(-2*zeta(3)^(1/2)*(zeta(3)+2)^(1/2)+zeta(3)^2+2*zeta(3)+1)^(1/2)+2)^(1/2)*zeta(3)^(1/2)*(zeta(3)+2)^(1/2)-2*zeta(3)^(1/2)*(zeta(3)+2)^(1/2)*(-2*zeta(3)^(1/2)*(zeta(3)+2)^(1/2)+zeta(3)^2+2*zeta(3)+1)^(1/2)-2*(-2*zeta(3)^(1/2)*(zeta(3)+2)^(1/2)+2*(-2*zeta(3)^(1/2)*(zeta(3)+2)^(1/2)+zeta(3)^2+2*zeta(3)+1)^(1/2)+2)^(1/2)*zeta(3)+2*zeta(3)*(-2*zeta(3)^(1/2)*(zeta(3)+2)^(1/2)+zeta(3)^2+2*zeta(3)+1)^(1/2)-2*zeta(3)^(1/2)*(zeta(3)+2)^(1/2)-(-2*zeta(3)^(1/2)*(zeta(3)+2)^(1/2)+2*(-2*zeta(3)^(1/2)*(zeta(3)+2)^(1/2)+zeta(3)^2+2*zeta(3)+1)^(1/2)+2)^(1/2)+(-2*zeta(3)^(1/2)*(zeta(3)+2)^(1/2)+zeta(3)^2+2*zeta(3)+1)^(1/2)+2*zeta(3)+1)/((-2*zeta(3)^(1/2)*(zeta(3)+2)^(1/2)+2*(-2*zeta(3)^(1/2)*(zeta(3)+2)^(1/2)+zeta(3)^2+2*zeta(3)+1)^(1/2)+2)^(1/2)*(-2*zeta(3)^(1/2)*(zeta(3)+2)^(1/2)+zeta(3)^2+2*zeta(3)+1)^(1/2)))*u^2+O(u^4),u,4)

(5)

``

``


 

Download bug-in-MultiSeries.mw

Hello,

I am trying to get Maple to display sin2(x)  rather than (sin(x))2.  In particular I am trying to have it output the latex for the prior using latex(sin^2(x) , output=string), or similar.

Any ideas would be greatly appreciated.

 

Thanks,

Mark

 

Supposing as a nice simple example I use the power series command,

series(ex, x=0,8)

to get,

1+x+12x+ 16x+ 124x+ 1120x+ 1720x+ 15040x7

Is there automated anyway to get this as a Sigma representation? 

Hey, as mentioned in the Titel, I have a corrupted worksheet that i would like to compare to my work nowdays(its and old safe)

It was stored on an USB stick.

I uploaded the file uneddited - but i allrdy tryed the repair steps that maple gives us. But also i could have dont something wrong.

 

If the file is not to be repaired i would like to know that atleast. Thank you!

of the matrix

Matrix(n, (i, j) ->binomial(a*i+b*j, j) );

? I mean an explicit formula in terms of a, b, and n which consists of n+1 summands. Of course, it should be found with Maple, not by hand.

How do I plot e.g sin(theta), theta in radians but would like to have the x axis labeled in degrees?

S

I ran the short program below in trying to understand how the read statement works.  The read statement output the expected values of a, b, c to the screen.  I was curious to find where it had stored the file named 'tempor', so inspected my hard drive in the directory where the program was stored - to find it wasn't there.  I then commented the a, b, c statements and the save command so the program is now as in the second version below:

 

 restart:

a:=2:b:=3:c:=4:

save a, b, c, "tempor";

read tempor;

eval(a);

 

  I ran this program, expecting an error message, but it gave me the same output as before.   I again unsuccessfully searched for the file.   I then turned the computer off after saving the program, rebooted and ran thhe same program below.  It output the same values as before.  I'm thinking that Maple creates a special file, and appends it to the program, something like a table.  I'm not quite sure how this would be used, as opposed to just stating te values of a, b,c in the program.

   Any advice or comments gratefully received.

David 

 

restart:

#a:=2:b:=3:c:=4:

#save a, b, c, "tempor";

read tempor;

eval(a);

if i have agroup consist of two values for example {0.2,0.5} how to name 0.2 with a certian symple like R and 0.5 with other sympol

hi . i want to solve this pde. but don't get a solution

restart;
pde := diff(c(x, t), t) = d*(diff(c(x, t), x$2));
ibs := c(0, t) = (c[1]+c[2])*(1/2), c(-infinity, t) = c[1], c(infinity, t) = c[2];
pdsolve([pde, ibs]);
 

To determine whether or not equilibrium points of a nonlinear ordinary differential equation is globally stable, a Lyapunov function is often employed. Since there are no general methods for constructing Lyapunov functions, May I know if there are methods in MAPLE that can be used to determine these Lyapunov functions? Thanks

I have a function inside a file called proc2.mpl

When I read the file from a worksheet using the command read("proc2.mpl"); I see warning messages

Warning, incomplete string;  use " to end the string
Warning, incomplete string;  use " to end the string

printed on the screen.  Now if I copy the same exact code and past it into the worksheet and invoke the function, I see no warning messages.

Why is that? Here is the content of "proc2.mpl"

process_file := proc()
  local str,fileName;


  fileName := "output.txt";
  
  str:="
   \\begin{align*}
     A =& B  \\\\ 
       =& 3
   \\end{align*}
  ";
	
  writebytes(fileName, str);
  close(fileName);

end proc:

Here is screen shot loading the function from worksheet

But now when I call it using process_file(); it works as expected.

Now here is screen shot with same code inside the worksheet itself. No warning messages show up when I call it.

And the above call also works as expected.

So I am now ignoring these warning messages since I also do not know what causes them.

Any ideas why they show up when the code is inside a .mpl file and not in the work sheet?

Maple 2017.3 on windows.

 

 

 

First 878 879 880 881 882 883 884 Last Page 880 of 2427