For example a process may occur at constant pressure with pressure prescribed as an independent variable , and temperature changed as another independent variable , and then changes in volume are considered as dependent .