Question: Write an Octave script to compute the approximation percent error (a) for each term in the Maclaurin series of ex (evaluated at x=4 ) using

 Write an Octave script to compute the approximation percent error (a)

Write an Octave script to compute the approximation percent error (a) for each term in the Maclaurin series of ex (evaluated at x=4 ) using first 16 terms of the series ex=i=0i!xi=0!x0+11x1+2!x2+3!x3+4!x4( up to 15!x15). You must use a for-loop in the algorithm. Use 5 decimal places when displaving vour result (%.5f) (Problem 1 shows what the output of this problem must look like) Write your answer in an Octave script - Annotate the code with comments - When executed, the script must display output data Problem 3: Coding Create a script that displays the final semester grade ("S: Satisfactory" or "U: Unsatisfactory") of a student based on the average of the array of grades below. If the average is greater than 50 , the student gets a satisfactory grade, or unsatisfactory otherwise. You must use a for-loop and a conditional in the algorithm. grades =[95,99,72,87,76,85] Write your answer in an Octave script. - Annotate the code with comments - When executed, the script must display output data

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!