MaplePrimes Questions

Hi, Im new here. Is there still no better solution than changing the setting for everyting in MS Windows? The red on white really hurts the eyes.

I've tried out external editors (MS Visual Studio 2008 Express) but the problem with those is, that you can only run your complete code, making prototyping and developing a pain.

Thank you for any tips!

I am a retired physicist persuing independent mathematical research and don't fit into any of Maplesoft's four user catagories.

I am trying to develop a new finite element method for incompressible fluid dynamics in 3D. I must derive four vector functions which are mapped into the 84 degrees-of-freedom of the finite element. I expand each of the four functions in terms of multinomials with 192 unknown coefficients to be determined. I apply essential constraints to each...

I entered

animate(plot,[s*cos(Pi/2*(1-t)),s*sin(Pi/2*(1-t)),s=0..1],t=0..1);

and received the error

Error, (in plots/animate) unexpected options: [s*sin(.5000000000*Pi), s = 0 .. 1]

This is to draw a radial line beginning at 12 o'clock and ending at 3 o'clock.

I could get it to work as

animate(plot,[tan(Pi/2*(1-t))*x,x=0..1,view=[0..1,0..1]],t=0..1);

though.  But the length of the line is not fixed as I require.

I can solve a [0,1] linear programming problem by using:

LPSolve(Ob, con, assume = binary);


I managed to solve [-1,1] linear programming problem by using the transformation
2*w[i]-1 ie   2*0-1=-1 and 2*1-1=1 as follows:

LPSolve(add(PP[i]*(2*w[i]-1), i = 1 .. NC)-add(Draw[i]*(2*w[i]-1), i = 1 .. NC), {add(w[i], i = 1 .. NC) = PS}, maximize = true, assume = binary);


Now my question is how can I solve a [-1,0,1] problem?
I tried to use:

Hi,

I'm quite new to maple and I'm not really sure how to go about fitting a curve to my data, I have inputed the data by doing;

data := [[1,3],[2,3].........[2,7]]

and then plotted it using a point plot. Now i know I need to fit a resonance curve using LSsolve but I dont know how to go about using that command. Could anyone please enlighten me.

 

Thank you

> restart;
> Fax := 1493/2;
                                    1493
                                    ----

Dear friends,

I generate a table for n=1 to 3.

Matrix(  [ seq ( [n, n^2], n=1..3)]);

I would like to generate the same kind of a table for values of n= 1 to 3, 50, 100  and 1000.

How may I do it?

 

Thanks in advance for your help.

 

Jean-Jacques

I am trying to obtain the points with equal value of a two variable function ,f(x,y), 0.01<x<0.99, 1.01<y<1.99. I tried to dsolve the problem but I have one equation, two variable and infinite answers . Ho can I get these points with interval of 0.01 and insert in a marix. Thank you in advance.

 

 

 

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

 

 

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