Visitors to St Andrews discovered the formula for fun during a free event to mark Fife Science Festival on Saturday.
The family event at the university’s school of physics and astronomy incorporated an impressive array of interactive activities and workshops, covering subjects as diverse as the underwater world and climate change, to our five senses, electricity and radars.
Visitors also got the chance to make their own electronic bagpipes, discover how to improve their memory and explore the university’s planetarium and observatory.
St Andrews Cathedral was also a hive of activity as people got to grips with 800-year-old techniques.
Visitors found out about the design of ancient buildings such as the cathedral and were also given the chance to handle the types of tools and materials used eight centuries ago.
Part of the science festival, the event offered an explanation for how energy, friction, pulleys, arches and mechanical advantage were all used to overcome almost insurmountable problems.
Enthusiasts were given the chance to build their own mini siege machines. Fife Science Festival runs until March 20.For more information visit www.fifesciencefestival.org.uk