Plotting



On 3/15/12 1:56 PM, Vishnu Rajasekharan wrote:
> Greetings,
>  
> I have four functions:
>  
> h(t), i(t), j(t), k(t)
>  
> Then I have a cubic equation incorporating the four functions
>  
> l(t):=(Z^3)*h(t)+(Z^2)*i(t)+(Z)*j(t)+k(t)
>  
> I solved it using
>  
> P:realroots(l(t))
>
Can you provide more info? I don't see how this can work since realroots
requires a polynomial with numbers for the coefficients.

Since it's a cubic, you could use solve to get the three roots, but
picking the root that is real could be tricky since will depend on the
value of t.


Ray