Unanswered Questions

This page lists MaplePrimes questions that have not yet received an answer

The code below, which is a PLOT structure, seems to be one of the more efficient forms of specifying individual colors for each point in a 2D point plot.

My central question is: what plotting command will construct this?

PLOT(CURVES(Matrix([seq([i,i],i=0..4)],datatype=float[8])),
     STYLE(POINT), AXESLABELS("", ""), VIEW(0 .. 10, 0 .. 10),
     COLOUR(HSV,
            Array(1..15,[0.0,1,1,0.2,1,1,0.4,1,1,0.6,1,1,0.3,1,1],
                  datatype=float[8])
            )
     );

I know that I can call `plot` and pass the m-by-2 Matrix of point data, and specify style=point. But how can I pass in such a nice, efficient float[8] Array to specify the points' colors? I know that the float[8] Array is leaner than a long sequence of HFloats. But even in the simpler case of just two points: how can one pass the `color` option just once to specify the colors to be used for each of the points?

Oh, in case anyone's interested, another old-fashioned (but terser) was to get such a float[8], C_order Array is with the `hfarray` command.

Hi. Solving a problem of non-linear oscilations of thin string I met a PDE with unusual bcs at the right side of the string: 
((diff(xi(x, t), t))^2-a1-b1*x)*(1+(diff(phi(x), x))*(diff(xi(x, t), x)))+c1*(diff(xi(x, t), x))*(diff(xi(x, t), t))*(2*(diff(phi(x), x))-(diff(xi(x, t), x)))*sqrt(1+(diff(xi(x, t), x))^2) = 0 , where phi is known function. Can...

Hello! How i can write this expression in maple?

ma × (Ω' × a )
where is
Omega := Vector(3, [Omega1, Omega2, Omega3])
dT := proc (f) options operator, arrow; add((diff(f, var[k]))*dz[k], k = 1 .. N) end proc
a := Vector(3, {(1) = Ri*n1, (2) = n2*Ri, (3) = n3*Ri-R0})

Dear all

How to avoid in plot "matrix in singular" in my pde system

> a1 := -2;
-2
> b1 := 3;
3
> c1 := -1;
-1
> L := 15;
15
> b := .25;
0.25
> th := 1.5;
1.5
> pde := diff(u(x, t), x, x, x, x, t...

Hello Everybody.

Im new to Maple, so i have a couple of questions. In the last few days I have learned the basic of Maple, and now i would like to solve an differential equation.

The Math question is:

Enter the solution of differential equation:

http://www.studieportalen.dk/forums/ShowFile.aspx?id=1122047

In the link i have put in the informations from the math question.

I am trying to solve a system of nonlinear 36 differential-algebraic equations numerically in Maple. The last line of my code is the dsolve(.) command which is used to solve the DAE system. My problem is that it takes forever to evaluate the dsove(.) command. Maple does not give me any errors/warning, however, it keeps evaluating, and evaluating...nothing happens...

 

I have used stiff solvers as well hoping to make the process faster but that dowsn't work either.

The question is to use a program of modified newton raphson , incorporating the Romberg intergal procedure which i have already created, to create a new program which evaluates the integral f(alpha) = 1-10*int(tan(x)^alpha),from 0 to Pi/4.
The following needs to be incorporated in your program:

-Let ci be the approximation of alpha* on iterate i of your "modified newton raphson" method, then the program should run until:
             |ci-c(i-1)|<10^(-6)

Hello there,

 

When I was trying to solve a differential equation with dsolve, I've got such a error report:

> dsolve({Q(0) = F[Az], diff(Q(x), x) = q[2](x)});
Error, (in dsolve) found the following equations not depending on the unknowns
of the input system: {Q(0) = -(1/4)*l^2*q[0]-(1/4)*l^2*q[0]*exp(2)+F}
 

But if I only write:

> dsolve(diff(Q(x),x)=q[2](x));

then there is no problem. 

Could i manually reset status bar (i.e. memory and time values)? restart; doesn't help.

raw_panel_cuttin.doc

 Given a large rectangular wooden panel, you want to cut specific quantities of smaller rectangles from it.

Ok, when I run the below code which maximize the risk adjuested portfolio returns
(long and short positions) in QP matrix form on empirical data I get very strange
allocations ie we go 100% or 100% short in almost all stocks except for a few
where the allocations are more appropriate like 0.2 etc.


# Maximize Risk Adjuested Return Matrix Form
# Minimize W'.Cov.W−W'.EV
# R=Return Matrix

EV := Vector([seq(ExpectedValue(Column(R, i)), i = 1 .. N)], datatype = float[8]):

to find the maximum number of rectangles that can be orthogonally packed into a larger rectangle:

http://lagrange.ime.usp.br/~lobato/packing/run/index.php

1) can some maple code replicate this?

2) but what i really want is: what arrangement of a given a number of rectangles (of differing widths and lengths...

Hi everyone,

I am importing an .m file from MATLAB to Maple using the command: FromMFile(). The .m file uses a set of huge symbolic matrices with an output of a huge symbolic vector of 36 by 1. Each element of this vecot is supposed to form a second-order differential /or algebraic equation that I am planning to solve using the Maple DAE toolbox.

The problem I have is that while I execute the worksheet, Maple only evaluates the...

If you look at Maple help on Grid[Launch] command there is an example of checking the prime numbers.

I do not understand why the timingData variable is empty after specifying it in exports parameter.

When I do not specify it in the exports parameter, the timingData variable has the same value as it had before calling Launch command.

I don't know why maple can't solve this PDE

> restart;

> PDE := 4.2000*10^6*(diff(u[1](x, t), t))-.445*(diff(u[1](x, t), x, x))+4200.*u[1](x, t)+464.82-20836.*x-15.832*t+4.0442*10^5*x^2+2953.7*x*t+0.14631e-1*t^2+9.6788*10^6*x^3-2.7139*10^5*x^2*t-.99786*x*t^2+0.15902e-4*t^3-1.0085*10^9*x^4-6.3082*10^6*x^3*t-1069.3*x^2*t^2-0.15006e-1*x*t^3-3.9073*10^(-8)*t^4+2.3478*10^10*x^5+2.5874*10^8*x^4*t+1.2265*10^5*x^3*t^2+2.9028*x^2*t^3+0.17521e-4*x*t^4+1.9407*10^(-11...

First 315 316 317 318 319 320 321 Last Page 317 of 361