Jumat, 14 Juni 2013

Tugas Kuliah Probabilitas dan Statistika

Plotting Data Menggunakan Pemrograman Python

Nama : Dika Fauzia
NPM : 1215031022
Kelas : B

Software yang digunakan :
Python 3.3.2

Data yang digunakan :



import numpy as np
import matplotlib.pyplot as plt

N = 13
produksiMeans = (77.040, 92.540, 103.329, 114.278, 132.352, 152.722, 193.761, 216.946, 240.249, 256.181, 275.164, 290.000, 386.000)

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, produksiMeans, width,
                    color='b',
                    error_kw=dict(elinewidth=20, ecolor='red'))

eksporMeans = (58.460, 65.281, 74.177, 85.680, 93.758, 110.789, 143.632, 163.000, 191.430, 198.366, 208.000, 209.100, 304.000)

rects2 = plt.bar(ind+width, eksporMeans, width,
                    color='green',
                    error_kw=dict(elinewidth=20, ecolor='red'))

konsumsiMeans = (18.579, 27.259, 29.151, 28.596, 36.081, 41.350, 48.995, 61.470, 48.926, 55.790, 67.000, 65.000, 67.300)

rects3 = plt.bar(ind+width+width, konsumsiMeans, width,
                    color='yellow',
                    error_kw=dict(elinewidth=20, ecolor='red'))
# add some
plt.ylabel('Jumlah (ribu ton)')
plt.title('Produksi, Ekspor dan Konsumsi Batubara 2000-2012')
plt.xticks(ind+width, ('2000', '2001', '2002', '2003', '2004', '2005', '2006', '2007', '2008', '2009','2010','2011','2012') )

plt.legend( (rects1[0], rects2[0], rects3[0]), ('Produksi', 'Ekspor', 'Konsumsi'))

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

plt.grid()
plt.show()



Hasil tampilan gambar :


Data di atas merupakan data produksi, ekspor, dan konsumsi batubara (dalam jumlah ribuan ton) di Indonesia dari tahun 2000-2012.

Jumat, 28 Desember 2012

SUMMARY


Basics of Wireless Networks


 
The first commercially available radio and telephone system, known as the Improved Mobile Telephone Service (IMTS), was put into service in 1946. This system was quite unsophisticated, as there were no solid-state electronics available at that time.Given these constrictions, the number of channels available did not come close to satisfying the demand.
The solution to this problem was cellular radio. After locating the vehicle in which the paged subscribers was riding, the equipment assigned sets of frequencies to it and conversation could begin.
The initial transmission technology used between the vehicle and the cell site was analog in nature and known as Advanced Mobile Phone System (AMPS); the analog scheme used was called Frequency-Division Multiple Access (FDMA).
A few years later, a third group of companies (led by Qualcomm, Inc.) developed spread-spectrum technology called code-division multiple access (CDMA).
The continuing growth of cellular communications led government and industry in the United States to search for additional ways to satisfy the obvious need . This search led to the development of the personal communications service (PCS) industry.
Unfortunately, after acquiring the spectrum, many of the new potential operators went bankrupt and never actually had a chance to use it. In Canada, the decision was based on a beauty contest, a comparison of business cases, technology, and future plans, rather than the bidding process.

Jumat, 21 Desember 2012

Scientific Text

Jakarta And His Issues 


Jakarta is the capital of the state of Indonesia. Jakarta is currently led by the governor Ir.H. Joko Widodo (or commonly called Jokowi) and deputy of governor Ir. Tjahaja Basuki Purnama. MM (commonly called Ahok) who has been elected through a general election and was sworn in on 15 October 2012 ago. As the national capital, Jakarta should be better than the other provinces in Indonesia. But unfortunately, Jakarta save a lot of problems, especially economic and social problems which until now still not be resolved. Some problems in Jakarta, among others: 
 
1. Dirty 
Jakarta is a city with a very dense population. Not comparable with the total area. Causing Jakarta to be a very rundown and dirty, because they are the citizens of Jakarta's up residence under the bridge, on the edge of the river, etc. 
 
2. Congestion 
Jakarta is the center of economy in Indonesia, would not be surprised if the traffic was so crowded. But unfortunately once again the number of vehicles that are not comparable with the extent of road congestion that is causing daily problems for the citizens of Jakarta, but until now still not found a solution. 
 
3. Unemployment 
Unemployment is the purpose here does not mean do not have jobs but unemployment is having a job is not worth it, little income and no job. 
Jakarta unemployment very much, even there many children who are making money by becoming scavengers, beggars, buskers, etc.. Ironic indeed that children should go to school in search of knowledge but rather busy making money. 
 
4. Criminality 
Jakarta is actually very hard to find a job. To be able to get a decent job, it would require a higher education or at least if you are self-employed will require skill and tenacity.Because it is difficult to find work that causes a new problem, which is a high crime rate.In Jakarta there are many crimes such as pickpocketing, robbery, rape, etc.. 
 
5. Low level of discipline 
Jakarta Residents generally have poor discipline and disobey the rules like this littering and disobey the rules. 

6. Flood 
Jakarta may be the only capital in the world that flooded every year. Flooding is common for residents Jakarta, even once every five years floods in Jakarta will be larger than previous floods. However, despite a problem every rainy season arrives, the government still can not bring the right solution. 
 
7. Massive urbanization 
Urbanization is movement of people from rural to urban. Currently, many of the villagers, the inhabitants of the islands in Indonesia share rollicking doing urbanization to the island of Java. They went to Jakarta usually to look for a job as a housekeeper. 
 

In order to solve these problems will require cooperation between citizens and government Jakarta, such as: 
 
1. Transmigration 
Transmigration is a migration from a solid to a tenuous. Transmigration is actually needed by the residents of Jakarta who live in slums to reduce the population explosion, transmigarasi this can be done by moving the citizens of Jakarta to Kalimantan island or maybe Papua island. But unfortunately a lot of citizens who refuse, but if they want to do is not impossible that their lives would be more secure, and Jakarta could be better. 
 
2. Public transport 
Jakarta is the capital of the country, it is definitely in addition to unemployment, in this city there are too many rich people. In Jakarta, many people who travel using personal vehicles, this is the one that cause congestion, so as to cope should the citizens should use Jakarta public transport. Jakarta government itself already provides a busway public transportation with good facilities and has its own path. 
 
3. Increased Disclipine 
This disclipine is the most important aspect to fix Jakarta to get better.Increased discipline is important given the low level of discipline Jakarta residents. The poor level of discipline can be inferred from the number of people who throw litter Jakarta, using a vehicle through dedicated lines busway, built a residence in any place, etc.. The government should have a definite legal discipline policy is, and deal with it seriously. Of course, in order discipline can be realized and maintained, the government must have tough sanctions against people who violate Jakarta, and most importantly, the government must also be able to take action and responsibility for law enforcement as well as possible. 
 
4. Field work 
Many villagers who moved to Jakarta was cause the absence of jobs in their village. Therefore, the government should focus more additional jobs in rural areas so that residents Jakarta going back to his hometown of each, so that the density of population in Jakarta will be reduced. 
 
5. Development 
The government should further improve the development in Jakarta, such as toll roads to address congestion and construction of housing project to address slums. But besides that the government should consider the long term, not to the construction it will actually cause flooding. Lately I saw on television that the governor of Jakarta, Ir. H. Joko Widodo or what we call Jokowi, said it would build several new toll roads to address congestion and flats built to cope with the slums in Jakarta. Hopefully quickly realized .
 
6. Strict legal action 
Currently the law in Indonesia is very concerned, where the number of crimes that are not processed by applicable law. Law as if dead in this country. So naturally when many Indonesian people who do not obey and obey the law because the government is still much that is unlawful. The law should be enforced fairly indiscriminately. And yet the reality of law can still be bought in this country. The government should be more assertive and can provide a good example for the community. Actually funds for development in Jakarta certainly be of great value, but due to greed and not the rule of law very well, so that the funds can not be utilized properly. 


The problems that exist in Jakarta is not little and easy, but when we are together do have a desire to solve it, surely all that can be addressed. Once again, of course, also need good cooperation between the public and the government, because if cooperation was not going well, then it is impossible for the problem can be resolved. Hopefully the citizens of Jakarta, the Indonesian people in general could be a good population, as well as the government, hopefully it will not waste the trust that has been entrusted to him, so that Indonesia could become a developed country. 

 
My Little Blog Blogger Template by Ipietoon Blogger Template