# Questions tagged [interval-arithmetic]

Interval arithmetic is the arithmetic of quantities that lie within specified ranges (i.e., intervals) instead of having definite known values.

101 questions
Filter by
Sorted by
Tagged with
34 views

### Question about an absolute value inequality.

The question states: Given $g(x) = |x-2| - |x| +2$, express $g(x)$ without absolute value bars if $x$ is in given interval - $1.$ $[2, +\infty)$ $2.$ $[ -\infty, 0)$ $3.$ $[0,2)$ So I found the ...
16 views

### Interval and percentage algorithm

I have a problem that I can not solve. I want to create the following algorithm: For an interval [a, b]. If a variable x (between a and b) is close to the center of the interval we will output 100% ...
28 views

### How to write a subset with index

I have a difficulty to define the start and end index of a subset. I have $x_i$, $i=1, ..., |\phi_M|$ an element of the main set $\phi_M$, Now I have to define subsets of $\phi_M$ but I have doubt on ...
36 views

### Will linear interpolation of a random value from one range to another 'preserve' randomness?

I have generated a number z from a range (x,y) and want to map z to another range (p,q) This can be achieved using linear interpolation as seen here: https://www.mathworks.com/matlabcentral/answers/...
68 views

### How are positive intervals calculated?

Give these equations $N=p^4-p^3+161*p$ $N+(n/2)^2=M^2$ $p*(p+n)=161$ How to calculate the intervals in which $n>0$ and $p>0$ and $M>0$ and $N>0$ ? $n$ and $N$ and $p$ and $M$ not ...