Electrical Engineering
4 tutorials in circuit-analysis
Free
No Login
Circuit Analysis Introduction
Circuit analysis is the process of determining the voltages and currents in each element of an electrical circuit.
Key concepts include passive and active elements, sources, and network topology.
Example
// Basic Circuit Elements
class CircuitElements {
// Passive Elements
static double R = 100; // Resistance (Ohms)
static double L = 0.001; // Inductance (Henries)
static double C = 0.000001; // Capacitance (Farads)
// Active Elements
static double V_source = 12; // Voltage source (Volts)
static double I_source = 0.5; // Current source (Amps)
// Impedance Calculations
static double XL = 2 * Math.PI * 1000 * L; // Inductive reactance
static double XC = 1 / (2 * Math.PI * 1000 * C); // Capacitive reactance
static double Z = Math.sqrt(R*R + Math.pow(XL - XC, 2)); // Total impedance
public static void main(String[] args) {
System.out.println("Inductive Reactance: " + XL + " Ohms");
System.out.println("Capacitive Reactance: " + XC + " Ohms");
System.out.println("Total Impedance: " + Z + " Ohms");
}
}
// Circuit Types
CIRCUIT_TYPES = {
"Series": "Single path for current",
"Parallel": "Multiple paths for current",
"Series-Parallel": "Combination of both"
}Free to use