Jumat, 14 Juni 2013

Tugas Probabilitas dan Statistika

PLOTING DATA DENGAN MENGGUNAKAN  Python 3.3.2

Oleh :

Dharma Adi Putra (1215031020)
(Kelas B)

Jurusan Teknik Elektro
Fakultas Teknik
Universitas Lampung
2013


Data yang Digunakan :



Syntax dari Phython 3.3.2 :

import numpy as np
import matplotlib.pyplot as plt

N = 7

perkotaanMeans = (25.80, 22.95, 24.51, 20.93, 18.65, 16.43, 13.51 )

ind = np.arange(N)  # the x locations for the groups
width = 0.3       # the width of the bars

plt.subplot(111)
rects1 = plt.bar(ind, perkotaanMeans, width,
                    color='r',
                    error_kw=dict(elinewidth=5, ecolor='pink'))

pedesaanMeans = (3.37, 2.35, 3.72, 2.91, 2.56, 2.56, 2.30)

rects2 = plt.bar(ind+width, pedesaanMeans, width,
                    color='g',
                    
                    error_kw=dict(elinewidth=5, ecolor='yellow'))

PerkotaanPedesaanMeans = (13.01, 11.20, 12.96, 11.67, 10.36, 9.46, 7.85)

rects3 = plt.bar(ind+width+width, PerkotaanPedesaanMeans, width,
                    color='b',
                    
                    error_kw=dict(elinewidth=5, ecolor='yellow'))

# add some
plt.ylabel('Presentase')
plt.title('Persentase Rumah Tangga yang Memiliki/Menguasai Telepon Tetap Kabel Menurut Klasifikasi Daerah, Tahun 2005 - 2011')
plt.xticks(ind+width, ('2005', '2006', '2007', '2008', '2009', '2010', '2011') )

plt.legend( (rects1[0], rects2[0], rects3[0]), ('Perkotaan ', 'Pedesaan', 'PerkotaanPedesaan',) )

def autolabel(rects):
    # attach some text labels
    for rect in rects:
        height = rect.get_height()
        plt.text(rect.get_x()+rect.get_width()/4., 1.01*height, '%d'%int(height),
                ha='left', va='bottom')

autolabel(rects1)
autolabel(rects2)
autolabel(rects3)

plt.show()

Berikut adalah tampilan dari poting data dengan menggunakan phyton 3.3.2 :

Senin, 31 Desember 2012

[english] Plot of Red Rock West's Film #edited




Red Rock West


Picture Source : cartelesmix.es
Directed by              : John Dahl
Produced by            : Steve Golin
    Sigurjón Sighvatsson
Written by                : John Dahl
    Rick Dahl
Starring                   : Nicolas Cage
    Dennis Hopper
    Lara Flynn Boyle
Music by                  : William Olvis
Cinematography       : Marc Reshovsky
Editing by                : Scott Chestnut
Studio                      : PolyGram Filmed Entertainment
    Propaganda Films
    Red Rock Films
Distributed by          : Roxie Releasing
Release date(s)       : France :
    June 16, 1993
    United States :
    April 8, 1994
Running time           : 98 minutes
Country                   : United States
Language                : English
Budget                    : $7,000,000 

  info source : http://en.wikipedia.org/wiki/Red_Rock_West

Hello guys, I will share about the movie that I watched with my friends in english class, and I got an task from my professor to review the story of the film.
And this is the story of the film that I can tell according to my view, sorry if there is something wrong in my summary because no sub, and the LCD is less clear. And here's the plot, check it out :)
The main character of this film is Michael, played by Nicolas Cage who was looking for a job, because he'd been fired from his job. He's looking for a job with a car driving around the texas until he arrived at red rock city. At the suggestion of someone, there he went to a bar to find a job because the bar is a gathering place for people.
At the bar, he met the owner of a bar called Wayne. And they engaged conversation, Wayne asked Michael if
he is Lyle from dallas? If true, Wayne will give the job to him. Because Michael needs the job, he claimed as Lyle from dallas. He did not know that Lyle is an assassin.
After that, they do talk about work that would Michael to do.
And the work ordered by Wayne is killing his own wife named Suzzane. Wayne excuse to kill his wife because, he claimed that his wife had been having an affair, and she wanted to rule the estate should be his. Hear the work he would do, he was very surprised to hear that. However, because Michael was desperate for money so he took the job and got advances from Wayne.
After that, he came to see Suzzane and plans to kill her. But after meeting Suzzane, he seems enamored with Suzzane. And tell Suzzane to be careful because someone was going to kill him is none other than her own husband. Hear the words from Michael, Suzzane even told Michael to kill her husband. And she paid double the Wayne paid to him.
At that, Michael was confused and he decided to leave the city. He knew that the longer he was in the city more dangerous for him. But his plans to go from town does not run smoothly, it hits someone in the street and forced to return to the city of red rock, to bring someone who he hit.
While in the hospital, he was not allowed to go. Suddenly, the police came and arrested him because the murder charge, after which there is a bullet in the body of the person he hit. After that, came the police chief which was the Wayne, who told Michael to kill his wife.
Then, Michael was taken by Wayne out of the red rock city, and he was taken to a forest to be killed by Wayne. However, Michael managed to escape from an assassination attempt, and he met someone who was a Lyle from Dallas. Michael did not know the man is the real Lyle. Then they went to a bar owned by Wayne again. There Lyle met Wayne and told him what had happened and they hunt for Michael who was still in the bar. However, Michael managed to escape from them.
Later, Michael went to the house Suzzane, and told her that there was Lyle who would kill her. However, Suzzane did not believe him until Lyle really coming to kill her. However, Michael was able to save her.
On the next day, Michael and Suzzane went to the Wayne
’s office to pick up her money. But at the same time, Wayne came and he realized that Michael and Suzzane still there in his office, were hiding somewhere. When in want to find them, the police came and arrested him on charges of attempted murder of his wife. When the situation is safe enough, they came out of hiding and along with it, Lyle came and arrested them both.
Well, this section I was a little less clear with the plot, but there is a bit of a conflict that confused me to tell it, and the end of the story, and Suzzane Michael managed to escape the conflict by boarding the train. Then the police came to the scene by the sound of gunfire. On the train, Suzzane want to earn money on their own and try to kill Michael with a gun but no bullets in the gun. Then, Michael throw all the money out of the cart, and push off Suzzane too. but Michael has to save his money. And he got the money.
That's the story of the film Red Rock West I can tell. If there is something wrong I apologize.
CMIIW
 :)

Selasa, 25 Desember 2012

[english] Example of Application Letter

 Application Letter



Bandar Lampung, January 13, 2013

Dear.
Personnel Manager of the PT. Setrum Indonesia
Jalan Raya Baru 13 Bandar Lampung
in Lampung

Based on the information I get from newspapers Radar Lampung Sunday, January 13, 2013 issue of the existence of vacancies in PT. Setrum Indonesia in Assistant Engineering position, based on ability and experience are enough I tried to volunteer for these positions in the companies that Mr / Mrs lead.

I am currently 23 years old, graduated with a performance index 3.75 at University of Lampung (UNILA) in Lampung in July 2011 with the Department of Electrical Engineering. I belong to an honest, hardworking, communicative, flexible, and ready to work individually or team.

     Herewith I also included some data about me that could be considered for Mr / Ms leader:
     1. Curriculum Vitae
     2. Photocopy of Diploma
     3. Copy of Transcripts
     4. Photocopy of Identity (ID)
     5. Recent Photos
     6. Certificates

Great I hope to be able to occupy a position as
Assistant Engineering at PT. Setrum Indonesia that Mr / Mrs lead, and I hope Mr / Mrs I could take the time to explain in more detail about my ability to work in an interview. Similarly, cover letter, and I thank you profusely for the attention that Mr. / Mrs. provide.

     Sincerely,

     Dharma Adi Putra

[english] Basic of Wireless Networks (summary)

Basic of Wireless Networks


IMTS (Improved Mobile Telephone Service) was the first commercially available radio and telephone system was put into service in 1946. To use IMTS, a tall transmitter  tower was erected near the center of a metropolitan area. Several assigned channel were then transmitted and received from the antenna atop this tower and any vehicle within range given these constrictions, the number of channels available didn't come close to satisfying the damand. 

The solution of this problem was cellular radio. Two important characteristics of cellular system contribut to their usefullness. The first is their controlled handoff. Second, system were designed to locate particular subscribers by paging them in each of the cells.

The initial transmission technology used between vehicles and the cell site was analog in nature and known as AMPS; the analog scheme used was called FDMA. Digital transmission was later developed, resulting in TDMA. In Europe called GSM, now known as Global System for Mobile Communications. 

A few years later, a third group of companies developed spread-spectrum technology called CDMA. The continuing growth of cellular communication led government and industry in US. The development of Personal Communication Service (PCS) industry led to search for additional ways to satisfy the obvious need.

Additional frequency bands were allocated for their use, the FCC auctioned them off. Unfortunately, after acquiring the spectrum, many of the new potential operators went bankrupt and never actually had a chance to use it.