Difference between revisions of "User talk:Yarynara Sebrio Suharyadi"

From ccitonlinewiki
Jump to: navigation, search
(TTL : Jakarta, 23 September 1999)
(Biografi)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
==Yarynara Sebrio Suharyadi==
 +
 
Nama : Yarynara Sebrio Suharyadi
 
Nama : Yarynara Sebrio Suharyadi
  
Line 4: Line 6:
  
 
NPM  : 1706070816
 
NPM  : 1706070816
 +
 +
==Biografi==
 +
 +
TTL  : Jakarta, 23 September 1999
 +
 +
Hobi : Bermain Tenis
 +
 +
SMA  : SMP-SMA khusus olahragawan Negeri Ragunan Jakarta 116
 +
 +
= Python =
 +
contoh pengerjaan python
 +
 +
x1 = 0
 +
 +
dx1 = ('0.1')
 +
 +
dx = float (dx1)
 +
 +
x2 = x1+dx
 +
 +
Fx_1 = ((x2**2)-1) / (x1-1)
 +
 +
n = 1
 +
 +
error = 0
 +
 +
print ("n  x  F(x)  error")
 +
 +
print (n," ",x1," ",Fx_1," ",error)
 +
 +
while x2<1 :
 +
 +
Fx_2 = ((x2**2)-1) / (x2-1)
 +
 +
error = ((Fx_2-Fx_1) / Fx_1)
 +
 +
Fx_1 = Fx_2
 +
 +
n = n+1
 +
 +
print (n," ",x1," ",Fx_1," ",error)
 +
 +
x2=x2+dx

Latest revision as of 13:47, 16 September 2019

Yarynara Sebrio Suharyadi

Nama : Yarynara Sebrio Suharyadi

Jurusan : Teknik Mesin Paralel Universitas Indonesia

NPM  : 1706070816

Biografi

TTL  : Jakarta, 23 September 1999

Hobi : Bermain Tenis

SMA  : SMP-SMA khusus olahragawan Negeri Ragunan Jakarta 116

Python

contoh pengerjaan python

x1 = 0

dx1 = ('0.1')

dx = float (dx1)

x2 = x1+dx

Fx_1 = ((x2**2)-1) / (x1-1)

n = 1

error = 0

print ("n x F(x) error")

print (n," ",x1," ",Fx_1," ",error)

while x2<1 :

Fx_2 = ((x2**2)-1) / (x2-1)

error = ((Fx_2-Fx_1) / Fx_1)

Fx_1 = Fx_2

n = n+1

print (n," ",x1," ",Fx_1," ",error)

x2=x2+dx