Skip to main content

Questions tagged [expression-construction]

The tag has no usage guidance.

0 votes
1 answer
1k views

Convert string to function with an argument

I am trying to build an expression by first writing it out as a string and then using ToExpression to convert it to an expression. However, I cannot figure out how to make expression recognize x as an ...
ahle6481's user avatar
  • 565
9 votes
5 answers
2k views

Create a list of all possible multivariate monomials of a certain order

Given variables x[i] for i=1,2,...,n I would like to create a list of all possible multivariate monomials of order ...
Kagaratsch's user avatar
0 votes
0 answers
67 views

What is the meaning of #, Root and & [duplicate]

I am new, but can any one tell me what is the meaning of formulas of x and y in the picture?
olivia's user avatar
  • 101
3 votes
3 answers
360 views

Specify number of elements instead of step in Table [duplicate]

I think I have seen what I was looking for a ong time ago but I can't see nothing such in documentation. Quite often, I would like to create a Table with given ...
anderstood's user avatar
  • 14.4k
1 vote
1 answer
104 views

How to obtain differential consequences of linear transport equation automatically?

Motivation Here I've asked how to derive coefficients of numerical approximation of the linear transport equation $$ u_t + u_x = 0, \tag{1} $$ on a fixed 3-point stencil automatically and here I've ...
Oleg Kravchenko's user avatar
0 votes
1 answer
66 views

Misunderstanding of Replace code

I am looking for the right way to replace $\delta \, \, \text{by} \, \, 0.05 \, \, \, \beta \, \, \, \text{by} \, \, \, 1.77 \, \, \, \text{and} \, \, \, n \, \, \, \text{by} \, \, \, 12$ in this ...
Zbigniew's user avatar
  • 411
0 votes
1 answer
119 views

I have a term 'Keff' in terms of 'W'. I need to write 'W' in terms of 'Keff'. Does Mathematica provide an option for that

I have read similar answers on this topic. I am still not able to execute my code.The code is as follows. ...
user35115's user avatar
0 votes
1 answer
65 views

Can any one help me to create the function of this equation in an easy way.? [closed]

...
M.M Umber's user avatar
0 votes
1 answer
394 views

Defining a function to use in another function dependent on similar parameters [closed]

I want to define a variable dependent function which can be used to define another function which depends on the same variable and other variables. For example, I have a system where I define ...
VitalSigns's user avatar
0 votes
0 answers
64 views

Determine class of special function from algebraic constraints?

Consider vectors x_i in arbitrary dimension. Let's say I have an expression in six variables F[x_1,x_2,x_3][x_4,x_5,x_6], which ...
Kagaratsch's user avatar
4 votes
3 answers
243 views

Find six vectors with rational entries under constraints?

Define six vectors v[i] with i=1,2,3...,6. Each v[i] is six dimensional and all entries in ...
Kagaratsch's user avatar
0 votes
1 answer
776 views

How does one initialize large arrays in Mathematica with a structured format? [closed]

I want to create a 10 by 10 matrix that increases by 1 every unit across like: 1 2 3 4 5 6 7 8 9 10 11..... Is there a function that does this without having ...
user6276's user avatar
1 vote
3 answers
226 views

How do I make a definition/function/method as I would in Java/MATLAB/Python

I've been trying to figure this out for a few hours now and it's driving me nuts. I am trying to confirm that, after transforming a Schrodinger equation, that the new wavefunctions satisfy the new ...
Kvo's user avatar
  • 275
1 vote
1 answer
262 views

Is there a way to convert a string to a Table indicator? [closed]

I have a list like this: list = {"k1","k2"} I want to use the elements in the list as Table indicators: ...
Zihu Guo's user avatar
  • 299
1 vote
2 answers
79 views

Subsituting expressions for expressions

I'm trying to define functions using other functions, like so: f[a_, b_] := a/b; a[c_] := c; b[d_] := d; Now what I want to be able to do is two things: ...
F. E.'s user avatar
  • 45

15 30 50 per page
1
4
5
6 7 8