Periodic open and closed resonators as a biosensor using two computational methods | Synapse