Dear WolframAlpha Community,
How does one declare that a variable is real and two other variables are natural numbers?
I would like to work with this complex fraction:
(1-e^(2 i pi (-j+l+t)))/(1-e^((2 i pi (-j+l+t))/n))
and its modulus
sin^2(pi t) csc^2((pi (-j+l+t))/n)
In the exponents, i = sqrt(-1); t is real; n, l, j are natural numbers; l and j are less than or equal to n.
I could not find answers in WolframAlpha when I searched.
Thank you!
Hi Aaron,
If Wolfram Alpha is struggling to parse your query you can often use simple Wolfram syntax instead. To say n is a natural number in Mathematica you typically do something like:
Element[n, Integers] && n > 0
Check these documentation pages for more information.
Assumptions and Domains
Simplifying with Assumptions
Using Assumptions
mjii
(M23 J)
April 20, 2020, 2:36pm
4
In Wolfram Language 12 or later, you can also use PositiveIntegers, i.e., Element[n, PositiveIntegers].