animation of a spring-mass system
📅 01 March 2024 👁️ المشاهدات: 208
📄 ماذا ستجد في هذه الصفحة؟
• ملف الدرس بصيغة PDF يمكنك معاينته هنا مباشرةً دون تنزيله.
• يمكنك تنزيل الملف من زر التحميل أسفل الصفحة والاحتفاظ به على جهازك.
• ستجد أيضًا دروسًا وامتحانات وتمارين ذات صلة تساعدك على المراجعة وتعميق الفهم.
• أُدرج مصدر LaTeX الكامل أسفل الصفحة لتتمكن من الاطلاع عليه أو تعديله والاستفادة منه.
• هل تحتاج تنسيقًا احترافيًا لموادك الخاصة؟ أقدم خدمة كتابة LaTeX — أرسل المحتوى المطلوب لتحصل على ملف PDF منسق وملف المصدر.
\documentclass[border=0pt,pstricks]{standalone}
\usepackage{pst-coil,pstricks-add}
\usepackage[nomessages]{fp}
\FPset\CoilArm{0.25}
\FPset\CoilWidth{0.3}
\FPeval\CoilTurn{round(50/3:3)}
\FPeval\DeltaY{0.5}
\FPeval\Amp{1.5}
\FPeval\FPS{25}
\FPeval\Vx{2}% propagation speed
\FPeval\Period{1}% second
\psset
{
coilarm=\CoilArm,
coilwidth=\CoilWidth,
}
\newcommand\System[4][0]{% #1: frame, #2: x, #3: y, #4: label
\uput[90](#2,4.25){#4}
\FPeval\CoilHeight{round((4-(#3)-2*CoilArm)/(CoilWidth*CoilTurn):3)}
\pszigzag[coilheight=\CoilHeight,linejoin=2](#2,4)(#2,#3)
\ifnum#1=1
\bgroup
\psset{origin={#2,#3}}
\psframe[dimen=inner,fillstyle=solid,fillcolor=black](-0.5,0)(0.5,-1)
\psdot[linecolor=yellow](0,-0.5)
\egroup
\fi
}
\begin{document}
\FPeval\DeltaTime{round(1/\FPS:2)}
\FPeval\TotalFrame{round(\FPS*\Period:0)}
\multido{\n=0.00+\DeltaTime}{\TotalFrame}{%
\begin{pspicture*}[showgrid=false](-1.5,-2)(3.5,5)
% Ceiling
\psframe
[
fillstyle=vlines,
hatchsep=2pt,
hatchwidth=0.5\pslinewidth,
hatchcolor=gray,
hatchangle=45,
%linestyle=none
](0,4)(2,4.25)
% Spring without box
\FPeval\Y{round(-DeltaY-Amp*cos(2*pi*\n/Period)+2:3)}
\System[1]{1}{\Y}{A}
\psplot[algebraic,linecolor=red,plotpoints=1000]
{-1.5}{3.5}{-\DeltaY-\Amp*cos((2*\psPi/\Period)*((-\Vx*\n+x-1)/\Vx))+2-0.5}
\end{pspicture*}}
\end{document}
موارد ذات صلة: دروس وامتحانات وتمارين
- animation trigonometrique درس
- football with latex درس
- music with latex درس
- Omelette avec latex درس
- thermometer with latex درس
- الشرك بالله و الشرك مع الله درس
- ترتيب سور القرآن الكريم حسب النزول درس
- سورة الفاتحة درس
تنزيل الدرس بصيغة PDF
📥 تنزيل animation of a spring-mass system بصيغة PDF📄 هل تحتاج تنسيقًا بـ LaTeX؟
أرسل لي واجبك أو امتحانك أو تمارينك وسأحوّلها إلى ملف PDF احترافي.
اعرف المزيد ←أحدث الدروس
Solution — Devoir 01, S01, artihmétiques et calcul vectoriel , 2026 A
02 Nov 2026 • 1 views
حل • Maths • Tronc Commun Sciences
Devoir 01, S01, artihmétiques et calcul vectoriel , 2026 A
02 Nov 2026 • 1 views
امتحان • Maths • Tronc Commun Sciences
Solution — Devoir 01, S01 en arithmétiques et calcul vectoriel, 2026-2027 - ab
02 Nov 2026 • 1 views
حل • Maths • Tronc Commun Sciences
Devoir 01, S01 en arithmétiques et calcul vectoriel, 2026-2027 - ab
02 Nov 2026 • 1 views
امتحان • Maths • Tronc Commun Sciences
Solution — DM 1 - Arithmetiques, Calcul vectoriel et projection
27 Oct 2026 • 1 views
حل • Maths • Tronc Commun Sciences
BACCALAURÉAT INTERNATIONAL SCIENCES MATHÉMATIQUES, OPTION FRANÇAIS
28 Sep 2026 • 149 views
درس • Maths • 2 Bac Science Maths
الأكثر مشاهدة
Tous les sujets des suites numériques des examens nationaux 2008 - 2022
views: 3.15K
امتحان • Maths • 2 Bac Science
Control 01 S01 En arithmétiques et Calcul vectoriel - A 2025-2026
views: 2.15K
امتحان • Maths • Tronc Commun Sciences
DM 1 - Arithmetiques, Calcul vectoriel et projection
views: 1.99K
امتحان • Maths • Tronc Commun Sciences
MATHEMATIQUES Examens nationaux 2003-2021 2 Bac.Sciences expérimentales
views: 1.98K
امتحان • Maths • 2 Bac Science
Most Viewed Articles
The Ultimate Vim Setup (My 2024 vimrc ) : Essential Commands, Configurations, and Plugin Tips
Views: 1.49K
12 Apr 2024
Complete Tutorial: Creating Categories and Subcategories Using Pages in Pelican
Views: 1.14K
24 Jun 2025
اترك تعليقًا