Feeds
已回答
Finding real root of Newton's cubic
f = @(x) (x^5)-(2*x)-5; dff = @(x) (3*x^2)-2; x(1) = 1; itr_num = 10; TOL = 1E-6; x = zeros(itr_num+1, 1); val_n = 2;...
Finding real root of Newton's cubic
f = @(x) (x^5)-(2*x)-5; dff = @(x) (3*x^2)-2; x(1) = 1; itr_num = 10; TOL = 1E-6; x = zeros(itr_num+1, 1); val_n = 2;...
8 years 前 | 0
提问
Finding real root of Newton's cubic
f = @(x) (x^5)-(2*x)-5; dff = @(x) (3*x^2)-2; x(0) = 1; itr_num = 10; TOL = 1E-6; x = zeros(itr_num+1, 1); x(1) = x^0; ...
8 years 前 | 2 个回答 | 0
2
个回答提问
How to I fix this Index error?
Exam1 = input('What is the grade for Exam1? '); Exam2 = input('What is the grade for Exam2? '); Exam3 = input('What is t...
8 years 前 | 2 个回答 | 0
2
个回答提问
How do I write code processing grades?
How do I write code that gets scores for 3 exams: Exam1, Exam2, Exam3 as input (via arguments). Prints them (nicely, using fpr...
8 years 前 | 1 个回答 | 0
