 x
We use cookies to create the best experience for you. Keep on browsing if you are OK with that, or find out how to manage cookies.

Computer Programming Techniques

The current is computed from the division of the supply voltage (V) and the complex impendence (Z). Te calculations in electrical engineering to use resistance, Vltages, ad current normally use real numbers. Tese numbers are not only used by users when handling sinusoidal vectors and sources. Te program introduces complex numbers to enable complex equations to be worked out with figures that are roots of imaginary numbers. Te variables used in programming include the inductive reactance, cpacitive, cmplex impedance, Zamplitude, Zphase, ad Z phase. T distinguish the real imaginary number, te j operator has been used on the formula to determine the complex impedance.

Te j operator is used before the difference between the inductive and capacitive reactance to signify the operation of an imaginary number. Terefore, cmplex impedance has two distinct but related sections; ral number and imaginary number. Fom the variables, Rsignifies the real number, wile the difference between the inductive reactance and capacitive reactance is an imaginary number. Wen the complete impedance square root is determined, te imaginary number’s vector will rotate by 180.

impedance is represented mathematically by using a cosine rule called the Cartesian form and the rectangular form. Fom the variable formula, Rsistance is the active component, jis defined as the square root of -1, wile the difference between the inductive reactance and capacitive reactance are the reactive component. Te division of complex impedance is difficult to perform as it needs using the conjugate function in converting the denominator to a real figure. Hnce, te polar form is used in carrying out the operation. Te Z amplitude and phase the polar form.

Te variables are written in terms of angle and magnitude. I polar, te length L and the angle shows the complex impedance rather than a point. I this form the conjugate of the complex impendance has similar modulus, tis signifies the angle that varies. Te program therefore, hrmonizes the two forms to come up with the current of the circuit. Pogramming can be a complicated activity. N programmer can write a perfect code for the application. Te errors of programming caries, te techniques that used in and addressing them need to be calibrated to suit.

A syntax error can be defined as errors arising due to missing parenthesis, clon, ad.. .

Related Topics

Close ✕ 