## Can simplification to sec and csc be turned of?...

My world of trigonometric functions has a very simple structure: sin, cos and tan are what I need.

That's why I very much welcomed the simplification of sin/cos to tan recently introduced with Maple 2023.

What I neither need nor want is the simplification of 1/sin and 1/cos to sec and csc. I'm not used to that (and probably won't get used to it).

Can this simplification to sec and ccs be turned off (and preferably the simplification to tan be kept)?

## why Maple remember the sorted polynomial?...

Another very strange behavior.

```res:= x^2 + x + 1 + 1/3*x^3 + 1/12*x^4 + 1/60*x^5 + 1/360*x^6 + 1/2520*x^7;
sort(res);

#and now
res```

Without trying it, what do you expect the output of the last line above to be?  The same as the first one, right?  But that is not what Maple gives. Maple now changes res to always be sorted, even though I have not reassigned it.

Does this mean if one calls sort(), then all the variables that contains polynomials will also be sorted automatically?

Unable to upload worksheet. So here is screen shot

## why this limitation in the limit() command?...

These give errors

```limit(y(0),y(0)=1)

limit(y(x),y(x)=1)

```

Error, (in limit) limit variable previously assigned, 2nd argument evaluates to y(0) = 1

One has to write

```limit(y,y=1)
```

But why? Is this because y(x) is not considered "algebraic" ?

Mathematica has no problem with either one of these

I found this when I was trying to find the limit at initial conditions, when x=0 and y(0)=1 and wanted to take the limit on both x->0 and y(0)->1

I can easily code around this, by renaming y(0) to say Y0 and then the limit will work.

It just seems to be unnecessary restriction of the limit() command parsing ability.

What is the logic behind not allowing one to write limit(y(x),y(x)=1) ?

## Assigning operator to the output of an entered com...

My problem is as follows:

With the Statistics package (or whichever other package) I will do a PolynomialFit on some data. This will result in a function, e.g. x^2. How do I assign this output (which appears to be the function only, no other bells attached) to an actual function which I can later refer to (I want to do as follows):

with(Statistics)

f(x):=PolynomialFit(n, DATA, variable)

f(3) = 3^2

See the attached screenshot for what actually happens:

It appears as if it tries to run PolynomialFit but with a different argument when I do this.

Help would be appreciated as to how I can define the output of PolyFit as a function.

## Looking for software to do drawing that become cum...

Many times, I can create the drawing for physics problems. But sometimes, it is just too lengthy to do. And the tools are limited. For example, you cannot draw an arc circle to represent the angle between two vectors. You can look at a simple drawing that I made (see included document). You will see that to draw the rotation vector that shows in what direction the axis rotate. I had to draw it with the pen and this is never beautiful. So if someone knows of a pretty good software (free is even better but at least not too expensive), I would really appreciate.

3-D_rotating_axes.mw

## How should i remove all brackets?...

How should i remove all brackets and conditions, such that i can fetch only equation t2 = something. I am attaching the image below.

## How do you convert a matrix to an image?...

Used to know, I think.  How do you convert a Matrix to an image?  I want to use the PadImage command from the ImageTools package.

## FHow can I set the attribute "Parameters" in a use...

Here is a notional example of a user defined  Probability Distribution:

• One of the "attribute" or "property" (sorry but I don't know the correct word to use) in any known distribution (that is already implemented in Maple) is Parameters: an example is  provided for a Gaussian RV.

• In a first stage I define a simple Distribution named MyDist and declare X as a random variable of distribution MyDist.

• Then I decide to complete the definition of MyDist by adding the "property" Parameters.
I get an error I don't know how to get rid of.

Does anyone has any idea to fix that ?

PS: I browse the Statistics library to try and understand how this "property" is defined for a known distribution but I couldn't find any clue.

 > restart
 > with(Statistics):
 > G := RandomVariable(Normal(a, b)): attributes(G)[3]: exports(%); (attributes(G)[3]):-Parameters;
 (1)
 > MyDist := (mu, Sigma) -> Distribution(Mean=mu, Variance=Sigma): X := RandomVariable(MyDist(m, V)); (Mean, Variance)(X);
 (2)
 > MyDist := (mu, Sigma) -> Distribution(Mean=mu, Variance=Sigma, Parameters=[mu, Sigma]): Y := RandomVariable(MyDist(m, V));
 (3)
 >

## How do I automatically change the polynomial ring ...

Hi every one

How do I automatically change the polynomial ring R=K[x1,...,xn] into the quotient ring R/I when I is a homogeneous ideal of degree d in R?

For example, let I be a polynomial ideal generated by [x-y, x^2+y^2+z^2] in R=K[x,y,z]. In the middle of the computations, the ideal B=[x-y] is computed and now we have to continue the calculation at the quotient ring R/B. How does change R into R/B automatically in Maple and then [x^2+y^2+z^2] changes into [2y^2+z^2] and K[x,y,z]/[x-y] ----> K[y,z]?

## dot in Maple Code attachment name...

Just wonder if there are any known issues when using dots in Maple code attachment names?

Only issue so far that I can see is that error messages are split a bit strange.

## How can i plot the stream lines by using velocity ...

How can i plot stream lines by using velocity components (tx+1, -ty-t^2)? or by stream function?

## Sorting a series of parametric numbers...

how can i sort [x,x/3] to [x/3,x]

sort([x, x/3]) ?

## Looking to create a GUI...

I looking to create a GUI may be from outside say script language or any given language may be

The main intention is I have my

maple code

And

A python code

In the same folder say

I create a GUI with two buttons

When I click one button it runs my maple file in that folder and generates the output

Second button runs the python file that folder generates the output

Is such a coding  creatable

One more import is can we call a maple code to run from python like how we call exe files

And

Can we call python compiler attached and file from maple and run it

## How do I solve this ODE?...

I need help to solve this ODE,

I didn't get series values F(k+3),Theta(k+2),phi(k+2),error comes in summation values.and

How to find the unknown parameters A,B,C.