Chain Rule: Image Fraud to Sabermetrics

Basic runs created

In the most basic runs created formula:RC= \frac{(H+BB)\times TB}{AB+BB}

where H is hits,BB is base on balls,TB is total bases and AB is at-bats.This can also be expressed as:OBP×SLG×AB
or,OBP×TB

where OBP is on base percentage and SLG is slugging average,and PA is plate appearances.

f[x_,y_,c_] := x^c / (x^c+y^c)
g[obp_,slg_,pa_] := 9 obp slg pa
winper[obp_,slg_,pa_,c_] := f[g[obp,slg,pa], g[.3,.37,pa],c]

Manipulate[winper[.3,slg,600,1.8],{slg,.25,1}]
D[winper[.3,slg,600,c],slg]