Answer:
The period of oscillation of the spring T = 0.702 sec
Step-by-step explanation:
Mass = 0.5 kg
Spring constant k = 40

Compression of spring = 0.35 m
Period of oscillation

Put all the values in above equation

T = 0.702 sec
This is the period of oscillation of the spring.