# Point-by-Point Multiplication

**URL:** <https://community.wolfram.com/t/point-by-point-multiplication/1891>\
**Category:** Questions\
**Tags:** computer-science\
**Created:** [April 3, 2014, 4:15am UTC](https://community.wolfram.com/t/point-by-point-multiplication/1891 "2014-04-03T04:15:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sproubi1](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@sproubi1](https://community.wolfram.com/u/sproubi1)\
**Post date:** [April 3, 2014, 4:15am UTC](https://community.wolfram.com/t/point-by-point-multiplication/1891/1 "2014-04-03T04:15:53Z")

</div>

I’ve written a simple loop statement for the Euler equation that goes from zero to four:

```auto
k = 1;
A = 5;
n = 5;
Do[F = I*2*Pi*k*i/(A); Print[Exp[-F] // N], {i, 0, n - 1}]

```

The output is this:

```auto
1.

0.309017 -0.951057 I

-0.809017-0.587785 I

-0.809017+0.587785 I

0.309017 +0.951057 I

```

I also have a Fourier:

```auto
In[35]:= Fourier[{1, 8, 5, 0, 2}, FourierParameters -> {1, 1}]

Out[35]= {16. + 0. I,
0.045085 + 8.64527 I, -5.54508 - 1.22857 I, -5.54508 + 1.22857 I,
0.045085 - 8.64527 I}

```

How can I write the Fourier inside the loop statement so that Mathematica does point-by-point multiplication?  
In essence, I want this to happen inside the loop:

```auto
(16.` + 0.` I) (1.)
(0.30901699437494745` - 0.9510565162951535` I) (0.045084971874738144` + 8.645265359233287` I)
(-5.5450849718747355` - 1.228571067720928` I) (-0.8090169943749473` - 0.5877852522924732` I)
(-5.5450849718747355` + 1.228571067720928` I) (-0.8090169943749473` + 0.5877852522924732` I)
(0.30901699437494745` + 0.9510565162951535` I) (0.045084971874738144` - 8.645265359233287` I)

```

I want the loop to print this as the answer:

```auto
16. + 0. I
8.23607 + 2.62866 I
3.7639320225002093` + 4.253254041760198` I
3.76393 - 4.25325 I
8.23607 - 2.62866 I

```

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![bsimpson141421356](https://avatars.discourse-cdn.com/v4/letter/b/ac91a4/32.png) [@bsimpson141421356](https://community.wolfram.com/u/bsimpson141421356)\
**Post date:** [April 3, 2014, 4:24am UTC](https://community.wolfram.com/t/point-by-point-multiplication/1891/2 "2014-04-03T04:24:01Z")

</div>

```auto
k = 1;
A = 5;
n = 5;
v = Fourier[{1, 8, 5, 0, 2}, FourierParameters -> {1, 1}];
Do[F = I*2*Pi*k*i/(A); Print[Exp[-F]*v[[i + 1]] // N], {i, 0, n - 1}]

16. +0. I
8.23607 +2.62866 I
3.76393 +4.25325 I
3.76393 -4.25325 I
8.23607 -2.62866 I

```
