a standalone code for testing out root finding algorithm for recovering radiation and gas pressure from total thermal energy