Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 602773
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T16:51:30+00:00 2026-05-13T16:51:30+00:00

how can one obtain coordinates of intersections of two line diagrams with given expression

  • 0

how can one obtain coordinates of intersections of two line diagrams with given expression or equation?

for example:
L1= sin(2x) , L2= Ln(x); or anything else.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T16:51:30+00:00Added an answer on May 13, 2026 at 4:51 pm

    Amazingly, nobody has yet suggested using the function designed to do this in matlab. Use fzero here. Fzero is a better choice than fsolve anyway, which requires the optimization toolbox. And, yes, you could do this with Newton’s method, or even bisection or the secant method. But reinventing the wheel is the wrong thing to do in general. Use functionality that already exists when it is there.

    The problem at hand is to find a point where

    sin(2*x) == log(x)
    

    Here log(x) refers to the natural log. Do this by subtracting one from the other, then looking for a zero of the result.

    fun = @(x) sin(2*x) - log(x);
    

    Before you do so, ALWAYS plot it. ezplot can do that for you.

    ezplot(fun)
    

    The plot will show a single root that lies between 1 and 2.

    fzero(fun,2)
    ans =
           1.3994
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Given an Objective-C type type , one can obtain the encoding encoding and size
Can one transaction update two different TVar s in an atomic way? i.e. can
How can one tell, given a void * pointer, what is the size of
How can one replace a part of a line with sed? The line DBSERVERNAME
How can one obtain the panel that is used within a TreeView ? I've
Can any one explain why am i not able to access DragEvent.obtain() method. As
How can one obtain the following effect for text in a QProgressBar from Qt?
I found out that in gnuplot one can obtain multiple curves / datasets from
How can one programmatically obtain a KeyStore from a PEM file containing both a
How one can obtain path to module? I am writing extension enclosed in a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.