MaplePrimes Questions

Hello everybody!

I couldn't find this question on the internet.. I hope for a answer here! I have to know this in 4 hours, and nobody here seems to be able to solve it. Thanks a lot in advance!!

What i'm trying to do is to solve these 10 variables. here is my maple:

 



 

So Robert, how can we solve the below problem with the Optimization package
in Maple?

A quadratic objective xTQx can be handled by introducing a new variable t,
making the objective "minimize t", adding the constraint  xTQx <= t,
and converting this constraint to SOC form

I am in a class of combinatorics following two definitions are to be coded in Maple. I have done my best but could not. Kindly help.

Def 1:    Let M=[mij] be a matrix of type m×n, whose entries are subsets of a set A.
Def 2:    A set matrix M is said to be a partition matrix of set A if:

    1. mir∩mis=φ, for every i,r,s, such that r≠s;
    2. m

I am brand new to Maple.  I am using Maple 13.  When I try to create a direction field for the ODE dy/dt=.2ty I get the intended result.  When I try to create the same direction field using the ODE dy/dx=.2xy I recieve the following warning.

"Warning, y is present as both a dependent variable and a name.  Inconsisent specification of the dependent variable is deprecated, and it is assumed that the name is being used in place of the dependent variable".

Test.mw

I have this data (see attached worksheet). I then run the below code
and then I get the output (see below). The problem is that I have explicity
stated in constraints 3 (con3) that w[i] should be larger than or
equal to zero. Still I get negative solution ie w[1]=-1.47*10^(-18).
Why is that?

The funny thing is that when I change constraint 3 to w[i]>=0.01 then I get :

Hi,

I am a new user of Maple. I need help in defining the Sxx and Syy in terms of differential terms of P and Q in the following program. I have attached the worksheet with this mail.

Thanks a lot for your tips.

Thanks,

RPD

 

 

E.g. how do I say "x conditional on w" in Maple. The following doesn't evaluate:

x|w

Error, unable to match delimiters

or:

mu[x|w]=sum(v[i],i=1..n)*f(v[i]|w);

Error, `|` unexpected

Thanks

 

 

 x := proc (i::integer)

      return i^2;

end proc:

sum(x(m),m=1..3);

Error, invalid input: x expects its 1st argument, i, to be of type integer, but received i.

 

If I want to reserve the ::integer declaration, How to solve this problem. I know if there is no

alpha := vector([cos(theta), sin(theta), sin(k*theta)]);

alpha1 := map(diff, alpha, theta);
alpha11 := map(diff, alpha1, theta);

with(linalg):
cr := multiply(alpha1, alpha11)/simplify(multiply(alpha1, alpha1));

F := vector([0, 0, -m*g]);
c := multiply(F, alpha1/simplify(multiply(alpha1, alpha1)))/m;

motion := diff(f(theta), theta$2) + cr*diff(f(theta), theta)^2 = c;

pdsolve and dsolve not work, how to solve above motion equation with maple?

Hello,

Is there a way to make Maple display the line where an error has been detected ?

Regards,

RedVivi

> restart: with(plots):

> plotopts:="portrait,color,noborder,leftmargin=0,bottommargin=0,width=5cm,height=12cm":
> plotsetup(eps, plotoutput="test.eps", plotoptions=plotopts):
> plot(x^2,x=-5..5);

> plotopts:="portrait,color,leftmargin=0,bottommargin=0,width=5cm,height=12cm":
> plotsetup(eps, plotoutput="test_.eps", plotoptions=plotopts):
> plot(x^2,x=-5..5);

 

this creates two files, test.eps and test_.eps....

hi.

this is my procedure, i think its obvious what its supposed to do, but it doesnt.

 

#plot p to file filename with size width cm x height cm

> makeeps := proc(p, filename, width, height);

>   plotsetup(eps, plotoutput=filename,  

>   plotoptions="portrait,noborder,color,leftmargin=0,bottommargin=0,width="||width||"cm,height="||height||"cm");

>   display(p);

>   plotsetup(default); 

I am trying to solve a piecewise differential equation of the following form:

FOI := diff(r(x), x) = piecewise(r(x) < 0, 1, r(x) > 0, 0)
dsolve({FOI, r(0) = -1})

but MAPLE returns an error stating

Error, (in dsolve) when calling '`property/ConvertProperty`'. Received: 'real is an invalid property'

I do not know what to make of this. I have tried playing around with assumptions...

Hello,

I have some difficulties to create an X-Y chart and what data structure I should use.

I have a loop, I set the maximum number of iteration to nmax.

At the end of each iteration, I will retrieve two information (variables):

-iteration number, 1 by 1 until nmax, integer: n
-an value associated with this iteration, integer: v

I will store iteratively these values (at least v) at the end of each loop...

Hello all

May I please ask a question about colors? I have multiple plot structures, created using

plot1:=odeplot(...)

plot2:=odeplot(...)

I do not wish to specify a color for each.

When I display them all together

Display(plot1,plot2,..)

they (understandably, I guess) all show up with the same color (all having been created separately).

Is there any way to get the Display (or other) command to (realize it's drawing...

First 1915 1916 1917 1918 1919 1920 1921 Last Page 1917 of 2434