The current is computed from the division of the supply voltage (V) and the complex impendence (Z).The calculations in electrical engineering to use resistance, Voltages, and current normally use real numbers. These numbers are not only used by users when handling sinusoidal vectors and sources. The program introduces complex numbers to enable complex equations to be worked out with figures that are roots of imaginary numbers.The variables used in programming include the inductive reactance, capacitive, complex impedance, Z amplitude, Z phase, and Z phase. To distinguish the real and the imaginary number, the j operator has been used on the formula to determine the complex impedance. The j operator is used before the difference between the inductive and capacitive reactance to signify the operation of an imaginary number. Therefore, complex impedance has two distinct but related sections; real number and imaginary number. From the variables, R signifies the real number, while the difference between the inductive reactance and capacitive reactance is an imaginary number. When the complete impedance square root is determined, the imaginary number’s vector will rotate by 180. The complete impedance is represented mathematically by using a cosine rule called the Cartesian form and the rectangular form. From the variable formula, Resistance is the active component, j is defined as the square root of -1, while the difference between the inductive reactance and capacitive reactance are the reactive component. The division of complex impedance is difficult to perform as it needs using the conjugate function in converting the denominator to a real figure. Hence, the polar form is used in carrying out the operation. The Z amplitude and Z phase uses the polar form. The variables are written in terms of angle and magnitude. In polar, the length L and the angle shows the complex impedance rather than a point. In this form the conjugate of the complex impendance has similar modulus, this signifies the angle that varies. The program therefore, harmonizes the two forms to come up with the current of the circuit.Programming can be a complicated activity. No programmer can write a perfect code for the application. The errors of programming caries, the techniques that are used in locating and addressing them need to be calibrated to suit. A syntax error can be defined as errors arising due to missing parenthesis, colon, and
ReferenceMagnuson, Robert A.. PDOC: program documentation system. Rev. 06/17/83. ed. Bethesda, Md.: Data Management Branch, Division of Computer Research and Technology, National Institutes of Health, 1983. Print.
Please type your essay title, choose your document type, enter your email and we send you essay samples