0
|
40654 Views
|
3 Replies
|
1 Total Likes
View groups...
Share
GROUPS:

# How do I tell WolframAlpha which variables are real and which are natural?

Posted 11 years ago
 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 modulussin^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!
3 Replies
Sort By:
Posted 4 years ago
 In Wolfram Language 12 or later, you can also use PositiveIntegers, i.e., Element[n, PositiveIntegers]. https://reference.wolfram.com/language/ref/PositiveIntegers.html
Posted 11 years ago
 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 > 0Check these documentation pages for more information.Assumptions and DomainsSimplifying with AssumptionsUsing Assumptions
Posted 11 years ago
 Thank you!