electrodynamics-maxwell
Work with Maxwell's equations and electromagnetic radiation: induction, Faraday's law, EM waves, Poynting vector, radiation from accelerating charges, waveguides, transmission lines, AC circuits, gauge theory, retarded potentials. Use for time-varying fields, antennas, EM waves in media.
- License 许可
- MIT
- 最近更新
- 2026-10-17
- Stars
- ★ 8
- Forks
- 1
01 前言 Front Matter
- name
- electrodynamics-maxwell
- description
- Work with Maxwell's equations and electromagnetic radiation: induction, Faraday's law, EM waves, Poynting vector, radiation from accelerating charges, waveguides, transmission lines, AC circuits, gauge theory, retarded potentials. Use for time-varying fields, antennas, EM waves in media.
02 资源文件 1
- 参考文档metadata.json427 B
03 SKILL.md 正文
Electrodynamics
Maxwell's equations (SI)
∇·E = ρ/ε0; ∇·B = 0; ∇×E = -∂B/∂t; ∇×B = μ0J + μ0ε0 ∂E/∂t. Lorentz force F = q(E + v×B). c = 1/sqrt(μ0ε0).
Key results
- Faraday EMF = -dΦ/dt; Lenz's law; inductance L, energy ½LI²; mutual inductance M
- Potentials: E = -∇φ - ∂A/∂t; gauges (Lorenz: ∇·A + (1/c²)∂φ/∂t = 0); retarded solution φ(r,t) = (1/4πε0)∫ρ(r',t_r)/|r-r'| dV'
- Plane wave: E = E0 cos(k·r - ωt), B = k̂×E/c; ω = ck; energy density u = ε0E²; Poynting S = E×B/μ0; intensity I = ½cε0E0²; radiation pressure I/c (absorb), 2I/c (reflect)
- In matter: v = c/n, n = sqrt(εrμr); Fresnel: normal incidence R = ((n1-n2)/(n1+n2))²; Brewster tan θ_B = n2/n1; total internal reflection sinθ_c = n2/n1
- Conductors: skin depth δ = sqrt(2/μσω); plasma frequency ω_p = sqrt(ne²/mε0)
- Larmor radiation: P = q²a²/(6πε0c³); dipole radiation angular pattern sin²θ; Liénard for relativistic charges; synchrotron radiation
- Waveguides: cutoff frequency, TE/TM modes; rectangular f_c = (c/2)sqrt((m/a)²+(n/b)²)
- Transmission lines: Z0 = sqrt(L/C); reflection coefficient Γ = (Z_L - Z0)/(Z_L + Z0); VSWR
- AC circuits: Z_R = R, Z_L = iωL, Z_C = 1/iωC; resonance ω0 = 1/sqrt(LC); power P = V_rms I_rms cosφ
- Covariant formulation: F^{μν}, ∂_μF^{μν} = μ0J^ν; invariants E²-c²B², E·B
Workflow
Specify sources and media → choose potentials or fields → solve wave equation with boundary conditions → compute energy flux and check conservation (Poynting theorem).
04 同仓库更多 Skills
security-audit
Comprehensive security guidance, source code audit, vulnerability assessment, and penetration test review for codebases, APIs, microservices, CLI tools, libraries, and LLM-backed applications. Triggers on requests to audit a codebase, conduct security reviews, find vulnerabilities or flaws, pen-test source code, or when the user asks in Arabic (فحص أمني، تدقيق الكود أمنياً، مراجعة الثغرات، فحص أمان المشروع). Supports Guidance mode (focused review) and Full Audit mode (deterministic 6-phase harness).
malware-analysis-reversing
Production malware analysis workflows, reverse engineering methodologies, isolated sandbox triage, static/dynamic binary analysis, memory forensics, and YARA detection rule authoring.
application-security-pentesting
Production Application Security (AppSec) standards, OWASP Top 10 vulnerability remediation, SAST/DAST pipeline integration, secure code review, threat modeling, and defensive security posture.
oauth2-oidc-security-flows
Implement enterprise OAuth 2.1 and OpenID Connect (OIDC) authorization code flow with Proof Key for Code Exchange (PKCE), state and nonce verification, refresh token rotation, token revocation, and centralized IdP federation (Keycloak, Auth0, Okta). Trigger when building secure authentication, single sign-on (SSO), or third-party delegated authorization.
jwt-session-management-hardening
Harden JWT-based authentication and session lifecycles using asymmetric signing (RS256/EdDSA), JWKS rotation, strict claims validation, Redis-backed sliding window sessions, revocation lists, and secure HttpOnly cookie storage. Trigger when implementing token validation, session revocation, or hardening API authentication.
soc2-compliance-automation
Best practices for implementing SOC 2 Type II compliance controls, continuous evidence collection, infrastructure policy-as-code, and automated security monitoring. Use when automating Trust Services Criteria (Security, Availability, Confidentiality, Processing Integrity, Privacy), audit logging, IAM least privilege, or CI/CD security gates.