Light Source Sampling & Maximum-Likelihood Localization

Hard · ML Coding

Simulate Cauchy-distributed screen hits from a 2D point light source, compare empirical samples against the theoretical PDF and CDF via histogram L1 and KS distance, and localize the light source position and height via maximum-likelihood estimation.

This is a Pro problem. Pro unlocks the full prompt, a step-by-step walkthrough, a reference solution and tests you can run.

See Pro plans

More OpenAI problems