This commit is contained in:
jacekpoz 2024-11-08 17:06:50 +01:00
parent 8516a022e6
commit b2174417c0
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -5,3 +5,11 @@
import Pkg
Pkg.add("Plots")
using Plots
f(x::Float64)::Float64 = exp(x) * log(one(Float64) + exp(-x))
x = range(-10, 40, length=1000)
y = map(x -> f(x), x)
plot(x, y, label = "f(x)")
png("2-julia-plots.png")