Linked Questions

2 votes
0 answers
575 views

how to calculate with just double floating point precision [duplicate]

I want to calculate with simple double floating point precision. ...
user11523's user avatar
8 votes
1 answer
348 views

Exp of big negative numbers [duplicate]

I noticed that Exp have a strange behaviour with big negative numbers ...
ybeltukov's user avatar
  • 43.7k
6 votes
0 answers
171 views

Can I force Mathematica to use machine precision? [duplicate]

Some built-in functions (like Exp) give an arbitrary precision result, even when the argument is a machine precision number. Example: ...
Niki Estner's user avatar
  • 36.1k
3 votes
0 answers
111 views

Calculating eigensystem of a matrix containing very small numbers [duplicate]

I'm dealing with a matrix containing very small numbers like 10^(-370). When I compute the eigensystem of my matrix, it takes too much time, though the matrix size is not large. Can anyone explain ...
Suro's user avatar
  • 1,179
16 votes
8 answers
3k views

Product of elements of a list

Sum is for functions; Total is for a list. Product is for a function; what is the command ...
user avatar
28 votes
4 answers
1k views

SetOptions locally?

Is there a way to SetOptions locally? For example, I have a Module and inside it I am doing a lot of ...
a06e's user avatar
  • 11.4k
13 votes
5 answers
1k views

NDSolve DAE with Constraints

I'm trying to make some numerical simulation with NDSolve. I have encountered a few problems. Here is a simplified version of the equations: ...
407PZ's user avatar
  • 1,441
22 votes
2 answers
486 views

Plotting a defined function gives different results from plotting the function directly

Consider the following piece of code: function[t_]:=Exp[-9 t^2]; LogLogPlot[{function[t],Exp[-9 t^2]},{t,.01,100}] I expect the two plots to exactly overlap each ...
G. H. Hardly's user avatar
8 votes
3 answers
6k views

Machine precision near zero: not fulfilled?

I am puzzled by the behavior of Mathematica machine precision with numbers approaching zero. This manifests itself, e.g., with FixedPoint and the like. In the ...
user8074's user avatar
  • 1,592
17 votes
2 answers
346 views

CompiledFunction returns machine numbers smaller than $MinMachineNumber

When thinking on the workaround for this LogLogPlot bug suggested by halirutan I noticed that CompiledFunction actually can ...
Alexey Popkov's user avatar
12 votes
1 answer
816 views

Why does 1 - Exp[-10.0^12] cause an out-of-memory error?

I would like to understand why evaluation of the expression 1 - Exp[-10.0^12] causes an out-of-memory error and how can I prevent such errors when calculating ...
Ray Shadow's user avatar
  • 7,826
8 votes
1 answer
1k views

DSolve with SetOptions[Solve, Method -> Reduce] Behaving Differently in Ver 11.1.1

With version "11.1.1 for Microsoft Windows (64-bit) (April 18, 2017)", DSolve[{SI'[s] == Sin[PH[s]] , PH'[s] == Sin[SI[s]]/e}, {SI[s], PH[s]}, s] produces the ...
bbgodfrey's user avatar
  • 61.5k
4 votes
3 answers
842 views

Why does DSolve return two solutions for my ODE?

I wanted to solve the differential equation: $y’ = (1+2x)\sqrt{y}$ with $y(0) = 1$. It can be done by hand, and to check my answer I typed the following in Mathematica ...
puzzled mathematica user's user avatar
5 votes
2 answers
893 views

Underflow error General::munfl from E^x instead of Exp[x]

In contrast to earlier versions, Mathematica 11.3 and 12.0 generate lots of underflow errors from my code, e.g. ...
Quantum Sharpener's user avatar
4 votes
2 answers
292 views

Change lighting in ChromaticityPlot3D

It looks to me like ChromaticityPlot3D has some default lighting, but unlike most Graphics3D functions the Lighting option doesn't seem to have any effect. However, the documentation states "...
ddd's user avatar
  • 73

15 30 50 per page