Solved

Graph Function

Posted on 2016-09-05
6
130 Views
Last Modified: 2016-09-05
Can you please explain it in a different way?
q12.JPGq13.JPGscreenshot3.jpg
0
Comment
Question by:mustish1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 32

Expert Comment

by:phoffric
ID: 41785354
Your approach is done in a straightforward conventional way. Looks good.
0
 

Author Comment

by:mustish1
ID: 41785365
Can you please explain the part 1 that how the values of x and y are plugged in
0
 
LVL 32

Expert Comment

by:phoffric
ID: 41785372
y = y(x) = 2^(-x) = 1/2^(x)
Using your sample values of x:

y(1) = 1/2^(1) = 1/2         ==> (1, 1/2)
y(0) = 1/2^(0) = 1/1 = 1   ==> (0,1)
y(-1) = 1/2^(-1) = 1/ (1/2) = 2 ==> (-1, 2)     // I see that you had (-1, 1/2) even though you had y=2
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 32

Expert Comment

by:phoffric
ID: 41785387
For part 2, you can graph the two curves, i.e., the quadratic and the straight lines, and then get an approximation of g(x).graph_2_curves.pnggraph_2_curves_zoom1.pngFrom the graphs, you can get a rough feel where the intersections of the two graphs are. Then you guess and compute g(x_guess). Then you increment and decrement x_guess by, say, 0.1, and see which g(x) is closer to -8. Now you have a new x_guess. and you modify x_guess by 0.5 in both directions to chose a new x_guess. Keep doing this until the new x_guess is the same as the previous one for the desired number of decimal places.
0
 
LVL 32

Accepted Solution

by:
phoffric earned 500 total points
ID: 41785394
To do the numerical approach more efficiently, you can use the newton raphson numerical method approach.
https://en.wikipedia.org/wiki/Newton%27s_method

But you have to come up with two initial guesses that will converge to the two solutions.
0
 

Author Closing Comment

by:mustish1
ID: 41785421
Thank You.
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Finding a job can be stressful - searches, resume tweaks, and networking events can be super boring. Luckily we're here to help you land your dream job!
Phishing is at the top of most security top 10 efforts you should be pursuing in 2016 and beyond. If you don't have phishing incorporated into your Security Awareness Program yet, now is the time. Phishers, and the scams they use, are only going to …
Articles on a wide range of technology and professional topics are available on Experts Exchange. These resources are written by members, for members, and can be written about any topic you feel passionate about. Learn how to best write an article t…
Saved searches can save you time by quickly referencing commonly searched terms on any topic. Whether you are looking for questions you can answer or hoping to learn about a specific issue, a saved search can help you get the most out of your time o…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question