I have a question. I'm searching for two methods that
1) Sum of two random numbers from an Intervals must be on that interval.
2) subtract of two random numbers from an Intervals must be on the interval.
For example : Interval :[2,6] if randomly select 5.6 and 4 then 5.6 and 4 is not in the [2,6]. I need that the sum is in the interval.
OR
If we select randomly 2 and 6 then 2-6=-4 and (-4) is not in the interval [2,6].
Can anyone help me please ?
Great thanks