From 80fe483f6f2db4c6fbabe99f9b87b56d64460584 Mon Sep 17 00:00:00 2001 From: Ahmad Nadil <88835532+IceTeaXXD@users.noreply.github.com> Date: Sat, 12 Feb 2022 16:09:49 +0700 Subject: [PATCH 01/11] Created a Folder --- 16521516_Ahmad Nadil/tes.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 16521516_Ahmad Nadil/tes.txt diff --git a/16521516_Ahmad Nadil/tes.txt b/16521516_Ahmad Nadil/tes.txt new file mode 100644 index 0000000..bf7e899 --- /dev/null +++ b/16521516_Ahmad Nadil/tes.txt @@ -0,0 +1 @@ +asdasd From 7b11c55a31aa5bfa3ba5d62dd493642f6457cb88 Mon Sep 17 00:00:00 2001 From: Ahmad Nadil <88835532+IceTeaXXD@users.noreply.github.com> Date: Sat, 12 Feb 2022 16:11:05 +0700 Subject: [PATCH 02/11] Create README.md --- 16521516_Ahmad Nadil/README.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 16521516_Ahmad Nadil/README.md diff --git a/16521516_Ahmad Nadil/README.md b/16521516_Ahmad Nadil/README.md new file mode 100644 index 0000000..1325bf9 --- /dev/null +++ b/16521516_Ahmad Nadil/README.md @@ -0,0 +1,4 @@ +# Misi 2 Programming SEKURO 2022 +## NIM : 16521516 +## Nama : Ahmad Nadil +## Fakultas : STEI From 396bcfdbad7b5af5c7ed0f5931919d8460cff343 Mon Sep 17 00:00:00 2001 From: Ahmad Nadil <88835532+IceTeaXXD@users.noreply.github.com> Date: Sat, 12 Feb 2022 16:11:17 +0700 Subject: [PATCH 03/11] Delete tes.txt --- 16521516_Ahmad Nadil/tes.txt | 1 - 1 file changed, 1 deletion(-) delete mode 100644 16521516_Ahmad Nadil/tes.txt diff --git a/16521516_Ahmad Nadil/tes.txt b/16521516_Ahmad Nadil/tes.txt deleted file mode 100644 index bf7e899..0000000 --- a/16521516_Ahmad Nadil/tes.txt +++ /dev/null @@ -1 +0,0 @@ -asdasd From fe8989d9df5ead78148e6072140ab9f9f3fc1efa Mon Sep 17 00:00:00 2001 From: IceTeaXXD <16521516@mahasiswa.itb.ac.id> Date: Sat, 12 Feb 2022 16:13:07 +0700 Subject: [PATCH 04/11] Added C File --- ...ing - SEKURO 2022 - 16521516 Ahmad Nadil.c | 68 +++++++++++++++++++ Misi 2 Programming - SEKURO 2022.c | 2 +- 2 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 16521516_Ahmad Nadil/Misi 2 Programming - SEKURO 2022 - 16521516 Ahmad Nadil.c diff --git a/16521516_Ahmad Nadil/Misi 2 Programming - SEKURO 2022 - 16521516 Ahmad Nadil.c b/16521516_Ahmad Nadil/Misi 2 Programming - SEKURO 2022 - 16521516 Ahmad Nadil.c new file mode 100644 index 0000000..6dc0575 --- /dev/null +++ b/16521516_Ahmad Nadil/Misi 2 Programming - SEKURO 2022 - 16521516 Ahmad Nadil.c @@ -0,0 +1,68 @@ +#include +#include + +float fPlus(float a, float b) { + /* Function tambah */ + /* Mengembalikan value a + b */ +} + +void pPlus(float *a, float b) { + /* Procedure tambah */ + /* I.S. a dan b terdefinisi dan tidak sembarang */ + /* F.S. a menjadi a + b */ +} + +float fMin(float a, float b) { + /* Function kurang */ + /* Mengembalikan value a + b */ +} + +void pMin(float *a, float b) { + /* Procedure kurang */ + /* I.S. a dan b terdefinisi dan tidak sembarang */ + /* F.S. a menjadi a - b */ +} + +float fTimes(float a, float b) { + /* Function kali */ + /* Mengembalikan value a * b */ +} + +void pTimes(float *a, float b) { + /* Procedure kali */ + /* I.S. a dan b terdefinisi dan tidak sembarang */ + /* F.S. a menjadi a * b */ +} + +float fDivide(float a, float b) { + /* Function bagi */ + /* Mengembalikan value a / b */ +} + +void pDivide(float *a, float b) { + /* Procedure bagi */ + /* I.S. a dan b terdefinisi dan tidak sembarang */ + /* F.S. a menjadi a * b */ +} + +float fPower(float a, float b) { + /* Function pangkat */ + /* Asumsi b adalah int */ + /* Mengembalikan value a ^ b */ +} + +void pPower(float *a, float b) { + /* Procedure pangkat */ + /* Asumsi b adalah int */ + /* I.S. a dan b terdefinisi dan tidak sembarang */ + /* F.S. a menjadi a ^ b */ +} + +int main() { + /* Buatlah kalkulator integral menggunakan konsep Integral Riemann */ + /* Notes: Penggunaan operator aritmatika harus menggunakan fungsi dan + prosedur yang telah didefinisikan dan diimplementasi sebelumnya */ + /* Input dan output dibebaskan kepada Cakru URO 14 */ + /* Batasan: Derajat dari koefisien adalah whole number {0, 1, 2, ...} */ + return 0; +} \ No newline at end of file diff --git a/Misi 2 Programming - SEKURO 2022.c b/Misi 2 Programming - SEKURO 2022.c index 952c4e9..6dc0575 100644 --- a/Misi 2 Programming - SEKURO 2022.c +++ b/Misi 2 Programming - SEKURO 2022.c @@ -65,4 +65,4 @@ int main() { /* Input dan output dibebaskan kepada Cakru URO 14 */ /* Batasan: Derajat dari koefisien adalah whole number {0, 1, 2, ...} */ return 0; -} +} \ No newline at end of file From ac0122342560144130e2256d20c88130099c7fb3 Mon Sep 17 00:00:00 2001 From: Ahmad Nadil <88835532+IceTeaXXD@users.noreply.github.com> Date: Sat, 12 Feb 2022 16:13:54 +0700 Subject: [PATCH 05/11] Delete Misi 2 Programming - SEKURO 2022.c --- Misi 2 Programming - SEKURO 2022.c | 68 ------------------------------ 1 file changed, 68 deletions(-) delete mode 100644 Misi 2 Programming - SEKURO 2022.c diff --git a/Misi 2 Programming - SEKURO 2022.c b/Misi 2 Programming - SEKURO 2022.c deleted file mode 100644 index 6dc0575..0000000 --- a/Misi 2 Programming - SEKURO 2022.c +++ /dev/null @@ -1,68 +0,0 @@ -#include -#include - -float fPlus(float a, float b) { - /* Function tambah */ - /* Mengembalikan value a + b */ -} - -void pPlus(float *a, float b) { - /* Procedure tambah */ - /* I.S. a dan b terdefinisi dan tidak sembarang */ - /* F.S. a menjadi a + b */ -} - -float fMin(float a, float b) { - /* Function kurang */ - /* Mengembalikan value a + b */ -} - -void pMin(float *a, float b) { - /* Procedure kurang */ - /* I.S. a dan b terdefinisi dan tidak sembarang */ - /* F.S. a menjadi a - b */ -} - -float fTimes(float a, float b) { - /* Function kali */ - /* Mengembalikan value a * b */ -} - -void pTimes(float *a, float b) { - /* Procedure kali */ - /* I.S. a dan b terdefinisi dan tidak sembarang */ - /* F.S. a menjadi a * b */ -} - -float fDivide(float a, float b) { - /* Function bagi */ - /* Mengembalikan value a / b */ -} - -void pDivide(float *a, float b) { - /* Procedure bagi */ - /* I.S. a dan b terdefinisi dan tidak sembarang */ - /* F.S. a menjadi a * b */ -} - -float fPower(float a, float b) { - /* Function pangkat */ - /* Asumsi b adalah int */ - /* Mengembalikan value a ^ b */ -} - -void pPower(float *a, float b) { - /* Procedure pangkat */ - /* Asumsi b adalah int */ - /* I.S. a dan b terdefinisi dan tidak sembarang */ - /* F.S. a menjadi a ^ b */ -} - -int main() { - /* Buatlah kalkulator integral menggunakan konsep Integral Riemann */ - /* Notes: Penggunaan operator aritmatika harus menggunakan fungsi dan - prosedur yang telah didefinisikan dan diimplementasi sebelumnya */ - /* Input dan output dibebaskan kepada Cakru URO 14 */ - /* Batasan: Derajat dari koefisien adalah whole number {0, 1, 2, ...} */ - return 0; -} \ No newline at end of file From 2055a25828988af7f258e69d287a921af770bffe Mon Sep 17 00:00:00 2001 From: IceTeaXXD <16521516@mahasiswa.itb.ac.id> Date: Sat, 12 Feb 2022 18:48:39 +0700 Subject: [PATCH 06/11] Updated Misi 2 Programming --- ...amming-SEKURO_2022-16521516_Ahmad_Nadil.c} | 25 +++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) rename 16521516_Ahmad Nadil/{Misi 2 Programming - SEKURO 2022 - 16521516 Ahmad Nadil.c => Misi_2_Programming-SEKURO_2022-16521516_Ahmad_Nadil.c} (79%) diff --git a/16521516_Ahmad Nadil/Misi 2 Programming - SEKURO 2022 - 16521516 Ahmad Nadil.c b/16521516_Ahmad Nadil/Misi_2_Programming-SEKURO_2022-16521516_Ahmad_Nadil.c similarity index 79% rename from 16521516_Ahmad Nadil/Misi 2 Programming - SEKURO 2022 - 16521516 Ahmad Nadil.c rename to 16521516_Ahmad Nadil/Misi_2_Programming-SEKURO_2022-16521516_Ahmad_Nadil.c index 6dc0575..32d681a 100644 --- a/16521516_Ahmad Nadil/Misi 2 Programming - SEKURO 2022 - 16521516 Ahmad Nadil.c +++ b/16521516_Ahmad Nadil/Misi_2_Programming-SEKURO_2022-16521516_Ahmad_Nadil.c @@ -4,58 +4,77 @@ float fPlus(float a, float b) { /* Function tambah */ /* Mengembalikan value a + b */ + return a+b; } void pPlus(float *a, float b) { /* Procedure tambah */ /* I.S. a dan b terdefinisi dan tidak sembarang */ /* F.S. a menjadi a + b */ + *a = *a + b; } float fMin(float a, float b) { /* Function kurang */ - /* Mengembalikan value a + b */ + /* Mengembalikan value a - b */ + return a-b; } void pMin(float *a, float b) { /* Procedure kurang */ /* I.S. a dan b terdefinisi dan tidak sembarang */ /* F.S. a menjadi a - b */ + *a = *a - b; } float fTimes(float a, float b) { /* Function kali */ /* Mengembalikan value a * b */ + return a*b; } void pTimes(float *a, float b) { /* Procedure kali */ /* I.S. a dan b terdefinisi dan tidak sembarang */ /* F.S. a menjadi a * b */ + *a = *a * b; } float fDivide(float a, float b) { /* Function bagi */ /* Mengembalikan value a / b */ + return a/b; } void pDivide(float *a, float b) { /* Procedure bagi */ /* I.S. a dan b terdefinisi dan tidak sembarang */ /* F.S. a menjadi a * b */ + *a = *a / b; } float fPower(float a, float b) { /* Function pangkat */ /* Asumsi b adalah int */ /* Mengembalikan value a ^ b */ + float hasil = 1; + int i; + for (i = 0; i < b; i++) { + hasil = hasil * a; + } + return hasil; } - void pPower(float *a, float b) { /* Procedure pangkat */ /* Asumsi b adalah int */ /* I.S. a dan b terdefinisi dan tidak sembarang */ /* F.S. a menjadi a ^ b */ + float hasil = 1; + int i; + for (i = 0; i < b; i++) { + hasil = hasil * *a; + } + *a = hasil; } int main() { @@ -64,5 +83,7 @@ int main() { prosedur yang telah didefinisikan dan diimplementasi sebelumnya */ /* Input dan output dibebaskan kepada Cakru URO 14 */ /* Batasan: Derajat dari koefisien adalah whole number {0, 1, 2, ...} */ + float a = 2; + float b = 3; return 0; } \ No newline at end of file From 5e5291fd2bd1c395bd4ac6a1f9cb6b243a0acfce Mon Sep 17 00:00:00 2001 From: IceTeaXXD <16521516@mahasiswa.itb.ac.id> Date: Fri, 18 Feb 2022 17:45:17 +0700 Subject: [PATCH 07/11] Add Riemann Calculator --- ...ramming-SEKURO_2022-16521516_Ahmad_Nadil.c | 56 ++++++++++++++++++- 1 file changed, 54 insertions(+), 2 deletions(-) diff --git a/16521516_Ahmad Nadil/Misi_2_Programming-SEKURO_2022-16521516_Ahmad_Nadil.c b/16521516_Ahmad Nadil/Misi_2_Programming-SEKURO_2022-16521516_Ahmad_Nadil.c index 32d681a..b382eed 100644 --- a/16521516_Ahmad Nadil/Misi_2_Programming-SEKURO_2022-16521516_Ahmad_Nadil.c +++ b/16521516_Ahmad Nadil/Misi_2_Programming-SEKURO_2022-16521516_Ahmad_Nadil.c @@ -1,3 +1,6 @@ +/* Nama : Ahmad Nadil */ +/* NIM : 16521516 */ + #include #include @@ -76,6 +79,22 @@ void pPower(float *a, float b) { } *a = hasil; } +// Fungsi Riemann Trapeozoid +float riemannTrapezoid(float a, float b, float h, float (*f)(float, float)) { + /* Fungsi riemann trapezoid */ + /* Mengembalikan nilai integral dari fungsi f dengan batas a, b, dan h */ + /* a adalah batas bawah, b adalah batas atas, h adalah tinggi trapesium */ + float hasil = 0; + float x; + for (x = a; x < b; x = x + h) { + hasil = fPlus(hasil,f(x, h)); + } + hasil = fPlus(hasil,f(a, h)); + hasil = fPlus(hasil, f(b,h)); + hasil = fTimes(hasil,h); + hasil = fDivide(hasil,2); + return hasil; +} int main() { /* Buatlah kalkulator integral menggunakan konsep Integral Riemann */ @@ -83,7 +102,40 @@ int main() { prosedur yang telah didefinisikan dan diimplementasi sebelumnya */ /* Input dan output dibebaskan kepada Cakru URO 14 */ /* Batasan: Derajat dari koefisien adalah whole number {0, 1, 2, ...} */ - float a = 2; - float b = 3; + + /* Fungsi dan Prosedur */ + /* Fungsi: fPlus, fMin, fTimes, fDivide, fPower */ + /* Prosedur: pPlus, pMin, pTimes, pDivide, pPower */ + + /* Tes Fugsi dan Prosedur */ + printf("========================================================\n"); + printf("Kalkulator Sederhana\n"); + printf("========================================================\n"); + + /* Input */ + float a, b; + printf("Masukkan Nilai a: "); + scanf("%f", &a); + printf("Masukkan Nilai b: "); + scanf("%f", &b); + + /* Output */ + printf("Hasil %f + %f : %f\n", a, b, fPlus(a, b)); + printf("Hasil %f - %f : %f\n", a, b, fMin(a, b)); + printf("Hasil %f * %f : %f\n", a, b, fTimes(a, b)); + printf("Hasil %f / %f : %f\n", a, b, fDivide(a, b)); + printf("Hasil %f ^ %f : %f\n", a, b, fPower(a, b)); + + /* Kalkulator Riemann */ + float h; + int n; + printf("Masukkan batas bawah: "); + scanf("%f", &a); + printf("Masukkan batas atas: "); + scanf("%f", &b); + printf("Masukkan tinggi trapesium: "); + scanf("%f", &h); + printf("Hasil Integral Riemann Trapezoid: %f\n", riemannTrapezoid(a, b, h, fPower)); + printf("========================================================\n"); return 0; } \ No newline at end of file From b36e045c5136dbd51a06ab3e490d9e7b24dcd8e6 Mon Sep 17 00:00:00 2001 From: IceTeaXXD <16521516@mahasiswa.itb.ac.id> Date: Fri, 18 Feb 2022 17:47:45 +0700 Subject: [PATCH 08/11] Update README.md --- 16521516_Ahmad Nadil/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/16521516_Ahmad Nadil/README.md b/16521516_Ahmad Nadil/README.md index 1325bf9..56e2bfa 100644 --- a/16521516_Ahmad Nadil/README.md +++ b/16521516_Ahmad Nadil/README.md @@ -2,3 +2,6 @@ ## NIM : 16521516 ## Nama : Ahmad Nadil ## Fakultas : STEI + +## Test Run Program Kalkulator Sederhana +![](https://media.discordapp.net/attachments/940989834779037716/944183013368029224/unknown.png?width=995&height=562) \ No newline at end of file From 49bd35a5af37a2e915f3e6f0e719c416644bf715 Mon Sep 17 00:00:00 2001 From: IceTeaXXD <16521516@mahasiswa.itb.ac.id> Date: Fri, 18 Feb 2022 17:49:19 +0700 Subject: [PATCH 09/11] Update --- ...ramming-SEKURO_2022-16521516_Ahmad_Nadil.exe | Bin 0 -> 24701 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 16521516_Ahmad Nadil/Misi_2_Programming-SEKURO_2022-16521516_Ahmad_Nadil.exe diff --git a/16521516_Ahmad Nadil/Misi_2_Programming-SEKURO_2022-16521516_Ahmad_Nadil.exe b/16521516_Ahmad Nadil/Misi_2_Programming-SEKURO_2022-16521516_Ahmad_Nadil.exe new file mode 100644 index 0000000000000000000000000000000000000000..f99387451551e9e7df04831927556ce13ac8d8c2 GIT binary patch literal 24701 zcmeHP4Rlo1oxhWWb&A16fl3wYXrsjs(gZ`KD(xT{MGcrjuq=WvlgyiBWHK|(yn*16 z-MAsA&W`CxSKC^v7OHm9V^8VUTCCcph83{1vX=IMpiA4h9h$7BTbAY^n*IIn$NQK! z0hxMw_O!lpUhaFp`~SZG`|;kqo5d^pSt(n{YwdBhuCSQr+Z4Kv$H^SAx>Z|XQHgcS%Z_Tqif(~w+APc{MdxQ zxOwcmjQhoyPtXzr@!*h!xJfWJN&zVL=x1z30p8t^i>e8aYD4cbP&-fgMZTI&2(}j1 z)KVP^8bRDv5>$f|KC_R~jdl20%|LZh5I#ipew-vL&oI#WtMv{ojMm|*nm|MJGjZAu zF0VC}BIpSHX`w&vqnr5$sv|-#k6{8dB>3Y_S}t$l(q=-rN!_?0y%*xN9h}aHa=kvn z`*9Lo72Q||(OGvNUi~={Se|*aXT-a?<_P_*w6OF>^;l zm6!CPETg8`QN|l*d{56vIj+0U^s}75lChqVvRuta7|VTq3S)hN(H((NV#_pCRc=Na za{jUwl;B4Jyu2@P1cf)3sbFlgA7Jl5x+&L#yX^Ebuw*K8Z%u~eq0!vM5SqJ#YKYUj znIz$&Y%`ZtR+W1OX_y(z-2#%#Ox&XEdxi|io;MS&J<8>QA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?XgZh##6(-KbD7-OU>`(H!NtD>(}=;c-T9u*}s@(+Y-!m@sUM& z@7PL<2Mous;@mkaT39jCqljZ<5D&K)GI%SrnU<3!kyuFYLTpr>Ew`N-c^u>e9Y!AP zEOQ1Q$J{m1uku=q!e}WZbKnDSC=6}|6WlSl7TReIW#)L2zfL&uh~mh3`;Z_) zW7sU!Zs{Fhc(cA^Df}Yp=9C4*(p&YK8^QKKMY@%6Eo3QI}HrKdx@ cAXjRXJxEUKe=6hUh?4LB1pQ7%N4|3UKeyF+Qvd(} literal 0 HcmV?d00001 From 9d3450474631333d4958c079d63b7f6c1d73a0ba Mon Sep 17 00:00:00 2001 From: Ahmad Nadil <88835532+IceTeaXXD@users.noreply.github.com> Date: Fri, 18 Feb 2022 17:50:23 +0700 Subject: [PATCH 10/11] Delete Misi_2_Programming-SEKURO_2022-16521516_Ahmad_Nadil.exe --- ...ramming-SEKURO_2022-16521516_Ahmad_Nadil.exe | Bin 24701 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 16521516_Ahmad Nadil/Misi_2_Programming-SEKURO_2022-16521516_Ahmad_Nadil.exe diff --git a/16521516_Ahmad Nadil/Misi_2_Programming-SEKURO_2022-16521516_Ahmad_Nadil.exe b/16521516_Ahmad Nadil/Misi_2_Programming-SEKURO_2022-16521516_Ahmad_Nadil.exe deleted file mode 100644 index f99387451551e9e7df04831927556ce13ac8d8c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 24701 zcmeHP4Rlo1oxhWWb&A16fl3wYXrsjs(gZ`KD(xT{MGcrjuq=WvlgyiBWHK|(yn*16 z-MAsA&W`CxSKC^v7OHm9V^8VUTCCcph83{1vX=IMpiA4h9h$7BTbAY^n*IIn$NQK! z0hxMw_O!lpUhaFp`~SZG`|;kqo5d^pSt(n{YwdBhuCSQr+Z4Kv$H^SAx>Z|XQHgcS%Z_Tqif(~w+APc{MdxQ zxOwcmjQhoyPtXzr@!*h!xJfWJN&zVL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`Mt*fuI z_}p8W^9ZmD*%Zv|ANkEDEuv*a;slm7SZO0~ocW@W^Q@YOpt^qU+$-iX&AEroUt3Q$ zE?vH)`3B@-)3U(whMTpefySE`TA3K>#3nX#_ZfnVE#F#-`T^;;ZR8V~-OzlqEsZ&| zTWR$=J-DVCDeu~950EFh(-l}L%#hpRKm?=21TL$vQP12%=&xbg33m2zL+zIF4SX_* zDa}pqgw|$j8z5)J{|gZN&a@yhi+-SzHcYr9k=P1um_&t&MP6@*atNI6~b;y4SV(5%pmiv zktEr%MU*#8p%B6;{H|v=apH7WeM$wcLk}kGadX%$e1RRdZK?iwj4aDT@JfLqm#`Zl zoNQm*e3QPuLHt((MI~b=$B&WF{(4(O|o- zwFXn7sZ(Ohu7(}7?XgZh##6(-KbD7-OU>`(H!NtD>(}=;c-T9u*}s@(+Y-!m@sUM& z@7PL<2Mous;@mkaT39jCqljZ<5D&K)GI%SrnU<3!kyuFYLTpr>Ew`N-c^u>e9Y!AP zEOQ1Q$J{m1uku=q!e}WZbKnDSC=6}|6WlSl7TReIW#)L2zfL&uh~mh3`;Z_) zW7sU!Zs{Fhc(cA^Df}Yp=9C4*(p&YK8^QKKMY@%6Eo3QI}HrKdx@ cAXjRXJxEUKe=6hUh?4LB1pQ7%N4|3UKeyF+Qvd(} From 4c7fb99702125452a51d3f632b6fb8f91311807d Mon Sep 17 00:00:00 2001 From: Ahmad Nadil <88835532+IceTeaXXD@users.noreply.github.com> Date: Fri, 18 Feb 2022 17:53:49 +0700 Subject: [PATCH 11/11] Update Misi 2 Programming - SEKURO 2022.c --- Misi 2 Programming - SEKURO 2022.c | 68 ++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 Misi 2 Programming - SEKURO 2022.c diff --git a/Misi 2 Programming - SEKURO 2022.c b/Misi 2 Programming - SEKURO 2022.c new file mode 100644 index 0000000..952c4e9 --- /dev/null +++ b/Misi 2 Programming - SEKURO 2022.c @@ -0,0 +1,68 @@ +#include +#include + +float fPlus(float a, float b) { + /* Function tambah */ + /* Mengembalikan value a + b */ +} + +void pPlus(float *a, float b) { + /* Procedure tambah */ + /* I.S. a dan b terdefinisi dan tidak sembarang */ + /* F.S. a menjadi a + b */ +} + +float fMin(float a, float b) { + /* Function kurang */ + /* Mengembalikan value a + b */ +} + +void pMin(float *a, float b) { + /* Procedure kurang */ + /* I.S. a dan b terdefinisi dan tidak sembarang */ + /* F.S. a menjadi a - b */ +} + +float fTimes(float a, float b) { + /* Function kali */ + /* Mengembalikan value a * b */ +} + +void pTimes(float *a, float b) { + /* Procedure kali */ + /* I.S. a dan b terdefinisi dan tidak sembarang */ + /* F.S. a menjadi a * b */ +} + +float fDivide(float a, float b) { + /* Function bagi */ + /* Mengembalikan value a / b */ +} + +void pDivide(float *a, float b) { + /* Procedure bagi */ + /* I.S. a dan b terdefinisi dan tidak sembarang */ + /* F.S. a menjadi a * b */ +} + +float fPower(float a, float b) { + /* Function pangkat */ + /* Asumsi b adalah int */ + /* Mengembalikan value a ^ b */ +} + +void pPower(float *a, float b) { + /* Procedure pangkat */ + /* Asumsi b adalah int */ + /* I.S. a dan b terdefinisi dan tidak sembarang */ + /* F.S. a menjadi a ^ b */ +} + +int main() { + /* Buatlah kalkulator integral menggunakan konsep Integral Riemann */ + /* Notes: Penggunaan operator aritmatika harus menggunakan fungsi dan + prosedur yang telah didefinisikan dan diimplementasi sebelumnya */ + /* Input dan output dibebaskan kepada Cakru URO 14 */ + /* Batasan: Derajat dari koefisien adalah whole number {0, 1, 2, ...} */ + return 0; +}