Juan Gomez
Followers: 0 Following: 0
Statistics
2 Questions
0 Answers
RANK
286,452
of 289,965
REPUTATION
0
CONTRIBUTIONS
2 Questions
0 Answers
ANSWER ACCEPTANCE
0.0%
VOTES RECEIVED
0
RANK
of 19,612
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 144,344
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
In matlab grader it says i am trying to write a scrip instead of a function.
f = @(x) (2.*x.^3 + 3.*x-1) .* cos(x) - x; [bisec_root, n, err] = bisection_method(f, -1, 1, 10E-5, 20) matlab_root = fzer...
4 years ago | 1 answer | 0
1
answerQuestion
Write a function called mysum that sums the first n positive numbers. Give the result x1 for n=20,and the result x2 for n=100. For example, if n = 2, mysum computes the sum of 1 and 2. The result is 3.
I tried using a for loop setting mysum = 0; for k= 1;n mysum = k+n; end mysum
4 years ago | 1 answer | 0