【婚姻費用・養育費計算パラメータ】
夫(父)  年収: 万円(サラリーマン自営業)0~14歳の子供: 15歳以上の子供:
妻(母)  年収: 万円(サラリーマン自営業)0~14歳の子供: 15歳以上の子供:
(婚姻費用・養育費の算定に関する詳しい説明は『損する結婚 儲かる離婚』を参照してください。)
【計算結果】(βバージョンでまだ開発中です。)
(婚姻中)夫が妻に支払う婚姻費用は約 14.8 万円/月
(離婚後)父が母に支払う養育費は約 0.0 万円/月

【途中計算式(デバッグ)】
--- all parameters ---
husband_income = 1000
wife_income = 0
husband_worktype = employee
wife_worktype = employee
husband_kids_under15 = 0
husband_kids_over15 = 0
wife_kids_under15 = 0
wife_kids_over15 = 0
--- base-income calcuation ---
husband_income = 1000
husband_worktype = employee
a = 0.354
base = 354
wife_income = 0
wife_worktype = employee
a = 0.42
base = 0
--- kompi calculation ---
w_k(husband) = 0.5
w_k(wife) = 0.5
base_total = 354
kompi(husband, 1yr) = -177
kompi(wife, 1yr) = 177
kompi(husband, 1m) = -14.8
kompi(wife, 1m) = 14.8
--- yoikuhi calculation ---
w_y(husband) = 0.0
w_y(wife) = 0.0
yoiku_hyp(husband, 1yr) = 0
yoiku_hyp(wife, 1yr) = 0
yoiku(husband, 1yr) = 0
yoiku(wife, 1yr) = 0
yoiku_net(husband, 1yr) = 0
yoiku_net(husband, 1m) =0.0