On the calculation of some differential galois groups