But instead of scribbling the answers down in a notebook, the pupils each work out the equation on a tablet and their answers pop up on a big computer screen at the front of the classroom.
Boitumelong Secondary School is the first of seven Gauteng township schools to "bury the chalkboard" and adopt new technology to teach.
Gauteng education MEC Panyaza Lesufi addressed media at the school on Tuesday, a day before the official launch of the project.
"Tomorrow morning in this school, we are officially burying the chalk board, we are officially burying the duster, we are officially burying the chalk," he said.
"Gone are the days when they have to write in exercise books and hand in the assignment."
The department hopes to roll the project out to all Gauteng township and rural schools by the end of the 2017/2018 financial year at an estimated cost of R17 billion.
All high school children will be provided with a tablet as well as grade 7 pupils in primary schools in order to train them to use the devices.
"We are making this investment so that we can compete with the best countries.
"We were influenced by the thinking of South Korea, which is the best in terms of children who can read, write and calculate."
Township schools that scored 100 percent in the 2014 matric exams would be the first to benefit from the project.
"We want the schools which are performing, to give them the capacity to do so," Lesufi said.
Lesufi said township pupils should not have to suffer because of where they live.
"I want to radicalise education in the township so that they can compete with any other learner."
Each school has a pupil and teacher centre where lessons can be prepared and homework done.
A dedicated technician would be placed at each school to help iron out glitches.
The schools were provided with unlimited data, including 4G connectivity, to ensure the pupils could work from home.
The internet costs at the seven schools had been fully paid for by other government departments and the private sector.
"We as government, as the department of education, have paid nothing in terms of connectivity. We went to government departments whose mandate is connectivity and asked them to connect the schools," he said.
"We're quite proud that the private sector in the country, when we shared our vision with them, they came on board."