Giter VIP home page Giter VIP logo

Comments (3)

Nshul avatar Nshul commented on August 26, 2024 4

graph
grp1
grp2
Graph has been generated using Google
Inequalities like these are quite easily solved by observing their graph. Here it can be seen that to get n<8*lgn
we have plotted x-8(lgn) thus when this graph is negative we get the required values of n
hence
2<=n<43
Hope this helps

from clrs.

argonlaser avatar argonlaser commented on August 26, 2024 3

Hi @scriptnull ! We have to solve an inequality that has a logarithmic function.
To solve this as quick as possible, we can plot the graph of y=n and y=8 log n , check their intersecting point for the solution. If we want to solve manually, we have to follow Newton-Raphson approximation method as discussed here. However, solving the above equation has some mathematics involved.

from clrs.

scriptnull avatar scriptnull commented on August 26, 2024

Tagging some people for help,

@Mundhey @gcz @argonlaser

Thanks for your time !

from clrs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.