# Maple 15 Questions and PostsMaple 15 Questions and Posts Feed

These are Posts and Questions associated with the product, Maple 15

November 29 2015
1 6

Hi

If I have this equation

and I need to use different Z, it's like

how can I solve it

Many Thanks

Amal

### Differential Equation Help...

November 18 2015
0 1

Hello I am trying to plot this differential equation,  have not had any success can any one help me.

plot(q(t)= Ce^-1/2 + sin2t +cos4t)

not sure what i am doing wrong and i just used the plot command

Thanks

### How do i plot a curve using a parametric plot...

November 11 2015
0 2

we have a curve (x^2+y^2)^2=x^2-y^2

parametric representation of the curve is given by

x(t)=cos(t)/1+sin^2(t)

y(t)=sin(t)cos(t)/1+sin^2(t)

and we are asked to plot the curve using a parametric plot for -Pi<t<Pi

### Can Maple be installed into ICS?...

November 04 2015
0 1

i got UI interface error when i install maple 15 into intel compute stick in window 8.1

### How to convert string input to symbol?...

October 29 2015
1 1

I run the following working maplet:

Where "muutujad" is a procedure I defined and which returns the three inputs in the form [TF1,TF2,TF3].

It works fine, but if I insert "theta" as input, it of course stays in the string form, not Θ. Even if I copy the symbol and paste it in the textfied, it doesn't accept the symbol. Is there any way I can convert the text input to actual symbol?

### Questions re an irregular solid angle...

October 20 2015
2 8

The downloaded worksheet below displays 3 points on the unit sphere which define a solid angle with a triangular face. The sides of the solid angle's are red arcs on the surface of the sphere and red radii which outline the planar sides within the sphere.

Three questions:

1. Is there a way to make the surfaces of the solid triangle more apparent by filling them with color?

2. Is there a way to calculate the area of the face on the surface of the sphere?

3. Is there a way to calculate the volume of the solid triangle?

### Error, cannot lock repository ...

October 19 2015
1 2

The following commands show that I have an existing archive containing one procedure.

Why do I receive the error message when I try to save a second procedure to the same archive. The procedure I am trying to save has been executed within the same worksheet where I issue the savelib command.

> LibraryTools[ShowContents]("C:\\Program Files\\Maple 15\\Earl.mla");

LibraryTools[WriteMode]("C:\\Program Files\\Maple 15\\Earl.mla");

savelibname := "C:\\Program Files\\Maple 15\\Earl.mla";

savelib('CreateCircleVector');

[["RotateDisplay.m", [2015, 10, 1, 16, 3, 22], 41984, 655]]
[["C:\Program Files\Maple 15\Earl.mla", "WRITABLE"]]
"C:\Program Files\Maple 15\Earl.mla"

Error, cannot lock repository, C:\Program Files\Maple 15\Earl.mla

### Shading of a plottools object...

October 17 2015
0 4

Shading is not valid as an option in the command defining a plottools object e.g. a parallelepiped, and yet shading can be selected in the actual display of the object. Is there a way to code for shading when creating the object?

### How to use function in boundary condition? ...

October 09 2015
0 1

Hi !

I am trying to solve a pde with initial/boundary conditions, in the numeric mode. It works very well when I provide 3 numerical conditions : 1 initial condition (uniform distribution at first), and two boundary conditions.

Now I want to switch the initial condition to a function of r. It's a polynome I obtained after interpolation of another result. I tested it and the function interp20(r) works. But the pdsolve doesn't seem to evaluate the function, when it comes to start the procedure and pdsolve doesn't return a module as it should, although it doesn't send any message error.

You can see the code following, with the error messages I get.

Is it strictly impossible to use a function as an initial condition ?
Is it just a problem I could solve by converting the function or its result to something else ?
Is float the right type of input ? For example, if I write a:=283.15, is it a float ?
Have you already had similar problems ? How did you solve them ? Where could I find working code examples on this ?
Could I solve this problem with non-uniform initial condition with another Maple function ?

Then you very much for your help !

### indefinite integration...

October 08 2015
0 0

I have a problem about the integration of a function. The maple returns mathematical form of the given command

the function is

fn :=(-4.079067798*10^(-16)+3.422708023*10^(-16)*I)*(3.363377947*10^(-11)+5.977507284*10^(-12038)*I+(3.363377947*10^(-11)+4.678081798*10^(-22)*I)*erf(1.664331698*10^15*qq-0.2503507367e-1-4.649313602*I)) *exp(-2.77*(qq/(tau*tau))^2)*exp(-I*w0*qq)*exp(-(ss-qq)/T_pop)

qq is the integration variable qq=-inf..ss

w0=10^15

tau=10^(-15)

T_pop=30e-15

### Old code does not run ...

October 07 2015
0 4

i have to compute lie algebra condition by using maple 15, but currently i have code in maple 5.,

i already try to run in maple 15 but it say 'error,unable to match delimeters'
i try to find error, but i cant find it..
the coding are here...

check[lie]:=proc(A,n)

local  i,j,k,l,m;

for i from 1 by 1 to n do

for j from 1 by 1 to n do

for k  from 1 by 1 to n do

if A[i,i,k]<>0 then

RETURN ('Input is NOT a Lie algebra (',i,i,k,')=',A[i,i,k], 'is not zero');

elif A[i,j,k]+A[j,i,k]<>0 then

RETURN ('Input is NOT a Lie algebra,(',i,j,k,')+(',j,i,k,')=',A[i,j,k]+A[j,i,k],'is not zero');

else

for 1 from 1 by 1 to n do

if

simplify(sum(A[i,j,m]*A[m,l,k]+A[j,l,m]*A[m,i,k]+A[l,i,m]*A[m,j,k],   m=1..n))<>0

then

RETURN('Input is NOT a Lie algebra---the Jac(',i,j,l,') is not zero');

fi;

od;

fi;

od;

od;

od;

print('Yes,input IS a Lie algebra');

end:

can anyone help me here? Thank You..

Here, i attached the result in printscreen

### How to pdsolve heat transfer equation?...

October 06 2015
1 2

Hi everyone,

I am trying to solve the equation of heat tranfer, time dependent, with particular Initial and boundary conditions but I am stuck by technical problems both in getting an analytical solution and a numerical one.

The equation

the equation.

I defined a and b numerically. domain is : and I defined surf_power numerically.

The initial condition is : , T0 defined numerically

The boundary condition is : , because it has a shperical symetry.

To me, it looks like a well posed problem. Does it look fine ?

Problem in analytical solution :

It doesn't accept the boundary condition so I only input the initial condition and it actually gives me back an expression that can be evaluated but it never does : I can't reduce it more than an expression of fourier which I can't eval. The solution :
The solution calculated in (0,0). I was hoping T0...

Are you familiar with these problems ? What would be the perfect syntax you would use to solve this ?

The numerical solution problems :

Sometimes it tells me that my boundary condition is equivalent  to 0 = 0, and I don't see why. Some other times it tells me I only gave 1 boundary/initial condition even if I wrote both. Here is what I wrote for example :

(because it kept asking me to add these two options : 'time' and 'range')

Are you familiar with these problems ? What would be the perfect syntax you would use to solve this ? I must at least have syntax problems because even if I keep reading the Help, it's been a long time since I used Maple.

Thank very much for any indication you could give me !

Simon

### How to execute this in Maple 15?...

October 02 2015
1 0

i have to compute lie algebra condition by using maple 15, but currently i have code in maple 5.,

check[_]lie:=proc(A,n)

local  i,j,k,l,m;

for i from 1 by 1 to n do

for j from 1 by 1 to n do

for k  from 1 by 1 to n do

if A[i,i,k]<>0 then

RETURN ('Input is NOT a Lie algebra (',i,i,k,')=',A[i,i,k], 'is not zero');

elif A[i,j,k]+A[j,i,k]<>0 then

RETURN ('Input is NOT a Lie algebra,(',i,j,k,')+(',j,i,k,')=',A[i,j,k]+A[j,i,k],'is not zero');

else

for 1 from 1 by 1 to n do

if

simplify(sum(A[i,j,m]*A[m,l,k]+A[j,l,m]*A[m,i,k]+A[l,i,m]*A[m,j,k],   m=1..n))<>0

then

RETURN('Input is NOT a Lie algebra---the Jac(',i,j,l,') is not zero');

fi;

od;

fi;

od;

od;

od;

print('Yes,input IS a Lie algebra');

end:

can anyone help me here? Thank You..

September 17 2015
1 5

Here is one I have been struggling with lately:

I have a relatively large module with many procedures inside (plus some other data structures). In one of the procedures, it turns out that it would be convenient to have a subprocedure defined inside to both shorten the code by avoiding duplication as well as make it more error proof (once the subprocedure is debugged it'll be correct everywhere it is used). Here is the skeleton

Lattice:=module() option package;
export Track;   ...
Track:=proc(arguments) uses LinearAlgebra;
local trackElement;
...

for ... do
result:=trackElement(parms); # This does not work
...
end do

trackElement:=proc(arguments) uses LinearAlgebra;
...
end proc; # trackElement

end proc; # Track;

end module; # Lattice

The problem I have is that procedure trackElement is not recognized as i found out running the code in the debugger. I can make it work by taking trackElement out of Track and make it local to the Lattice module. While functionally this works (and it is how I have it now programmed), I do  not like it as every proc in the Lattice module can see trackElement. That should not be so, I want it local to procedure Track, which is where it belongs.

I really thought I could define procedures within procedures. Am I wrong? Or is there something else ging on?

TIA,

Mac Dude

PS: The whole module is more than 100 kB of Maple code sitting in a library. I refrain from uploading it here as it would be non-trivial to get going even for a simple test case.

### How to solve this ODE?...

September 13 2015
0 11

Here it is:

I'd like to input it as 2-D and solve for x as a function of t.

 1 2 3 4 5 6 7 Last Page 3 of 43
﻿