25 Reputation

16 years, 15 days

How to use X≔Statistics[RandomVariable](...

Maple 2016

When I try:

X≔Statistics[RandomVariable](Normal(0,1)):
Statistics[Sample](X,10);

I get:

Error, (in Statistics:-Sample) invalid input: expected distribution or algebraic expression with random variables, but received X

What am I doing wrong?

curious behavior, simplify vs. factor...

Maple 2016

> S:=-1/2*((-30*sqrt(3)+81*I)^(2/3)+21+2*sqrt(3)*(-30*sqrt(3)+81*I)^(1/3)-6*(-30*sqrt(3)+81*I)^(1/3)+I*sqrt(3)*(-30*sqrt(3)+81*I)^(2/3)-21*I*sqrt(3))/(-30*sqrt(3)+81*I)^(1/3);

When I enter

simplify(S);

a not much simpler expression involving arctan is output
but when I enter

factor(S);

the expected simplification to the number

3

is output.

This is not a but report, just a report of curious behavior.

I am using Maple 2016 on a Windows 10 PC.

How can I get maple2016 to simplify sqrt...

Maple 2016

How can I get maple2016 to simplify to ?

Problem with hot keys...

Maple 2016

I should be able to use F3 to break into a multline nested loop and insert a new line of code, and then F4 to close it up again before execution.  The F4 works for closing things up.  But the F3 does NOT work.  Is this a known problem?  Is there another way to do it short of a lot of cutting and pasting?

Why Unexpected Lack of Output?...

Maple 16

Here is my Maple 16 code:

I expected to get outuput

a [a,b,c]

a [a,c,b]

But I get no output.

Why?

 1 2 Page 1 of 2
﻿