UTS

From ccitonlinewiki
Revision as of 14:57, 21 October 2019 by Hadyanbasyiri (talk | contribs)
Jump to: navigation, search

import math


print('berapa nilai m1?')

a =eval(input())

print('berapa nilai m2?')

b =eval(input())

print('berapa nilai m3?')

c =eval(input())

print('berapa nilai m4?')

d =eval(input())


alfa=d/(a+b+c)

print('berarti sinus alfa adalah',alfa)

sudutalfa=math.asin(alfa)

sudutalfa2=math.degrees(sudutalfa)

print('jadi nilai sudut alfa adalah',sudutalfa2)


Uts2.png


Uts1.png