4 Solve the following questions: (15 points) Question Three: (04/15) Write a complete MATLAB program to input the first (X) number of series, and then: 1. Add the next 70th numbers; 2. Calculate the average value 3. Compare between the average vale and the input vale (X), if it is more than 50 or not. 4. If the output from step 3 was no, divide the input vale (X) by 2 and then repeat step 3. 5. Plot the relationship between the 71th numbers include the input number (X) and its square values.
Comments
Leave a comment