The formula provided is correct: P = a + b + c.
To find the perimeter of the triangle with side lengths 5, 12, and 2, we simply add the lengths together:
P = 5 + 12 + 2 = 19
There are no spelling, typographical, grammatical, OCR, or mathematical errors in the text provided. The square root symbol is not present in the text, so there are no errors related to it. The text is properly formatted and presented in a clear, coherent manner.