Advertisement
STANAANDREY

LAB6 1

Apr 3rd, 2023
1,209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.11 KB | None | 0 0
  1. f=@(x)(sin(x)-cos(x));
  2. fd=@(x,h)(f(x+h)-f(x))/h;
  3. for h=-1:-1:-12
  4.     fd(0, 10^h) - (cos(0)+sin(0))
  5. end
  6.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement