Hubble Law Cosmology Simulator

Fundamentals of Astrophysics (PHYS4022P) · Unit 5: Cosmology · Uniform Simulation Architecture Student: Guest | SAPID: NA | Topic: Hubble Law and Cosmology
← PHYS4022P Hub
👤 Guest

🌌Hubble Law and Cosmology

This page uses the exact same architecture as the primary simulator (login, theory, formulas, simulation, data export, objectives, quiz, references) for course-wide uniformity. For the dedicated Unit 5: Cosmology topic engine, open: Hubble Law Cosmology Simulator Core Module.

⚖️Expanding Universe and Hubble Relation

For nearby galaxies, recession velocity approximately scales with distance:

\( v = H_0 d \)

Linear fits to redshift-distance data estimate \(H_0\) and indicate expansion.

Redshift Relation (low z)

\( z \approx v/c \approx H_0 d / c \)

At larger redshift, relativistic/cosmological corrections become important.

🔢Cosmological Parameters and Fate

Critical Density

\( \rho_c = 3H_0^2/(8\pi G) \)

Defines density scale for expansion geometry discussions.

Density Parameters

\( \Omega_m, \Omega_\Lambda, \Omega_k \)

Relative contributions influence long-term expansion behavior.

Hubble Time Approximation

\( t_H \approx 1/H_0 \)

A useful first timescale for order-of-magnitude age reasoning.

🧮Large-Scale Structure and Debate Framing

Galaxy Classification Context

Morphology and environment inform formation and growth pathways in cosmic web structures.

Final Fate Scenarios

Use parameter sets to compare accelerating expansion, near-critical evolution, and recollapse-style arguments.

Evidence-Based Debate

AI tools can structure pro/con claims, but arguments should cite model assumptions and uncertainty limits.

🪐Formula Sheet and Physical Constants

Use SI units unless stated. Constants and relations shown above are preloaded for lab work.

Switch to the Simulation tab to explore the same relationships numerically under this unit topic.

🔍Unit 5 Guided Scenarios

Estimate H0

Fit synthetic distance-velocity points and compare inferred Hubble constants across noise levels.

Age Scale

Convert fitted \(H_0\) values to Hubble-time estimates and discuss limitations.

Parameter Sweep

Vary \(\Omega_m\) and \(\Omega_\Lambda\) to frame plausible long-term expansion outcomes.

Debate Builder

Generate structured argument maps on the final fate of the universe.

Run: 0
Galaxies: 0
Fit status: Ready
Distance span: 0-500 Mpc
How data logging works: When the Log data checkbox is enabled in the Simulation tab, the simulator records synthetic galaxy distance-velocity samples and fit metrics. Download the data in standard formats for analysis in Python, MATLAB, or Excel.
0
Recorded rows
0
Galaxies per run
0
Run span
Every 1 run
Sampling interval

⚙️Logging Settings

💾Download Simulation Data

CSV columns: sapid, student_name, run_id, galaxy_id, distance_mpc, velocity_kms, model_velocity_kms, residual_kms, fit_h0, fit_intercept, fit_r2, omega_m, omega_lambda. JSON includes full metadata (input H0, omegas, noise model, sampling mode). The Python script uses matplotlib to reproduce Hubble scatter and trend plots from exported data.

📋Live Data Preview (last 20 rows)

RunGalaxyd (Mpc)v (km/s)Model v (km/s)Residual (km/s)Fit H0
No data yet — run the simulation with "Log data" checked.

🔒Student Login Audit

Total recorded logins: 0
Timestamp (ISO)NameSAPID
No login records yet.

🎯Module: Cosmology

This interactive module targets Unit 5 of PHYS4022P. Students analyze Hubble-law data, infer cosmological scales, and build evidence-based arguments about cosmic evolution and fate.

📌Learning Objectives

After completing this module, students will be able to:
  • ✓Apply Hubble's relation to interpret recession data.
  • ✓Estimate H0 from linear fits and assess uncertainty effects.
  • ✓Relate redshift, velocity, and distance in low-redshift limits.
  • ✓Use density parameters to discuss expansion scenarios.
  • ✓Interpret large-scale-structure context in cosmological reasoning.
  • ✓Use LLMs to scaffold balanced scientific debates.
  • ✓Export simulation evidence for report and argument construction.

📦Deliverables

Students are expected to submit:
  1. 1.Lab Report (PDF) — Scatter/fit plots with at least two noise settings.
  2. 2.Exported Data File — Exported data and fit summaries for H0 estimation runs.
  3. 3.Python analysis script — Python script recreating fit and age-scale calculations.
  4. 4.Comparison table — Comparison table of parameter sets and inferred fate tendencies.
  5. 5.Bonus investigation — Structured debate brief with evidence and uncertainty notes.

📅Suggested Lab Workflow

Step-by-step guide
  1. 1.Review cosmology equations and assumptions in Theory.
  2. 2.Generate synthetic galaxy data and fit Hubble slope.
  3. 3.Compare fitted H0 under different noise regimes.
  4. 4.Compute Hubble-time scales and discuss approximation limits.
  5. 5.Vary cosmological parameters and note fate implications.
  6. 6.Export data for reproducible fit analysis.
  7. 7.Recreate figures in Python with clear annotations.
  8. 8.Use AI debate prompt to write balanced final-fate arguments.

📐Assessment Criteria

  • ◈Understanding (30%) — Correct use of Hubble-law and redshift approximations.
  • ◈Simulation (25%) — Fit quality and quantitative interpretation.
  • ◈Data Analysis (25%) — Clarity of cosmological-parameter reasoning.
  • ◈Method comparison (15%) — Evidence quality in exported analysis.
  • ◈Bonus (5%) — Balance and rigor in AI-assisted debate framing.
LMS Note: Submit PDF, exported data, and analysis script under Lab 5 — Cosmology.

🧠Concept Check Quiz

10 questions per round. Pass a round to unlock the next level with a stronger difficulty mix.
Adaptive mode: clear 6/10 or better to unlock the next level and a harder mixed set.
No attempts yet.

🎮Level Progress

Level 1/10
Mastery 0%
Questions 0/0
Answer 10 questions to complete a level. Passing scores unlock the next level with harder questions.

📝Quiz Attempt Log

Attempts: 0

📚Bibliography & Further Reading

References used to ensure scientific accuracy of this module. Open-access links are provided where available.

1
Hubble, E. (1929) — A Relation Between Distance and Radial Velocity Among Extra-galactic Nebulae
Proceedings of the National Academy of Sciences, 15, 168-173. Original observational basis of Hubble's law.
↗ Source link
2
Peebles, P. J. E. — Principles of Physical Cosmology
Princeton University Press, 1993. Foundational treatment of cosmological dynamics and structure.
↗ Source link
3
Weinberg, S. — Cosmology
Oxford University Press, 2008. Comprehensive modern cosmology text on expansion and parameters.
4
Ryden, B. — Introduction to Cosmology (2nd ed.)
Cambridge University Press, 2017. Accessible coverage of Hubble law, distances, and cosmic history.
5
Planck Collaboration (2020) — Planck 2018 Results. VI. Cosmological Parameters
Precision measurements for \(\Omega_m\), \(\Omega_\Lambda\), and related parameters.
↗ Source link
6
Riess, A. G. et al. (1998) & Perlmutter, S. et al. (1999)
Type Ia supernova evidence for accelerated expansion.
↗ Source link
7
Sloan Digital Sky Survey (SDSS) Data Resources
Large-scale structure and galaxy redshift datasets suitable for classroom Hubble-law fitting exercises.
↗ Source link

🛠Software & Tools Used

  • ▸HTML5 Canvas API — Interactive recession-fit visualization and cosmology parameter exploration.
  • ▸Vanilla JavaScript (ES2020) — Simulation engine and UI logic. No external runtime dependencies.
  • ▸Google Fonts (CDN) — Space Grotesk, IBM Plex Mono (falls back to system fonts offline).
  • ▸Project Leadership — Created and maintained by Dr. Nitesh Kumar, UPES.