I want to plot the function
up to sum finite k. I'll take the t values from the horizontal axis.
What I have so far:
def f_func(n, t):
summation = sum([np.sin(k*t)/k for k in range(n)])
return summation
Now that I have the function, I want to tell matplotlib to use it's horizontal axis as the time parameter, while I choose a specific k parameter. How do I go about doing this?

