Program: assigna.m Write a MATLAB script file that uses principal (or amount), rate of interest, and time to compute and display the simple interest with appropriate labeling. Create a vector of rates using the following information entered from user Ask the user to enter the low and hich values for the rate range and the number of rates. Ask the user for the number of years. Problem CONSTANTS: (with units) PRINCIPAL 4000 dollars Problem Inputs: (with units) vector of rates of interest using information entered by user 8 percent time entered by user years Problem Out (with units) simple interest dollars average rate of interest and simple interest percent Other variaWes: (with units) minimum and maximum rates percent number of rates Equation: See above Algorithm: See green comments below. Type the green comments as GIVEN in the editor window and use as a guide for typing the MATLAB statements. Renewpor: See below Start your program file by typing the following into your empty editor window. Type yours/ your group and other required information comments. Type the algorithm as given below as comments to guide you when writing the MATLAB instructions to do the tasks to solve the given problem. Below the comment, type the MATLAB statements) that o what the comment says. This example should help. NO error checking. Do not use commands and statements bevond what has been taught on class Do not use commands and statements in assignol until they have been discussed in class. submitter's name, GROUP or none other group members' names or none program file name due date of the assignment statement(s) about collaboration. See syllabus for examples a short narrative about what the file docs New commands: input() mean() Continue Create rate vector using linspace() format bank, compact dispo Use descriptive variables. ele, clear all format bank format compact . CONSTANTS get principle INPUT get interest rate per period range and time from the user create rate vector COMPUTE - compute simple interest (S) create a table with rate and simple interest get the average rate and interest OUTPUT display simple interest with label display average rate and interest with label COMP1200m-Spring 2000 - - 2 of 3 Program: assigna.m Write a MATLAB script file that uses principal (or amount), rate of interest, and time to compute and display the simple interest with appropriate labeling. Create a vector of rates using the following information entered from user Ask the user to enter the low and hich values for the rate range and the number of rates. Ask the user for the number of years. Problem CONSTANTS: (with units) PRINCIPAL 4000 dollars Problem Inputs: (with units) vector of rates of interest using information entered by user 8 percent time entered by user years Problem Out (with units) simple interest dollars average rate of interest and simple interest percent Other variaWes: (with units) minimum and maximum rates percent number of rates Equation: See above Algorithm: See green comments below. Type the green comments as GIVEN in the editor window and use as a guide for typing the MATLAB statements. Renewpor: See below Start your program file by typing the following into your empty editor window. Type yours/ your group and other required information comments. Type the algorithm as given below as comments to guide you when writing the MATLAB instructions to do the tasks to solve the given problem. Below the comment, type the MATLAB statements) that o what the comment says. This example should help. NO error checking. Do not use commands and statements bevond what has been taught on class Do not use commands and statements in assignol until they have been discussed in class. submitter's name, GROUP or none other group members' names or none program file name due date of the assignment statement(s) about collaboration. See syllabus for examples a short narrative about what the file docs New commands: input() mean() Continue Create rate vector using linspace() format bank, compact dispo Use descriptive variables. ele, clear all format bank format compact . CONSTANTS get principle INPUT get interest rate per period range and time from the user create rate vector COMPUTE - compute simple interest (S) create a table with rate and simple interest get the average rate and interest OUTPUT display simple interest with label display average rate and interest with label COMP1200m-Spring 2000 - - 2 of 3