## 182 Reputation

19 years, 215 days

## solidcircle plot...

Maple
<p>Dear all:</p>
<p>  I tried to plot contour of x^2 + 5*y^2 and two solid points. However, the option SYMBOL(_SOLIDCIRCLE) does not seem to work. Does anyone know how to fix this? Also, I am wondering how to plot a line with arrow head (direct line between 2 points) in maple?</p>
<p> </p>
<p>f:= x^2 + 5*y^2;<br />
cf :=contourplot(f,x=-15..15,y=-15..15,contours = 15,scaling = constrained):</p>
<p>plots[display](cf, POINTS([7, 9],[5, 5],SYMBOL(_SOLIDCIRCLE)));</p>
<p> </p>
<p>Many thanks,</p>
<p>Peter</p>

## sampling multivariate distribution...

Maple

Dear all:

I assume this is an easy question, but I simply couldn't find an answer: How to sample from a multivariate normal distribution give a mean M and covariance matrix Ccov? The statistics package seems to only contain 1-d distributions.

Thanks a lot,

Peter

## adding more properties to elementary fun...

Maple

Dear all:

I am wondering if there is any way in Maple to add properties to elementary functions? For example, both

is(sin(x),continuous) assuming x::real;

and

is(sin(x),monotonic) assuming x>0 and x<Pi/2;

fail. More specifically, how to tell Maple that sin(x) is continuous and monotonic if  k*Pi <= x <= k*Pi + Pi/2 ?

Another question is that I am not very sure how to use the monotonic property, i.e how it can be used to simplify your expression? Can someone give me an example?

Thanks,

## prettyprint for printf...

Maple

Dear all:

I am wondering if there is any way in Maple you can do prettyprint with the printf?  Printf gives me more power but the output format of printf is "C-style". For example,

f := exp(x) + 3*sqrt(exp(x));

f1 := subs(exp(x)=y,f);

printf("Transformation is %a s.t %a => %a\n", f,f1 );

gives a display which is very hard to read. Is there any way to do a prettyprint with this kind of things?

Thanks,

Peter

## differentiability test...

Maple

Dear all:

I wonder if there is any function in Maple checking whether a given function is (m-th) differentiable or continuous?

Thanks,

Peter

 1 2 3 Page 1 of 3
﻿