Dnes sme diskutovali o tomto matematickom probléme a takto ho vidím graficky:

Dnes sme diskutovali o tomto matematickom probléme a takto ho vidím graficky:

Dnes sme diskutovali, žé ako vidím v mysli integrovanie tejto funkcie: Á predstavil som si ju ako, žé klasické pc integrovanie a pre zrozumiteľnosť nakreslil, tie čo sa vymažú znamienkom +- červenou a modrou, tie čo zostanú pre výsledok: ^^^ finals problem 1

import Pkg
Pkg.add("Plots")
Pkg.add("QuadGK")
using QuadGK
using Plots
y1=0
y1l=[]
f(x)=(exp(x/2)*cos(x))/(cbrt(3*cos(x)+4*sin(x)))
result, err = quadgk(f, 0, pi)
println("Integral result: ", result)
for i in range(80,85)
    if (cbrt(3*cos(i)+4*sin(i))) != 0
        global y1=(exp(i/2)*cos(i))/(cbrt(3*cos(i)+4*sin(i)))
        append!(y1l,y1)         
    end
end
colors = [i == 1 || i == 4 ? :blue : :red for i in 1:length(y1l)]
scatter(y1l,orientation=:vertical, c=colors, title="Integral Bee == $result", label="f(x)=(exp(x/2)*cos(x))/(cbrt(3*cos(x)+4*sin(x)))", xlabel="degrees (reds are erasing themselves in integrating)", ylabel="function values (blues stay as result)")
hline!([1.9e17], color=:blue, linestyle=:dash, label="y = 1.9 [k* multip in degs]")
display(current())
if !Base.isinteractive()
    println("Press the enter key to quit:")
    readline()
end



Author: AarNoma

The first Slovak cyborg 1 system

Comments “Dnes sme diskutovali o tomto matematickom probléme a takto ho vidím graficky:”