MATLAB

Use a for-end loop to calculate y=4x^3 -16, for ?2 ? x ? 3 with x-increments of 1. (Create x array first; then, use an index to individually extract elements of x; use the extracted element in the equation; and finally, accumulate elements of y one at a time (by indexing y as well)). Display y. Hint: utilize the length command to specify the number of loop iterations.

READ ALSO :   Mid Term Paper-Film’s Multimedia Terminology