Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 19c DBA By Examples Installation And Administration

Authors: Ravinder Gupta

1st Edition

B09FC7TQJ6, 979-8469226970

Students also viewed these Databases questions

Question

Explain the legal term assumption of risk .

Answered: 1 week ago