Concept Flow - Arithmetic expansion $(( ))
Start
Evaluate expression inside $(( ))
Perform arithmetic operations
Replace $(( )) with result
Use result in command or variable
End
The shell evaluates the arithmetic expression inside $(( )) and replaces it with the computed result for use in commands or variables.