ERROR: LoadError: indexed assignment not defined for FloatRange{Float64}

Or to avoid writing the loop explicitly

yVector = sin.(xVector)

2 Likes