Pupils at a North Yorkshire school have shown that when it comes to maths they are among the country's best.

Ripon Grammar School proved it had a winning team when pupils won first prize in a national contest held by Edge Hill College of Higher Education, in Lancashire.

They received the Pythagoras prize of graphing calculators for themselves and their classmates, at the sixth annual Edge Hill Mathematics Challenge.

The competition attracted a record number of entrants from across the country, with 230 teams of year nine pupils competing for the award.

Ripon joined 27 teams in the final round at Edge Hill's Ormskirk campus.