Solved

function graph (TChart)

Posted on 2004-09-18
1
814 Views
Last Modified: 2013-11-17
I will give 500 point to expert who will write simple code which will draw the graph (with TChart component) of the following function:

y = (sqrt(x) + sin(x)) / (2 - x)

(remember, that x can not be negative (sqrt(x)) or x = 2 (division by zero))
0
Comment
Question by:wezuvio
[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
1 Comment
 
LVL 2

Accepted Solution

by:
mcanti earned 500 total points
ID: 12124507
you should use 2 series on the TChart: one that goes for 0 < x < 2 and one for 2 < x < ....

If you set the colors and all properties of the series to be equal, than you have your graph displayed. Also set AutoMinimum and AutoMaximum to false, so the graph doesnt get to distorted for big values (when x->2)
0

Featured Post

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!

Question has a verified solution.

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

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand column That will then direct you to their download page. From that p…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

707 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