I am trying to do a plot of a function with Quantities (with Units) in Mathematica.
insertvalues := {Lr -> Quantity[57* 10 ^-6, "Henry"], Cr -> Quantity[100* 10^-9, "Farad"], U1 -> Quantity[540, "V"]}
uc0[t_] = U1 (1 - Cos[1/Sqrt[Lr *Cr]*t])
Plot[uc0[t] /. insertvalues , {t, Quantity[0, "sec"], Quantity[2.5, "\[Mu]s"]}]
However the resulting plot stays empty:
I have no idea what went wrong or how to debug that. Any ideas how to solve that are appreciated. Wolfram Mathematica version 10.0.1 is used. Thanks!