Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi all

Im trying to calculate scientific error propagation with data from Excel. Unfortunately Im having troubles making the package work. What I want to do is import a list from Excel with values, and another list of the error of each value.

The problem comes when using the Combine function on the imported arrays from excel.
Could anyone help me work this out? I feel it should be possible for Maple to import tables from Excel, calculate the propagated error. ...

Dear all,

Some time ago I asked a question concerning the algorythm for numerical dsolve and related issues here.

I got a nice answer from pagan and implemented the algorythm.

However, since my system is big, the iterations take long time.

Here is the code itself:

sys1:=[TRIC[1],TRIC[2],TRIC[3],TRIC[7],TRIC[8],TRIC[9]]:
> sys2:=[TRIC[4],TRIC[5],TRIC[6],TRIC[10],TRIC[11],TRIC[12]]:
> GRAD:=subs(u=FF[1](t),a=FF[2](t),k=k(t),tau=tau(t),psi[1...

Hi,

I have a 1x3 matrix, with s0,s1,s2 terms in it. For example :
[(s-s1)*(s-s2). (s-s0)*(s-s2), (s-s0)*(s-s1)]

Is there a simple way that i can integrate the first one by s, second one by s0 and third one by s1?

to get a matrix for example:

[(int((s-s1)*(s-s2),s). int((s-s0)*(s-s2),s0), int((s-s0)*(s-s1),s1)]

Please advice,

Thanks.

Let S1 be the set of solutions of the inequalities x^2+ 3*x + 2 >0 and S2  be the set of solutions of the inequalities x^2 - 9>=0. I want to the set S1 union S2. What must i do? Please help me. 

I converted the package,module to a worksheet then executed the example before realizing it all executes at once. 

MyPackage := module()
        export  f1, f2;
        local   loc1;
        option package;
        f1 := proc() loc1 end proc;
        f2 := proc( v ...

I have four equations:

eqs:={8x-5z=0, -5y-2x=0, 2z-8y=0} and 13x-4y+9z=1

I've been trying for the past hour to solve both equations for x, y, and z and have not been successful.

What commands do I use to solve this problem?

I would like to save a simple plot to jpeg file on my hard disk. I've got a Maplet, and a Button which looks like that

Button['SIM']
 (
     "Save image",
     onclick=Evaluate('function'='saveImage()')
)

and a procedure:

saveImage := proc()

   plotsetup('jpeg', 'plotoutput'="plot.jpeg", 'plotoptions'="portrait,noborder");
   plot3d(sin(x)+cos(y), x=0..2*Pi, y=0..2*Pi, 'axes'='boxed');

I was solving one Math puzzle and found out a strange behaviour of the Optimization package commands in the Classic Worksheet.

Let us minimize the function 7*x+3*y under the constraint 6*x+2*y >= 49 for non-negative integers. When I type

Optimization:-Minimize(7*x+3*y, {6*x+2*y >= 49}, assume = nonnegint);

Let function f(x)=x(2011+√(2013-x2)).Find maximum and minimum value of function f(x)?

Why won't isolve show all the solutions here?

> a := 6*x+2*y >= 48:
> b := 6*x+2*y <= 60:
>
> with(plots):
> aa := implicitplot(a, x = 0 .. 10, y = 0 .. 5, filledregions = true, transparency = .5):
> bb := implicitplot(b, x = 0 .. 10, y = 0 .. 5, filledregions = true, transparency = .5):

display(aa,bb)

We can see the region of solutions.  But if we use isolve ...

I inputted the folllowing into Maple.

with(plots):
contourplot(x^2*y/(x^4+y^2),x=-1/2..1/2,numpoints=60^2,color=blue);
However it is giving me this error:
Error, (in plot/iplot2d/expression) bad range arguments x = -1/2 .. 1/2, numpoints = 3600
 
I don't understnad why.
My lecturer has completed this graph and I literally just copied what she had written on our worksheet in order to acheive the same...

I am trying to model a multibody system using euler lagrange equation. There are 3 links in the system attached with each other by revolute joints. The first link has one end fixed with the revolute joint.

Length of links= l1,l2,l3

Angle with x axis=Theta1,Theta2,Theta3

Mass of links=m1,m2,m3

Moment of Inertia = M1,M2,M3

I am not able to find the solution of ODE system comprising of 3 ODEs which I get after solving Euler Lagrange Eq for...

Hi,i'm new with maple, please help me solve these 2nd order ODES :)

 

x''=-x/((x^2+y^2)^(3/2))

y''=-y/((x^2+y^2)^(3/2))

 

my codes are:

 

declare((x, y)*t)

deq2 := diff(x(t), `$`(t, 2)) = -x(t)/(x(t)^2+y(t)^2)^(3/2), diff(y(t), `$`(t, 2)) = -y(t)/(x(t)^2+y(t)^2)^(3/2)

ic2 := x(0) = 1, (D(x))(0) = 0, y(0) = 0, D(y) = 1

rosen := dsolve({ic2, deq2}, type = numeric, stiff = true, {x(t), y(t)})

Dear,

I wrote a code used for calculate integration using monte carlo method (in order to get random results).

I also wrote the code using maplet in order to get the interface.

However, when I finished I could not receive the result because of the error:

Error, (in Maplets:-Elements:-Maplet) `Maplets:-Elements:-ElementTable[typ]` does not evaluate to a module

I do not understand this error and how to correct it.

I need the help from others.

I want to solve the equation 12^x -6^x +6-36/(3^x)=0 with the commant

solve(12^x -6^x +6-36/(3^x)=0,x);

but i didn't receive solution x = 1. Please help me.

First 1610 1611 1612 1613 1614 1615 1616 Last Page 1612 of 2224