 These ritual considerations include a lunar calendar, definition of prayer times based on the position of the sun, and a direction of prayer set at a specific location.Scientific methods have also been applied to Islamic laws governing the distribution of inheritances and to Islamic decorative arts.Some of these problems were tackled by both medieval scientists of the Islamic world and scholars of Islamic law.