Śīghra equation-কে শুধু আরেকটি sine correction ভাবলে সবচেয়ে গুরুত্বপূর্ণ অংশটি হারিয়ে যায়। Manda correction-এ মূলত bhujā ব্যবহৃত হলেও śīghra geometry-তে bhujā, koṭi, radius এবং তাদের resultant karṇa—চারটিই দরকার। Karṇa-ই equation-এর apparent angular magnitude বদলে দেয়।
Śīghra Correction কী?
Traditional geocentric model-এ পাঁচ দৃশ্যমান গ্রহের অবস্থানে দুই ধরনের inequality ধরা হয়:
- Manda inequality—slow apogee বা mandocca-এর তুলনায়;
- Śīghra inequality—fast reference বা śīghrocca-এর তুলনায়।
Sun ও Moon-এর জন্য Chapter II একবার manda correction ব্যবহার করে। পাঁচ গ্রহের জন্য śīghra ও manda correction মিলিয়ে চারটি operation লাগে। তাই śīghra function-এর output দুই জায়গায় ব্যবহৃত হয়:
| Operation | Equation | Application |
|---|---|---|
| ১ | প্রথম śīghra equation | অর্ধেক correction |
| ২ | প্রথম manda equation | অর্ধেক correction |
| ৩ | পুনর্গণিত manda equation | পূর্ণ correction |
| ৪ | পুনর্গণিত śīghra equation | পূর্ণ correction; final true planet |
এই article equation function-টি নির্মাণ করবে এবং প্রথম operation-এ তার ব্যবহার দেখাবে। চারটি operation একত্রে জুড়ে final longitude তৈরির বিষয়টি পরবর্তী প্রবন্ধে থাকবে।
Chapter II: শ্লোক থেকে Algorithm Map
| Verse | Computational ভূমিকা |
|---|---|
| II.1–5 | Śīghrocca ও manda/śīghra inequality-এর ধারণা |
| II.15–22 | Radius 3438-এর ২৪-point jyā table |
| II.29–33 | Kendra, quadrant, bhujā–koṭi, interpolation ও inverse-jyā |
| II.36–37 | গ্রহভেদে śīghra epicycle-এর even/odd limits |
| II.38 | Bhujā-jyā থেকে rectified circumference |
| II.39–40 | Bhujā-phala, koṭi-phala এবং radius-এর যোগ/বিয়োগ |
| II.41 | Karṇa এবং corrected bhujā-phala |
| II.42 | Inverse arc থেকে śīghra-phala; first/fourth operation |
| II.43–45 | Four-operation sequence ও equation sign |
এখানে একটি verse-কে একটি code line হিসেবে অনুবাদ করা যায় না। II.36–42 একত্রে একটি geometry pipeline: circumference নির্বাচন → sine components → adjusted radius → resultant distance → angular equation।
Superior ও Inferior Planet-এর Reference কেন আলাদা?
Mercury ও Venus সূর্যের কাছাকাছি দেখা যায়। Traditional mean system-এ তাদের mean longitude mean Sun-এর সঙ্গে রাখা হলেও তাদের আলাদা śīghra revolution রয়েছে। বিপরীতে Mars, Jupiter ও Saturn-এর mean longitude নিজস্ব mean revolution থেকে আসে এবং mean Sun তাদের śīghra reference হয়।
| গ্রহ | Base longitude P | Śīghra reference S | K = normalize(S − P) |
|---|---|---|---|
| Mercury | Mean Sun | Mercury śīghra longitude | Mercury śīghra − Mean Sun |
| Venus | Mean Sun | Venus śīghra longitude | Venus śīghra − Mean Sun |
| Mars | Mean Mars | Mean Sun | Mean Sun − Mean Mars |
| Jupiter | Mean Jupiter | Mean Sun | Mean Sun − Mean Jupiter |
| Saturn | Mean Saturn | Mean Sun | Mean Sun − Mean Saturn |
K = normalize(S − P)
0° ≤ K < 360°
Śīghra-kendra, Quadrant ও Sign
Kendra প্রথমে 0°–360°-এ normalize করা হয়। Jyā table ব্যবহারের জন্য তাকে প্রথম quadrant-এর সমতুল্য bhujā arc-এ নামানো হয়:
| Kendra | Bhujā arc B | Koṭi arc | Equation sign | Radius rule |
|---|---|---|---|---|
| 0°–90° | K | 90° − B | + | R + koṭi-phala |
| 90°–180° | 180° − K | 90° − B | + | R − koṭi-phala |
| 180°–270° | K − 180° | 90° − B | − | R − koṭi-phala |
| 270°–360° | 360° − K | 90° − B | − | R + koṭi-phala |
দুটি sign আলাদা কাজে লাগে। Sine বা bhujā sign equation পূর্বে না পশ্চিমে যাবে তা বলে; cosine বা koṭi sign adjusted radius বড় হবে না ছোট হবে তা বলে। আধুনিক sin(K) ও cos(K) ব্যবহার করলে এই signs স্বয়ংক্রিয়ভাবে আসে। Magnitude-only jyā table ব্যবহার করলে quadrant rules স্পষ্টভাবে লিখতে হয়।
Śīghra Epicycle Circumference
Chapter II.36–37 প্রতিটি গ্রহের জন্য even-quadrant এবং odd-quadrant circumference দেয়। Radius-এর 360 অংশকে ভিত্তি ধরে মানগুলো লেখা:
| গ্রহ | Even limit Cₑ | Odd limit Cₒ | Arithmetic average | pancanga3.14 |
|---|---|---|---|---|
| Mars | 235 | 232 | 233.5 | 233.5 |
| Mercury | 133 | 132 | 132.5 | 131.5 |
| Jupiter | 70 | 72 | 71 | 71 |
| Venus | 262 | 260 | 261 | 261 |
| Saturn | 39 | 40 | 39.5 | 39.5 |
Full textual profile-এ bhujā-jyā অনুযায়ী দুই limit-এর মধ্যে interpolation:
Jᵦ = Jyā(B)
C = Cₑ + (Cₒ − Cₑ) × Jᵦ / R
B = 0° হলে Jᵦ = 0, তাই C = Cₑ। B = 90° হলে Jᵦ = R, তাই C = Cₒ। মাঝখানে circumference ধারাবাহিকভাবে বদলায়।
Bhujā, Koṭi ও Karṇa
Traditional radius R = 3438। Reduced arcs থেকে table-interpolated jyā নেওয়া হয়:
Jᵦ = Jyā(B)
Jₖ = Jyā(90° − B)
Bhujā-phala = C × Jᵦ / 360
Koṭi-phala = C × Jₖ / 360
তারপর kendra-এর quadrant অনুযায়ী radius:
R′ = R + Koṭi-phala, যখন cos(K) ≥ 0
R′ = R − Koṭi-phala, যখন cos(K) < 0
Bhujā-phala perpendicular component এবং R′ horizontal component। তাদের resultant:
Karṇa = √(R′² + Bhujā-phala²)
II.41 অনুযায়ী bhujā-phala-কে original radius scale-এ ফিরিয়ে নিতে হয়:
Corrected bhujā = Bhujā-phala × R / Karṇa
|Śīghra-phala| = inverseJyā(Corrected bhujā)
এখানেই manda equation-এর সঙ্গে প্রধান পার্থক্য। Karṇa বাদ দিলে correction angle ভুল হবে—বিশেষত large śīghra epicycle-যুক্ত Mercury, Venus ও Mars-এর ক্ষেত্রে।
সম্পূর্ণ Textual Formula
- Planet-এর base longitude P এবং śīghra reference S নির্ধারণ করুন।
- K = normalize(S − P)।
- K-কে quadrant অনুসারে B ∈ [0°, 90°]-এ reduce করুন।
- Jᵦ = Jyā(B), Jₖ = Jyā(90° − B)।
- C = Cₑ + (Cₒ − Cₑ) × Jᵦ/R।
- Bhujā-phala = C × Jᵦ/360।
- Koṭi-phala = C × Jₖ/360।
- Quadrant অনুযায়ী R′ = R ± Koṭi-phala।
- Karṇa = √(R′² + Bhujā-phala²)।
- Corrected bhujā = Bhujā-phala × R/Karṇa।
- Magnitude = inverseJyā(corrected bhujā)।
- K < 180° হলে positive, K > 180° হলে negative equation।
Eₛ = sign(sin K) × inverseJyā((C·Jᵦ/360)·R/Karṇa)
Boundary K = 0° বা 180°-এ bhujā 0, তাই equation 0। K = 90° বা 270°-এ koṭi 0; karṇa তবু sqrt(R² + bhujā²), তাই শুধু inverse sine of raw bhujā নয়।
Worked Example: অহর্গণ 1000-এ Mars
আগের mean-position article-এর deterministic fixture নেওয়া হলো:
Mean Sun S = 265.602654589°
Mean Mars P = 164.019378784°
K = S − P = 101.583275805°
Mars superior planet; তাই mean Sun-ই śīghra reference। K দ্বিতীয় quadrant-এ:
| ধাপ | মান |
|---|---|
| Bhujā arc B | 180° − 101.583275805° = 78.416724195° |
| Koṭi arc | 11.583275805° |
| Interpolated Jᵦ | 3367.467449 |
| Interpolated Jₖ | 690.463307 |
| Mars limits | Cₑ = 235; Cₒ = 232 |
| Rectified C | 232.061546729 |
| Bhujā-phala | 2170.721402 |
| Koṭi-phala | 445.083286 |
| Adjusted radius | 3438 − 445.083286 = 2992.916714 |
| Karṇa | 3697.239763 |
| Corrected bhujā | 2018.516693 |
| Śīghra-phala | +35.973702735° |
এটি first operation হলে অর্ধেক correction base mean Mars-এ যোগ হবে:
P₁ = 164.019378784° + 35.973702735°/2
P₁ = 182.006230152°
P₁ final Mars নয়। এটি পরবর্তী manda operation-এর input মাত্র। Operation label না রাখলে intermediate longitude ভুলভাবে “true Mars” হিসেবে প্রকাশিত হতে পারে।
একই fixture, fixed-average reference profile
pancanga3.14-compatible calculation Mars-এর fixed C = 233.5 এবং direct trigonometric sine/cosine ব্যবহার করে:
| মান | Reference result |
|---|---|
| Scaled bhujā | 36.405820406 |
| Scaled signed koṭi | −7.461968021 |
| Karṇa | 61.715415638 |
| Śīghra-phala | +36.149793476° |
| First half-corrected Mars | 182.094275522° |
35.973703° বনাম 36.149793°—এটি floating-point noise নয়। একটি full textual variable-circumference ও tabular-jyā profile; অন্যটি fixed-average ও modern-trigonometric executable profile। কোনটি ব্যবহার হয়েছে output metadata-তে লিখতে হবে।
Mercury: Inferior Planet ও Negative Equation
একই অহর্গণে:
Mean Sun = 265.602654589°
Mercury śīghra = 132.318044334°
K = normalize(132.318044334° − 265.602654589°)
K = 226.715389745°
K তৃতীয় quadrant-এ, তাই bhujā magnitude positive হলেও final equation negative। Textual 133/132 profile-এ:
| ধাপ | মান |
|---|---|
| Bhujā arc | 46.715389745° |
| Rectified C | 132.272412641 |
| Karṇa | 2731.620405 |
| Equation | −19.674288237° |
Reference code-এর C = 131.5 profile-এ result প্রায় −19.532213462°। Mercury-এর ক্ষেত্রে circumference discrepancy-ও যোগ হওয়ায় দুটি profile আরও সতর্কভাবে version করতে হবে।
Textual Profile বনাম Executable Reference Profile
| বিষয় | Full textual profile | pancanga3.14 profile |
|---|---|---|
| Sine | 24-point jyā + interpolation | Direct sin/cos |
| Inverse | Inverse table interpolation | asin |
| Circumference | Even/odd limits থেকে dynamic | Fixed average-like constant |
| Radius | 3438 | 180/π |
| Quadrant | Explicit bhujā/koṭi rules | Signed sine/cosine-এ implicit |
| Use case | Text reconstruction ও historical trace | Executable compatibility test |
দুই profile রাখা বৈধ, যদি নাম, constants, formula এবং expected fixtures আলাদা থাকে। একটি UI checkbox দিয়ে শুধু “traditional” লেখা যথেষ্ট নয়; profile identifier যেমন SS_TEXT_II_36_42 এবং PANCANGA_3_14 ব্যবহার করা ভালো।
C# Implementation: Full Textual Engine
public sealed class SighraProfile
{
public string Id { get; set; }
public double EvenCircumference { get; set; }
public double OddCircumference { get; set; }
}
public sealed class SighraTrace
{
public double Kendra { get; set; }
public double BhujaArc { get; set; }
public double KotiArc { get; set; }
public double BhujaJya { get; set; }
public double KotiJya { get; set; }
public double Circumference { get; set; }
public double BhujaPhala { get; set; }
public double KotiPhala { get; set; }
public double AdjustedRadius { get; set; }
public double Karna { get; set; }
public double ReducedBhuja { get; set; }
public double Equation { get; set; }
}
public static SighraTrace CalculateTextualSighra(
double baseLongitude,
double sighraReferenceLongitude,
SighraProfile profile)
{
const double radius = 3438.0;
double k = Normalize360(sighraReferenceLongitude - baseLongitude);
double b;
if (k <= 90.0) b = k;
else if (k <= 180.0) b = 180.0 - k;
else if (k <= 270.0) b = k - 180.0;
else b = 360.0 - k;
double kotiArc = 90.0 - b;
double jb = InterpolatedJya(b);
double jk = InterpolatedJya(kotiArc);
double c = profile.EvenCircumference
+ (profile.OddCircumference - profile.EvenCircumference)
* jb / radius;
double bhujaPhala = c * jb / 360.0;
double kotiPhala = c * jk / 360.0;
bool cosinePositive = k < 90.0 || k > 270.0;
double adjustedRadius = cosinePositive
? radius + kotiPhala
: radius - kotiPhala;
double karna = Math.Sqrt(
adjustedRadius * adjustedRadius +
bhujaPhala * bhujaPhala);
double reducedBhuja = bhujaPhala * radius / karna;
double magnitude = ArcFromJya(reducedBhuja);
double equation = k < 180.0 ? magnitude : -magnitude;
if (NearlyEqual(k, 0.0) || NearlyEqual(k, 180.0))
equation = 0.0;
return new SighraTrace {
Kendra = k,
BhujaArc = b,
KotiArc = kotiArc,
BhujaJya = jb,
KotiJya = jk,
Circumference = c,
BhujaPhala = bhujaPhala,
KotiPhala = kotiPhala,
AdjustedRadius = adjustedRadius,
Karna = karna,
ReducedBhuja = reducedBhuja,
Equation = equation
};
}
cosinePositive-এর exact 90°/270° boundary গুরুত্বপূর্ণ নয়, কারণ সেখানে koṭi-phala শূন্য হওয়া উচিত। তবে interpolated table ও floating-point input-এর জন্য tolerance-based test রাখুন।
Jyā interpolation
static readonly double[] Jya = {
0, 225, 449, 671, 890, 1105, 1315, 1520, 1719,
1910, 2093, 2267, 2431, 2585, 2728, 2859, 2978,
3084, 3177, 3256, 3321, 3372, 3409, 3431, 3438
};
static double InterpolatedJya(double degrees)
{
double x = Math.Max(0.0, Math.Min(90.0, degrees)) / 3.75;
int i = (int)Math.Floor(x);
if (i >= 24) return Jya[24];
return Jya[i] + (Jya[i + 1] - Jya[i]) * (x - i);
}
static double ArcFromJya(double value)
{
value = Math.Max(0.0, Math.Min(3438.0, value));
for (int i = 0; i < 24; i++)
{
if (value <= Jya[i + 1])
{
double f = (value - Jya[i]) / (Jya[i + 1] - Jya[i]);
return (i + f) * 3.75;
}
}
return 90.0;
}
pancanga3.14-compatible reference function
static double ReferenceSighraEquation(
double anomalyDegrees,
double fixedCircumference)
{
double rad = 180.0 / Math.PI;
double a = anomalyDegrees * Math.PI / 180.0;
double bhuja = fixedCircumference / 360.0
* Math.Sin(a) * rad;
double koti = fixedCircumference / 360.0
* Math.Cos(a) * rad;
double karna = Math.Sqrt(
(rad + koti) * (rad + koti) + bhuja * bhuja);
return Math.Asin(bhuja / karna) * rad;
}
এখানে bhuja ও koti signed; তাই পৃথক quadrant branch লাগে না। তবে fixed circumference অবশ্যই selected profile থেকে আসবে।
Planet reference resolver
static void ResolveSighraInputs(
Planet planet,
MeanPositions m,
out double baseLongitude,
out double referenceLongitude)
{
switch (planet)
{
case Planet.Mercury:
baseLongitude = m.Sun;
referenceLongitude = m.MercurySighra;
break;
case Planet.Venus:
baseLongitude = m.Sun;
referenceLongitude = m.VenusSighra;
break;
case Planet.Mars:
baseLongitude = m.Mars;
referenceLongitude = m.Sun;
break;
case Planet.Jupiter:
baseLongitude = m.Jupiter;
referenceLongitude = m.Sun;
break;
case Planet.Saturn:
baseLongitude = m.Saturn;
referenceLongitude = m.Sun;
break;
default:
throw new ArgumentOutOfRangeException(nameof(planet));
}
}
Regression Tests
শুধু final longitude test করলে anomaly orientation, circumference profile ও karṇa bug কোথায় হয়েছে বোঝা কঠিন। Intermediate trace test করুন।
[TestMethod]
public void Mars_D1000_TextualSighraTrace()
{
var p = new SighraProfile {
Id = "SS_TEXT_II_36_42",
EvenCircumference = 235.0,
OddCircumference = 232.0
};
var t = CalculateTextualSighra(
164.019378784,
265.602654589,
p);
Assert.AreEqual(101.583275805, t.Kendra, 1e-9);
Assert.AreEqual(232.061546729, t.Circumference, 1e-9);
Assert.AreEqual(3697.239762636, t.Karna, 1e-9);
Assert.AreEqual(35.973702735, t.Equation, 1e-9);
}
[TestMethod]
public void Mercury_D1000_EquationIsNegative()
{
var p = new SighraProfile {
Id = "SS_TEXT_II_36_42",
EvenCircumference = 133.0,
OddCircumference = 132.0
};
var t = CalculateTextualSighra(
265.602654589,
132.318044334,
p);
Assert.AreEqual(226.715389745, t.Kendra, 1e-9);
Assert.AreEqual(-19.674288237, t.Equation, 1e-9);
}
Boundary tests
- K = 0° এবং 180° → equation 0;
- K = 90° → positive; K = 270° → negative, magnitude সমান;
- K = 89.999999° ও 90.000001° → karṇa continuous;
- K = 179.999999° ও 180.000001° → sign বদলালেও magnitude continuous;
- K = 359.999999° ও 0.000001° → normalized output continuous;
- Even/odd limits সমান দিলে dynamic profile fixed profile-এ নেমে আসে;
- Karṇa সব valid input-এ positive ও finite;
- Reduced bhujā 0–3438 সীমায় থাকে।
সাধারণ ভুল ও তাদের লক্ষণ
| ভুল | লক্ষণ | সমাধান |
|---|---|---|
| সব গ্রহে Sun − planet | Mercury/Venus anomaly ভুল | Base/reference resolver ব্যবহার করুন |
| Bhujā দিয়েই equation | Large systematic error | Koṭi, adjusted radius ও karṇa অন্তর্ভুক্ত করুন |
| Koṭi সব সময় যোগ | Quadrant II/III ভুল | Cosine sign বা explicit radius rule |
| Unsigned inverse-jyā | দ্বিতীয় অর্ধচক্রে correction উল্টো | sin(K)-এর sign ফিরিয়ে দিন |
| 235/232-এর বদলে 233.5 silently | Textual fixture মেলে না | Profile ID ও constants log করুন |
| Mercury 131.5-কে textual average বলা | Source audit ব্যর্থ | Reference-code profile আলাদা রাখুন |
| প্রথম equation পূর্ণ প্রয়োগ | Four-operation pipeline বিচ্যুত | Operation 1-এ Eₛ/2 |
| First corrected position-কে final বলা | Published longitude ভুল label | Stage metadata রাখুন |
| Degree/radian mix | Equation অস্বাভাবিক ছোট/বড় | API name-এ unit লিখুন |
Production trace-এ যা রাখবেন
- profile ID ও source edition;
- planet, operation number এবং half/full flag;
- base longitude ও śīghra reference;
- normalized kendra ও quadrant;
- bhujā/koṭi arcs এবং jyā values;
- even, odd ও rectified circumference;
- bhujā-phala, koṭi-phala, adjusted radius ও karṇa;
- equation magnitude, sign ও applied correction;
- input/output longitudes raw precision-এ।
Production Checklist
- Inferior/superior reference mapping unit-tested?
- Anomaly orientation documented?
- 0°–360° normalization এক জায়গায়?
- Jyā table ও inverse interpolation একই profile-এর?
- Even/odd limits source-সহ versioned?
- Mercury 131.5 discrepancy label করা?
- Koṭi sign radius-এ সঠিক?
- Karṇa zero/NaN guard আছে?
- First operation-এ half equation?
- Fourth operation-এ recomputed full equation?
- Textual ও reference fixtures আলাদা?
- Intermediate trace export করা যায়?
- ModernFit Sankranti correction এই planetary layer থেকে বিচ্ছিন্ন?
উপসংহার
Śīghra correction পাঁচ গ্রহের true-place calculation-এর fast inequality। এর শুরু śīghrocca ও base planet-এর difference থেকে, কিন্তু ফল শুধু sine-এর উপর নির্ভর করে না। Epicycle circumference bhujā ও koṭi component তৈরি করে; koṭi radius-কে বদলায়; bhujā ও পরিবর্তিত radius মিলে karṇa হয়; এবং karṇa-scaled bhujā থেকে final signed equation আসে।
Algorithm reconstruction-এর সবচেয়ে গুরুত্বপূর্ণ শিক্ষা হলো model profile আলাদা রাখা। মূল পাঠের dynamic circumference ও tabular jyā procedure, এবং pancanga3.14-এর fixed circumference ও direct trigonometry—দুটিই reproducible, কিন্তু একই calculation নয়। প্রকাশিত ফলের সঙ্গে profile ID ও trace থাকলে পার্থক্যটি গবেষণাযোগ্য হয়।
পরবর্তী প্রবন্ধে True Planet Pipeline দেখানো হবে—প্রথম śīghra অর্ধ-সংশোধন, manda অর্ধ-সংশোধন, পুনর্গণিত পূর্ণ manda এবং শেষ পূর্ণ śīghra operation জুড়ে কীভাবে Mars, Mercury, Jupiter, Venus ও Saturn-এর final true longitude পাওয়া যায়।
প্রাথমিক পাঠ ও তথ্যসূত্র
- Ebenezer Burgess, Translation of the Sûrya-Siddhânta: A Text-book of Hindu Astronomy, 1858/1860; Chapter II-এর true-place rules ও explanatory notes।
- Sūrya Siddhānta, Chapter II—Sanskrit verse ledger; śīghra/manda concepts, jyā ও operation sequence।
- Sūrya Siddhānta II.26–30; kendra, quadrant, bhujā ও koṭi।
- Sūrya Siddhānta II.31–35; jyā interpolation, inverse arc ও epicycle context।
- Sūrya Siddhānta II.36–40; śīghra circumference, bhujā/koṭi-phala ও adjusted radius।
- Sūrya Siddhānta II.41–45; karṇa, śīghra-phala, four operations ও sign rule।
- Yano–Fushimi
pancanga3.14source;get_sighra_equation,PlanetCircumsএবংget_true_long-এর executable reference।
পাঠকের কণ্ঠ
প্রশ্ন ও আলোচনা 0
যেকোনো মন্তব্য বা উত্তরে আবার উত্তর দিন। প্রতিটি উত্তর তার মূল আলোচনার সঙ্গে থাকবে।
আলোচনাটি আপনিই শুরু করুন
এই প্রবন্ধ নিয়ে আপনার প্রশ্ন বা মতামত লিখুন।
আলোচনায় যোগ দিন
আপনার প্রশ্ন বা মতামত