cancel
Showing results for
Did you mean:
cancel
Showing results for
Did you mean:

1-Newbie

## Hello I was not able to execute this formula. Help me please

Hello

I was not able to execute this formula.

thank you

6 REPLIES 6
23-Emerald III
(To:bdjel)

Check all errors you made between the example function and your Prime functions, then the one thing that Prime complains about is that it does not like the n (defined as running from 1 to 100) inside the summation of Zdm1.

If you also add n as a parameter to the function, all errors are gone:

Now you can plot, e.g.:

Success!
Luc

1-Newbie
(To:LucMeekes)

Hello

I want to thank you again, but I have two questions

- for which you neglected q for Zdm1 (wp, q).

- for which you created Zdm2 (wp, n) with a single variable.

- normally ZDM (Wp, n, q) or not.

Thank you

greetings

23-Emerald III
(To:bdjel)

"for which you neglected q for Zdm1 (wp, q)."

Because q is not needed as a parameter to Zdm1, it is only the running variable for the summation inside it.

"for which you created Zdm2 (wp, n) with a single variable."

I didn't. I created Zdm1(wp,n), because otherwise n is an unknown variable for this function.

"normally ZDM (Wp, n, q) or not."

Depends on what you want.

Maybe it's just that the equation (21) is ill-formed....?

Where does it come from?

Luc

21-Topaz II
(To:bdjel)

Hi bens,

the "thing" is very confusing...

21-Topaz II
(To:bdjel)

The formulas are incorrect.

21-Topaz II
(To:bdjel)

But, isn't it easier to rewrite the formula as it is given?

To simplify, I have set, previously n = q. If instead we set n different from q, the graphs do not change for n = 1 and n = 100, as seen in the following picture:

Announcements