Fonction intégrale avec tikz

📅 April 18, 2024   |   👁️ Views: 182


📘 About this Course

📄 What you'll find on this page:

• The Course PDF is embedded below — you can read and scroll through it directly without leaving the page.

• A direct download button is available at the bottom for offline access.

• You'll also discover related exams, courses, and exercises tailored to the same subject and level.

• The complete LaTeX source code is included below for learning or customization.

Need your own materials professionally formatted? I offer a LaTeX typesetting service — send me your content and get a clean PDF + source file at a symbolic price.

📄 ماذا ستجد في هذه الصفحة:

• ملف الدرس بصيغة PDF معروض أدناه — يمكنك تصفحه والاطلاع عليه مباشرة دون الحاجة لتحميله.

• يتوفر زر تحميل مباشر في أسفل الصفحة للاحتفاظ بالملف على جهازك.

• ستجد أيضًا مجموعة من الامتحانات والدروس والتمارين المرتبطة بنفس الدرس لتعزيز فهمك.

• تم تضمين الكود الكامل بلغة LaTeX أسفل الصفحة لمن يرغب في التعديل عليه أو التعلم منه واستخدامه.

هل تحتاج تنسيقًا احترافيًا لموادك الخاصة؟ أقدم خدمة تنضيد LaTeX — أرسل محتواك واحصل على PDF نظيف وملف مصدر بسعر رمزي.

latex Course for figures PDF preview

\documentclass{standalone}
\standaloneconfig{border=2mm 2mm 2mm 2mm}
\usepackage{pgfplots}
\usepackage{amsmath}
\pgfplotsset{compat=newest}

% Define a function for the integrand
\pgfmathdeclarefunction{integrand}{1}{%
  \pgfmathparse{(1)/(sqrt(1+#1^2+ln(#1)^2))}%
}

% Define a function for numerical integration using trapezoidal rule
\pgfmathdeclarefunction{trapz}{3}{%
  \pgfmathparse{(#3-#2)/2 * (integrand(#2) + 2*integrand((#2+#3)/2) + integrand(#3))}%
}

\begin{document}
\begin{tikzpicture}
\begin{axis}[
    xlabel=$x$,
    ylabel={$f(x)$},
    xmin=0, xmax=20, % Adjust x-axis limits
    ymin=-2, ymax=7, % Adjust y-axis limits
    axis lines=middle,
        unbounded coords=jump,
    enlargelimits=true,
]

% Plot the integral curve using numerical integration
\addplot [blue, domain=0:15, samples=200] {trapz(0,x,10)};
\addplot [red, thick] {int((1)/(sqrt(1+x^2+ln(x)^2)))};
\end{axis}
\node[blue, anchor=west] at (2,5) {$\text{trapez}(a, b, n) = \frac{b-a}{2n} \left( f(a) + 2\sum_{i=1}^{n-1} f\left(a + \frac{i(b-a)}{n}\right) + f(b) \right)$};
\node[red, anchor=west] at (2,4) {$F(x) = \int_0^x \frac{1}{\sqrt{1+t^2+\ln^2 t}} dt$};
\node[red, anchor=west] at (2,3) {$F(0) = 1$};
\end{tikzpicture}
\end{document}


\documentclass{standalone}
\standaloneconfig{border=2mm 2mm 2mm 2mm}
\usepackage{pgfplots}
\usepackage{amsmath}
\pgfplotsset{compat=newest}

% Define a function for the integrand
\pgfmathdeclarefunction{integrand}{1}{%
  \pgfmathparse{(1)/(sqrt(1+#1^2+ln(#1)^2))}%
}

% Define a function for numerical integration using trapezoidal rule
\pgfmathdeclarefunction{trapz}{3}{%
  \pgfmathparse{(#3-#2)/2 * (integrand(#2) + 2*integrand((#2+#3)/2) + integrand(#3))}%
}

\begin{document}
\begin{tikzpicture}
\begin{axis}[
    xlabel=$x$,
    ylabel={$f(x)$},
    xmin=0, xmax=20, % Adjust x-axis limits
    ymin=-2, ymax=7, % Adjust y-axis limits
    axis lines=middle,
        unbounded coords=jump,
    enlargelimits=true,
]

% Plot the integral curve using numerical integration
\addplot [blue, domain=0:15, samples=200] {trapz(0,x,10)};
\addplot [red, thick] {int((1)/(sqrt(1+x^2+ln(x)^2)))};
\end{axis}
\node[blue, anchor=west] at (2,5) {$\text{trapez}(a, b, n) = \frac{b-a}{2n} \left( f(a) + 2\sum_{i=1}^{n-1} f\left(a + \frac{i(b-a)}{n}\right) + f(b) \right)$};
\node[red, anchor=west] at (2,4) {$F(x) = \int_0^x \frac{1}{\sqrt{1+t^2+\ln^2 t}} dt$};
\node[red, anchor=west] at (2,3) {$F(0) = 1$};
\end{tikzpicture}
\end{document}


📂 This document is part of the latex figures collection — view all related lessons, exams, and exercises.
Get your own materials formatted with LaTeX

Explore more latex content for figures:

Related Courses, Exams, and Exercises


Frequently Asked Questions

What will I learn by the end of this course?
You will gain a solid understanding of Intégrale: Aire d'une partie entre deux graphes and be able to apply it in exams and real‑world problems.

What topics are covered in this course?
The course "Intégrale: Aire d'une partie entre deux graphes" covers key concepts of latex for figures. Designed to help students master the curriculum.

Is this course suitable for beginners?
Yes, the material is structured to be accessible while providing depth for advanced learners.

Are there exercises or practice problems?
Exercises are included to help you practice.

Does this course include solutions?
Solutions are available separately.


Download latex Course PDF (figures)

📥 Download Fonction intégrale avec tikz (PDF)