## 312 Reputation

19 years, 37 days

## How does &^ mod work?...

Maple 2023

> kernelopts(version)
Maple 2023.2, X86 64 LINUX, Nov 24 2023, Build ID 1762575

I got results I did not expect using &^ and mod. So, I created a simple example.

powermod.mw

&^ ... mod does not seem to allow () to set order of execution where ^ ... mod does.

How does &^ ... mod arrive at the values that are different than ^ ... mod?

Tom Dean

## How do I handle FAIL...

Maple 2023

I want to execute a function at least one time. So, I use do ... until ...

However, the function sometimes returns FAIL. So, I looked at help FAIL.

FAIL.mw

The while loop works. The until loop returns an error. evalb(testeq(...)=FAIL) seems overly complicated.

Tom Dean

## Is this a Maple error or my system?...

Maple 2022

Maple 2022.2

> restart
> expr = x^4-10*x^2+1
> plot(expr)

produces an error message:
com.maplesoft.maplets.ComponentAccessException: not a valid plot structure

plot(expr, x) works Ok.

Tom Dean

## How do I verify solutions of multivariab...

Maple

I have a set of multivariable polynomial equations. I want to show that each member of the solution set is a solution to the equations and that members of the solution set is unique. I want the result of verify to return one true, not many. Also the result of unique.

Is there a simpler way?

eq-soln-verify.mw

## How do I create the groups (Z/nZ)+ and (...

Maple 2022

I want to create the groups (Z/nZ)+ and (Z/nZ)*.

I can do this in python for n=7. I want to do this with other values of n.

(Z/7Z)+
0 1 2 3 4 5 6
0 0 1 2 3 4 5 6
1 1 2 3 4 5 6 0
2 2 3 4 5 6 0 1
3 3 4 5 6 0 1 2
4 4 5 6 0 1 2 3
5 5 6 0 1 2 3 4
6 6 0 1 2 3 4 5

(Z/7Z)*
1 2 3 4 5 6
1 1 2 3 4 5 6
2 2 4 6 1 3 5
3 3 6 2 5 1 4
4 4 1 5 2 6 3
5 5 3 1 6 4 2
6 6 5 4 3 2 1

I tried creating a Cayley table but can not get that right.

 1 2 3 4 5 6 7 Last Page 2 of 15
﻿