I want to know the answer to the following question:
What was the purpose of studying natural sciences in madaris?
All the background I'm provided with is that "For example, a natural science like astronomy was only studied (if at all) to supply religious needs, like the time for prayer.". Is that enough to answer the question?