Text this: Gaussian Q Function Approximation in Wireless Communication System’s Design: A Gradient-Based Optimization Approach