Skip to main content

All Questions

Tagged with
0 votes
0 answers
93 views

Why does Mathematica not recognize an exact polynomial after SetDelayed command?

I am using the numerical analytic continuation method to find quasinormal modes of the black hole 2 with $s=0, l=1$ in arXiv:2209.00679, please see Table 1 of arXiv:2209.00679. However, my code is ...
Robert Xu's user avatar
1 vote
1 answer
233 views

More professional way to write the code

I have this code(shorter version), there are 22 more schemes not just 3. This one works fine. I am trying to simply this code and write a nice and better version of it. Because I have more than 25 ...
Learner's user avatar
  • 259
1 vote
0 answers
104 views

How to use the tedious definitional results to make a next definition for FindRoot?

I am trying to use a designed function to find the quasi-normal modes. ...
Robert Xu's user avatar
5 votes
1 answer
399 views

What algorithm does Mathematica's `FindSequenceFunction` use, and can it be replicated in Python?

I am curious about the algorithm used by Mathematica's FindSequenceFunction to identify patterns in sequences. This function is powerful in finding closed-form ...
user avatar
0 votes
1 answer
84 views

Using conditionals for a given function in Mathematica [closed]

I have two versions of a function (A and B) When A fails, I get ...
tommy J's user avatar
  • 21
1 vote
1 answer
97 views

Recursive application of Grad in scalars

I am looking for an efficient way to apply Grad recursively to a scalar function. The code I have so far is in the structure below. I define the scalar function outside the loop, take its derivatives ...
Felipe's user avatar
  • 729
4 votes
2 answers
144 views

What does the "$" symbol mean in Mathematica programming? [duplicate]

I cannot find any reference to the $ in the Mathematica documentation, yet I frequently see it used, especially on StackExchange.
user7770957's user avatar
2 votes
0 answers
83 views

How to apply a list with n elements to a function with n arguments? [closed]

The Multinomial function has n arguments. For educational purposes I want to calculate Multinomial over a list (of solutions of the FrobeniusSolve function) like: ...
nilo de roock's user avatar
1 vote
0 answers
44 views

Efficient construction of a formal polynomial using list manipulations

I have a code which is probably extremely inefficient given my inexperience with Mathematica list manipulation. Take as input data: ...
Benighted's user avatar
  • 1,337
2 votes
1 answer
189 views

Introduce formal symbols indexed by natural numbers

I'm going to describe a toy example here which I'm hoping with some help, I can then soup up into the more complex application I have in mind. Suppose the input is a list of lists, and for now take ...
Benighted's user avatar
  • 1,337
1 vote
1 answer
98 views

generate quadratic functions to evaluate membership of points

How can I make a printable list with different quadratic functions and with points that belong or not to them so that a young person can check whether or not the point belongs to the parabola? my code ...
zeros's user avatar
  • 2,365
1 vote
0 answers
141 views

Storing python output to variables in Wolfram

Would like to use the external language input in python to save variables I can potentially use in Mathematica. Any chance there is a way to do this? I do understand there might be a solution with ...
tallsamurai's user avatar
4 votes
1 answer
108 views

Best way to write a function that randomly takes definition from list of functions?

I want to define a function based on a random choice from a list of possible functions. For example, suppose the possible functions are {Sqrt,Log}. Then I want to ...
user106860's user avatar
4 votes
3 answers
252 views

generating lists of integers with constraint

Suppose you have the list $a=(k_1,k_2,k_3, \dots, k_N)$ such that $k_{i}\; (i=1,\ldots, N)$ are non negative integers. How can you get all the lists that satisfy the constraint $\sum_{i=1}^{N} k_{i}=M$...
geom's user avatar
  • 678
1 vote
1 answer
65 views

How to emulate statistical command choice tab of this widget?-how to do what i ask?

I designed this little program, but I want you to be able to choose what I want to look for by choosing it as you do with the widget tab, please help me. widget Widget of internet my program ...
BeTDa's user avatar
  • 500

15 30 50 per page
1
2 3 4 5
8