Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding Square root without using the in-built function.

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
Hi all,
Can anyone give me the code on how to find the square root of a number without using inbuilt square root function in Cobol.
Thanks in advance.

-Shirish
 
hi,
logic is very simple ya...

calculate or compute result = input-no ** 0.05
display result.
bye.,
thiyagu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top