photo

Fahad


Last seen: 5 years ago |  Active since 2021

Followers: 0   Following: 0

Statistics

MATLAB Answers

1 Question
0 Answers

RANK
284,046
of 302,393

REPUTATION
0

CONTRIBUTIONS
1 Question
0 Answers

ANSWER ACCEPTANCE
100.0%

VOTES RECEIVED
0

RANK
 of 21,775

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 182,118

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

  • Thankful Level 1
  • First Review

View badges

Feeds

View by

Question


I have the following code to calculate d/dx sin(0.5)) using first derivative principle and compare it with the real value. Why does err starts increasing again?
clc n=30; x=0.5; h=zeros(n,1); y=zeros(n,1); err=zeros(n,1); h(1)=1; for i=1:n-1 y(i)=(sin(x+h(i))-sin(x))/h(i) ...

5 years ago | 1 answer | 0

1

answer