"""Original LCENJ educational calculation, CC0-1.0. Python3.10+ standard library.
No RF transmission, device access or measured input.
"""
from math import cos,radians
c=3e8; f=24e9; wavelength=c/f; speed=1
fd=2*speed/wavelength; radial=speed*cos(radians(60)); angled=2*radial/wavelength
assert abs(fd-160)<1e-12 and abs(angled-80)<1e-10
print(f"wavelength={wavelength*1000:g} mm; direct Doppler={fd:g} Hz; at60deg={angled:g} Hz")
print("Calculated hypothetical examples only; no hardware, RF or measured-data test.")
