# Questions tagged [intervals]

Mathematica's Interval Arithmetic is capable of handling the uncertainty in a rational manner

49 questions
Filter by
Sorted by
Tagged with
189 views

### How to get an absolute value of Around?

Around is a useful feature of Mathematica 12 to work with uncertain data. x = Around[-1, {0.5, 1.5}] $-1.0^{+1.5}_{-0.5}$ ...
46 views

### Finding the volume of a 10-dimensional cube

I need help with finding the volume of a 10-dimensional cube with a given interval: $1 \geq x \geq -1$. I tried to defined the function by: $a^2+b^2+c^2...j^2 \leq 1$ as the question required. I can ...
44 views

### NDSolveValue::bcedge: Boundary condition is not specified on a single edge of the boundary of the computational domain

I'm solving a Schrödinger's Equation in 1d, where $\Omega$ is the domain, bcs the periodic boundary condition, init the initial condition. ...
62 views

### Using Piecewise to plot a defined function [closed]

I'm trying to Plot this function: Between the interval -0.2 < t < 0.1 but it doesn't work. All i get is a blank graph between my intervals. If you could help me out I'd greatly appreciate it. ...
126 views

### How to create an Interval object with specific end points?

When creating an Interval object, the end points are automatically widened when an end point is an inexact number. For instance: ...
57 views

### List manipulation Interval Intersection

I'm having some troubles manipulating a nested list: ...
35 views

### Buggy IntervalUnion with Quantities?

IntervalUnion can give wrong output when used with Quantity: ...
324 views

### How to divide an interval on 10 equal intervals? [closed]

I have a simple function f(x)= t [0.216019, 0.216971]. How do I tell the software to divide this interval into 10 equal intervals (and also to give me their values)?
80 views

### How to turn intervals into coordinate pairs?

So for the function (x^3 + 2)/(x^4 + 1) I needed to find the values where it is increasing and decreasing. I used ...
81 views

### Different intervals in 3D plot of multiple surfaces

I'm coming from R --hoping for better 3D graphs. I have the following code and graph: ...
187 views

### How to get a random real number in the half-open interval [0.0,1.0)? [duplicate]

As far as I understand, RandomReal[] is able to generate random numbers between 0.0 and 1.0 so thinking in Terms of an interval this means [0.0,1.0]. Now I want to ...
215 views

### How to efficiently get the Complement of a Domain and several Intervals (IntervalComplement?)

Suppose you have a list of intervals (or tuples), such as: intervals = {{3,7}, {17,43}, {64,70}}; And you wanted to know the intervals of all numbers not ...
57 views

### Mathematica IntervalGraph

I wanted to visualize an Interval Graph.Documentation says there exists a function IntervalGraph in Global which used to be in package Combinatorica before ...
206 views

### Division by an interval

I have a function: f[x_] := 1792 - 256 x - 2240 x^2 + 320 x^3 + 448 x^4 - 64 x^5 - 6 x^6 + 6 x^7 interval: ...
99 views

### Easy way to covert a Range or set of vales to an Interval object [duplicate]

I am generating data such as {4,5,6,7,8,9,20,21,22,23,24,25,78,79,90}. This list can reach thousands of elements. Is there a simple or good method to convert such a list into a set on Interval ...
175 views

### Interval of confidence

I need some help to understand the proper meaning of the way Mathematica estimates interval of confidence. I have some data points, which are quite scattered around a sinusoidal behavior. For physical ...
69 views

### Checking membership of 2d region

I want to check whether a point $(x,y)$ belongs to a square region whose x-interval is $[x_1,x_2]$ and y-interval is $[y_1,y_2]$. I defined the 2d region as ...
2k views

### How do I solve a trig equation over an interval?

I have an equation $4\sin^2(θ) = 1+4\cos(θ)$. I need to solve this equation on the interval $0<=θ<2 π$. How would I use the Solve and/or ...
304 views

### Timeline Plot with Date Intervals and Caption Array

I'm trying to achieve something similar to this example mentioned in the mathematica website below (https://reference.wolfram.com/language/ref/TimelinePlot.html), except I'm trying to get the event ...
69 views

### Representing inequalties with proper boundaries [closed]

I have a very simple problem: given an inequality, I'd like to represent it in a regional plot marking the boundary differently depending whether it belongs to the region or not. For example I'd like ...
213 views

### How to plot Extreme-Value functions that have parameters with finite intervals?

I would like to calculate/plot $min$ and $max$ values of a function whose parameters have finite intervals but I am receiving error messages as follows: ...
86 views

### Interval arithmetics and complex numbers

I am trying to do some simple calculations for a computer assisted proof and since they are not too demanding I thought of using Mathematica. I seems that Mathematica is great for interval ...
3k views

### Average function value over an Interval [closed]

What is the best way to find the average value of a function over a specific interval in Mathematica? I can not figure it out. I have two points on the interval and need to find the average value.
277 views

### Is there an analog of the Complement function for intervals?

I have two intervals: i1 = Interval[{1,4}]; i2 = Interval[{2,3}]; I need a function that subtracts i2 from ...
394 views

### How can I exclude endpoints of intervals?

I have list of intervals: Jintervals = {Interval[{18.9, 21.}], Interval[{21., 23.1}]} I need to exclude the endpoints - [18.9,21.), [21.,23.1) Wrong - <...
171 views

124 views

### Interval arithmetic for DawsonF (or other special functions)

I am currently trying to estimate a complicated expression involving DawsonF using interval arithmetic. The interval arithmetic is partially supported by ...
408 views

### Interval notation for NumberLinePlot

Consider: NumberLinePlot[Abs[3 - 4 x] < 2, x, PlotStyle -> {Thick, Blue, PointSize[Large]}, Ticks -> {Range[0, 1.5, .25]}] Which produces this image: ...
297 views

### Interval calculations in wolfram mathematica

If x = Interval[-100,100], then obviously x^2 + x = Interval[-0.25,10100], because as we know, ...
95 views

### Solving for intervals without using NumberLinePlot

I've been struggling to find a way to find an interval solution to an equation/inequality. I know mathematica can do this since for example, ...
134 views

### Why doesn't Rationalize work for 0. in Interval?

Same motivation as this q. Why doesn't Rationalize work for 0.? Interval[{0., 1.}] // Map[Rationalize, #, {2}] & ...
203 views

### Interval Arithmetic with Symbolic Intervals

I've run into a problem with IntervalUnion and IntervalIntersection when dealing with symbolic intervals. The following code ...
79 views

### How do I simplify Interval[{x,x}] to x? [duplicate]

How do I simplify Interval[{x,x}] to x ? Simplify and ...
66 views

### Weird results with Intervals

Sorry for presumably another dumb question... But here we go: Reduce[Sin[Cos[x]] == 0 && 0 <= x <= Pi/2, x] (* x == Pi/2 *) Yep. Nice. So now, a ...
75 views

### Fine precision control in IntervalSlider

I would like to develop a simple slider for exploring a wide range of intervals on the real line. Is it possible to get the MinimalSize of IntervalSlider to work ...
484 views

### How do you graph the confidence intervals that results from a GARCH over a time series?

Please, does someone know how to draw a confidence intervals (from the results of a GARCH (1,1)) in a way similar to these: *Asume an ARMA(1,1) fit the time series. Thank you very much