Casimir entropy is an important aspect of casimir effect and at the nanoscale is visible. In this paper, we employ the path integral method to obtain a general relation for casimir entropy and internal energy of arbitrary shaped objects in the presence of two, three and four dimension scalar fields and the electromagnetic field. For this purpose, using Lagrangian and based on a perturb...