AGENT SKILL

oscillations-and-waves

Handle oscillators and waves: simple, damped, driven harmonic motion, resonance, coupled oscillators, normal modes, wave equation, standing waves, superposition, dispersion, Doppler effect, Fourier analysis. Use for springs, pendulums, strings, sound and wave phenomena.

License 许可
MIT
最近更新
2026-10-17
Stars
★ 8
Forks
1

01 前言 Front Matter

name
oscillations-and-waves
description
Handle oscillators and waves: simple, damped, driven harmonic motion, resonance, coupled oscillators, normal modes, wave equation, standing waves, superposition, dispersion, Doppler effect, Fourier analysis. Use for springs, pendulums, strings, sound and wave phenomena.

02 资源文件 1

03 SKILL.md 正文

Oscillations & Waves

Oscillators

  • SHM: ẍ + ω0² x = 0; ω0 = sqrt(k/m); pendulum ω0 = sqrt(g/L) (small angle); physical pendulum ω0 = sqrt(mgd/I)
  • Damped: ẍ + 2γẋ + ω0² x = 0. Under (γ<ω0): ω_d = sqrt(ω0² - γ²); critical γ=ω0; over γ>ω0. Q = ω0/2γ
  • Driven: amplitude A(ω) = (F0/m)/sqrt((ω0²-ω²)² + 4γ²ω²); resonance near ω0 (peak at sqrt(ω0² - 2γ²)); phase lag δ = atan(2γω/(ω0²-ω²))
  • Coupled: solve det(K - ω²M) = 0 for normal modes; N-chain dispersion ω = 2 sqrt(k/m)|sin(ka/2)|

Waves

  • 1D wave equation: ∂²y/∂t² = v² ∂²y/∂x²; general y = f(x-vt) + g(x+vt)
  • String v = sqrt(T/μ); sound in gas v = sqrt(γRT/M); phase v_p = ω/k; group v_g = dω/dk
  • Standing waves: fixed-fixed f_n = n v/2L; open-closed pipe f_n = (2n-1)v/4L
  • Intensity I ∝ A²; decibel β = 10 log10(I/10⁻¹² W/m²)
  • Doppler: f' = f (v ± v_o)/(v ∓ v_s); relativistic version in special-relativity skill
  • Interference: constructive path difference mλ; beats f_b = |f1 - f2|
  • Fourier: any periodic function = sum of harmonics; use FFT for numeric spectra; uncertainty Δω Δt ≳ 1/2.
  • Energy in oscillator averaged over a cycle: ½kA².

Pitfalls

Small-angle approximation fails above ~15° for precision work; exact period T = 4 sqrt(L/g) K(sin(θ0/2)).

04 同仓库更多 Skills

hamzabellouch
hamzabellouch/agent-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).

★ 8
hamzabellouch
hamzabellouch/agent-skills

malware-analysis-reversing

Production malware analysis workflows, reverse engineering methodologies, isolated sandbox triage, static/dynamic binary analysis, memory forensics, and YARA detection rule authoring.

★ 8
hamzabellouch
hamzabellouch/agent-skills

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.

★ 8
hamzabellouch
hamzabellouch/agent-skills

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.

★ 8
hamzabellouch
hamzabellouch/agent-skills

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.

★ 8
hamzabellouch
hamzabellouch/agent-skills

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.

★ 8