|
| 1 | +with pd.ExcelWriter("/mnt/data/Aura.xlsx", engine="openpyxl", mode="a", if_sheet_exists="replace") as writer: |
| 2 | + # Sheet 14: Pure Mathematics |
| 3 | + pure_math = pd.DataFrame({ |
| 4 | + "Topic": ["Algebra", "Calculus", "Number Theory"], |
| 5 | + "Formula/Theorem": [ |
| 6 | + "Quadratic Formula: x = (-b ± √(b²-4ac)) / 2a", |
| 7 | + "d/dx (sin x) = cos x", |
| 8 | + "Prime Number Theorem: π(n) ~ n / ln(n)" |
| 9 | + ], |
| 10 | + "Notes": [ |
| 11 | + "Solves quadratic equations", |
| 12 | + "Basic derivative rule", |
| 13 | + "Distribution of primes" |
| 14 | + ] |
| 15 | + }) |
| 16 | + pure_math.to_excel(writer, sheet_name="Pure_Mathematics", index=False) |
| 17 | + |
| 18 | + # Sheet 15: Further Mathematics |
| 19 | + further_math = pd.DataFrame({ |
| 20 | + "Concept": ["Matrix Multiplication", "Eigenvalues", "Diff Eq"], |
| 21 | + "Expression": [ |
| 22 | + "[[a,b],[c,d]] * [[e,f],[g,h]]", |
| 23 | + "det(A - λI) = 0", |
| 24 | + "dy/dx + Py = Q" |
| 25 | + ], |
| 26 | + "Application": [ |
| 27 | + "Transforms and linear systems", |
| 28 | + "Stability and quantum states", |
| 29 | + "Model growth/decay" |
| 30 | + ] |
| 31 | + }) |
| 32 | + further_math.to_excel(writer, sheet_name="Further_Mathematics", index=False) |
| 33 | + |
| 34 | + # Sheet 16: Applied Physics |
| 35 | + applied_physics = pd.DataFrame({ |
| 36 | + "Field": ["Mechanics", "Thermodynamics", "Electromagnetism", "Quantum Physics"], |
| 37 | + "Equation": [ |
| 38 | + "F = ma", |
| 39 | + "ΔU = Q - W", |
| 40 | + "∇·E = ρ/ε₀", |
| 41 | + "Ψ(x,t) Schrödinger Eq" |
| 42 | + ], |
| 43 | + "Notes": [ |
| 44 | + "Newton's 2nd Law", |
| 45 | + "First Law of Thermodynamics", |
| 46 | + "Gauss's Law", |
| 47 | + "Wavefunction evolution" |
| 48 | + ] |
| 49 | + }) |
| 50 | + applied_physics.to_excel(writer, sheet_name="Applied_Physics", index=False) |
| 51 | + |
| 52 | + # Sheet 17: Reasoning Logic |
| 53 | + reasoning_logic = pd.DataFrame({ |
| 54 | + "Premise": ["All humans are mortal", "Socrates is a human", "If it rains, ground gets wet"], |
| 55 | + "Conclusion": ["Socrates is mortal", "Valid logical step", "Ground is wet"], |
| 56 | + "Truth_Value": ["True", "True", "True"] |
| 57 | + }) |
| 58 | + reasoning_logic.to_excel(writer, sheet_name="Reasoning_Logic", index=False) |
| 59 | + |
| 60 | + # Sheet 18: Simulation Problems |
| 61 | + simulation_problems = pd.DataFrame({ |
| 62 | + "Problem": ["Projectile Motion", "Heat Transfer", "Quantum Tunneling"], |
| 63 | + "Setup": [ |
| 64 | + "v0=20 m/s, θ=45°, g=9.8", |
| 65 | + "Rod: length=1m, k=200 W/mK", |
| 66 | + "Particle energy<E barrier" |
| 67 | + ], |
| 68 | + "Expected_Result": [ |
| 69 | + "Range ≈ 40.8 m", |
| 70 | + "Temperature profile along rod", |
| 71 | + "Nonzero probability of tunneling" |
| 72 | + ] |
| 73 | + }) |
| 74 | + simulation_problems.to_excel(writer, sheet_name="Simulation_Problems", index=False) |
| 75 | + |
| 76 | +"/mnt/data/Aura.xlsx" |
0 commit comments