Message Boards Message Boards

reasonable function definition gives empty plot

f[x_] := ((x - 50000)/ 35.91)^(3.463) (E^((50000 - x) .02785)) 0.0001993/(35.91 Gamma[ 4.463]) Is there anything wrong with the function definition above? I am not getting a logical plot for the function versus x-molecular weight. Can anyone help me??

Using the Table command shows the problem

data = Table[f[x], {x, 0, 1, .1}]
 {-2.553597742805151*10^608 - 2.186949278296937*10^609 I, -2.546478230057060*10^608 - 
  2.180851993276173*10^609 I, -2.539378566704049*10^608 - 2.174771707651797*10^609 I,.....

So the data is complex. Now you know the data has complex numbers, the next thing to ask, is how to plot complex data? you can plot the real part and the imaginary part on separate plots. And as the values are so huge, I would normalized it as well first before plotting.

POSTED BY: Nasser M. Abbasi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract