Created
October 24, 2019 08:44
-
-
Save adibenc/1c9cfac54cf0451eefd2b91b4039d63c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//integralnya kd | |
//by adib | |
function f1($x=1){ | |
return | |
($x**3-22*($x**2))/8 | |
- | |
((1/24)*$x**3) | |
; | |
} | |
function integral1($x=0,$x2=1){ | |
return f1($x2)-f1($x); | |
} | |
echo "hasil ".integral1(24,29.6); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment