## 1187 Reputation

12 years, 189 days

## Is there a different way to find the con...

Maple 2022

This a more a math question than  a maple programming question. But interesting.

I have a point P=[x,y] on a line y= 2+3x. The point maps to Pn=[f(x, y), g(x, y)]. That represents a conic.

I want to find the equation of the conic. I did it by calculating 5 points and that works fine but only because I know I'm looking for a conic.

Can the problem by solved without having to get the five points?
I copied and pasted the equations for the lines because they were generated by commands in a pagkage I have.

 n

## Package is not recognising it's special ...

Maple 2022

This is part of a package I put together in VScode. Testing it using CMaple.exe worked fine from the code editor. Then I imported it into Maple and saved it as a package, After ra restart  using using with(....) to load it, the special types defined in the package are not recognised. Procedures that don't check for the special types work ok. I have included one of each in the worksheet.

If I just read in the .mpl file things do work.

What is the cause of this problem?

A secondary question. If I use the same special types in another package. Would that cause a conflict if both are loaded together?

 > restart

2*x-2*y+5*z+8 is type _T1.

[2, -2, 5, 8] is type _T4L.

 > RationalTrigonometry:-QQF(a,b,c,d)

 > RationalTrigonometry:-QQF(10^2,5^2,2^2,3^2)

 > restart
 > with(RationalTrigonometry)

Error, type `_T3L` does not exist

 > QQF(10^2,5^2,2^2,3^2)                        5760000 = 5760000

## Graph Theory Get index of Neighbors posi...

Maple 2022

This is really a question on getting index positions of a sub list from the main list.

Have a list of Vertices and a list of populations for each vertes.

Then from the Neighbours list I need the respective positions in the Vertex list to sum to corresponding values from the population list.

2nd Question  Can the population values be displayed near its vertex or in the vertes circle? e.g y=5

## Internal setting in module/package Quest...

Maple 2022

I have in internal procedure ppp that has an input prjpsn:=3. This set a Vector positions of x,y,z to either if prjpsn=1

zpsn=1,   xpsn=2,  ypsn=3

or if prjpsn =3

xpsn=1,   ypsn=2, zpsn=3

This then are used in another procedure. I can't get the values to transfere.  prjpsn would default to 3 in the module but can be set externally to 1 if needed.
The relevant parts are highlighted in green text. Cant get the worksheet to display.

Maple Worksheet - Errorprjpsn:=3

Failed to load the worksheet /maplenet/convert/Q_14-12-22_Module_internal_settings.mw .