Restate the question: What is the shape of the function y = 16x - x2?
Since the function highest power is a square, this is a quadratic function, and the graph is a parabola. Maybe that's all you wanted to know, but here's the rest of the story:
Since the coefficient of x is negative (it's -1), the parabola opens down (the shape is an upside down 'u').
The x-intercepts are found by factoring and solving: 16x-x2 = 0 -> x(16-x) = 0 -> x=0 or [16-x=0 -> 16=x]. The graph crosses the x-axis at 0 and 16.
The top of the parabola will be where x=8 (half-way between the intercepts). Substitute in y = 16x - x2 = 16(8) - (8)2 = 128 - 64 = 64.
The graph passes through (0,0), (8, 64), and (16,0).
Chat with our AI personalities
y=x2+3 x1=1 x2=2 y(x1) = 1*1+3 = 4 y(x2) = 2*2+3 = 7 x2/x1 = 2, While y2/y1 = 7/4 !=2, and thus the function is nonlinear.
That is not a function, although it does involve the function of addition. A function is something that is done to numbers.
To evaluate a function means to replace the variable with some value, and calculate the value of the function. For example, in the parabola y = x2 (or, using functional notation, f(x) = x2), if you replace x with 10, and calculate x2, you are evaluating the function for that specific value.
substitute x = y and y = -x Ex: y = x2 becomes -x = y2
The formula: distance=sqrt(((x1-x2)*(x1-x2))+((y1-y2)*(y1-y2))+((z1-z2)*(z1-z2))) In DarkBASIC it's: function distance3D(x1,y1,z1,x2,y2,z2) x=x1-x2 y=y1-y2 z=z1-z2 result=sqrt((x*x)+(y*y)+(z*z)) endfunction result In classic BASIC I think it's: FUNCTION distance3D(x1,y1,z1,x2,y2,z2) x=x1-x2 y=y1-y2 z=z1-z2 result=SQRT((x*x)+(y*y)+(z*z)) RETURN result END FUNCTION