Write a program to find log of a number without using any inbuilt functions

Manish Goyal

Manish Goyal

@manish-r2Hoep Oct 25, 2024
Few days ago My boss put a deal in front of us to write the above mentioned program and get One Mc Veggie ?

The time given was 8 hrs

I was not able to complete it, can anyone take it

Note:- Please don't look for Google or any external help 😀

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Pensu

    Pensu

    @pensu-8tNeGU Oct 27, 2011

    Cant we do it using Log series?? Obviously it wont give exact answer as it needs the limit to infinity, but u can get an approximation. Take a large number as limit and compute the series.
  • Manish Goyal

    Manish Goyal

    @manish-r2Hoep Oct 27, 2011

    Yes you can use anything except inbuilt functions
  • Manish Goyal

    Manish Goyal

    @manish-r2Hoep Oct 27, 2011

    ok though i am not trying this program now , but i think newton rapson method can be useful in this program , since we need to perform floating point iterations here