MaplePrimes Questions

Based on some older Math group thread my problem is the following (0 < t):

F:= (x,t) -> Int(exp(-t*eta^2+x*eta)/(1+exp(eta)),eta = -infinity .. infinity);

satisfies 0 = 'diff(F(x,t),t) + diff(F(x,t),x$2)' and for that PDE Maple gives

  pdsolve(PDE, f(x,t),build): combine(%):
  subs(_c[1]=c,_C1=c1,_C2=c2,_C3=c3,%): rhs(%);
  S:=unapply(%, x,t);

    S := (x, t) -> c3*c1*exp(c^(1/2)*x-c*t)+c3*c2*exp(-c^(1/2)*x-c*t)

by separation of variables.

I am interested in t=1/2 ( to get (F(x,1/2) ) and for that define

I have a procedure that I use frequently. I tried to include this procedure in other Maple sessions so that I can reuse that procudure. I tried the command $include but received the following error message:

$include "c:/myworks/myplot.wm"

Error, unexpected string
 

where myplot.wm is a file that contains a procedure which I want use repeatedly.  What is wrong there?

 

Thanks.

 

assume(u::real)

assume(v>0)

assume(lambda>0)

Im( u+i v / u+i v+lambda )   is ok.

Im( (u+i v / u+i v+lambda)^2 )   is ok.

Im( (u+i v / u+i v+lambda)^3 )   is ok.

Im( (u+i v / u+i v+lambda)^4 )   is not ok.

Maple gives back the input.  

What is the problem with my input?

Sandor

Hi,

I need some help.  I have a system of ODE's subject to a system of Boundary Conditions.  I can't figure out the sequence of commands to get MAPLE to generate a solution.

ODE System:

SYS1 := {diff((C[10])(z), `$`(z, 2)) = (BR[1]+BR[2])*(C[10])(z)-BR[3]-(BR[4]+BR[5])*C[50], diff((C[51])(z), `$`(z, 2)) = Ped*u[0]*C[50*x]-BR[5]*(C[10])(z)+BR[3]*C[50]}

Boundary Conditions:  I am going to be evaluating from z=s to z=h

BC1 := {(C[10])(h) = 1, diff((C[10])(s), s) = 0, diff((C[51])(h), h) = 0, diff((C[51])(s), s) = Da[1]*(C[50]-J3)}

I write a lot of maple code that my advisor uses, and I'm wanting to make it easier for him to use with as little extra work on my side as possible. Most recently I've started using modules to hold the procedures that go together. For example, I may have something like this

 

Resultants := module()
  description "This uses various methods to find resultants.":
  export UResultant, MacaulayResultant:

  MacaulayResultant := proc(F,vars)
    -- description and code
  end proc:

I am running the student version of maple, the one for hundred, and my final question is wondering if we could solve second order de as in a spring mass system.

The problem reads,  a mass weighing 32 lb stretches a spring 2 ft. The mass is initially relesed from a point 1 foot above equilibrium position with an upward velocity of 2 ft/s

I would like to simplify (automatically...) a sum containing constant terms, as in the trivial one:

Sum((A*x[i]+B)^2, i = 1 .. n) = A^2*(sum(x[i]^2, i = 1 .. n))+2*A*B*(sum(x[i], i = 1 .. n))+n*B^2

I can reach this result easily enough by:

- Using the "student" package

- Then expressing the sum underits inert form (Sum(...))

- Expanding it

- Taking its value.

Now the "student" package is "deprecated".... How can I do this without it?

 

I get to the point  error (in dsolve), required an indication of the dependent variables in the given system. i do not know what this means..

What i did is type in y''+4y'+5y=0

than i entered the initial conditions y(pi/2)=1/2 and y'(pi/2)=-2

than i dsolved 1 and 2 and recieved that error, what am i doing wrong, i am brand new to maple and would almost rather do it by hand

1. y''+4y'+5y=0  IV= y(pi/2)=1/2 and y'(pi/2)=-2  I can get to the dsolve and than I run into errors.

2.y''+2ty'+3y=0,  t=0 is an ordinary point of the equation and how is it possible to find a power series solution?

3. Is it possible to solve a problem like this is maple?

A mass weighing 32lbs stretches a spring 2 ft, the mass is initially relesed from a point 1 foot above equilibrium position with an upward velocity of 2ft/s/

 A. Find amplitude and period of motion

I'm considering buying Maple but I need to know something...

 

Does the functionality Maple provides (like the equation editor) allow for writing out math as quickly and effeciently as doing it on paper? I ask because I have a rather unique disability that has left me without the ability to write, making it difficult to learn math. I'd like to find software that will allow me to write math on the PC like you might see on paper.

 

let me show a little problem i've found in physics package (if it really is the problem in package), and especially in Bra, Ket, and in product operators

first

 

lets calculate a product of a projector and a Ket:

sum(Ket(Psi,s).Bra(Psi,s),s=-n..n).Ket(Psi,1)

in this case the result would be obviosly Ket(Psi,1) and it's true.

Let's modify it now:

sum(Ket(Psi,s+1).Bra(Psi,s),s=-n..n).Ket(Psi,1)

I'm trying to create a series of if commands which will return a value based on some initial conditions.  I have 5 equations, x1, x2, x3, x4 and x5, which contain functions containing parameters m and n.

 

If the initial condition is "yes", then x1, x2 and x3 could be used, if no, then only x4 and x5 can be used. 

 

For the "yes" case, if m = 0, then only x2 can be used, and likewise, if n=0, only x3 applies.  Should m > 0, n > 0, then x1 applies.

I want to obtain an asymptotic formula (n->infinity) for

sum(2/k,  k=1..n).

Direct method does not work. Probably it is needed some transformation (maybe theory) before it. Could you help me?

                                                         Sandor

alright, heres my newest task that should be easy that has given me nothing but problems.... I have a function, sFunction, that takes in something between 0 and 15 (*only* integers) and spits out a single value. I would like to create a matrix of the output's bits. Since my numbers are 4 bit, that means it should be 4 wide and 16 high. To get the bits I'm planning on BitAnd-ing them with a power of 2 to isolate it. I keep getting "too many levels of recursion" errors on all my attempts.

Hi, all

   I got qeustion about how to 3D plot a function with different values of on parameter.

For example, a  function

y = 2x /(x-m)

m is parameter.

I want to plot the different function curve of y in 3D when m has different values as such m=1, m=5,m=10....

say, y1 = 2x/(x-1)

       y2 = 2x/(x-5)

     y3 = 2x/(x-10)

btw,  I know how to plot 3D,  but I just want to plot the function at several specific m values.

First 2218 2219 2220 2221 2222 2223 2224 Last Page 2220 of 2431