Python Tutorial CBSE Computer Science Syllabus Complex Numbers Tutorial 5

Published: 29 October 2013
on channel: code
962
12

Welcome

#complex numbers

#Complex numbers are also supported; imaginary numbers are written with a suffix of j or J. Complex numbers with a nonzero real component are written as (real+imagj), or can be created with the complex(real, imag) function.


#Complex numbers are also supported; imaginary numbers are written with a suffix of j or J. Complex numbers with a nonzero real component are written as (real+imagj), or can be created with the complex(real, imag) function.

a= 1.5+4.0j

a.real

a.imag

a= 1.0+2.0j

#to find absolute value of a complex number
abs(a)

b= 1.0+1.0j
#addition of complex number
a+b

#product of complex number

a*b
a*a

#division of complex number
a/b

#subtraction of complex number
a-b



thank you
thank you for watching this video, if you like this video thumbs up (click like) and subscribe. Subscribe the channel for more videos.
Post your comments / doubts for the video, I will consider it.


Watch video Python Tutorial CBSE Computer Science Syllabus Complex Numbers Tutorial 5 online without registration, duration hours minute second in high quality. This video was added by user code 29 October 2013, don't forget to share it with your friends and acquaintances, it has been viewed on our site 962 once and liked it 12 people.