MaplePrimes Questions

Hi all,

I've just added a reply to an old thread I opened some month ago, but I don't see the thread at the top of the recent questions. Where is it gone????

Should I re-open a thread?

Thanks

 

ps the thread was this one: http://www.mapleprimes.com/questions/35837-Execution-Stopped-Unhandled-Signal-Caught-UNKNOWN-1#comment96090

I'm trying to solve the following ode:

[-5*e4(r)*E+3*r*e5(r)*dE-5/3*r*e8(r)*dE+2*e7(r)*E+3*e1(r)*E-4/3*r*e2(r)*dE = 0, 1/3*1/r*(3*r^2*e5(r)*dE-6*r*e4(r)*E-12*M*e7(r)*E+10*M*r*e8(r)*dE-3*r^2*e1(r)*dE+6*M*e4(r)*E-3*M*r*e5(r)*dE+6*r^2*e4(r)*dE+8*M*r*e2(r)*dE-18*M*e1(r)*E-r^2*e2(r)*dE+6*r*e7(r)*E-5*r^2*e8(r)*dE) = 0, 1/3*r*(4*e7(r)*E-5*r*e8(r)*dE-4*e4(r)*E+5*r*e5(r)*dE) = 0, r^2*e2(r)*dE-2*r*e1(r)*E+1/3*r^2*e4(r)*dE+2/3*r^2*e7(r)*dE-8/3*M*e7(r)*E+10/3*M*r*e8(r)*dE+2/3*r*e4(r...

I am trying to determine whether there is a particular order to how Maple displays complex and real solutions to equations. for example if I input

>solve(diff(x^6,x)=k,x);

There are obviously complex and real solutions to this, and the output displays both but does Maple always display the real solutions first?

Thanks.

Hi,

I am trying to solve the following optimization problem:

max ∑ij cijxij

st.: xij ≤ indic(∑uvxuv>0), u≠i, v>j, for all i & j,

      xij=0..1, for all i & j, where "indic()" is the indicator function.

My problem lies in evaluation of the inequality constraint. It gives back an error about the non-numeric type of the expression.

I have a list of single digit integers

mylist:=[1,2,3];

and it is easy to use

for x in mylist do convert(mylist[x],binary) end do;

to obtain 1, 10, 11 as the result.

However if

mylist:=[1,2,25];

two values are converted sucessfully but the third produces "Error, invalid subscript selector"

whattype(mylist) gives "list"

whattype(mylist[3]); gives "integer"

 

 

 

Hi all,

is there some way to handle piecewise functions as if they were just another equation? In this case I´ve got a piecewise in 4 segments, one of them empty. The other segments are equations that solve a function for a variable under constraints, i.e. it shows somewhat like:

{(conditions1), q[O]=(...), (conditions2), q[O]=(...), (conditions3), q[O]=(...), else, []}

(I hope you get what I mean. The piecewise is a tad long and I wouldn´t...

Hi folks,

i am brand new to Maple so please excuse if i ask a probably simple question:

Is it possible to get data from the first row of an array into a DropDownBox?

 

I created an array named mat, if i type something like test:=mat(2..,1) Maple shows me the information i need in a column.

Now i want to create an Element (DropBox) in which i want to select data from a list that should show me the same information as the...

 

Hi,

I try to find minimum value for numbers as follow,

for i from 1 to 1000 do

x:= 1+i; 

y[i]:= 2*x+1;

a:=min(seq(y[k],k=1..1000));  print(a); od;

in this case the maple can not provide any solution

however, when i use 100 instead 1000 i obtain result as follow,

for i from 1 to 100 do x:= 1+i;  y[i]:= 2*x+1; a:=min(seq(y[i],i=1..100));  print(a); od;

could you please help me to solve this problem?

Has someone an idea how to create a hysteresis plot that models a system with hysteresis?

A simple plot can be created by plotting two arctan functions (g1,g2)

But, I'd rather need a continous function as in the second example (f1..3).

 

 

 

Dear all,

I'm learning an elliptic curve scalar multiplication algorithm on GF(p^m). I'm trying to find some examples about using Maple to implement an elliptic curve scalar multiplication algorithm on GF(p^m) so that I can learn and apply it to implement the algorithm I'm learning. 

However, I couldn't find any example up to now, maybe I'm unlucky.

Please help me if you know any Maple package or example that I can refer.

Thank you for your help in advance.

 If you see my last question "use fsolve or matrix dissection"CCC.mw 

I want to find C, i finally solve it and get My special C

Now , I Want tolve My problem in block mode,
CCCd.mw

this means that, My matrix elemnts are block matrix, and search for result,

 

I have been using release 14, but was wondering whether MAPLE now can do things standard in MATLAB, JAVA: Is there a way to use the mouse for extract the coordinates of a point from a maple-plot [[ e.g. want to use initialize a dsolve() by graphically selecting the initil data.]] going further, is there a way to "draw" a curve on a maple plot using the mouse -- and get the coordinates of points along the curve back into the worksheet )(e.g. as an array that can be further manipulated)?

Hi guys,

I am wriiting some work in Latex and need to input some Maple code into my Appendix. Does anyone know how to do this? Also, if i have separate sections of code to input in different places, can I create subsections of the Appendix to cater for this?

Thanks in advance

 

I just started using Maple few weeks ago, so i am very new to Maple. I tried to write a program to:

1. read data from excel

2. process the data obtained from different excel sheets to find different possible combinations and calculate costs

3. then to find the minimum cost option

program i wrote is

> with(ExcelTools);
> SHEET1 := Import("analysis.xls", "su1", "A4");
`output redirected...`> print(); # input placeholder

Dears, I wrote with maple the following expressions

if i <> k then

for i to M do

for k to M do

alpha :=(i, k)→evalf(((x[k]-x[i])*ydot[k]-(y[k]-y[i])*xdot[k])*dtheta[i]/((x[k]-x[i])^2+(y[k]-y[i])^2)^2)

end do

end do

 

else

beta :=(i)→evalf((1/2)*(y2dot[i]*xdot[i]-x2dot[i]*ydot[i])*dtheta[i]/omega[i]^2-Pi);

end if;

Matrix(M, M, (i, k) →`if`(i = k, beta, alpha);

First 1968 1969 1970 1971 1972 1973 1974 Last Page 1970 of 2434