heloo i need help on how to tackle the problem. some basic ideas and keypoints.

What is that? Pi or something else? For Pi there are over 64 solutions at https://rosettacode.org/wiki/Pi
Given google I found even more. All skill levels arrive here so if this is to find Pi, why won't those work for you?

commented: thank you +0