jjrohal

10 Reputation

2 Badges

14 years, 104 days

MaplePrimes Activity


These are questions asked by jjrohal

This is a Windows specific question. If I currently have the worksheet named "myworksheet.mw" in the directory "C:\projects" open in Maple, is there a command I can execute to retreive the path "C:/projects" as a string? 

INPUT:
  [1,2] + [3,4]*x
DESIRED OUTPUT:
  [1+3*x, 2+4*x] as a list

Right now I do the following:
  >  combined := evalm([1,2] + [3,4]*x);

combined := [1 + 3*x, 2 + 4*x]

 
  >  combined := convert(combined, 'list');

combined := [1 + 3*x, 2 + 4*x]

The reason I need to use...

How would I create an interactive component similar to the Locator functionality provided in Mathematica? For example, the command in Mathematica

Manipulate[
  Graphics[Polygon[pt], PlotRange -> 2],
  {{pt, {{0, 0}, {1, 0}, {1, 1}, {0, 1}, {1, -1}}}, Locator}
]

creates five Locator objects stored in the variable pt. This example can be found in the

I am looking for an implementation of the Mathematica equivalent of RegionPlot whose description should be like:

RegionPlot(pred,x=x_min..x_max, y=y_min..y_max) makes a plot showing the region in which pred is True.

For example, I would like to execute:

> RegionPlot(f(x,y) > 0 and g(x,y), x=x_min..x_max, y=y_min..y_max)

where g(x,y) outputs True/False.

One idea I had was to use:

> densityplot(`if`(pred,1,0...

Page 1 of 1