Skip to main content

All Questions

Tagged with
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
6 votes
3 answers
263 views

Composition of vectorvalued functions

Suppose I have two functions $f,g:\mathbb{R}^2 \to \mathbb{R}^2$ and that I want to compute $g(f(x,y))$. As an example, let's take $f(x,y)=(x+y, x-y)$ and $g(x,y)=(y^2,x^2)$. Then, $g(f(1,2))=(1,9)$. ...
user2978125's user avatar
0 votes
0 answers
50 views

How do we create a function for the recurrence relation in terms of a dependent variable?

Suppose S = {{-1.5, 1}, {0, 1}, {1.5, 1}, {1.5, 0.1}, {0, -0.1}, {-1.5, 0}, {1, -1.4}, {-1, -1.5}} How do we define the recurrence relation as a function of the ...
Arbuja's user avatar
  • 151
1 vote
1 answer
102 views

Why is this function not compilable?

Consider some functions ...
John Taylor's user avatar
  • 5,881
11 votes
2 answers
1k views

What is a function?

Regarding: Map[#[{2, b}] &, {Reverse}] The above works, but it makes my head spin. The documentation for Map says that the ...
Chris 's user avatar
  • 467
1 vote
2 answers
127 views

Generate n tables of values ​for functions

After searching for a long time, I can't find how to do what I need with some bold header style. I need to generate n tables of values ​​for linear functions (f(x)=mx+n), where x varies from -6 to 6, ...
Pamela's user avatar
  • 309
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
0 votes
2 answers
277 views

How to create an operator which is a composition of a sequence of operators?

Suppose I have a sequence of operators $\partial_x$, $\partial_x^2$,..., $\partial_x^n$. I want to define an operator which is a composition of these $D_x^{(n)}=\partial_x\circ\partial_x^2\circ\cdot\...
vichitravir's user avatar
0 votes
1 answer
55 views

Resizing the graph of a function with radicals , Why?

I am trying to graph this function $c(t)=\frac{2-\sqrt{t+3}}{1-t}$ using this code, to see its behavior at infinity. I need that in the vertical axis appears the value when $t->1$ (The graphs ...
rpujadas's user avatar
0 votes
2 answers
136 views

Redefining the output of a function

ftn1 = Sin[s]^2 + 3 t^2 + u^5 3 t^2 + u^5 + sin[s]^2 ftn2[s_, t_, u_] := ftn1 ftn2[2, 1, 2] 3 t^2 + u^5 + Sin[s]^2 Hi ...
SciJewel's user avatar
  • 631
0 votes
3 answers
120 views

Composition of Maps

I want to create a composition of several lists. For example: ...
Alexander Nikolaenko's user avatar
0 votes
0 answers
262 views

How to define function in Mathematica

I have a 3 by 3 symbolic matrix M(x,y,z). Question:1 First, I want to find its eigenvalues and eigenvectors. After that I want to make each eigenvalue and eigenvector a function of x,y, and z i.e. <...
Luqman Saleem's user avatar
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
0 votes
1 answer
47 views

Is there a better syntax to obtain the derivative of a function as a function/operator? (e.g. for simple plotting of derivtives of functions, etc.)

When trying to plot a derivative of a function, (I take Sin as a simple example), the naive approach ...
Britzel's user avatar
  • 693
4 votes
3 answers
232 views

How to implement an integration filter on arrays?

I have the discrete integration filters: $$y(n) = Ax(n) + By(n−p) , \text{$A$, $B$ real constants, $p$ positive integer}$$ EDIT: in the initial version of this question I focussed only on the case $...
Sylvain Leroux's user avatar

15 30 50 per page
1
2 3 4 5 6