how can we make a program for logarithms | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

how can we make a program for logarithms

12th Dec 2016, 7:25 AM
Ganesh Kulkarni
Ganesh Kulkarni - avatar
2 Answers
+ 1
ohhh its really hard 😯😯😯 it require -advanced binary search. -that toonfor integer powers. if u want to make a progeam to calculate logarithms such as log8 with base 2 type easy questions then its quite simpler. but u should.not look at this . just use inbuilt log function
12th Dec 2016, 9:29 AM
manish rawat
manish rawat - avatar
0
https://code.sololearn.com/c83xuOxFS0H4/?ref=app This is in python, using Taylor expansion of ln(x) around x = 1
7th Dec 2018, 5:07 PM
Marco
Marco - avatar