## 165 Reputation

1 years, 271 days

## setting coordinates in the physics packa...

Maple

When I am setting up the coordinates in the physics package, I use the following command. And it sets it to (r,theta,phi,t).

Setup(dimension = 4, mathematicalnotation = true, coordinates = spherical)

Is there a way to change it to (t,r,theta,phi)?

It gets a bit more confusing when we are looking at rank 2 objects.

## Is there a way to try to write this comp...

Maple 2022

I have this tedious looking function that I want to write in terms of the other expression but the command i usually use does not work here because the expressions are not polynomials. I am wondering if there is an alternative to doing this manually.
Temp.mw

## Using Forget in a loop?...

I would like to use the forget command to make maple forget all the things it remembers in each iteration of the loop.

Could someone help me with that?

More details:  I use ansatz to try to solve systems of pdes. sometimes i put the ansatzs in a list and run a loop to try to solve the set of pdes for each ansatz. Sometimes this takes up a lot of memory and maple says kernel connection is lost.

## Solving PDEs analytically...

Maple

I use PDsolve to solve sets of PDEs analytically.

I have had tremendous success with this but recently realized that for PDEs if you manually factor out common expressions , it makes it much easier for maple to solve it.

I was wondering if there were other "tricks" like these that I might be unaware of.

Also I found this link comparing how maple compares to mathematica in solving known PDES just in case the maple developers are interested.
Results (12000.org)

## Solving sets of PDE perturbatively?...

I dont know if this is a well formulated question but if I had a set of PDES that have a constant appearing in them (say alpha), would there be a way to solve for the PDE such that the right had side is not zero but just has higher order order terms (say alpha^3 and higher).

For example consider (the random set of equations)

eq1 := alpha*diff(f(t, r), r,r) + diff(g(t, r), t) + alpha*g(t, r) = 0;

eq2 := alpha*diff(g(t, r), r) + diff(f(t, r), t,t) + f(t, r) = 0;

Is there a way to solve for the system of pde such that the right hand side is only terms of order alpha^3 and higher?

 1 2 3 4 5 Page 3 of 5
﻿