i want to solve this Q with out using any function i mean with simple programing plz help me

The formula is given in this wiki article. Doesn't look like "simple programming" can be used.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.