MaplePrimes Questions

HeunTPrime.mw

 

Hi all,

I hope the best for every of you...

I wonder how it can be possible to plot this function (HeunTPrime) in Maple18???

Thanks a lot

Hi, i need to plot n(celle) versus vavg, is it possible? i have tried a lot of different things without luck.

navg is in the range between 0-10

ts is between 0-100

Hope one of you can help me!

Thanks

 

 

 

equ1 := -l*cos(gamma)^2*(1-cos(`β__f`))/(alpha^2*sin(sigma))-`λ__2`*w*v^2*sin(sigma)/(g*lcos(gamma)^2) = 0

-l*cos(gamma)^2*(1-cos(`β__f`))/(alpha^2*sin(sigma))-`λ__2`*w*v^2*sin(sigma)/(g*lcos(gamma)^2) = 0

(1)

equ2 := -l*cos(gamma)^2*(1-cos(beta[f]))/(alpha*sin(sigma)*tan(sigma))+l*cos(gamma)^2*z__0*sin(`β__f`)/(alpha*sin(sigma)*(2*l*cos(sigma)^2))-`λ__1`*`#mi("L")`*sin(sigma)*cos(gamma)+`λ__2`*L*cos(sigma)*cos(gamma)-`λ__2`*`wα`*v^2*sin(sigma)/(g*l*tan(sigma)*cos(gamma)^2) = 0

-l*cos(gamma)^2*(1-cos(beta[f]))/(alpha*sin(sigma)*tan(sigma))+(1/2)*cos(gamma)^2*z__0*sin(`β__f`)/(alpha*sin(sigma)*cos(sigma)^2)-`λ__1`*`#mi("L")`*sin(sigma)*cos(gamma)+`λ__2`*L*cos(sigma)*cos(gamma)-`λ__2`*`wα`*v^2*sin(sigma)/(g*l*tan(sigma)*cos(gamma)^2) = 0

(2)

equ3 := l*cos(gamma)^2*sin(`β__f`)*tan(sigma)/(alpha*sin(sigma)*(2*l)) = 0

(1/2)*cos(gamma)^2*sin(`β__f`)*tan(sigma)/(alpha*sin(sigma)) = 0

(3)

equ4 := -`λ__1`*`#mi("L")`*cos(sigma)*sin(gamma)+`λ__2`*L*sin(sigma)*sin(gamma)-2*`λ__2`*tan(gamma)*`wα`*v^2*sin(sigma)/(g*lcos(gamma)^2)-l*sin(2*gamma)*(1-cos(beta[f]))/(alpha*sin(sigma)) = 0

-`λ__1`*`#mi("L")`*cos(sigma)*sin(gamma)+`λ__2`*L*sin(sigma)*sin(gamma)-2*`λ__2`*tan(gamma)*`wα`*v^2*sin(sigma)/(g*lcos(gamma)^2)-l*sin(2*gamma)*(1-cos(beta[f]))/(alpha*sin(sigma)) = 0

(4)

equ5 := L*cos(sigma)*cos(gamma)-w = 0

L*cos(sigma)*cos(gamma)-w = 0

(5)

equ6 := `#mi("L")`*sin(sigma)*cos(gamma)-`wα`*v^2*sin(sigma)/(g*l*cos(gamma)^2)

`#mi("L")`*sin(sigma)*cos(gamma)-`wα`*v^2*sin(sigma)/(g*l*cos(gamma)^2)

(6)

answer := solve({equ1, equ2, equ3, equ4, equ5, equ6}, {alpha, gamma, sigma, `λ__1`, `λ__2`, beta[f]})

Error, (in solve) a constant is invalid as a variable, gamma

 

``


how can i solve this problem?

Download Bryson_sesson1_p6.mw

hello

I have recently install Maple17 on my computer (Windows10) and I need to use some Greece alphabet such as ß but I look everywhere in maple's icon and I just could find capital Greece alphabet.

does anybody know how can I find those?

Hello,

I'm having an issue with this and I can't seem to fix it. Any help is greatly appreciated! Thank you in advance!!! For some reason mapleprimes won't let me upload the worksheet so I have pasted it below this message.

 

Kind regards.

Gambia Man

with(LinearAlgebra); UseHardwareFloats; with(plots); interface(rtablesize = infinity); with(Statistics);
L := 4; U := 1;
V := proc (x, y) options operator, arrow; piecewise((1/4)*L <= x and x <= (1/2)*L and (1/4)*L <= y and y <= (1/2)*L, U) end proc;
plot3d(V(x, y), x = 0 .. L, y = 0 .. L);

Vij := proc (ni, mi, nj, mj) local Xi, Xj; option remember; global U, L; Xi := 2*sin(ni*evalf(Pi)*x/L)*sin(mi*evalf(Pi)*y/L)/L; Xj := 2*sin(nj*evalf(Pi)*x/L)*sin(mj*evalf(Pi)*y/L)/L; return U*(int(int(Xi*Xj, x = (1/4)*L .. (1/2)*L), y = (1/4)*L .. (1/2)*L)) end proc;
HamilMat := proc (K::integer) local ni, mi, nj, mj, N, Hamil, Eigenvec, i, j, res; option remember; global Vij, U, L; N := K^2; ni := Vector(N); mi := Vector(N); nj := Vector[row](N); mj := Vector[row](N); for i to N do for j to K do res := (i+K-j)/K; if type(res, integer) = true then ni[i] := j; nj[i] := j; mi[i] := res; mj[i] := res end if end do end do; Hamil := Matrix(N, shape = symmetric); for i to N do for j from i to N do if i <> j then Hamil(i, j) := Vij(ni[i], mi[i], nj[j], mj[j]) elif i = j then Hamil(i, j) := Vij(ni[i], mi[i], nj[j], mj[j])+(1/2)*(ni[i]^2+mi[i]^2)*Pi^2/L^2 end if end do end do; Eigenvec := Eigenvectors(Hamil, output = ['values', 'vectors']), Hamil end proc;
SigFigEi := proc (Location::integer, SigFig::integer, VecSize::integer) local values, Eig, i; global HamilMat, OptK; Eig := Vector(VecSize); for i from 2 to VecSize do Eig[i] := HamilMat(i)[1][Location]; if evalf(Eig(i), SigFig+1) = evalf(Eig(i-1), SigFig+1) then OptK := i; break end if end do; values := evalf(Eig[i], SigFig); return values, OptK end proc;
BasisFunc := proc (location) local ni, mi, func, i, j, p, N, res, BasisSol; global HamilMat, L, OptK; p := evalf(Pi); N := OptK^2; ni := Vector(N); mi := Vector(N); for i to N do for j to OptK do res := (i+OptK-j)/OptK; if type(res, integer) = true then ni[i] := j; mi[i] := res end if end do end do; func := Vector(N); for i to N do func[i] := HamilMat(OptK)[2][i][location]*sin(ni[i]*p*x/L)*sin(mi[i]*p*y/L) end do; BasisSol := unapply(add(func[i], i = 1 .. N), x, y); return plot3d(BasisSol(x, y), x = 0 .. L, y = 0 .. L), func end proc;
BasisFunc(1);
Error, (in Vector) dimension parameter is required for this form of initializer

Note added: Issue resolved, see my comment below.

I have a sum of several thousands addends each of which is the product of a c-number times a product of 6 Grassmann-odd degrees of freedom, the latter of which does each belong to a set of 24 Grassmannians. The specific numbers are not that important, though.

This sum should equal zero. So I would like to add all c-numbers multiplying the same product of six Grassmannians, taking proper care of anticommutativity, of course. The sum would then be zero if all these sums of c-numbers are zero. Unfortunately, using Physics:-Coefficients is far too slow; actually, it has never succeeded in even completing the calculation.

Therefore, I have tried to loop through all the addends, splitting each one of them using selectremove(), and then adding the c-numbers in an Array (properly indexed), or in a table (associatively indexed, of course). Consistently, by converting the Array and table to two sets, the two methods result in the same set of equations. But solving these equations yields a result that is not stable: it varies from session to session.

I am baffled. Can anyone give me a hint to a safe and reasonably quick method for extracting these c-number-valued equations?, for there has to be something wrong with what I do.

Hi

Hope somebody can help me! I installed Maple on my computer, but everything is very small , for example the bar in the top with all the small icons. It is the same thing when I make plots. The values on the axes are very small. How can I change this?

I have taken a photo of the problem, don't know if it helps.

Let four straight lines in general position be given. Their complement consists of  11 domains. One can choose four (PS. different) points belonging to the pieces s.t. exactly two points lie astride everyone of these lines. Here is an example.

 

restart; with(geometry)``

line(L1, [point(A, 1, 1/2), point(B, 2, 1)]):

geometry:-line(L2, [geometry:-point(C, 1, -1/2), geometry:-point(E, 2, -1)]):

geometry:-line(L3, [geometry:-point(F, 1/2+1, 1), geometry:-point(G, 1+1, 2)]):

geometry:-line(L4, [geometry:-point(H, -1/2+2, 1+2), geometry:-point(K, (-1)+2, 2+2)]):

geometry:-point(P1, [-6, 0]):``

geometry:-point(P2, [2, 6]):

geometry:-point(P3, [8, -6]):

geometry:-draw([L1, L2, L3, L4, P1(color = blue, symbol = solidcircle, symbolsize = 15), P2(color = blue, symbol = solidcircle, symbolsize = 15), P3(color = blue, symbol = solidcircle, symbolsize = 15), P4(color = blue, symbol = solidcircle, symbolsize = 15)])

 

``

``

 

Download four_points.mw




How many are such configurations (If the points belong to the same pieces, two configurations are equivalent. PS. I.e. one may move points in the  pieces.)?
How to determine it with Maple? Robert Israel used GraphTheory, having answered that.

i need to plot tow functions but the legend not in top, bottom, left or right 

1.

assume there are 3 real number or floating number a, b, c

how to find the w and phi in 

a = sin(w*t1 + phi)

b = sin(w*t2 + phi)

c = sin(w*t3 + phi)

where w and phi are the same in above 3 equations, only different in t1, t2, t3

 

2.

same as above , how to find w, apha and beta in below if there are a, b, c

a = alpha*cos(w*t) + beta*sin(w*t)

b = alpha*cos(w*t) + beta*sin(w*t)

c = alpha*cos(w*t) + beta*sin(w*t)

assume there is vector a,b,c and d which are real number or floating number

how to express a in linear combination of b ,c and d

in another words, how to find coefficient m1, m2, m3

in a = m1*b + m2*c + m3*d

 can LinearSolve do this?

 

 

In Maple 18, I'm trying to define a matrix consisting of the output of the diff function from Physics, but it seems to return an empty matrix for some reason.

First, the setup:

with(Physics);
(D(x))(t) := x(t)^2+y(t)^2;
(D(y))(t) := x(t)^2-y(t)^2;


Then if I try to input the output of e.g. diff(x'(t),x(t)) directly into a matrix structure, it outputs an empty space for that entry.

I can work around it setting the output of diff into variables first, and then using those in my matrix structure, but that's a bit annoying.

See attached image for input/output

 

Hi,


This is my first post here, so I apologize for any errors or breaking of posting etiquette. I encountered a strange problem suddenly tonight when I tried running a Maple worksheet I've run succesfully (several times, without changes) in the past. The problem occured on both Maple 18 and Maple 2015, unfortunately I haven't been able to recreate a minimal working example with the same error, since my other worksheets doesn't show the error even though they contain identical caluclations. The problem also persists between copies of the worksheet.

The error I'm recieving is
"Error, (in TypeTools/ac_var_local) unable to handle expressions as (((D@@2)(phi))(theta(t)))(t)"

It occurs whenever I try to differentiate some (not all) expressions containing the above variable. I have no idea what this error even means, and I can't find anything googling. As said previously, I haven't been able to produce the error so I can't really give a concise short example but the flow is as follows:

g0 := simplify(subs(diff(y(t), t, t) = F+N*v(t), lhs(aby)-lhs(aby_y)), 'size');
->Produces an expression containing (((D@@2)(phi))(theta(t)))(t)
diff(g0,t)
-> Gives Error

U := lhs(Vector([1, 0]).subs(subsVhcError, eom));
->Produces an expression containing (((D@@2)(phi))(theta(t)))(t)
diff(U,t)
-> Does not give error

Sorry that I can't be more descriptive, does anyone know have to sort this out, or might give me some more info on what the Error message might mean and how TypeTools are involved? As stated previously, the error just occured today and only affects one worksheet.

Edit: Link to worksheet with error
transverse_linearization.mw

 

hi.please see attached file and help me

"initial Newton iteration is not converging" in dsolve cople equations

thaks..FEREKANS2.mw

 

The two forms below (eqn1 and eqn2) give the same result. You can convert from eqn1 to eqn2 using the expand option but is there a way can you get Maple to simplify eqn2 back to eqn1?

( I have tried all the simplify options I know)

 

eqn1:= int(int(k(upsilon)*h(tau)*x(t-tau)*x(t-upsilon), tau = -infinity .. infinity), upsilon = -infinity .. infinity)

 

eqn2:= (int(h(tau)*x(t-tau), tau = -infinity .. infinity))*(int(k(upsilon)*x(t-upsilon), upsilon = -infinity .. infinity))

 

 

Thanks.

First 1198 1199 1200 1201 1202 1203 1204 Last Page 1200 of 2428