Advertisement
Guest User

Untitled

a guest
Mar 30th, 2020
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. if q < q0+Beta*q0_prim*tau
  2. if c == 1
  3. if q < q0
  4. if abs(tau_est > Delta)
  5. fprintf('Wartość minimum funkcji: f(%.2f) = %.2f \n', tau_est, q_est)
  6. break;
  7. else
  8. disp('Błąd 3');
  9. end
  10. else
  11. disp('Błąd 2');
  12. end
  13. else
  14. e = 1;
  15. tau = K_eks*tau;
  16. end
  17. else
  18. if e == 1
  19. if q < q0
  20. if abs(tau_est > Delta)
  21. fprintf('Wartość minimum funkcji: f(%.2f) = %.2f \n', tau_est, q_est)
  22. break;
  23. else
  24. disp('Błąd 3');
  25. end
  26. else
  27. disp('Błąd 2');
  28. end
  29. else
  30. c = 1;
  31. tau = K_eks^(-1)*tau;
  32. end
  33. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement