Hi Rene
I am trying to plot a formula which is
S = 3/2 * [ 0.703 * (Sin(x)/1.414)^2 + 0.297 * ((1-Cos(x))/2)^2 + ((1+Cos(x))/2)^2 ].
I have tried to use the
root[]TF1 f1("polarization","(3/2)*(0.703*(sin(x)/(1.414)^2))+(3/2)*(0.297*((((1-cos(x))/2)^2)))+(3/2)*(((1+cos(x))/2)^2)",-1,1);
root[] f1->Draw();
The final limit -1 and 1 are related to Cos(x).
When I Draw this function it does not gives the exact result. I have attached the exact result in the attached file with the name "picture1"
please check is whether it is implemented correctly or there is some mistake.
regards
Irfan
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:01 MET