In [ ]:
def soil_calc(area, price_per_m2, members):
price_tot = area * price_per_m2
price_appartment = price_tot / members
print("{} m^2 @ {} SFr/m^2 = {} SFr ".format(area, price_per_m2, price_tot))
print("Price per Appartment if {} Appartments = {} SFr".format(members, int(price_appartment)))
print("{}% of 500'000SFr".format(100/500000*int(price_appartment)))
In [ ]:
members = 4
# Ganze Hälfte
area = 1942 # m^2
price_per_m2 = 190 # Fr/m^2
soil_calc(area,price_per_m2, members)
# Teil der Hälfte
area = 1300 # m^2
price_per_m2 = 200 # Fr/m^2
soil_calc(area,price_per_m2, members)
# Teil der Hälfte
area = 1100 # m^2
price_per_m2 = 200 # Fr/m^2
soil_calc(area,price_per_m2, members)
In [29]:
members = 4
area = 1069 + 567 # m^2
price_per_m2 = 200 # Fr/m^2
soil_calc(area,price_per_m2,members)
price_per_m2 = 160 # Fr/m^2
soil_calc(area,price_per_m2,members)
In [38]:
members = 4
area = 1853 # m^2
price_per_m2 = 140 # Fr/m^2
soil_calc(area,price_per_m2,members)
In [39]:
members = 4
# Susten
area = 1100 # m^2
price_per_m2 = 200 # Fr/m^2
soil_calc(area,price_per_m2,members)
# Salgesch
area = 1100 # m^2
price_per_m2 = 160 # Fr/m^2
soil_calc(area,price_per_m2,members)