Statistics
2 Questions
0 Answers
RANK
157,785
of 301,383
REPUTATION
0
CONTRIBUTIONS
2 Questions
0 Answers
ANSWER ACCEPTANCE
100.0%
VOTES RECEIVED
0
RANK
of 21,252
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 174,306
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Discussions
AVERAGE NO. OF LIKES
Feeds
Question
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 1 answer | 0

