Text this: Analyzing the chaotic and stability behavior of a duffing oscillator excited by a sinusoidal external force