Question: TASK 8 - (10 marks ) Using the same equation described in Task 7, now, write a Matlab program using a script file and while
TASK 8 - (10 marks ) Using the same equation described in Task 7, now, write a Matlab program using a script file and while statement that will determine the number of terms required with the condition of x is not exceeding 100 . Also, calculate the sum for the above number of terms. 3x2+3x2,wherex=1,2,3,,100 Answer (show your MATLAB script editor and the output): TASK 9 - (10 marks): Write a Matlab program using a script file and for statement that will display a list of integers from 1 to 9 with its corresponding square and cube values next to it (line by line). The expected output is similar to below. Answer (show your MATLAB script editor and the output): Using a for statement, write a Matlab program using a script file that compute the sum of the first a terms of the series equation stated below. Execute the script file for n=4 and n=20. k=1n2k(1)kk Answer (show your MATLAB script editor and the output)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
