integration + wavy curve - iTeachChem