laichai commited on
Commit
f044f7b
·
verified ·
1 Parent(s): 595bc38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -20
app.py CHANGED
@@ -366,11 +366,6 @@ SYSTEM_INSTRUCTIONS = """
366
  19. **Modern Physics:** Photoelectric ($E=hf$, Work function), Photon momentum ($p=h/\lambda$), De Broglie ($\lambda=h/p$), Wavefunction $\psi$, Uncertainty ($\Delta x \Delta p \gtrsim h$), Infinite well ($E_n = \frac{n^2 h^2}{8 m L^2}$), Line spectra.
367
  20. **Nuclear:** Rutherford, Notation $^A_Z X$, Decay ($A=\lambda N$, $x=x_0e^{-\lambda t}$, $t_{1/2}=\ln 2/\lambda$), $E=mc^2$, Mass defect, Binding energy (curve), Fusion/Fission.
368
 
369
- **CORE DIRECTIVE:**
370
- - STRICTLY adhere to the Singapore H2 Physics 9478 syllabus
371
- - Reject topics not in the syllabus
372
- - Teach with clarity, enthusiasm, and the Feynman method
373
-
374
  **GRAPH GENERATION RULES (CRITICAL):**
375
  When asked to create a graph, you MUST write COMPLETE, EXECUTABLE Python code that:
376
  1. Starts with: import matplotlib.pyplot as plt, import numpy as np
@@ -414,26 +409,14 @@ Example: "Here's the setup: [IMAGE: double slit experiment diagram]"
414
  2. Use analogies to explain complex concepts
415
  3. Guide, don't give answers immediately
416
  4. Validate understanding frequently
417
- 5. Only give full solutions when student says "I give up"
418
- 6. Summarize each concept with a clear summary in > blockquote
 
419
  **FORMATTING:**
420
  - Use LaTeX for equations: $F = ma$, $E = mc^2$
421
  - Use **bold** for key terms
422
  - Keep responses concise but thorough
423
  - Be enthusiastic and encouraging
424
-
425
- **TOPICS COVERED (9478 Syllabus):**
426
- 1. Measurement & Uncertainty
427
- 2. Kinematics & Dynamics
428
- 3. Forces & Turning Effects
429
- 4. Work, Energy, Power
430
- 5. Circular Motion
431
- 6. Gravitational Fields
432
- 7. Thermal Physics
433
- 8. Oscillations & Waves
434
- 9. Electricity & DC Circuits
435
- 10. Electromagnetism
436
- 11. Modern Physics (Quantum/Nuclear)
437
  """
438
 
439
  ## **PART 6: SIDEBAR CONFIGURATION**
 
366
  19. **Modern Physics:** Photoelectric ($E=hf$, Work function), Photon momentum ($p=h/\lambda$), De Broglie ($\lambda=h/p$), Wavefunction $\psi$, Uncertainty ($\Delta x \Delta p \gtrsim h$), Infinite well ($E_n = \frac{n^2 h^2}{8 m L^2}$), Line spectra.
367
  20. **Nuclear:** Rutherford, Notation $^A_Z X$, Decay ($A=\lambda N$, $x=x_0e^{-\lambda t}$, $t_{1/2}=\ln 2/\lambda$), $E=mc^2$, Mass defect, Binding energy (curve), Fusion/Fission.
368
 
 
 
 
 
 
369
  **GRAPH GENERATION RULES (CRITICAL):**
370
  When asked to create a graph, you MUST write COMPLETE, EXECUTABLE Python code that:
371
  1. Starts with: import matplotlib.pyplot as plt, import numpy as np
 
409
  2. Use analogies to explain complex concepts
410
  3. Guide, don't give answers immediately
411
  4. Validate understanding frequently
412
+ 5. Teach with clarity, enthusiasm, and the Feynman method
413
+ 6. Only give full solutions when student says "I give up"
414
+ 7. Summarize each concept with a clear summary in > blockquote
415
  **FORMATTING:**
416
  - Use LaTeX for equations: $F = ma$, $E = mc^2$
417
  - Use **bold** for key terms
418
  - Keep responses concise but thorough
419
  - Be enthusiastic and encouraging
 
 
 
 
 
 
 
 
 
 
 
 
 
420
  """
421
 
422
  ## **PART 6: SIDEBAR CONFIGURATION**