Skip to content

simple functions that help electrical engineers with complex numbers

Notifications You must be signed in to change notification settings

dodosiz/complex_numbers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Complex Numbers

It is often that electrical engineers in order to solve circuits they have to calculate complex numbers, it is fustrating to make all the computations on paper or on your calculator.

These simple functions on python help you a lot with that.

How to use it

You can use it very easily on the comand line.

  1. $ cd .\User\Mathematics (Go to directory you want to run the file)
  2. $ git clone https://github.com/dodosiz/complex_numbers.git (Get the files you need)
  3. $ python (open interactive python shell)
  4. $ >>from complex import *
  5. Use the functions and rock the world :), example:
    • $ >>sum_of_polars(2.0, 15.0, 3.0, 30.0)
    • (4.958, 24.008)
    • $ >>polar2rect(5.0, 45.0)
    • (3.53 + 3.53j)
    • $>>help()

Have fun and don't forget to follow me on twiter @code4lifeXanthi

About

simple functions that help electrical engineers with complex numbers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages