SearcharxivSearch

arXiv · 1711.00717

Simulation of Shive wave machines using GNU Octave, Python and C++ / Simulation von Wellenmaschinen mit GNU Octave, Python und C++

Abstract

In "Shive wave machines - Wave propagation, dispersion, reflection, simulation" (arXiv:1503.02088) technical details of Shive wave machines are discussed. Wave propagation on these machines is simulated using the commercial numerical computing environment MATLAB. The MATLAB functions are compatible with GNU Octave, a free MATLAB alternative. The lower execution speed compared to MATLAB can be somewhat compensated by converting the underlying differential equations to matrix form. With Python or C++, these and similar simulations can also be performed easily. Suitable vector and matrix libraries, ODE solvers and plotting libraries for these programming languages are available free of charge on the internet. ----- In "Die Wellenmaschine - Grundlagen der Wellenausbreitung, Dispersion, Reflexion, Simulation" (arXiv:1503.02088) werden die in Schule und Hochschule verbreiteten Wellenmaschinen n\"aher betrachtet und die Wellenausbreitung auf solchen Maschinen mithilfe von MATLAB simuliert. Die kommerzielle Software MATLAB ist freilich nicht \"uberall verf\"ugbar, sodass sich die Frage nach freien Alternativen stellt. Der MATLAB-Quelltext im genannten Artikel kann zum Beispiel mit GNU Octave ausgef\"uhrt werden. Die im Vergleich zu MATLAB geringere Ausf\"uhrungsgeschwindigkeit l\"asst sich durch Umformung des zu l\"osenden Differentialgleichungssystems in Matrixschreibweise zumindest teilweise kompensieren. Aber auch mit klassischen Programmiersprachen wie Python oder C++ lassen sich diese und \"ahnliche Simulationen leicht durchf\"uhren. Passende Bibliotheken zur Arbeit mit Vektoren und Matrizen, zum L\"osen von Differentialgleichungen und zur animierten Darstellung der Simulationsergebnisse werden im Artikel vorgestellt.

Explore related subjects

Keep this discovery

BibTeXRIS

Tilman Kuepper. 2017-10-17. Simulation of Shive wave machines using GNU Octave, Python and C++ / Simulation von Wellenmaschinen mit GNU Octave, Python und C++. https://arxiv.org/abs/1711.00717

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Questioning your brilliance in physics: Differential shifts in fixed mindsets by grade and gender

Students' domain-specific mindsets and their beliefs about their capacity to improve through effort play a crucial role in shaping their experiences and decisions to persist in STEM disciplines. Physics is generally seen as a field requiring innate brilliance, which can reinforce fixed mindsets, particularly after initial setbacks in performance that are common in introductory university courses. In this study, we examine changes in fixed mindsets and potential gender differences in an introductory calculus-based physics course. Our sample consisted of 508 students with an average age of 18, predominantly White, with men comprising the majority. Based upon survey response distributions, three distinct mindset categories were identified: Hesitant, Hopeful, and Confident, describing how strongly students rejected a fixed mindset in physics. The results suggested large gender differences in distributions at the high and low-end groups. We also found an overall decline toward fixed mindsets across the course, and logistic regressions controlling for initial mindsets showed that women were significantly more likely than men to shift away from the Confident category. While the majority of men tended to stay within the Confident category, the majority of women moved away from it. Particularly, this differential shift was seen among students receiving Bs or Cs, the most commonly awarded grades in this course. Furthermore, there were relatively small differences in the probability of change within men as a function of grades received, whereas women showed marked declines toward fixed beliefs with either a B or C. Our findings provide empirical evidence for the dynamic, grade-sensitive nature of students' mindsets in a calculus-based physics course.

physics.ed-ph

Mechanics Cognitive Diagnostic: Testing Fine-Grained Learning Objectives in Introductory Physics

Physics courses use research-based assessments (RBAs) such as the Force Concept Inventory (FCI), Force and Motion Conceptual Evaluation (FMCE), and Energy and Momentum Conceptual Survey (EMCS) to measure learning in introductory mechanics, but their fixed-length, pretest-posttest design makes them retrospective: posttest scores summarize completed instruction and arrive after a course ends. We are developing the Mechanics Cognitive Diagnostic (MCD), a cognitive diagnostic computerized adaptive test that reports students' mastery of fine-grained learning objectives (LOs) throughout instruction. Using evidence-centered design, we defined 14 LOs from introductory mechanics textbooks and AP Physics standards, mapped FCI, FMCE, and EMCS items onto them with a Q-matrix, and refined the mapping with the deterministic inputs, noisy "and" gate (DINA) model, using posttest responses from 24,394 students in 807 courses across 79 institutions through LASSO. The FCI and EMCS achieved good DINA model fit; the FMCE showed marginal fit. Classification accuracy for most LOs met or exceeded benchmarks for low-stakes formative assessment. RBA items, though not developed for LO-level diagnosis, support it reliably, giving the MCD a working 14-LO item bank built from RBAs that physics courses already use. As data accumulate, we can revise or retire weak LOs and items and add new items through online calibration without interrupting testing. We plan to expand the MCD to 35 LOs, two per week, to cover a typical introductory mechanics course.

physics.ed-ph

GW Explorer: A Beginner's Guide -- Developing a Computational Gravitational-Wave Outreach Curriculum for High School Students

We present GW Explorer: A Beginner's Guide, an outreach curriculum designed to introduce high school students to gravitational-wave (GW) astrophysics through interactive Python Jupyter notebooks. Most existing GW resources target beginning audiences and advanced students, leaving a gap at the pre-college level that we directly address. The curriculum integrates foundational physics with hands-on computation implemented through both self-directed and workshop-based instructional formats. In the self-directed format, students completed the curriculum independently on cloud-based platforms such as Google Colab. During the workshop format, students worked through the same activities under the guidance of University of Nevada, Las Vegas graduate student mentors. Topics span gravity, spacetime, GW sources, interferometric detection, and data analysis. An implementation in local high school classrooms informed the content and pacing, and survey results demonstrate gains in conceptual understanding and coding confidence. GW Explorer offers a scalable, open-access framework for authentic astrophysics research in the high school classroom.

physics.ed-ph