appliedchemlabwork_tayra.D1.calc_k_from_data#

appliedchemlabwork_tayra.D1.calc_k_from_data(k_pred: float | floating[Any], v_r: float | floating[Any], v_hcl: float | floating[Any], c_base: float | floating[Any], c_hcl: float | floating[Any], a: float | floating[Any], b: float | floating[Any], vt_or_table: ndarray[tuple[int], dtype[floating[Any]]], v_t_inf: float | floating[Any], t: ndarray[tuple[int], dtype[floating[Any]]]) DataFrame[source]#
appliedchemlabwork_tayra.D1.calc_k_from_data(k_pred: float | floating[Any], v_r: float | floating[Any], v_hcl: float | floating[Any], c_base: float | floating[Any], c_hcl: float | floating[Any], a: float | floating[Any], b: float | floating[Any], vt_or_table: DataFrame, v_t_inf: float | floating[Any]) DataFrame

Calculates the k value.

Parameters:
k_predfloating[Any]

The predicted reaction pace coefficient.

v_rfloating[Any]

The collected volume of the reaction solution.

v_hclfloating[Any]

The added volume of the HCl aq.

c_basefloating[Any]

The concentration of titrating base.

c_hclfloating[Any]

The concentration of HCl used to stop the reaction.

afloating number

The initial concentration (in molarity) of AcOEt in the reaction solution.

bfloating number

The initial concentration of the base in the reaction solution.

vt_or_tableDataFrame or NDArray in shape (n,)

The table of time and titrated volume of the base, or an NDArray which represents the titrated volume of the base.

v_t_inffloating value

The titrated volume at the time of \(t ={} \infty\).

Returns:
dfDataFrame

The table of values and errors.

Other Parameters:
tNDArray in shape (n,)

Necessary when you have given vt_or_table an NDArray. The times when you collected the sample.

Raises:
TypeError

The parameters’ types are not valid.

Notes

When vt_or_table was given as a DataFrame, the table style must be like:

t / s

76

Vt / cm^3

18.82

The vt_or_table and t must not include the infinite time data.