MaplePrimes Questions

Hello, Is there a way to assign mutiple variables at once using the 'if-then' statement?For example: if A:=3, then B:=434 and C:=52 and H:=2039So that I fill in these variables B, C and H one time and then when A is chosen to be a value, all other values are assigned automatically. Like filling in a table actually.In a simple 'if-then' statement I assign one variable, which works well.a:=10if a:=10 then b:=4elif a:=20 then b:=3end if:b ends up being 4I don't know how to add variable C and H, without getting an error.It should be very simple in my opinion, but I just don't see it.Greetings,Frank


EXCERPT  WITH  ISOLATE  QUESTION  -

 

Do maple have hashtable ?

i would like to use for premutation group

a := f(x,y) = f(y,x)

how to get x and y from left side f(x,y)

and get y and x from right side f(y,x)?

I got Maple 17 a few weeks ago and it has been helpful in my learning of calculus, but not as much as I had hoped.

 

I also bought the Calculus study guide which is a big disappointment. For example, I tried using the integration methods tutor for the integral  cos(5x).

The correct answer is  1/5 sin(5x) + C and is found with U-substitution. 

With the tutor, I entered cos5x into the function box.  cos(5x) does not work....

Hello, everyone. I would like to know how to use fsolve results in future commands.

I have the resulting values for the variables a,b,c,d and e and would like to use them to calculate all the X's.

Any help would be appreciated. I also uploaded the file.




Equações_H,_S_e_G_(r.mw

i have three nonlinear pde equations and i want to solve them,with any initial or boundary condition possible,can anyone help me solve them?
it is of no importnace to solve them numerially or not. 

from (x+2)^4

sys:=[a[2]*b[2] = 1,a[1]*b[2]+a[2]*b[1] = 8,a[0]*b[2]+a[1]*b[1]+a[2]*b[0] = 24,a[0]*b[1]+a[1]*b[0] = 32,a[0]*b[0] = 16];


solve(sys, {a[0],a[1],a[2],b[0],b[1],b[2]});

hello friends 
please can anyone can help me in removing error from this worksheet.
working.mw

How would one plot the intersection of the surface z=3.5 and the surface described by a matrixplot

Here is an arbitrary matrixplot surface for an example.

matrixplot([[3, 4, 5, 1, 1, 1, 2, 3, 2, 1, 7, 8], [2, 3, 4, 1, 2, 1, 2, 1, 2, 1, 2, 5], [7, 8, 7, 6, 7, 8, 4, 5, 3, 2, 1, 2], [2, 1, 2, 4, 5, 6, 5, 6, 7, 6, 5, 6], [2, 3, 2, 4, 5, 4, 5, 6, 7, 6, 5, 4], [9, 8, 7, 8, 9, 8, 9, 8, 7, 8, 9, 8], [9, 8, 7, 8, 8, 8, 7, 8, 6, 8, 7, 6]]);

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?

First 1566 1567 1568 1569 1570 1571 1572 Last Page 1568 of 2430