Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

P2) We would like to calculate f(x) and the exact derivative f'(x) for two different functions f()-xe and f(x)-7sin(x)e-1 (a) Write two separate functions defined

image text in transcribed
P2) We would like to calculate f(x) and the exact derivative f'(x) for two different functions f()-xe and f(x)-7sin(x)e-1 (a) Write two separate functions defined below: function [fx, dfx]-myF1 (x) Function file: myF1.m Purpose: % Calculate f (x) and f"(x) for f(x)-x"3"exp (-2*x) exact Record of revisions (Date I Programmer I Change) : % Date Name I original program %inputs : % x- (1x1) value of x where f(x) and f, (x) need to be calculated Outputs: % fx- (1x1) value of f (x) dfx (1x1) value of f" (x) function [fx, dfx]-myF2 (x) Function file: myF2.m %Purpose : % Calculate f(x) and exact f"(x) for f(x)-7%n (x) *exp (-x)-1 . Record of revisions (Date I ProgrammeChange): 8 Date I Name 1 Original program Inputs: x- (1x1) value of x where f and f (x) need to be calculated x) outputs: fx (1x1) value of f(x) % dix- (1x1) value of f, (x) (b) Using the above programs, determine the exact derivatives of the two functions at x=1

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

Flash XML Applications Use AS2 And AS3 To Create Photo Galleries Menus And Databases

Authors: Joachim Schnier

1st Edition

0240809173, 978-0240809175

More Books

Students also viewed these Databases questions