## 942 Reputation

11 years, 354 days

## Select powers and coeffs on a general ty...

Maple

I was experimenting on and found coeff and degrees  do not work with algebraic type powers. So I set aboud dismanteling  a example polynomial. I certainly went around the houses doing this. I wanted to put the powers and coefficinets of x in an array.

I sure there must be a simpler way.

## Remove limit from integration answer...

Maple 2022

How should I handle the limit in the integration answe?. I don't see why it is necessary.

## Can I insert a Hyperlink to a Geogebra d...

Maple 2022

I would like to insert a hyperling to a geogebra document but the hyperlink box deosn't appear to allow general files. Can this be done?

## Problem with long description in a proce...

Maple 2022

I have a long description that contains some Maple commands.
I dont want to use # as the lines dont show up when i use

```Isee:=proc(a)
interface(verboseproc = 3);
printf("%P", eval(a));
end proc
```

The long description is. Any way around the problem?

```Test:=proc(A,B,C)  description  "Computes projective line through 2 projective points or intersert of 2 projective lines as a projective point or coincidence of piont  line
Does some checking on validity of inputs.
Mobposn:- Global Variable, must = 1 or 3.
Points are returned as <1,x,y> or <x,y,1>
Lines are returned as <z,x,y> or <x,y,z>,
normalgpt :- Global Variable must be 0 or 1.
Points with algecraic elements are not reduced to <1,x,y> or <x,y,1> if 0
Points are defined as row vectors and  lines as column `vectors"`;

print(A,B,A-C);

end proc;```

## How can an row Vector be extended?...

Maple 2022

I need to conver 2D points to projective points. Originally I used lists but now need to handle vectors too. To add to that that the projective coordinate for points is now being stated as [1,x,y] instead of [x,y,1]. That is was easy enough to handle for lists.

I have a lot of old worksheets that use the list form [x,y,1] that I want to maintain compatibility with. I only have one procedure I need to convert.

```Mobposn := 1;
testP := [2, 7];
if Mobposn = 1 then
[1, op(testP)];
else
[op(testP), 1];
end if;```

I need to do the same for vector definition of the points. The points are defined as row Vectors

`A:=<2,7>^%T`

to get

```Ap:=<1,2,7>^%T

or

Ap:=<2,7,1>^%T```

I know coud just do (as these are short vectors)

```Ap:=<1,A_1,A_2>^%T

or
Ap:=<A_1,A_2,1>^%T```

Is there a more general way?

 4 5 6 7 8 9 10 Last Page 6 of 25
﻿