MaplePrimes Questions

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

 

 

 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....

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