# Tagged Questions

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

73 views

### how do I control the output of Reduce function?

Reduce[x*y > 50 && x*y < 100 && x < 100 && x > 1 && y > 1 && y < 50, {x, y}, Integers] what if I want ...
36 views

### How can I extract the coefficients of the powers of a variable? [on hold]

I have this code: ...
39 views

### Mapping a List: Functions in Mathematica [on hold]

I have the code: ...
55 views

### Distribute operator on functions

I wrote this code: ...
164 views

### Check an inequality if one condition holds

A = Abs[-1 + 1/(1 + β)] + Abs[-((1 + 2 α + Sqrt[1 + 4 α + 4 α β])/(2 α + 2 α β))] Is A <1 if ...
66 views

### Apply If function to FoldList [on hold]

I have defined the following function: cpdz[c0_, m_,s_, r_, t_, n_] := If[c0 > 0, c0*(m*c0\s - (m - 1)*Exp[r*t/n]), c0*Exp[r*t/n]] for s I have a set of ...
6k views

### What are some useful, undocumented Mathematica functions?

There have already been some questions about some undocumented functionality in Mathematica. Such as (please add to these lists!) How can one find undocumented options or option values in ...
68 views

### Generating a very large list of integers not divisible by a set of primes

I have read (58520), but the solutions there do not work when using a large maximum value because they rely on Range. For example, ...
27 views

### Using set of lists in if function? [on hold]

I have the following function: a3[m_, C_, St_, Stt_] := If[C > 0, (m*C)/St*Stt, 0] now my input for C, St and Stt are different set of lists. So I tried to ...
39 views

### how to define a function as variable in mathematica [on hold]

how to define a function as variable in mathematica. please refer to attach picture. thanks.
85 views

### Intercept in the ARProcess

In the ARProcess help file I don't understand whether an intercept is included or not. How would I add one? I am using version 9 of Mathematica.
69 views

### Mathematica Empty Plot FourierSinSeries function

I'm trying to get a plot of different order Fourier series of the function x-1, why does Mathematica give me an empty plot? ...
49 views

### why does this function fail to return? [closed]

I have written 2 functions to calculate the stress and strain of a material, the strain function works perfectly, but the stress function which very similar to the Strain function did not return what ...
94 views

### Recursion: How can i program this expression?

i have the following expression: Vt[EA_, V0_, Cm_, B_] := EA + (V0 - Cm)*B For EA and Cm ...
426 views

### How to create a dynamic expanding DisplayForm's styled like the ones in v10?

The display forms for objects like ClassifierFunction are nice clickable boxes I like this, and now I'm trying to create my a custom version of this for my ...
82 views

### Mapping a simple 2 variable function

Quick Question: What is the best way to map this function so it performs seperately for 102 different values of x? ...
42 views

### Show function seems to be broken [closed]

I read the thread How to make the Show function work in this case?. I think I have the same problem as discussed there. But when I try the to evaluate ...
35 views

### Can you define “| |” to be the same as “Abs[ ]”? [duplicate]

When calculating the modulus of a complex number in Mathematica, the standard (and probably least-ugly) way of doing it is by using the Abs[ ] function. When doing ...
45 views

### Generating sound according to a mathematical function [closed]

I would like to get sound clips that essentially are frequencies varying according to certain recognizable math functions like sin, tan, floor, absolute value etc. Please help. Thanks
52 views

### Why does Transpose not work after I wrap a list with NumberForm? [duplicate]

This code works fine. ...
640 views

### What bug fixes can be implemented in init.m?

In comments on this question, Mr. Wizard suggested a community wiki to share the bug fixes/workarounds (or possibly other tricks) people load in their init.m. I ...
3k views

### Series expansion in terms of Hermite polynomials

I am trying to expand a polynomial in terms of orthogonal polynomials (in my case, Hermite). Maple has a nice built-in function for this, ChangeBasis. Is there a ...
32 views

### Map a list of functions to a number [duplicate]

Suppose I have a list of functions like: listfun = { Sin, Cos, Tan } And suppose I want to map listfun to a single number <...
82 views

### Getting errors from NIntegrate when I try to plot my function

I am trying to 3D plot the function ϕ[σ, λ], but Mathematica keeps refusing to plot for the reason that the output involves complex numbers, even though by ...
159 views

### How do I get Series[] as a functional, rather than as an expression (i.e. to avoid the dummy variable)?

How can I write an equivalent to Series that doesn't require a dummy variable? Note that the series should be constructed before the evaluation point is supplied, ...
12k views

### Finding Limits in several variables

Is there a way to find a limit of a multivariable function, like $$\lim_{(x,y)\to (0,0)} f(x,y)$$ with Mathematica? When $f$ is continuous, we can use \lim_{(x,y)\to (0,0)} f(x,y)=\lim_{(x,0)\...
256 views

### Symbolically Expanding One-Variable $q$-hypergeometric Series

In general, how do I get Mathematica to symbolically expand various infinite series to an arbitrary degree of accuracy? I deal with $q$-hypergeometric series quite frequently, and specifically want ...
4 views

### How to find x on this exponential function [migrated]

I'm not in math, but I really want to know how to solve this: 1,08^x = 100/55 I'm not able to factoring 100/55 to get the result. Can anybody say me how's the ...
331 views

### Maximum brightness of two gray scale images

I am using the answer of bill s in Greater operator should give greater element. Here he showed the example: ...
201 views

### Greater operator should give greater element [duplicate]

4>3 gives True. What is the "greater_operator" to obtain the result 4? For lists accordingly: ...
41 views

### Define return values for a function that is not of type Boolean

I have a function with more than two possible return values. A simplified example is the following function that classifies vertices of a graph according to their degrees: ...
60 views

### Graphing/Plotting multivariate profit function with inequalities

I have the following profit function which I would like to 3Dplot in Mathemathica: Profit = (8c^2-16c*s-10c-4s-3)/(32s+16) , where ...
147 views

### How to generate specific function using BSpline command?

I want to generate an approximation function that fits a curve to points. My goal is to obtain an actual formula. Is this possible with BSplineFunction? Using the ...
298 views

### Remove versus ClearAll

What is the difference between Remove and ClearAll? I thought that "not being recognized by Mathematica", which is the effect ...
80 views

### How to use NestWhileList with a function of two variables

I want to iterate a function of two variables in NestWhileList. Obviously it will need a termination condition. For example imagine I have this function: ...
44 views

### Help Compiling Vectors using Iterations

So I have a nice code that runs properly, which I include below but, in my naiveté, I'm having issues iterating my procedure. Simply put, I have a function of two real variables $f(x,y)$ and I want ...
81 views

### Weird SeriesData behavior?

I was trying to calculate the determinant of a matrix whose elements are truncated series. As a result I obtained an expression like this: ...
35 views

### How to find vertice by two angles and side? [migrated]

I know 'alpha', 'betta', length 'c', vertices: 'A' and 'B' How can i find the 'C'?
369 views

### Distributing function arguments with function compositions. How to compute $(f + g^2)(x) = f(x) + g(x)^2$?

Suppose I have two functions f and g. To compute $f + g$ evaluated at a point $x$, I know that one can use ...
97 views

### Union sorting after ignoring some digits

I have a list with its bellow elements: {-0.7071067811865476, -0.7071067811865475, 0.7071067811865475, 0.7071067811865476} If I use ...
121 views

### How to 3D-plot with specific ranges?

I have the following function which I want to plot using Plot3D: (-1 + w + 3 s w)/(2 (-1 + w + 4 s w)) , which is only ...
11k views

### Calling Correct Function for Plotting DiracDelta

I am wondering what is the correct function in Mathematica to plot the true impulse function, better known as the DiracDelta[] function. When using this inside of a ...
614 views

### Is the renaming mechanism of With flawed?

I'm confused about the renaming mechanism of With: ...
114 views

### The implementation of FunctionRange

How exactly does the FunctionRange work? What kind of algorithm does it use? I looked it up in the manual but it doesn't provide any references or even a name of ...
149 views

### What function superseded SpaceForm?

In older versions of Mathematica you could use SpaceForm to leave a certain amount of spaces when writing to a file. For example, if we have the following data: <...
52 views

### Passing each element of a list as an argument to a single parameter function [closed]

Consider a single parameter function: g[w_] := w^2 +1; Consider a list: slist= Range[0, 100, 1]; Now when I apply function ...
36 views

### Defining a variable inside a function to reference it in the function

I am trying to define a variable and use it inside a function. However, I am having troubles calling the variable. For instance, I define the function ...
66 views

### Watched a Livestream with Christopher Wolfram, he used an operator that I can't find [duplicate]

I understand /., /@, /; and documentation exists in the normal way for all of those but I can find nothing on /*
Reduce[Abs[1/(1 + I/Sqrt[α])] < 0.5, {α}] It is taking long time to run. Can any one help me to get the reduced condition in terms of $\alpha$ or its modulus. ...