# Questions tagged [functions]

Questions about the use of built-in Mathematica functions, including pure functions.

3,170 questions
Filter by
Sorted by
Tagged with
99 views

### Solve A System of Trigonometric Equations

I tried running the following code on Mathematica Cloud, but it didn't because it was taking long of I have the basic plan. Would someone please run this code for me and share with me the results. it'...
130 views

154 views

### RecurrenceTable does not work for sequence of function

Consider the following code that repeatedly differentiates a function: test = RecurrenceTable[ {g[n] == D[g[n - 1], x], g[0] == x^10}, g, {n, 0, 5}] This code ...
58 views

### Putting arguments of function automatically

This is a snippet of a code that I have: ...
133 views

### Setting a function equal to an integral

I am trying to solve for the constant of integration in simple calculus problems. v[t_] := Integrate[-0.08 t, t] + C v[t] gives me ...
45 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 ...
89 views

### Im trying to write this in Mathematica. It is a recurrence relation for convolution [duplicate]

I have tried many things, the relation is in the following picture, x' is a dummy variable.
460 views

### very simple but unexpected aspect of Function[ ]

I've always thought (2#+1)& and Function[x,2x+1] are interchangeable in common sense. But, ...
190 views

### Is it possible to calculate the desired area analytically?

I have the three two-variable curves $f,g,h$ with $0\leq x\leq \frac {\pi}{2}$ and $0 \leq y \leq \pi$ I use ContourPlot as ...
68 views

### What does the ## represent when it is used as a function argument in e.g. Manipulate? [closed]

what does the ## represent in following expression: ...
82 views

### A function that modifies functions - well-defined operation?

Here's my basic setup: Say I have a list of specific symbols and a function noSymbol, which accepts a mathematica expression and checks whether any symbol from my ...
88 views

### Get the list of (x,y) point of a graphic

I have a function like this: E^(-t/0.001)*Cos[t] + E^(-t/0.01)*Cos[1000 t] I used the code below as suggested in the forum to obtain the x,y values for points <...
117 views

### High-water marks of a sequence

I need to write a function that is, given a sequence of integers, extracts the subsequence of its high-water marks (i.e. distinct values of its running maximum). Here are some naïve implementations ...
40 views

### Parametric plot of a function which cannot be explicitly calculated

I wish to plot a function, but I run into a problem and I cannot find similar questions here. A simplified version of plot is represented by ...
73 views

### Refer to OptionValue externally without a specific function name

I want to refer to the actual option values of a function f outside of f, using OptionValue. ...
111 views

### Short forms for function-parameter combinations?

I find these to be very convenient, particularly since I use the base-10 log fairly frequently: Log[2, n]=> Log2@n ...
84 views

### how can I modify this function to convert to polar form for any complex expression?

The function from another post is to convert a complex number to polar form. polarForm = Expand[# /. z_?NumericQ :> Abs[z] Exp[I Arg[z]]] & Now if I apply ...
119 views

### How to collect a polynomial with a specific power

Suppose I have got this polynomial u=x^12-3x^8-x^4+3 Now, I am trying to collect this polynomial with x^4 terms. I need to write it like this: (-1+x^4) (-3 + x^4) (1 + x^4) To evaluate it, I used ...
551 views

### How to generate all possible functions combinations

Assume that I have 3 functions like this (total 10 functions in reality). f1[x_] := 3 x; f2[x_] := x^2 - 1; f3[x_] := 2 x + 5; Now I want to generate all possible ...
95 views

### Why does this DeleteCases not work? [duplicate]

I believe this is simple but I couldn't figure out why this doesn't work. Everything looks good to me. ...
70 views

### Dot Density Plot for 3D Probability Density Function of {x, y, z}

I have been calculating probability density functions for different states in the hydrogen atom, and want to plot them in 3D using a dot density plot like this one. However, I have not figured out how ...
83 views

### How can I make this plot easier to see?

How can I make this plot easier to see? In this plot the waverform is not clear. If I plot with w only from 0 to ...
63 views

### Plot real zeros regions of the polynomial

Good morning everyone! One problem have appeared. I'm trying to plot regions with different number of real zeros of the polynomial. I have this code: ...
41 views

### How to enter multiple inputs into a function? [closed]

I'm sorry for asking such an elementary question but I started learning the Mathematica language just yesterday and I can't seem to find an answer anywhere else. I'm trying to calculate the change in ...
41 views