Modelling LED illumination for the poor people.



Hi, There!

Am 04.03.2010 03:25, schrieb Robert Dodier:
>> But how can I get the superimposition of all LEDs with that
>> gap g (i.e. g:6)?
>> I think about summing up all f(x,a).
>
> how about:
>
>    plot2d (sum (f (x, u[i]), i, 1, n), [x, -100, 100]);
>
> where u : makelist(x0 + (i - 1)*g, i, 1, 10) or something like that.

Thank you! That looks good for some theoretical experiments:

h: distance of surface from LEDs.
g: distance in between LEDs.
n: number of LEDs.

h:12;
g:10;
n:20;
f(x,a):=( 0.6*cos(atan((x-a)/h))+0.4 ) * 1 / ((x-a)^2+h^2);
a:makelist(i*g, i, 1, n);
s(x):=sum( f(x,a[i]), i, 1, n);
plot2d( s(x) ,[x,-100,300]);

Now I have to model a translucent opaque diffusor with i.e.
45% translucency like an optical low pass filter to integrate
the illumination distribution again. Hmm...

Regards,

Clemens