Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

I can't draw a part of a circle

Status
Not open for further replies.

skiabox

Computer
May 27, 2009
1
I am trying to draw a part of a circle using this function

f(x):= 9x(5-4x)(11-4x)/2(2-x)^2

I have tried both x-y plot and polar plot but when I place f(x) in the y-axis I always get the same error message(illegal function value).

Any ideas how to fix that?

Thank you very much.
 
Replies continue below

Recommended for you

You need to define an array variable, say i:=0..100, then vector of x's, then put x[i on the x axis and f(x[i) on the y axis.
 
> You have what appears to be a line with a notch in it.

> Assuming that your equation will be fixed, you cannot use a single equation to describe a circle, since negative values of y require a separate equation.

TTFN

FAQ731-376
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor