Edinburgh students will get 39,000 iPads as part of a new school initiative