Is there any grammar error

The ideal gas law, where P=pressure, V= volume, n=amount of substance, R=ideal gas constant, and T=temperature, was used in the experiment to determine the expected maximum volume of gas produced and to determine the size of the gas syringe.

There are no grammar errors in the sentence.

No, there are no grammar errors in the given sentence. However, there are a few suggestions for improving the clarity and flow of the sentence:

"The ideal gas law, which relates pressure (P), volume (V), amount of substance (n), the ideal gas constant (R), and temperature (T), was utilized in the experiment to determine the expected maximum volume of gas produced and to determine the size of the gas syringe."