👤

Answer :

Answer:

The range of y = ex is all numbers greater than 0, so since the function has been shifted up 1, the new range of the function is all numbers greater than 1. Since the argument of any log must be greater than 0, (x-1)/2 > 0. Thus x - 1 > 0, so x > 1

Answer:

defines the set of values [ 1, 2, 3, 4, 5 ], and the range

1 : 3 : 5

defines the set of values [ 1, 4 ].

Although a range constant specifies a row vector, Octave does not normally convert range constants to vectors unless it is necessary to do so. This allows you to write a constant like 1 : 10000 without using 80,000 bytes of storage on a typical 32-bit workstation.

A common example of when it does become necessary to convert ranges into vectors occurs when they appear within a vector (i.e., inside square brackets). For instance, whereas

x = 0 : 0.1 : 1;

defines x to be a variable of type range and occupies 24 bytes of memory, the expression