Feeds
질문
This is a question from numerical methods asking to explain what the code does for 12 marks.
% function [func,deriv]= fcn_nr(x) % func = x^4 - 5*x^3 -124*x^2 + 380*x + 1200; % deriv = 4*x^3 -15*x^2 -248*x +380; x...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
What does the following code do?
myFunction =@(x)x^2-6; x_lower=0; x_upper=5; x_mid=(x_lower+x_upper)/2; while abs(myFunction(x_mid))>0.01 if (myFunct...
6년 초과 전 | 답변 수: 1 | 0

