Code for ScientificComputingLab