## 571 Reputation

16 years, 57 days
Technical professional in industry or government
Budapest, Hungary

## solving system of inequalities on intege...

Maple

Hello,

This question comes from a math forum, somebody wanted to solve the following system with maple, but he didn't find a way for it:

eqs:={20<=a,a<=60, 20<=b,b<=60, 20<=c,c<=60, 20<=d,d<=60, a+b+c+d=160, 4*a+6*b+8*c+12*d=1200};

where a,b,c,d are integers.

A possible workaround to try each a,b,c,d, numbers in the given ranges to find the solutions, but it would be good from maple to solve it directly.

Can Maple solve these kinds of problems directly?

## filename command?...

Maple

Hello,

Is there a command for displaying the name of the actual worksheet file in Maple?
I am looking for a similar command to currentdir(). It displays the actual file path. I would like to get also the file name of my actual worskheet file.
I would like to attach this information to my results automatically.

## problem with use and parse...

Maple

Helo,

I woud like to read commands from a text file, that contains both expressions in Maple syntax  and  other  things too.
The following example is a simplified version of my problem.

The first example works as expected, it gives a vector of random data :

parse("Statistics:-Sample(Statistics:-RandomVariable(Normal(0, 1)),100)",statement) ;

The following line doesn't work for me (Maple 12), i. e Maple doesn't evaluate the Sample command.

## StringTools[Split]...

Maple

Hello,

I wanted to use the Split command of StringTools package and I realized that it is different from the Split command in Visual Basic.

In VB one can give a third argument to define the maximum numbers of splittings:
For example : in Visual Basic returns the array . , i.e.the function splits the string at the first occurrence of the ":".

It would be useful the improve this command in Maple to have this possibility.

## calculating area...

Maple

Hello,

Is there a direct way to calculate the area of the following 2D region in Maple (analytically or numerically).
The borders of the  region: y=x, y=2*x, x*y=1, x*y=2 {x>0,y>0}
Is it possible to define such region for integration (symbolic or numeric) in Maple?

 1 2 3 4 5 6 7 Page 3 of 8
﻿