Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hello!

I have solved a set of ODEs. For example I have obtained L(t). Now, I have a relation between "t" and for example "z", such as "t = exp(z)". How can I get for example L(z=1)?

Thanks!

 

Download for_mapleprimes.mw

I used dolve for dsystem,

but I got this error:cannot evaluate right than .....

is there anyway to overcome this problem?

thanks

GCD := proc (a, b) local sol, x, y, eqs, vars; vars := [x, y]; eqs := [Typesetting:-delayDotProduct(cos(x), sin(y)) = 0, y+sin(x) = b]; sol := solve(eqs, vars); sol end proc

I tried to convert this code into C, using C(GCD) and got an error message that target language may not recognize commands like solve etc., which is obvious. Please let me know if there is any way to convert procedures involving such commands into C code.

I am using CodeGeneration[Fortran] to generate a Fortran subroutine.  The subroutine simply takes a vector state as input and generates a large matrix as output.  However, upon calling "Fortran" I have been getting the following warning that I have not been able to figure out:

"Warning, character limit for Fortran77 statements exceeded; please filter input through codegen[split] first."

If anyone can provide some tips, I would appreciate it.

I have got an equation of Sum.i want to split the eqution three parts of Sum,how can do?

ans:=sum(I*`ℏ`*(diff(c[n](t), t))*phi(r)*exp(-I*omega[n]*t)-(1/2)*E[0](e_.r_)*e*c[n](t)*phi(r)*omega[n]*exp(-I*omega[n]*t+I*Omega*t)-(1/2)*E[0](e_.r_)*e*c[n](t)*phi(r)*omega[n]*exp(-I*omega[n]*t-I*Omega*t), n = l .. k)

i want to  result like this

ans1:=sum(I*'ℏ'*(diff(c[n](t), t))*phi(r)*exp(-I*omega[n]*t), n = l .. k) = sum((1/2)*E[0...

Hi, I have recently started working with Maple. I need some help with solve command.

 

VectorCalculus[`*`](cos(x), sin(y)) = 0

y = VectorCalculus[`*`](2, sin(x))

Now if I run solve on above two equations for values...

I keep getting this error,

 

not matter what command. 

 

How can I solve this please?

We have been asked to write a general code for the revised simplex method in Maple.  We have been trying for several days but haven't got anywhere.  We think we have written (a very basic) code for the first iteration but we don't know how to do a loop so that it keeps going until the solution has been found. 

PS its a maximisation problem.

Using SVD to underst.mw

Hola ev1;
In the procedure PLOTSVD, I get the error
"Error, (in SVDPLOT) invalid input: linearalgebra" SingularValues Expects output value for keyword parameter to Be of type {list (identical (U, S, Vt, list)), identical (U, S, Vt, list)}

Hey folks, I'll give you the actual problem I'm trying to solve before I show you my code in case anyone can think of a better idea...

Long read but you can ignore the examples and additional info if you don't need it.

 

Take the doubling map,

f(x) = 2x if 0 <= x <= 1/2

f(x) = 2x - 1 if 1/2 < x <= 1.

 

Or in maple code, f := x -> piecewise(x<=1/2, 2*x, 2*x - 1):

 

This looks...

Hi!

I've got two Sums vith variable arbitrary boundaries:

a:=Sum(x(i),i=n..m);
b:=Sum(x(i),i=n-1..m+1);

I would like to substract theese sums and I want Maple to simplify the result to

x(n-1)+x(m+1)

Is that possible?

Hello,

 

When I multiplify some terms like

 

(x+k-n+5)*(x-3k+n^2+2)

 

I get a long expression. Nevertheses, I would like to rearrange first according to the power of k (in other cases, according to n). Is there some command to rearrange my polynomials?

 

Thanks for you attention,

 

Jean-Jacques

 

 

 

 

 



Hi, I have been given a question that involves plotting the sloutions to an equation over the range 0<><>

Dear Maple users

Often I use Maple for solving problems in Physics. Maple does indeed a nice job when calculating expressions containing units. However when I want to plot functions containing units it sometimes work and sometimes not. Look at the following example: 

First 1752 1753 1754 1755 1756 1757 1758 Last Page 1754 of 2231