Solved

Graph Function

Posted on 2016-09-05
6
95 Views
Last Modified: 2016-09-05
Can you please explain it in a different way?
q12.JPGq13.JPGscreenshot3.jpg
0
Comment
Question by:mustish1
  • 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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Article by: Nicole
This is a research brief on the potential colonization of humans on Mars.
Digital marketing agencies have encountered both the opportunities and difficulties that emerge from working with a wide-ranging organizations.
Notifications on Experts Exchange help you keep track of your activity and updates in one place. Watch this video to learn how to use them on the site to quickly access the content that matters to you.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa‚Ķ

766 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