CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 06:15:38 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=a9f8a917a523d9c7fd8e697c3f79a23cbc7bef2f92f21062ff5745cfb7c1bc75a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22OfkDiI_p0N1IDz-rcFBkxZGaCUQjBSOu%22%3B%7D; HttpOnly; Path=/
cf-ray: 98cc395f889f5917-BLR
Adaptive Simpson's Rule with constant 1/1000 - Pastebin.com
SHARE
TWEET

Adaptive Simpson's Rule with constant 1/1000
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function [outI, outX] = adaptive_two_simpson_new_constant (func, a, b, tol)
- m = (a+b)/2;
- ##c = 1/(1/16-1);
- k = 1/1000;
- [outI_0, outX_0] = composite_two_simpson(func, a, b, (b-a)/2 );
- [outI_1, outX_1] = composite_two_simpson(func, a, m, (m-a)/2 );
- [outI_2, outX_2] = composite_two_simpson(func, m, b, (b-m)/2 );
- if abs(k*(outI_0 - (outI_1 + outI_2))) < tol
- outI = outI_1 + outI_2;
- outX = unique([outX_1, outX_2]);
- else
- [outI_3, outX_3] = adaptive_two_simpson_new_constant(func, a, m, tol/2);
- [outI_4, outX_4] = adaptive_two_simpson_new_constant(func, m, b, tol/2);
- outI = outI_3 + outI_4;
- outX = unique([outX_3, outX_4]);
- endif
- endfunction
Advertisement
Add Comment
Please, Sign In to add comment
-
✅⭐ Make $2500 in 15 minutes ✅ NEVER SEEN BEFO...
JavaScript | 3 sec ago | 0.24 KB
-
✅⭐ Make huge profits on trading ⭐⭐ E
JavaScript | 4 sec ago | 0.24 KB
-
⭐✅ MAKE $2500 IN 15 MIN⭐⭐⭐ O
JavaScript | 15 sec ago | 0.24 KB
-
⭐⭐⭐ G2A Payment Exploit ✅ NEVER SEEN BEFORE ⭐...
JavaScript | 17 sec ago | 0.24 KB
-
⭐✅ Exploit 2500$ in 15 Minutes⭐⭐⭐ 8
JavaScript | 26 sec ago | 0.24 KB
-
⭐✅ MAKE $2500 IN 15 MIN ✅ NEVER SEEN BEFORE ⭐...
JavaScript | 26 sec ago | 0.24 KB
-
⭐ ✅ Free Products Method ✅ ✅ NEVER SEEN BEFOR...
JavaScript | 35 sec ago | 0.24 KB
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ C
JavaScript | 37 sec ago | 0.24 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand