Skip to main content

Questions tagged [functions]

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

1 vote
2 answers
339 views

This is both a math question and a Mathematica question. I am trying to draw a simple spiral, and found this diagram that fits what I am trying to create. Implementing the math, using Mathematica, I'...
Tom De Vries's user avatar
  • 3,830
2 votes
1 answer
215 views

Assume that I define: ...
MTYS's user avatar
  • 169
3 votes
2 answers
244 views

I have a list of functions like this: ...
internet's user avatar
  • 1,417
12 votes
4 answers
547 views

We can define anonymous functions like this: #^2+#+1 & or like this x |-> x^2+x+1 When we want to define a recursive ...
jjagmath's user avatar
  • 533
0 votes
2 answers
109 views

This function has two separate branches (not connected together): func = ConditionalExpression[1/(1 - 2 x)^2, 0 < x < 1]; Given a range of ...
internet's user avatar
  • 1,417
2 votes
1 answer
133 views

How can I add constraints to the Solve function? For example, I tried: ...
internet's user avatar
  • 1,417
0 votes
0 answers
68 views

Before describing the problem, a short background on how it pops up. I am solving a PDE problem on the [0,1]x[0,1] domain. To this end, I want to find the decomposition of some derivatives of the ...
Paweł Korzeb's user avatar
3 votes
0 answers
236 views

I would like to run Mathematica as an alarm clock that will wake me up by playing a predefined audiofile at a predefined time. This is easy enough to do by defining ...
ool's user avatar
  • 75
7 votes
7 answers
368 views

I have myList, a list of triples: myList = { {a1, a2, a3}, {b1, b2, b3}, {c1, c2, c3} }; I wish to apply a function ...
Andrew's user avatar
  • 10.6k
2 votes
1 answer
101 views

For a package, we use ParallelNeeds to make its functions available on all kernels for ParallelMap. For a ...
internet's user avatar
  • 1,417
0 votes
0 answers
69 views

I was trying to find the root of a function which is in-turn given only by the solution of FindRoot. The following does work for some values. For others it produces the same error as without the ...
darksun's user avatar
5 votes
3 answers
330 views

This is the simple geometry problem I want to solve: In triangle ABC with side lengths a, b, c respectively, there is a point D on side AB, where AD = d. Find the length of CD. When solving this ...
King.Max's user avatar
  • 345
1 vote
1 answer
125 views

This question relates to the recent question in: Creating permutations on a sublist of the list {1, 2, ..., n} The following was suggested to create rules, then permutations using these rules: ...
ExpressionCoder's user avatar
0 votes
0 answers
72 views

I am working on error propagation in Mathematica for a physics calculation involving tau lepton decay. I have a complex function that calculates the lifetime of the tau lepton based on various ...
Redamy Perez Ramos's user avatar
3 votes
1 answer
118 views

In the new version of Mathematica, there is a new function called GeometricSolveValues that can solve for unknown geometric quantities in a geometric scene with ...
King.Max's user avatar
  • 345

15 30 50 per page
1
2 3 4 5
261