Latest Post
Konversi Anka ke Huruf di PHP
<?php
// by mastur
function ctword($x) {
$x = abs($x);
$number = array("", "satu", "dua", "tiga", "empat", "lima","enam", "tujuh", "delapan", "sembilan", "sepuluh", "sebelas");
$temp = "";
if ($x <12) {
$temp = " ". $number[$x];}
else if ($x <20) {
$temp = ctword($x - 10). " belas";}
else if ($x <100) {
$temp = ctword($x/10)." puluh". ctword($x % 10);}
else if ($x <200) {
$temp = " seratus" . ctword($x - 100);}
else if ($x <1000) {
$temp = ctword($x/100) . " ratus" . ctword($x % 100);}
else if ($x <2000) {
$temp = " seribu" . ctword($x - 1000);}
else if ($x <1000000) {
$temp = ctword($x/1000) . " ribu" . ctword($x % 1000);}
else if ($x <1000000000) {
$temp = ctword($x/1000000) . " juta" . ctword($x % 1000000);}
else if ($x <1000000000000) {
$temp = ctword($x/1000000000) . " milyar" . ctword(fmod($x,1000000000));}
else if ($x <1000000000000000) {
$temp = ctword($x/1000000000000) . " trilyun" . ctword(fmod($x,1000000000000));}
return $temp;
}
// by mastur
function ctword($x) {
$x = abs($x);
$number = array("", "satu", "dua", "tiga", "empat", "lima","enam", "tujuh", "delapan", "sembilan", "sepuluh", "sebelas");
$temp = "";
if ($x <12) {
$temp = " ". $number[$x];}
else if ($x <20) {
$temp = ctword($x - 10). " belas";}
else if ($x <100) {
$temp = ctword($x/10)." puluh". ctword($x % 10);}
else if ($x <200) {
$temp = " seratus" . ctword($x - 100);}
else if ($x <1000) {
$temp = ctword($x/100) . " ratus" . ctword($x % 100);}
else if ($x <2000) {
$temp = " seribu" . ctword($x - 1000);}
else if ($x <1000000) {
$temp = ctword($x/1000) . " ribu" . ctword($x % 1000);}
else if ($x <1000000000) {
$temp = ctword($x/1000000) . " juta" . ctword($x % 1000000);}
else if ($x <1000000000000) {
$temp = ctword($x/1000000000) . " milyar" . ctword(fmod($x,1000000000));}
else if ($x <1000000000000000) {
$temp = ctword($x/1000000000000) . " trilyun" . ctword(fmod($x,1000000000000));}
return $temp;
}
Peramalan Permintaan Produk Menggunakan Metode Regresi Linear
Topik Tugas UAS Model Simulasi :
Peramalan regresi
Detail :
- Data yang dijadikan sample adalah 10 data sebelumnya
- Sampel data merupakan inputan program oleh user
- Data yang dicari adalah inputan user
- Outputan : menghasilkan data ramalan dari waktu yang ditentukan user dan standart errornya
- Dapat menyelesaikan kasus:
Diketahui :
Data Tahun 2005 | |
Bulan | Penjualan |
x | y |
1 | 50 |
2 | 55 |
3 | 54 |
4 | 52 |
5 | 65 |
6 | 48 |
7 | 53 |
8 | 58 |
9 | 55 |
10 | 52 |
11 | 50 |
12 | 49 |
Implementasi Peramalan Permintaan Produk Menggunakan Metode Regresi Linear dibuat menggunakan bahasa pemrograman PHP dan java script.... Aplikasi ini mampu meramalkan data tahun berikutnya dengan standart errornya.
Nilai Praktikum Dasar Komputer 2010 Kelas C
Nilai sementara rata-rata tiap modul dan postest :
| NO | NAMA | Mdl1 | Mdl2 | Mdl3 | Mdl4 | Mdl5 | Mdl6 | PosTest |
| 1 | SUDIYANTO | 84 | 87 | 81 | 88 | 84 | 87 | 92 |
| 2 | HIDAYATULLAH FIRDAUSI | 76 | 74 | 74 | 83 | 76 | 78 | 50 |
| 3 | WAHEDAH | 74 | 73 | 72 | 83 | 76 | 74 | 64 |
| 4 | MUHAMMAD ZAMRONI HAMZAH | 84 | 87 | 81 | 87 | 84 | 87 | 84 |
| 5 | BISMA ALFIAN IMANATA | 77 | 85 | 78 | 85 | 80 | 80 | 66 |
| 6 | SHOHIB | 79 | 85 | 78 | 85 | 81 | 80 | 71 |
| 7 | NURUL MAULIDA | 76 | 73 | 71 | 81 | 76 | 74 | 66 |
| 8 | M. TAUFIQ IQBAL | 63 | 60 | 70 | 67 | 72 | 76 | 63 |
| 9 | MOH. ZEIN SAEDI | 77 | 76 | 76 | 85 | 80 | 79 | 74 |
Masih ada nilai dari dosen untuk penentuan grade nilainya :-).
Untuk hasil posttest bisa diambil di lab.
keep spirit to learning.....


