CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Main CFD Forum (
-   -   how to plot this function (

ztdep August 13, 2008 01:52

how to plot this function
dear friends: i have a function

sin(i*Pi*x), x=varied from 0 to 1. i want to know how to plot this function, since it include a complex number (i) regards

Markus Lummer August 13, 2008 06:41

Re: how to plot this function
1) You can use gnuplot. gnuplot can handle complex functions.

2) You can split the sine in real and complex part:

sin(x+iy) = sin(x)cosh(y) + i cos(x) sinh(y)

Regards, Markus

All times are GMT -4. The time now is 08:29.