Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Technology is changing the face of education. An obvious statement, of course. Everybody from students to instructors to parents will agree. Over 40 years ago, the introduction of the pocket calculator allowed us to change the focus from menial calculations to applying our knowledge to solve problems and discover the power of mathematics. 

Since then we have seen leaps from innovation to innovation. The personal computer. Computer Algebra systems. Tablet computing....

In the following code, why is B returned unevaluated?

restart:
A:= a:  B:= 2:
F:= _a-> eval(`if`(A,B,C), a= _a):
F(true);
                               B
eval(B);
                   ...
Hello,When I plot graphs I can simply add colors, gridlines, labels, etc., but when I want to do this with the command 'Explore' it doesn't work.The commad 'Explore' sees the words 'color', 'labeldirections' and other commands as extra variables.For exmaple is does recognize 'labels' and 'title', which I can fill in, but it doesn't some of the other commands I would like to insert.I have a formula for deriving the eigenfrequency of a concrete beam, where I want to add some things to (like the things mentioned above).Somebody knows what the difference is between 'normal' plotting and plotting with 'Explore'?Explore_-_Adding_Col.mwGreetingsFrank

1 1 2

1 2 2

for example, above

is there a function to represent it as a group

Dear sir,

 I am unable to evaluate the mean pressure drop graph for different values of k , i will be thankful to you if any one solve my problem

here is my codes and mean pressure drop equation

restart:

with(DETools):

with(IntegrationTools):

eta:=1+k*x+epsilon*sin(2*Pi*x):

epsilon:=0.1:

R:=1.0:

A:=0.0628:

delta:=0.1:

k1:=k*delta:

alpha:=1.0:

A1:=(-exp(-alpha*x))/(2*eta^3):

A11:=diff(A1,x):

A2:=(3*exp(-alpha*x))/(2*eta):

A22:=diff(A2,x):

A3:=12*R*A1*diff(A1,x):

A4:=6*R*(A2*A11-A1*A22):

A5:=(1/2)*((k1+A*cos(2*Pi*x)))*((diff(A1,x)*eta+diff(A2,x)*(1/eta)))-(A3*eta^4/280)-(A4*eta^2/60):

A6:=(A3*eta^6/420)+(A4*eta^4/120)-(1/2)*((k1+A*cos(2*Pi*x)))*((diff(A1,x)*eta^3)+diff(A2,x)*eta):

psi0:= A1*y^3+A2*y:

psi1:= A3*y^7/840+A4*y^5/120+A5*y^3+A6*y:

psi:=psi0+delta*psi1:


V:=-diff(psi,x):

U:=diff(psi,y):

Ux:=diff(U,x):

Uy:=diff(U,y):

U2y:=diff(Uy,y):

g1:=delta*Ux:

g2:=int(U2y,x):

g22:=(1/delta)*g2:

g3:=U*Ux:

g33:=int(g3,x):

g4:=V*Uy:

g44:=int(g4,x):

P:=g1+g22-R*(g33+g44):

P1:=(1/eta)*int(P,y=0..eta):

Po:=subs(x=0,P1):

d1:=(Po-P1):

a0:=subs(k=0.0,d1):

a1:=subs(k=0.1,d1):

a2:=subs(k=0.5,d1):

plot([a0,a1, a2], x=0..1, title = "Mean Pressure Drop, alpha=1.0", legend = [k = 0, k= 0.1,k= 0.5], titlefont = ["ROMAN", 15], labels = ["x ", "Pd"], labeldirections = ["horizontal", "vertical"], labelfont = ["HELVETICA", 10], style = [POINT],symbol = [BOX,CROSS,CIRCLE],color = [black, black,black], axesfont = ["HELVETICA", "ROMAN", 8], legendstyle = [font = ["HELVETICA", 9], location = bottom],axes=boxed);

The "ExcelTools" seems can work based on Excel 2003 format,which can only support 2^16 rows.Excel 2010 format cantains much more rows and columns. So I want to know when maple can support Excel 2010?

Hello,

I am trying to solve the coupled system of PDEs. Maple throws below error(highlighyted in bold letters) when I try to solve it using 'pdsolve'. Attached is the maple worksheet(BatteryPDEEquationsBackUp8thJuly13_constantCurrentInput.mw) having complete code. Please help. 

> pds := pdsolve(BatSys, IBC, numeric, variables, time = t, range = 0 .. L[N]+L[sep]+L[P]);

Error, (in pdsolve/indexlex) invalid input: a string/name list is expected for sort method `string`...

-(1/2*I)*(I*Pi*ln(2)-I*Pi*ln(g+4)-2*ln(2)^2+2*ln(2)*ln(g+4)-2*ln(2)*ln(-1/2*I)+ln(g+4)*ln(-1/2*I)-ln(g+4)*ln(2*I)+ln(-1/2*I)*ln(4-g)+ln(4-g)*ln(2*I))/Pi

 

why doesnt maple simplify this expression any further?

I tried radnormal and simplify.

but he complains when using combine saying:

Error, (in combine/ln) second argument must be a maple type

Why is that?

Yesterday I’ve updated to the new Version 17.01 and now I’ve the problem that I cannot enter  ‚}‘ and another problem is an exponent e. g. x^2. To enter it I have to write x^22. The first number is not shown in the worksheet.

I hope someone can help me to solve this problem.

what is the normalization constant N for this wave function x range from  x=o and x=L ?

Eigenvectors(A, C) can be used to solve the eigenvalue problem:
A . x = lambda . C . x

if a new term " lambda^2 . D . x " is added to the right hand side, where D is a new matrix, is there a simple way to solve the new eigenvalue problem:

A . x = lambda . C . x + lambda^2 . D . x

Thank you!

Simple Maple procedure definition is like this:

f := proc (x, y) sin(x+y)-exp(x)*y end proc:

How can I use indexed parameter declarations, say:

f := proc (x[1], y[2]) sin(x[1]+y[2])-exp(x[1])*y[2] end proc:

where x and y are arrays of unknowns. It seems that this does not work in Maple 13.

Originally, I want to solve a set of n nonlinear equations with n unknowns W[n] using fsolve(), and the output is a set of equations, say:

Hello,

I have some strange problems with the function "Equal" in LinearAlgebra, which should allow me to compare matrices.

First of all, this works without any problems:

> restart; with(LinearAlgebra);
> A := Matrix(2, 2, [[0, 0], [0, 0]]);
> Equal(A^2, A);

Maple correctly returns "true" since here A is equal to its square.

 

But:

> restart; with(LinearAlgebra);
> A := Matrix([[a, 0], [0, 0]]);

Good day,I was wondering what I do wrong when I use this procedure, which I want to plot.I just created a small procedure and don't know why the two methods are different.Maple_-_Proc_IF_THEN.mwThank you.Greetings, Frank
First 1448 1449 1450 1451 1452 1453 1454 Last Page 1450 of 2223