我需要帮助绘制方程式

我需要帮助绘制方程式

我正在尝试根据另一个函数绘制一个函数,但是我的代码花费的时间太长,最后我没有得到任何图表。

我尝试绘制的函数是:i_c(U_c(x))

U_c(x)= 5 + exp(-1266.77X)(-5余弦(度(5508.55x))+10.3正弦(度(5508.55X)))

i_c(x)= exp(-1266.77X)(6.3余弦(度(5508.55x))+1.5正弦(度(5508.55x))

%i_c(x)= exp(-1266.77*x)*(6.3*cos(deg(5508.55*x))+1.5*sin(deg(5508.55*x))

%u_c(x)= 5+exp(-1266.77*x)*(-5*cos(deg(5508.55*x))+10.3*sin(deg(5508.55*x)))



\begin{tikzpicture}
    \begin{axis}[
    title = {Verlauf der Kondensatorspannung nach öffnen des Schalters},
    xlabel = {t in s}, 
    ylabel= {$u_C(t)$ in V},
     xmin = -10, xmax = 10,
     ymin = -10, ymax = 10,
    xtick distance = 1,
    ytick distance = 2,
    grid = both,
    minor tick num = 1,
    major grid style = {lightgray},
    minor grid style = {lightgray!0.25},
    width = \textwidth,
    height = 0.5\textwidth]
        \addplot[
        domain = -10:10,
        samples = 200,
        smooth,
        thick,
        blue,] {exp(-1266.77*5+exp(-1266.77*x)*(-5*cos(deg(5508.55*x))+10.3*sin(deg(5508.55*x))))*(6.3*cos(deg(5508.55*5+exp(-1266.77*x)*(-5*cos(deg(5508.55*x))+10.3*sin(deg(5508.55*x)))))+1.5*sin(deg(5508.55*5+exp(-1266.77*x)*(-5*cos(deg(5508.55*x))+10.3*sin(deg(5508.55*x)))))};
 \end{axis}
\end{tikzpicture}




相关内容