How to Draw This Spiral Solution Curve?

After see this: parametric function plot 3d | [“Julia Plots Gallery”]
I try this code:


using MTH229, ForwardDiff, Plots, LaTeXStrings, SymPy
gr()

t = range(0, stop=10, length=1000)
x = e^(-2t)*cos.(t)
y = e^(-2t)*sin.(t)

plot(x, y)

but it won’t work:

ERROR: LoadError: MethodError: no method matching ^(::Float64, ::StepRangeLen{Float64, Base.TwicePrecision{Float64}, Base.TwicePrecision{Float64}, Int64})
Closest candidates are:
^(::Number, ::Missing) at ~/julia-1.7.3/share/julia/base/missing.jl:124
^(::T, ::Rational) where T<:AbstractFloat at ~/julia-1.7.3/share/julia/base/rational.jl:480
^(::AbstractFloat, ::ForwardDiff.Dual{Ty}) where Ty at ~/.julia/packages/ForwardDiff/eqMFf/src/dual.jl:145

Stacktrace:
[1] top-level scope
@ ~/LasthrimProjection/plot.jl:6
[2] include(fname::String)
@ Base.MainInclude ./client.jl:451
[3] top-level scope
@ REPL[1]:1
in expression starting at /home/browni/LasthrimProjection/plot.jl:6