Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
you have an identification issue since if e.g. X,Y normal mean 0 the result is normal, mean 0 variance $\sigma^2( 1 + c^2)$, so more than 1 $c, \sigma$ pair can correspond to the dist. of Z.