ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1420. Integer-Valued Complex Division

What mean |b| for complex
Posted by Dembel {AESC USU} 20 Oct 2006 18:59
what mean |b| for complex?
for example:
b=7+0i    |b|=?
b=7-2i    |b|=?
b=-2i     |b|=?

Edited by author 20.10.2006 19:00
Re: What mean |b| for complex
Posted by Tolstobrov Anatoliy[Ivanovo SPU] 20 Oct 2006 21:12

b=x+y*i

|b|=Sqrt(x*x+y*y)