New answers tagged

1 vote
Accepted

Is there any alternative for conditional plot that gives a more precise result in a shorter time?

I will address 3 points: There is a pole that is easy to remove. The function is very long you might want to compile it. I do not understand why you want such high precision in a plot but there are ...
  • 2,965
0 votes

How to simplify/express the given number in a compact rational form?

My Help and Insights!!! "BTW it's NOT simple what you trying to achieve" Suggested Approach Solution: Regardless of the how and where you got this numb ...
  • 1,056
3 votes

Equality of almost equal lists

You may define a function, that compares two numbers or arrays, where you can specify how much difference you want to tolerate: E.g. ...
  • 31.9k
3 votes

Equality of almost equal lists

There are several ways to do this: Equal[a, Chop[b]] (*True*) SetAccuracy[a, 10] === SetAccuracy[b, 10] (*True*)
6 votes

Equality of almost equal lists

a = {339.66666666666697, -287.4444444444446, 0.} b = {339.6666666666667, -287.44444444444684, -2.1316282072803006*^-13} In order to chop values close to zero to ...
  • 22.2k
0 votes

Rounding numbers to certain numbers of significant figures

NsigFig[x_, digits_] := If[x == 0, 0., Round[x, 0. + 10^(Round[Log[10, x] - digits + 0.5])]] Try: NsigFig[3.1415926,4]
2 votes
Accepted

Interval Arithmetic when calculating eigenvectors

The problem might be that multiple Intervals in the same expression are treated as independent, even if they should represent the same quantity. As a simple example,...
  • 15.4k

Top 50 recent answers are included