Friday, 26 September 2014

1. Algebra
2. Calculus
3. Geometry (ilmu ukur ruang)
4. Combinatorics
5. Computer science
6. Mechanincs
7. Number theory
 

Thursday, 25 September 2014

Flowchart of don't worry about anything

FLOWCHART

This Flowchart Tells You When to Worry About Anything
Hey, manusia dan robot apa bedanya?
Manusia mempunyai tiga state: Yes, I don't know dan No.
Sementara robot: Yes dan No saja.

POEM

In this life there are only two things to worry about.
Either you will be rich or poor. 

If you are rich, there is nothing to worry about.  
But if you are poor, there are only two things to worry about. 
Either you will be healthy or sick. 
If you are healthy, there is nothing to worry about. 
But if you are sick, there are two things to worry about. 
Either you will live or you will die. 
If you live, there is nothing to worry about.  
If you die there are only two things to worry about. 
You will either go to heaven or to hell.  
If you go to heaven, there will be nothing to worry about.
 If you go to hell, you'll be so damn busy shaking hands with all your friends, you won't have time to worry!
So why worry?

Nama-nama kota dan monumen

Yuk mari kita jalan-jalan.
Tools: Youtube.com

List berikut ini di kompilasi dari situs: http://www.math.com/everyone/calculators/calc_source/air-distance.htm

Silahkan ketikkan nama-nama kota berikut ini di field search di Youtube:
1.German
> Berlin

2. India
> Bombay
> Calcuta

3. Argentina.
> Buenos Aires

4. South Africa (Afrika Selatan)
> Capetown

5. Australia
> Darwin
> Melbourne

6. Gibraltar

7. China
> Hongkong
> Peking
> Shanghai

8. USA
> Honolulu, Hawaii
> Juneau, Alaska
> Los Angelas, California
> New York City
> Nome, Alaska
> Seattle, Washington

9. Turkey
> Istanbul

10.  England
> London

11. Phillipines
> Manilla, Luzon

12. Mexico
> Mexico city

13. Russia
> Moscow

14. Norway
> Oslo

15. Panama
> Panama City

16. France
> Paris

17. Egypt
> Port Said, Suez Canal

18. Canada
> Quebec

19. Iceland
> Reykjavik, Faxa Bay

20. Brazil
> Rio de Janeiro

21. Italy
> Rome

22. Chile
> Santiago

23. Singapore
> Singapore

24. Japan
> Tokyo

25. New Zealand
> Wellington

26. Tanzania
> Zanzibar city

 

Date and Time

Date 
Komponen date:
1. Date(Tanggal)
2. Month (Bulan)
3. Year (Tahun)

Contoh:
24/05/1990
Data = 24
Month = 05
Year = 1990

Time
Komponen time:
1. Hour (Jam)
2. Minute (Menit)
3. Second (Detik)
4. Milisecond (Milisekon)

Contoh: 19:30:58
Hour = 19
Minute = 30
Second = 58

Sekian dulu, jangan lupa yah component-mindset jika waktu dan ruang memungkinkan. Shalom!
Pink = White + Red

Vertikal = 30 - 13.2
Horizontal = 0 - 29.4

Wednesday, 24 September 2014

Obyek Clock, Desktop, Disctopnary

1. Obyek Clock
Operasi yang akan digunakan:
1. Date (untuk menampilkan tanggal lengkap sekarang, contoh: 24/09/2014.
2. Weekday (untuk menampilkan hari apa sekarang (senin, selasa, dst.)
3. Time (untuk menampilkan waktu lengkap sekarang , contoh: 7:30:13.
4. Year (untuk menampilkan tahun sekarang saja, contoh: 2014)


LAB 1:
Pada dasarnya LAB ini hanya menampilkan date, weekday, dan time dari komputer mu kemudian menampilkan nya pada jendela grafik (graphicWindow) secara wrap pada koordinat start(x,y)=(40,40) ke kanan sebanyak 100 pixel kemudian lompat lagi kebawah, begitu seterusnya hingga semua teks selesai dikeluarkan.

date = Clock.Date
weekday = Clock.WeekDay
time= Clock.Time 
display = ("Current Date: " + date + ", " + "Current Weekday: " + weekday + ", " + "Current time: " + time)
GraphicsWindow.DrawBoundText(40, 40, 100, display)

LAB 2:

TextWindow.WriteLine("Enter the year of your birth: ")
birthyear = TextWindow.Read()
age = Clock.Year - birthyear
TextWindow.WriteLine("Your age is " + age + ".")

LAB 3
LAB ini adalah mudah. LAB ini hanya menanyakan angka bulan kelahiranmu dan angka tanggal kelahiranmu. Kemudian program ini mencocokkan kedua angka ini dengan angka bulan dan angka tanggal sekarang.

TextWindow.Write("Enter the month of your birthday: ")
birthdaymonth = TextWindow.ReadNumber()
TextWindow.Write("Enter the date of your birthday: ")
birthdaydate = TextWindow.ReadNumber()

if birthdaymonth = Clock.Month And birthdaydate = Clock.Day Then
  TextWindow.WriteLine("Hey! Wish You A very Happy birthday")
EndIf

Kebiasaan yang terdefinisikan secara jelas. Bulan berapa kau lahir? Tanggal? Kemudian kamu melihat kalender untuk mengetahui bulan berapa sekarang dan tanggal berapa hari ini. Jika bulan hari ini tidak sama dengan bulan kelahiran temanmu, kamu akan mengeluarkan pernyataan, "Oh sudah lewat", atau "Oh, sekian bulan lagi ya?" atau jika bulan

TextWindow.Write("Enter the month of your birthday: ")
birthdaymonth = TextWindow.ReadNumber()
TextWindow.Write("Enter the date of your birthday: ")
birthdaydate = TextWindow.ReadNumber()
if birthdaymonth = Clock.Month Then
 if birthdaydate = Clock.Day Then
  TextWindow.WriteLine("Hey! Wish You A very Happy birthday")
EndIf
EndIf

LAB 4 - Digital clock

GraphicsWindow.FontSize = 26
GraphicsWindow.BrushColor = "Green"

up:
If Clock.Hour > 12 Then
  status = "PM"
Else
  status = "AM"
EndIf
currenttime = clock.Hour + " : " + Clock.Second

GraphicsWindow.DrawText(desktop.Width / 2 , desktop.height/2, currenttime)
Program.Delay(1000)
GraphicsWindow.Clear()
Goto up

OBYEK Desktop
Properti-properi dan operational dari obyek desktop adalah:
- setwallpaper (Operational)
- Height (Properti)
- Width (Properti)

Jadi kamu bisa
- Memilih/menentukan/menggati wallpaper desktop mu (desktop.setwallpaper)
- Melihat/ berapa ukuran panjang dan lebar layar desktop-mu.

LAB 1 - Mengganti wallpaper desktop 

LAB 2 - Melihat panjang dan lebar layar desktop kamu
textwindow.writeline(desktop.height)
textwindow.writeline(desktop.width)

LAB 3 - Meletakkan graphicwindows persis ditengah layar desktop

Obyek Dictionary
-getdefinition()
-getdefinitioninfrench

LAB 1 Membuat program penterjemah kata dalam bahasa Inggris ke Bahasa Inggris
txt = "Magnanimous"
GraphicsWindow.FontName = "Verdana"
GraphicsWindow.FontSize = 24
GraphicsWindow.BrushColor = "Black"
GraphicsWindow.DrawText(10,10,txt)
defn = Dictionary.GetDefinition(txt)
GraphicsWindow.FontSize = 12
GraphicsWindow.DrawText(10, 60, defn)

LAB 2 
txt = "frère"
GraphicsWindow.FontName = "Verdana"
GraphicsWindow.FontSize = 24
GraphicsWindow.BrushColor = "Black"
GraphicsWindow.DrawText(10,10,txt)
defn = Dictionary.GetDefinitionInFrench(txt)
GraphicsWindow.FontSize = 12
GraphicsWindow.DrawText(10, 60, defn)

 Guess what? Hanya berubah di baris ke enam saja. Dari defn = Dictionary.GetDefinition(txt) menjadi defn = Dictionary.GetDefinitionInFrench(txt).