Creator prompt
The idea behind this presentation
# PROFESSIONAL MASTER PROMPT
## 15-SLIDE SCIENTIFIC PROJECT PRESENTATION
### PRAYER TIMES CALCULATOR USING WOLFRAM MATHEMATICA 12.0
Act as an elite scientific presentation designer, astronomy researcher, computational physicist, mathematical modeler, and Wolfram Mathematica specialist.
Your task is to create a complete, exceptionally professional, scientifically accurate, visually impressive university project presentation.
This presentation will be evaluated by a university professor, so it must demonstrate a strong understanding of both the astronomical theory and the actual computational implementation.
# PROJECT INFORMATION
**Project Title:**
Prayer Times Calculator Using Wolfram Mathematica
**Subtitle:**
An Astronomical and Computational Approach
**Prepared by:**
- Bassem Taher
- Amer Mohamed
**Supervised by:**
Dr. Ahmed Hafez
**Department:** Astronomy
**Faculty:** Faculty of Science
**University:** Al-Azhar University
**Software:** Wolfram Mathematica 12.0
# 1. CRITICAL REQUIREMENT: UNDERSTAND THE ORIGINAL PROJECT
I will provide the original Mathematica notebook (`.nb`).
You MUST inspect and understand the actual notebook before creating the presentation.
The original source code is the primary technical reference.
Your job is to explain what the program actually does, not to invent a different implementation.
Analyze:
- The main function `CairoPrayerTimes`.
- Its input arguments and optional parameters.
- The `Module` structure and local variables.
- The date calculation.
- Solar orbital parameters.
- Right Ascension and solar declination.
- Equation of Time.
- Solar noon.
- Hour-angle calculation.
- All six prayer-time calculations.
- Time formatting.
- Association output.
- Interactive `Manipulate` interface.
- Solar-altitude graph.
- Use of Mathematica's built-in `SunPosition`.
**Strict accuracy rules:**
1. Preserve all original equations and numerical constants.
2. Never silently change the implemented calculation method.
3. Never invent prayer-time values or test results.
4. Never claim the program has been validated unless evidence exists.
5. Distinguish implemented functionality from proposed future improvements.
6. If code is shortened, label it as a simplified excerpt.
7. Do not present a mock-up as an actual program screenshot.
8. Explain any technical limitation honestly.
# 2. PRESENTATION REQUIREMENTS
Create exactly **15 complete slides**.
- Language: English only.
- Format: 16:9 widescreen.
- Output: Editable PowerPoint (.pptx).
- Audience: University astronomy and physics professors.
- Academic level: Undergraduate scientific project.
- Content: Detailed, comprehensive, and technically precise.
The presentation must explain every major stage of the project, from astronomical theory to the final Mathematica interface.
Do not provide only an outline.
Do not omit equations or important code explanations.
Do not reduce the content to short generic bullet points.
# 3. PROFESSIONAL MODERN 3D DESIGN SYSTEM
The design must be exceptional.
Create a premium scientific research aesthetic inspired by modern astrophysics presentations, NASA scientific visualizations, and high-end 3D technology presentations.
## Color palette
- Midnight Navy: `#071426`
- Deep Space Blue: `#10243D`
- Metallic Gold: `#D9AE58`
- Electric Cyan: `#50D5E8`
- White: `#F4F6FA`
- Silver Gray: `#B8C3D1`
## Visual direction
Use:
- Realistic 3D Earth and Sun models.
- Three-dimensional celestial coordinate systems.
- Solar rays and atmospheric horizon effects.
- 3D orbital paths and geometric astronomical diagrams.
- Elegant scientific grids.
- Cinematic lighting and subtle depth.
- Professional equation panels.
- High-quality Mathematica code panels.
- Sophisticated charts and scientific infographics.
Use 3D elements to explain scientific concepts, not merely as decoration.
## Typography
- Large, bold, elegant slide titles.
- Highly readable body text.
- Clear mathematical notation.
- Consistent font hierarchy.
- Readable code with syntax highlighting.
- Strong contrast between text and background.
## Layout
Use a variety of professional layouts:
- Full-width cinematic cover.
- Two-column scientific explanations.
- Equation-focused slides.
- 3D astronomical diagrams.
- Process-flow diagrams.
- Technical code walkthroughs.
- Data tables.
- Scientific graph layouts.
Avoid:
- Generic business templates.
- Cartoon illustrations.
- Excessive neon effects.
- Tiny text.
- Crowded slides.
- Random stock photos.
- Repetitive layouts.
- Unnecessary decorative elements.
# 4. DETAILED SLIDE-BY-SLIDE CONTENT
## SLIDE 1 — PROJECT TITLE
**Prayer Times Calculator Using Wolfram Mathematica**
An Astronomical and Computational Approach
Prepared by:
Bassem Taher & Amer Mohamed
Supervised by:
Dr. Ahmed Hafez
Department of Astronomy
Faculty of Science – Al-Azhar University
Wolfram Mathematica 12.0
Design:
A stunning 3D cinematic astronomical scene showing Earth, the Sun, the horizon, solar rays, and a subtle celestial coordinate grid.
Keep all names clearly readable.
## SLIDE 2 — INTRODUCTION AND SCIENTIFIC BACKGROUND
Explain the scientific relationship between the Sun's apparent daily motion and prayer times.
Cover:
- Earth's rotation and the apparent daily motion of the Sun.
- The relationship between solar altitude and the horizon.
- How specific solar positions correspond to daily astronomical events.
- Why mathematical astronomy can be used to calculate these times.
- The importance of geographical coordinates and time-zone information.
Introduce the six calculated events:
1. Fajr
2. Sunrise
3. Dhuhr
4. Asr
5. Maghrib
6. Isha
Include an educational 3D illustration of the Sun's apparent path across the sky.
## SLIDE 3 — PROJECT OBJECTIVES, SCOPE AND COMPUTATIONAL WORKFLOW
### Objectives
- Apply astronomical concepts to a practical computational problem.
- Implement approximate solar-position equations.
- Calculate six daily solar events.
- Develop an interactive interface in Mathematica.
- Visualize solar altitude throughout the day.
- Connect theoretical astronomy with scientific programming.
### Scope
- Location: Cairo, Egypt.
- Latitude: 30.0444° N.
- Longitude: 31.2357° E.
- Manually selected time-zone/DST setting.
- Approximate solar equations.
- Wolfram Mathematica 12.0.
### Workflow
Create a detailed professional workflow diagram:
Date Input
↓
Time-Zone/DST Selection
↓
Elapsed-Day Calculation
↓
Solar Orbital Parameters
↓
Equatorial Coordinates
↓
Equation of Time
↓
Solar Noon
↓
Hour Angle
↓
Six Event Calculations
↓
Formatted Results
↓
Interactive Display and Visualization
Explain the purpose of every stage.
## SLIDE 4 — GEOGRAPHICAL COORDINATES AND TIME PARAMETERS
Explain why geographical location is essential.
Show:
- Latitude = 30.0444° N.
- Longitude = 31.2357° E.
Actual Mathematica implementation:
`lat = 30.0444`
`lon = 31.2357`
`tz = If[dst, 3.0, 2.0]`
Explain:
- Latitude determines the observer's geographical position and influences solar altitude.
- Longitude contributes to the conversion between reference solar time and local clock time.
- Time-zone offset determines the clock-time reference.
- `dst` is a Boolean input.
- False selects UTC+2 in this implementation.
- True selects UTC+3 in this implementation.
Explain that the program uses manual DST selection and does not automatically determine daylight-saving rules.
Include a professional 3D map/globe illustration locating Cairo.
## SLIDE 5 — ASTRONOMICAL FUNDAMENTALS AND CELESTIAL COORDINATES
Provide detailed explanations of:
### Right Ascension (RA)
The equatorial angular coordinate measured along the celestial equator.
### Solar Declination (δ)
The angular distance of the Sun north or south of the celestial equator.
### Equation of Time (EqT)
The difference between apparent solar time and mean solar time.
### Hour Angle (H)
The angular displacement of the Sun from the observer's local meridian.
### Solar Altitude
The angular height of the Sun above or below the horizon.
Explain how these quantities work together.
Include a scientifically accurate 3D celestial-coordinate diagram showing:
- Celestial equator.
- Ecliptic plane.
- Solar declination.
- Right Ascension.
- Local meridian.
- Hour angle.
- Observer's horizon.
## SLIDE 6 — DATE CALCULATION AND SOLAR ORBITAL PARAMETERS
Explain the date-dependent calculations.
Actual code:
`d = QuantityMagnitude[DateDifference[{2000,1,1,12,0,0}, Join[dateList,{12,0,0}], "Day"]]`
Explain:
- `dateList` contains the selected date.
- `Join` adds the reference time of 12:00.
- `DateDifference` calculates the elapsed time.
- `QuantityMagnitude` extracts the numerical day difference.
Accuracy note:
The expression does not explicitly specify a time zone. Do not label this as UTC or claim an explicit TT conversion.
Then explain the solar parameters.
### Mean Anomaly
`g = Mod[357.529 + 0.98560028*d, 360] Degree`
Explain the Sun's orbital angular position relative to perihelion in the approximate model.
### Mean Longitude
`q = Mod[280.459 + 0.98564736*d, 360]`
Explain the approximate mean orbital longitude.
### Ecliptic Longitude
`L = Mod[q + 1.915 Sin[g] + 0.020 Sin[2 g], 360] Degree`
Explain the correction terms and the approximate true solar ecliptic longitude.
### Obliquity
`e = (23.439 - 0.00000036*d) Degree`
Explain the inclination of the ecliptic relative to the celestial equator.
Use a scientific diagram of the Earth's orbital geometry.
## SLIDE 7 — RIGHT ASCENSION AND SOLAR DECLINATION CALCULATION
Show the actual equations:
### Right Ascension
`RA = Mod[ArcTan[Cos[L], Cos[e]*Sin[L]]/Degree, 360]`
### Solar Declination
`decl = ArcSin[Sin[e]*Sin[L]]`
Explain the mathematical transformation from ecliptic coordinates to equatorial coordinates.
Discuss:
- The role of ecliptic longitude.
- The role of obliquity.
- The resulting equatorial coordinates.
- Why declination changes throughout the year.
- How RA and declination are used in hour-angle calculations.
Use a detailed 3D diagram.
## SLIDE 8 — EQUATION OF TIME
Explain why apparent solar time and mean solar time are different.
Discuss the astronomical causes conceptually:
- Earth's orbital eccentricity.
- The inclination of the ecliptic relative to the celestial equator.
Show the actual code:
`EqT = (q - RA)/15.0`
Then:
`If[EqT > 12, EqT = EqT - 24]`
`If[EqT < -12, EqT = EqT + 24]`
Explain:
- Angular difference between mean longitude and right ascension.
- Division by 15 converts degrees into hours.
- Adjustment keeps the result within a range around ±12 hours.
- How this correction affects the calculated solar noon.
Preserve the code's original sign convention.
Include a professional Equation-of-Time diagram.
## SLIDE 9 — SOLAR NOON CALCULATION
Explain solar noon as the time when the Sun crosses the observer's local meridian.
Show:
`noon = 12.0 + tz - lon/15.0 - EqT`
Explain each component in detail:
- `12.0`: Reference noon baseline in the conversion to local clock time.
- `tz`: Selected time-zone offset.
- `lon/15.0`: Longitude correction, using 15 degrees per hour.
- `EqT`: Equation-of-Time correction.
Use the exact scientific label:
**Calculated Local Clock Time of Solar Noon**
Explain why solar noon is the reference point for calculating morning and afternoon events.
Include a 3D illustration of the Sun crossing the local meridian.
## SLIDE 10 — HOUR ANGLE AND SOLAR ALTITUDE MATHEMATICS
Show the actual Mathematica function:
`hourAngle[alpha_] := ArcCos[(Sin[alpha] - Sin[lat Degree]*Sin[decl])/(Cos[lat Degree]*Cos[decl])]/Degree/15.0`
Explain every part:
- `alpha`: Required solar altitude.
- `lat`: Observer's latitude.
- `decl`: Solar declination.
- `Sin` and `Cos`: Trigonometric components.
- `ArcCos`: Determines the angular hour-angle difference.
- Division by `Degree`: Converts the result into degrees.
- Division by 15: Converts angular degrees into hours.
Show the general relationships:
Morning Event = Solar Noon − Hour Angle
Afternoon/Evening Event = Solar Noon + Hour Angle
Explain the physical interpretation.
Include a 3D diagram showing the observer, horizon, local meridian, and solar hour angle.
## SLIDE 11 — DETAILED CALCULATION OF THE SIX PRAYER TIMES
Explain all six implemented calculations.
### 1. Fajr
`fajr = noon - hourAngle[-19.5 Degree]`
Explain the implemented −19.5° solar altitude criterion.
### 2. Sunrise
`sunrise = noon - hourAngle[-0.833 Degree]`
Explain the selected apparent horizon criterion.
### 3. Dhuhr
`dhuhr = noon + 2/60.0`
Explain the two-minute addition after calculated solar noon.
### 4. Asr
`asrAngle = ArcCot[1 + Tan[Abs[lat Degree - decl]]]`
`asr = noon + hourAngle[asrAngle]`
Explain the altitude calculation and the factor 1 used in the expression.
### 5. Maghrib
`maghrib = noon + hourAngle[-0.833 Degree]`
Explain the implemented evening horizon criterion.
### 6. Isha
`isha = noon + hourAngle[-17.5 Degree]`
Explain the implemented −17.5° criterion.
Include a professional table:
Event | Implemented Criterion | Calculation Relationship | Astronomical Meaning
Use a large, readable layout.
Do not replace the original constants with alternative prayer conventions.
## SLIDE 12 — MAIN MATHEMATICA FUNCTION AND PROGRAM ARCHITECTURE
Show:
`CairoPrayerTimes[dateList_, dst_: False] := Module[{...}, ...]`
Explain in detail:
### Function name
`CairoPrayerTimes`
### Input
`dateList_`
### Optional parameter
`dst_: False`
### Module
Explain how `Module` defines local variables and organizes the calculations.
### Calculation architecture
1. Define Cairo coordinates.
2. Determine the selected time-zone offset.
3. Calculate elapsed days.
4. Calculate solar orbital parameters.
5. Calculate RA and declination.
6. Calculate Equation of Time.
7. Calculate solar noon.
8. Calculate hour angles.
9. Calculate six event times.
10. Format and return the results.
Include readable actual source-code excerpts from the notebook.
Use callout annotations to explain code sections.
## SLIDE 13 — TIME FORMATTING AND ASSOCIATION OUTPUT
Show the actual formatting function:
`formatTime[h_] := DateString[DateObject[Join[dateList,{Floor[h],Round[(h-Floor[h])*60],0}]], {"Hour24",":","Minute"}]`
Explain:
- `Floor[h]` extracts the hour.
- `Round[(h-Floor[h])*60]` calculates minutes.
- `DateObject` constructs a date-time object.
- `DateString` formats the time.
- `Hour24` displays the 24-hour clock.
Then explain the returned Association:
`<|"Fajr" -> ..., "Sunrise" -> ..., "Dhuhr" -> ..., "Asr" -> ..., "Maghrib" -> ..., "Isha" -> ...|>`
Explain how named keys organize the output and make it easy to display.
Mention the real implementation limitation: rounding may produce 60 minutes, and the current expression does not explicitly handle the carry into the next hour.
## SLIDE 14 — INTERACTIVE INTERFACE AND SOLAR-ALTITUDE VISUALIZATION
Explain the actual `Manipulate` interface.
Controls:
- Year: 2024–2030.
- Month: 1–12.
- Day: 1–31.
- DST: False or True.
Explain how the interface updates the results when inputs change.
Show the roles of:
- `Manipulate`
- `Dataset`
- `DateObject`
- `SunPosition`
- `Plot`
Explain the solar-altitude graph:
- X-axis: Time during the day.
- Y-axis: Solar altitude in degrees.
- Reference lines: Selected solar-altitude criteria.
- Purpose: Visualizing the Sun's daily apparent motion.
**Important scientific distinction:**
The custom `CairoPrayerTimes` function calculates the six event times using the approximate equations described earlier.
The built-in Mathematica `SunPosition` function is used separately for the visualization.
Do not claim that `SunPosition` calculates the six prayer times.
Use a genuine notebook screenshot if available. Otherwise, create a clearly labeled illustrative mock-up.
## SLIDE 15 — LIMITATIONS, FUTURE IMPROVEMENTS, CONCLUSION AND REFERENCES
### Current Limitations
- The model is configured for Cairo only.
- Approximate solar equations are used.
- DST selection is manual.
- Day input ranges from 1 to 31 without month-specific validation.
- Minute rounding does not explicitly handle 60-minute rollover.
- Fajr and Isha use fixed angular criteria.
- Asr uses a factor of 1.
### Future Improvements
- Multiple geographical locations.
- Automatic time-zone and DST handling.
- Improved date validation.
- Alternative prayer calculation conventions.
- Correct minute rollover handling.
- Validation against reliable published prayer timetables.
- CSV and JSON export.
- More detailed graphical interface.
Make clear that these are proposed improvements, not completed features.
### Conclusion
Explain how the project combines:
- Spherical astronomy.
- Solar-coordinate transformations.
- Trigonometric calculations.
- Time conversion.
- Scientific programming.
- Interactive data visualization.
Conclude that the project implements an astronomical computational model for calculating six daily solar events for Cairo.
Do not claim universal accuracy or validation without evidence.
### References
Include genuine, traceable sources:
- Official Wolfram Language documentation.
- Documentation for `Manipulate`, `Module`, `Association`, `DateObject`, `DateString`, `Dataset`, `Plot`, and `SunPosition`.
- Recognized astronomy references on solar coordinates and the Equation of Time.
Never invent references or URLs.
# 5. SCIENTIFIC EXPLANATION QUALITY
The presentation must not simply list equations.
For every important equation:
1. Display the equation clearly.
2. Define every symbol.
3. Explain what the equation calculates.
4. Explain the astronomical meaning.
5. Explain how the result is used in the next stage.
6. Connect the equation to the actual Mathematica code.
The presentation should make it possible for a student to explain the complete project confidently in front of a professor.
# 6. DESIGN QUALITY REQUIREMENTS
Every slide must have professional visual composition.
Use:
- Large headings.
- Readable equations.
- Well-designed code panels.
- Scientific illustrations.
- 3D visual elements.
- Consistent margins.
- Consistent color system.
- Meaningful diagrams.
- Professional tables.
- Balanced white space.
Do not make every slide look identical.
Use visual variety while maintaining one unified design identity.
Prioritize scientific communication over decoration.
# 7. FINAL VERIFICATION
Before delivery, verify:
- Exactly 15 slides.
- Both student names are correctly written.
- Supervisor name is correctly written.
- All content is in English.
- Every equation matches the source notebook.
- All constants are preserved.
- All code explanations are accurate.
- No fabricated numerical outputs.
- No false claims of validation.
- The SunPosition distinction is correct.
- References are genuine.
- Text and equations are readable.
- All slides follow the same professional visual identity.
# FINAL DELIVERABLE
Generate the complete, editable 15-slide PowerPoint presentation.
Do not stop at an outline or a slide plan.
Do not omit detailed scientific or programming explanations.
The final result must look like a premium 3D astronomy research presentation suitable for a formal university project defense.
The quality of the scientific content and the quality of the visual design are equally important.