Given One Dimension 15×1 Array Write Program Create New One Dimension 15×1 Array Using Fol Q37207960

  1. Given a ONE DIMENSION (15X1) array, write a program that willcreate a new ONE DIMENSION (15X1) array by using the followingformula (using this formula, you will not be able to calculate anew value for the first entry and the last entry – just copy thesetwo values in to the new array):

Fi = F i-1 +Fi + Fi+1

                 3

Test your program using the data onthe left. This is a technique called

SMOOTHING and is used to reduce the effect of random errorsin

experimental data.

Output the original data and thesmoothed data side by side.

NOTE: Here’s how to use the smoothing

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.