feFet , I need someone to write a Python code (deleted by accident earlier)

I want a Python code that concentrate on the Accumulative Switching as shown in the file , at the end it’ll give me a graph for Vth as a function of N as in: Number of pulses. I’ll upload a paper that I’m using as a reference in my project. The code has to include parameters only and I can upload examples for codes if necessary. Thanks.