Maple 13 Questions and Posts

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

Hi,

I want to compute a formula which is too complicated and it contains some variables. So I divide it into several parts. But it always turns out kernel connection has been lost. I looked maplesoft online help system and change the ConnectionType from 0 to 2. But it does not work. So how does this happen and how to solve?

I attach my maple file which appears error.
Thanks a lot!

Regards,

Yan

> assume(a < 0);
> convert(cosh(sqrt(a)), sincos);
print(`output redirected...`); # input placeholder
/ (1/2)\
cos\(-a) /

This is what I expected.

Now

> assume(L > 0);
> assume(K > 0);
> assume(mu > 0);
> assume(mu^2 < 4*L*k);
> assume(t > 0);
> convert(cosh((1/2)*t*sqrt(mu^2-4*L*k)/L), sincos);
print(`output redirected...`); # input placeholder
/ (1/2)\
| / 2 \ |
|t \mu - 4 L k/ |
cosh|--------------------|
\ 2 L /

I wanted to obtain again the cos function. Could someone help me?
(What is the reason that convert does not work "well" in later case?)

 Thanks,  Sandor

 

I want to define a band matrix using n vectors. Detial given maple sheet. please help me

Help.mw

I want to define a matrix of M by M which have some condition. detail given in maple file. please help me.

Help_Maple-1.mw

I explain the required matrix by taking some example hope you will be understand. Please make it quickly... I will be very thank full. Help_Maple-1.mw

I have made a maplet. The aim is to take two numbers in textboxes and find their Jacobi symbol. The result should appear in a third textbox. Now I have done all the steps and called a procedure on buttonclick. Following is the procedure I have made

jacob := proc (x, y)

local A, B;

A := x;

B := y;

with(numtheory);

jacobi(A, B)

end proc:

 

Problem: The problem is that when I make any small modification to the code it runs and shows the result in the 3rd textbox but as soon as I save it, restart maple and recompile the program, the textbox 3 will show jacobi(value of textbox1, value of textbox2) instead of the result. What should I do, actually I am new to maple. Please guide me.

restart;

diffeq := diff(w(r), `$`(r, 1))+2*beta*(diff(w(r), `$`(r, 1)))^3-(1/2)*S*(r-m^2/r) = 0;

con := w(1) = 1;

ODE := {con, diffeq};

sol := dsolve(ODE, w(r), type = numeric);

 

How can i have numerical solution of the above differential equation with corresponding boundary condition?

 

Hi everyone,

I am a new user of maple and i want to know the procedures to follow when solving 4 differential equations simultaneously.

e.g

ds/dt=Λ0-βcSI/N-μS

dL/dt=Λ1+βcSI/N-μ1L+ΑcIT/N

dI/dt=kL-μ2I

dT/dt=r1L+r2I-ΑcIT/N-μT

Any help will be highly appreciated. Regards

> restart; with(plots); with(LinearAlgebra); with(IntegrationTools); pde := rho(x)*(Diff(u(t, x), t, t))+lambda(x)*(Diff(u(t, x), t))-(Diff(P(x)*(Diff(u(t, x), x)), x))-Q(x)*u(t, x)+R(x);

> eq1 := int(pde*phi[i](x), x = -1 .. 1);

eq2 := expand(eq1);

> eq3 := applyop(u -> Parts(u, phi[i](x)) end proc, 3, eq2);

i get an error

Error, (in applyop) improper op or subscript selector

how to correct it??

So I am working on doing some trajectory simulations in Maple using standard Newton's Laws, some force expressions, and initial conditions.

Anyway, the numerical solution works fine if I let the initial conditions I specified (for z=-1) be actually for z=-0.9. To illustrate, when I give an initial condition like this:

x(-1) = x_0, D(x)(-1) = xd_0, Vz(-1) = v_0

the results don't make any sense. However, when using the same x_0, xd_0, and v_0 and I give initial conditions like this:

x(-.9) = x_0, D(x)(-.9) = xd_0, Vz(-0.9) = v_0,

the solutions at least make a bit of sense.

What's weird is that, when I let z -> 0.93 or so, the solution changes discontinuously. And this shouldn't happen. The initial conditions were calculated for and should work for z = -1. I don't understand why they aren't.

Here is my Maple document. ics1 are the problem.

dsolve_field_traject.mw

Do you guys have any idea what could be going on?

Consider the curve defined by f(x, y) = 3+2x+y+2x^2+2xy+3y^2 = 0.Locally on the curve we can view y as a function of x, i.e. y = y(x).Compute formulas for the first and second derivative of y with resoect to x.

2. Give the Maple command(s) to compute \frac{\partial^8 f}{\partial^5 x \partial^3 y} for f(x, y) = e^{2x+ cos(y)}.

Hi,

I have a linear problem A*X = B, with dimensions of A approximately 500*1300, and B is a vector with only one nonzero coordinate.

I feed it to LinearSolve, and there are a *lot* of solutions - presented as one vector with linear polynomial coordinates.

How can I get only one (hopefully with as many zeros as possible) ?

Thank you in advance.

NoThik

So I am working with the OrthgonalExpansions library (amazing library, by the way! Just what I needed!), and it is great, except it seems to be having trouble doing a 2d Fourier expansion.

I'll upload my document. transformApprox.mw

In this document, I am running the BesselSeries expansion as we speak, but the FourierSeries expansion (in 2d) can never seem to complete. It always say that it has an

First 23 24 25 26 27 28 29 Last Page 25 of 55