# Mathematica help (1 Viewer)

### Users Who Are Viewing This Thread (Users: 0, Guests: 1)

#### nalkapo

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

Last edited:

#### Bill Simpson

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}]

#### nalkapo

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 ;)

### The Physics Forums Way

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving