Geoff

70 Reputation

10 Badges

1 years, 96 days

MaplePrimes Activity


These are replies submitted by Geoff

Correction on Bug Report

Sorry, my mistake in the earlier report.

When you click on the histogram (the whole plot, not the individual vertical bars), the Color option does not work.

When you click directly on the vertical bars, the Color option works as expected.

Thanks for your patience.

@C_R 

This integral arises in the context of solving a problem in probability theory.

(25) Display version information

(24) Error with next i

(23) Slight misalignment of [] with [1] at Zoom 100%

(22) Error with break i, or break 2

It works if I put the code in a procedure, using break(i) or break(2).

(21) Logic inconsistency?

(20) Unexpected Behaviour of timelimit

try timelimit(0.03, 12^(7^11)) catch: end try;

does not work.

Is there a way to prevent the program from crashing?

(19) Unexpected Behaviours

@acer 

Wow, this is exactly what I needed. Really appreciate you taking the time to help!

@acer 

Thanks. But what if I want the procedure to accept both Groupings(4, 2) and Groupings([1, 2, 3, 4], 2) as valid input?

Thanks to @dharr for the quick and helpful response, it solved my problem perfectly. Also, thanks to @acer for the additional suggestion and simplification. Your answers were very helpful!

I'd like to add an additional requirement to the original problem::

Example:

Groupings(4, 2)  or  Groupings([1,2,3,4], 2)

Expected output:

[[[[1, 2], 3], 4], [1, [[2, 3], 4]], [[1, [2, 3]], 4], [1, [2, [3, 4]]], [[1, 2], [3, 4]]]

Would you mind suggesting how I could modify your solutions?

(18) Missing solutions in isolve

It appears to be a bug.

The 2 solutions represent two phases of motion under gravity, and both should be returned (as in Maple 7), irrespective of the sign of v__0.

 

Here is the output from Maple 7:

 

1 2 3 Page 1 of 3