So I am currently working on my internship. My Supervisor gave me a task where I have to do a certain System as my first task. I'm almost done with the system, however, I encountered a problem where I can't do a certain function in the system. It still works perfect fine though, it is not that major but it would be so much better if I got it done. I've been working for that function for two weeks now, studying and researching but I really can't really make it work. I am giving up.
Now, I want to pass the system I made on to them and tell them that, that is all I can do and that I want to start my next task now since I feel like I'm wasting my time trying to make the function work when I know that I can't really do it.
I am actually nervous about telling this to them. They are not expecting me to finish the system completely actually, but they once told me that if I finished it then it's better because if it's really good then they might use it. But they are not pressuring me or something. I just don't feel good thinking that I will give them a system that is not perfectly working on some point. But the fact that I am doing nothing for the past 2 weeks is making me feel bad.
How do I tell my supervisor that I'm struggling with my currently assigned task, can't improve what I've done so far, and want to start my next task?