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
Solved

function graph (TChart)

Posted on 2004-09-18
1
812 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
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Title # Comments Views Activity
how to become programmer? 12 42
How do I import Java .jars and libraries into Eclipse? 4 83
Copying WordPress Pages 5 88
Angular JS Route 3 83
In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
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 connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…

861 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