Labels

daniera (118) kanazawa (7) nada (92) pengetahuan umum (6) profesi guru (1) puisi (16) skripsi (1)

Minggu, 26 Juni 2011

mycare.py

from math import *
def f(x):
      zf=x
      return zf

def g(y):
     zg=abs(sin(x))
     return zg

#Main Program-1
Print ('Calculate my love to PFR09')
a=0
b=takhingga
sigma=0
iterasimaks=c
c=1000000
h=(b-a)/c
aa=a
for i in range (c):
     aa=aa+h
     sigma=sigma+((f(aa)+f(aa+h))*(h/2))

#After run module, program can't stop...
#Like my love to you, all of PFR09, can't stop...
#But, it would closed if you kill the running program...
#Like me and my love, will stop if you kill me...



#Main Program-2
Print ('Calculate my care to PFR09')
a=0
b=takhingga*pi
sabar=0
iterasimaks=c
c=1000000
h=(b-a)/c
aa=a
for i in range (c):
     aa=aa+h
     sabar=sabar+((g(aa)+g(aa+h))*(h/2))

#After run module, program can't stop...
#Like my care to you, all of PFR09, can't stop...
#All of values of integral are positive, but yeah...
#You know, I am an ordinary person, nothing special with me...
#So, sometimes you may suppose me as impatient person,...
#Whereas deep in my heart, my patient to you, nothing get an negative values...
#I'm sorry for all my mistakes, for everything I just couldn't do as your lecturer assistant...
#It's hurt when I know one of you or all of you get difficult to pass final exam...
#Sorry...

1 komentar:

  1. danke sehr :) danke sehr :)
    danke sehr :) danke sehr :)
    danke sehr :) danke sehr :)
    danke sehr :) danke sehr :)
    danke sehr :) danke sehr :)
    danke sehr :) danke sehr :)
    danke sehr :) danke sehr :)

    BalasHapus