CatalogHigher ed
Steer ChatGPT through oscillator code
· Physics Education
Philip Moriarty and colleagues required 119 second-year physics students at the University of Nottingham to use ChatGPT on the first coursework of The Quantum World in 2023-24. Students had the tool write Python that plots the lowest oscillator state, a Fourier transform of that state, and the first three eigenstates by the shooting method, and they had to screenshot the chat. Marks went to steering the code toward a correct plot, not to pasting the question once.
- Who
- Philip Moriarty and colleagues, University of Nottingham, in Physics Education
- Date
- Evidence
- Backed by research
- Source
- Physics Education
- Task types
- CodingCritique
Try it safely
From the sourceThe study used ChatGPT on the quantum harmonic oscillator and records the pitfalls of that coursework.
TipRun the code and keep a line only if the result matches the oscillator you set.
Watch forAn explanation that names a term the equation does not use.
· Physics Education
Share this example
Have one that worked? Share it
Comments
Leave a comment