I made this blog as a means of communication to friends majoring in Telecommunications, may be useful, :)
Kamis, 18 November 2010
contoh judul skipsi sistem informasi dan teknik informatika
klik disini...http://www.judulskripsi.org/tag/contoh-skripsi-sistem-informasi/klik di sini...http://www.judulskripsi.org/tag/judul-skripsi-sistem-informasi/
Label:
Sistem Operasi
integrasi numerik
| INTEGRASI NUMERIK | hasil integral | 21.3333 | |||||
| X | F(X) | ||||||
| 1 | 1 | fungsi x^2 | |||||
| 2 | 4 | ||||||
| 3 | 9 | ||||||
| 4 | 16 | ||||||
| total | 30 | ||||||
| kesalahan penyimpangan | 8.6667 | ||||||
| x | f(x) | ||||||
| 0.5 | 0.25 | ||||||
| 1 | 1 | ||||||
| 1.5 | 2.25 | ||||||
| 2 | 4 | ||||||
| 2.5 | 6.25 | ||||||
| 3 | 9 | ||||||
| 3.5 | 12.25 | ||||||
| 4 | 16 | ||||||
| X | F(X) | ||||||
| luas p1 | 0.5 | 0.125 | |||||
| luas p2 | 0.5 | 0.5 | |||||
| luas p3 | 0.5 | 1.125 | |||||
| luas p4 | 0.5 | 2 | |||||
| luas p5 | 0.5 | 3.125 | |||||
| luas p6 | 0.5 | 4.5 | |||||
| luas p7 | 0.5 | 6.125 | |||||
| luas p8 | 0.5 | 8 | |||||
| total | 25.5 | ||||||
| kesalahan penyimpangan | 4.1667 | ||||||
Label:
Integrasi Numerik
jawaban tugas linked list
1. Buatlah sebuah linked list yang berisi nim anda dan nama lengkap anda.
#include <conio.h>
#include <iostream.h>
struct TNode
{
int data;
TNode *next;
};
TNode *head;
void init()
{
head=NULL;
}
int isempty()
{
if(head==NULL)
return 1;
else return 0;
}
void insertdepan (int databaru)
{
TNode *baru;
baru= new TNode;
baru->data =databaru;
baru->next=NULL;
if (isempty()==1)
{
head=baru;
head->next=NULL;
}
else
{
baru->next=head;
head=baru;
}
cout<<"Data Masuk\n";
}
void tampil()
{
TNode *bantu;
bantu=head;
if(isempty()==0)
{
while (bantu!=NULL)
{
cout<<bantu->data<<" ";
bantu=bantu->next;
}
cout<<endl;
}
else cout<<"Masih kosong\n";
}
void hapusdepan()
{
TNode *hapus;
int d;
if (isempty()==0)
{
if (head->next !=NULL)
{
hapus=head;
d=hapus->data;
head=head->next;
delete hapus;
}
else
{
d=head->data;
head=NULL;
}
cout<<d<<" terhapus\n";
}
else cout<<"masih kosong\n";
}
void main()
{
int pil;
int databaru;
do
{
clrscr();
cout<<"linked List"<<endl;
cout<<"1.Ahmad firdausi"<<endl;
cout<<"2.093112702650001"<<endl;
cout<<"3.Telekomunikasi"<<endl;
cout<<"4.Exit"<<endl;
cout<<"pilihan anda= ";cin>>pil;
switch(pil)
{
{
case 1:
cout<<endl;
cout<<"Pilihan: ";cin>>databaru;
insertdepan (databaru);
break;
}
{
case 2:
cout<<endl;
tampil();
break;
}
{
case 3:
cout<<endl;
hapusdepan();
break;
}
}
getch();
}while (pil!=4);
}
Hasil saat di run 1:

Hasil saat di run 2:

Langganan:
Postingan (Atom)