Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I am trying to set up a linear optimization problem where I have to set quite a few (and I mean perhaps dozens) variables to zero.  How do I do that without explicitly typing each and every variable and setting each one of them to zero manually?  I am using the Optimization package on Maple 12 (student edition) and invoking the LPSolve routine. 

Thanks!

-bas

 

Hi everybody.

 

I'm using Maple these days to generate C code. More precisely, I use Maple to calculate high order derivatives. For example, I know that :

dt( u(x,t) ) = a(x) * dx( u(x,t) ) + b(x) * dx( p(x,t) )

dt( p(x,t) ) = c(x) * dx( p(x,t) ) + d(x) * dx( u(x,t) )

and I ask Maple to calculate the 5th time-derivative of u using these 2 properties. But in fact, I use 8 variables instead of 2 and PDEs are far more complicated.

Finally, I get thanks to Maple expressions of time-derivatives for my 8 variables.

 

please help me here:

I want to find the coefficients a, b , c of the following quadratic polynomial:

 P(x) = a*x^2+b*c+c

I know the following:

1. P(x0) = d

2. Derivative(P(x0)) = e

3. P(x1) = f

4. Derivative(P(x1)) = g

Thansk in advance.

regards,

new comer to Maple

 

 

Hi,

please help me here:

I have a polynomial:

P := x->a*x^3 + b*x^2+c*x+d:

Now, first i want to find a, b, c and d. I know the following:-

1. value of P at x0 let it be e. 2. value of derivative of P at x0, let it be f. 3. value of P at x1, let it be g 4. value of derivative of P at x1, let it be h.

i used the following command:

solve({P(x0) = e, (D(P))(x0) = f, P(x1) = g, (D(P))(x1) = h}, {c, d, a, b})

but i am not getting any output****

now i want to solve P(x) = 0

Hello, I am new to maple 12 and am a bit lost. I am trying to do simple derivatives and it seems like maple is usually wrong when calculating even simple derivatives. I give it something like... cot(x/2) or even cot(x) and it gives me the wrong answer. Also, any quotient seems to be incorrect, a problem such as... d/dz[(z-1)/(z+1)] yields a incorrect solution. Is it just me? What am I missing? Thanks

Hi everybody,

 

Here's what I have:

 

First of all, is it possible for Maple to compile to create 'Maplet executable' so the use can execute the 'Maplet executable'  without Maple on the system?

 

If such is possible, how do I do it in Maple to create such Maplet executable on a working Maplet that I have created in Maple?

 

how do I open a Microsoft Access mdb file in Maple ??

Is present in last release of Maple an routine for the study of systems equation differential with delay?

Example, in my problem the DDEs:

y1 (t) = y5 (t-1) + y3 (t-1)

y2 (t) = y1 (t-1) + y2 (t-0.5)

y3 (t) = y3 (t-1) + y1 (t-0.5)

y4 (t) = y5 (t-1) * y4 (t-1)

y5 (t) = y1 (t-1)

<-Link#30 (Magnitude=IIvII=3, direction=u=<4,-4>=4i-4j)

<-#48(IIvII=3, u=3i+4j)

<-#64(magnitude=70lbs, 40lbs, 60lbs; @-30deg, 45deg, 135deg)

<-#74(velocity=580mph @ N60degW, wind=SW @ 60mph)

How does Maple  reduce that to unity? Thanks.

S := `assuming`([simplify(-sin(Pi*(alpha+n+beta))*sin(Pi*beta)/(sin(Pi*(alpha+beta))*sin(Pi*(-1+n+beta))), trig)], [`and`(`and`(alpha::real > 0, beta::real > 0), n::posint)])

I have to plot a graph where an equation C is dependent to two variables, and the equation changes depending on value of d.

I know plot3d(equation, range, range) gives you graph, but is there a way to plot a graph in only places where data sets are given instead of one smooth graph?

 

 

Below is something I tried to do which is not giving me results i want.

 

Hello,

I was trying to solve this nonlinear ODE using dsolve:

ode:=(diff(f,x)*diff(g,y)=1): dsolve(ode);

but got: Error, (in ODEtools/info) R equired a specification of the indeterminate function

 

I'm not sure what Maple means by "indeterminate function" .. does that mean I need an explicit function for g(y)??

I would assume that Maple would be able to do this without knowing g(y) since one solution is (1/n)*f(x) + n*g(y).

Thank you.

I have a 6*6 matrix which is A:[1,1,1,1,1,1],[1,0,-1,1,0,-1],[2,1,0,2,1,0],[4,1,2,0,4,1],[1,-2,1,-6,0,1],[5,4,-1,-2,5,0]

How can I show the system Ax=b is consistent or inconsistent if

x= [x1          b= [1

     x2                 0 

     x3                 1

First 1984 1985 1986 1987 1988 1989 1990 Last Page 1986 of 2246