Plot Polynomial Q10[x] with Variables x & t, Range 0-1

  • Thread starter Thread starter nalkapo
  • Start date Start date
  • Tags Tags
    Mathematica
AI Thread Summary
To plot the polynomial Q10[x] with variables x and t in the range [0,1], the function is defined as Q10[c_, x_, t_] := c*(1 - (t - x)^2)^10, with c set to approximately 3.1. The user initially aimed to plot two functions in R^2 but realized that using two variables was not feasible for their needs. They successfully adapted their approach by reducing it to one variable, which resolved the plotting issue. The discussion highlights the importance of understanding the dimensionality of the plot when working with multiple variables. Ultimately, the user gained insights into 3D plotting as well.
nalkapo
Messages
28
Reaction score
0
I want to plot this polynomial:
Q10[x_] := c* (1 - (t - x)^2)^10

I defined variable 't' in f(t) and 'x' in the polynomial Q10[x].
how can I plot this polynomials with variebles x and t? the range-interval will be (for both x and t): [0,1].

can you write the code please...
Thanks...

Edit: by the way, c~ 3.1. it will be less than Square root[10]
 
Last edited:
Mathematics news on Phys.org
Is this anything like what you are trying to accomplish?

c = 3.1;
Q10[c_,x_,t_] := c*(1 - (t - x)^2)^10;
Plot3D[Q10[c,x,t], {x, 0, 1}, {t, 0, 1}, ViewPoint->{-1.2, -2.4, 2}]
 
Thanks Bill,
I figured it out. I needed to plot in coordinate system, R^2.
actually i didn't give all the details. i tried to use two variables to plot two functions in R^2 but it is not possible. I decreased to one variable and problem was solved.
Thanks for help. at least I got some idea about 3D plot ;)
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Back
Top