function [out] = chemo(t,dosageC,frequencyC)

shot=frequencyC(1);
Break=frequencyC(2);
sessions=frequencyC(3);

Time=((mod(t, shot+Break)<shot).*mod(t, shot+Break)./shot).^(1/3);

out = dosageC.*(t < sessions.*(shot+Break)).*sin(pi.*Time);

%dosageC*(t < sessions*(shot+Break)).*(mod(t, shot+Break) < shot);