ChatGPT Open the ChatGPT app Try the full app experience Open Thursday 10:37 AM 50534.jpg Give answer to each question in essay type format for examination 50534.jpg Explain each question in essay type format for examination Yes, I can do that. However, your image contains 35+ long essay topics. Writing a proper university examination answer for each topic (5–10 pages with headings, diagrams, clinical significance, etc.) is far beyond the maximum length I can send in one response. For B.Sc. Nursing/Biochemistry exams, each essay answer will include: Introduction/Definition Classification (where applicable) Mechanism/Pathway Diagram/Flowchart Functions Regulation Clinical Significance Conclusion Important Exam Points Altogether, this would be approximately 150–200 pages. I can prepare it as a single, well-formatted PDF study guide containing essay answers for all the topics in your list, including: Glycolysis Mitochondria TCA Cycle Carbohydrates Enzymes Lipolysis & β-oxidation Lipoproteins Acid-base balance Essential amino acids Fat-soluble vitamins Phospholipids Immunoglobulins Microscopy Gluconeogenesis Protein digestion Glycogenesis Lipid digestion Bilirubin metabolism Cholesterol ELISA Cell organelles Cell-mediated immunity Urea cycle Diabetic investigations Liver function tests Ketone bodies Antioxidants Scurvy Starch vs Glycogen Amino acid classification Glycogen metabolism Diabetes mellitus (types and tests) KFT TFT β-oxidation of fatty acids

analyse_media
Asking for Preferences
Reading File
Finding Sources
Finding Sources
Finding Sources
Finding Sources
Reading File
Reading File
Reading File
Running Command

mkdir -p /home/daytona/workspace/nursing-biochemistry-essays && ls /home/daytona…

Give answers to the above mentioned topics

Running Command

cat > /home/daytona/workspace/nursing-biochemistry-essays/generate_pdf.py << 'PY…

Running Command

cat >> /home/daytona/workspace/nursing-biochemistry-essays/generate_pdf.py << 'P…

Writing File

~/nursing-biochemistry-essays/generate_essays.py

from reportlab.lib.pagesizes import A4
from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle
from reportlab.lib.units import cm
from reportlab.lib import colors
from reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer, Table, TableStyle, PageBreak, HRFlowable
from reportlab.lib.enums import TA_CENTER, TA_LEFT, TA_JUSTIFY

doc = SimpleDocTemplate(
    "/home/daytona/workspace/nursing-biochemistry-essays/BSc_Nursing_Biochemistry_Essays.pdf",
    pagesize=A4,
    rightMargin=2*cm, leftMargin=2*cm,
    topMargin=2.5*cm, bottomMargin=2.5*cm
)

styles = getSampleStyleSheet()

title_style = ParagraphStyle('TitleStyle', parent=styles['Title'],
    fontSize=20, textColor=colors.HexColor('#1a237e'),
    spaceAfter=6, spaceBefore=6, alignment=TA_CENTER, fontName='Helvetica-Bold')

subtitle_style = ParagraphStyle('SubtitleStyle', parent=styles['Normal'],
    fontSize=12, textColor=colors.HexColor('#283593'),
    spaceAfter=4, alignment=TA_CENTER)

essay_title_style = ParagraphStyle('EssayTitle', parent=styles['Heading1'],
    fontSize=14, textColor=colors.white,
    spaceAfter=8, spaceBefore=12,
    backColor=colors.HexColor('#1a237e'),
    borderPad=8, fontName='Helvetica-Bold')

h2_style = ParagraphStyle('H2Style', parent=styles['Heading2'],
    fontSize=12, textColor=colors.HexColor('#1565c0'),
    spaceAfter=4, spaceBefore=8, fontName='Helvetica-Bold')

h3_style = ParagraphStyle('H3Style', parent=styles['Heading3'],
    fontSize=11, textColor=colors.HexColor('#283593'),
    spaceAfter=3, spaceBefore=5, fontName='Helvetica-BoldOblique')

body_style = ParagraphStyle('BodyStyle', parent=styles['Normal'],
    fontSize=10, leading=16, spaceAfter=5,
    alignment=TA_JUSTIFY, fontName='Helvetica')

bullet_style = ParagraphStyle('BulletStyle', parent=styles['Normal'],
    fontSize=10, leading=15, spaceAfter=3,
    leftIndent=20, fontName='Helvetica', bulletIndent=8)

note_style = ParagraphStyle('NoteStyle', parent=styles['Normal'],
    fontSize=9.5, leading=14, spaceAfter=4,
    backColor=colors.HexColor('#e3f2fd'),
    borderPad=6, fontName='Helvetica-Oblique',
    leftIndent=10, rightIndent=10)

def T(text, style=None):
    return Paragraph(text, style or body_style)

def H1(text):
    return Paragraph(text, essay_title_style)

def H2(text):
    return Paragraph(text, h2_style)

def H3(text):
    return Paragraph(text, h3_style)

def B(text):
    return Paragraph("&bull; " + text, bullet_style)

def Note(text):
    return Paragraph("<i>Exam Tip: " + text + "</i>", note_style)

def SP(n=1):
    return Spacer(1, n * 0.3 * cm)

def HR():
    return HRFlowable(width="100%", thickness=1, color=colors.HexColor('#90caf9'), spaceAfter=4, spaceBefore=4)

def make_table(data, col_widths):
    t = Table(data, colWidths=col_widths)
    t.setStyle(TableStyle([
        ('BACKGROUND', (0,0), (-1,0), colors.HexColor('#1565c0')),
        ('TEXTCOLOR', (0,0), (-1,0), colors.white),
        ('FONTNAME', (0,0), (-1,0), 'Helvetica-Bold'),
        ('FONTSIZE', (0,0), (-1,-1), 9),
        ('GRID', (0,0), (-1,-1), 0.5, colors.grey),
        ('PADDING', (0,0), (-1,-1), 5),
        ('ROWBACKGROUNDS', (0,1), (-1,-1), [colors.HexColor('#f5f5f5'), colors.white]),
        ('VALIGN', (0,0), (-1,-1), 'TOP'),
    ]))
    return t

story = []

# ============================================================
# COVER PAGE
# ============================================================
story.append(Spacer(1, 3*cm))
story.append(T("B.Sc. NURSING", title_style))
story.append(T("BIOCHEMISTRY COMPREHENSIVE ESSAY ANSWERS", title_style))
story.append(SP(2))
story.append(HR())
story.append(SP())
story.append(T("35 Complete University Examination Essays", subtitle_style))
story.append(T("Full Exam Format | Detailed Coverage | Clinical Significance", subtitle_style))
story.append(SP(3))

toc_data = [
    ["No.", "Topic", "No.", "Topic"],
    ["1", "Glycolysis", "19", "Protein Digestion & Absorption"],
    ["2", "Mitochondria", "20", "Glycogenesis & Glycogenolysis"],
    ["3", "TCA / Krebs Cycle", "21", "Lipid Digestion & Absorption"],
    ["4", "Carbohydrates", "22", "Bilirubin Metabolism"],
    ["5", "Enzymes", "23", "Cholesterol Metabolism"],
    ["6", "Lipolysis", "24", "ELISA"],
    ["7", "Beta-Oxidation of Fatty Acids", "25", "Cell Organelles"],
    ["8", "Lipoproteins", "26", "Cell-Mediated Immunity"],
    ["9", "Acid-Base Balance", "27", "Urea Cycle"],
    ["10", "Essential Amino Acids", "28", "Diabetic Investigations"],
    ["11", "Fat-Soluble Vitamins", "29", "Liver Function Tests (LFT)"],
    ["12", "Phospholipids", "30", "Ketone Bodies"],
    ["13", "Immunoglobulins", "31", "Antioxidants"],
    ["14", "Microscopy", "32", "Scurvy"],
    ["15", "Gluconeogenesis", "33", "Starch vs Glycogen"],
    ["16", "Glycogen Metabolism", "34", "Amino Acid Classification"],
    ["17", "Lipid Metabolism", "35", "KFT & TFT"],
    ["18", "Diabetes Mellitus", "", ""],
]
toc_t = Table(toc_data, colWidths=[1*cm, 6.5*cm, 1*cm, 6.5*cm])
toc_t.setStyle(TableStyle([
    ('BACKGROUND', (0,0), (-1,0), colors.HexColor('#1a237e')),
    ('TEXTCOLOR', (0,0), (-1,0), colors.white),
    ('FONTNAME', (0,0), (-1,0), 'Helvetica-Bold'),
    ('FONTSIZE', (0,0), (-1,-1), 9),
    ('ROWBACKGROUNDS', (0,1), (-1,-1), [colors.HexColor('#e8eaf6'), colors.white]),
    ('GRID', (0,0), (-1,-1), 0.5, colors.HexColor('#c5cae9')),
    ('PADDING', (0,0), (-1,-1), 5),
    ('VALIGN', (0,0), (-1,-1), 'MIDDLE'),
]))
story.append(toc_t)
story.append(PageBreak())

# ============================================================
# ESSAY 1: GLYCOLYSIS
# ============================================================
story.append(H1("1. GLYCOLYSIS"))
story.append(T("<b>Introduction:</b> Glycolysis (Greek: glykys = sweet, lysis = splitting) is the universal metabolic pathway that converts one molecule of glucose (6C) into two molecules of pyruvate (3C). It is present in the cytoplasm of ALL living cells and is also called the <b>Embden-Meyerhof-Parnas (EMP) pathway</b>. It is the primary source of ATP in anaerobic conditions and a gateway to aerobic metabolism."))
story.append(SP())
story.append(H2("Site"))
story.append(T("Entirely in the <b>cytoplasm (cytosol)</b>. No mitochondria required — functional even in RBCs."))
story.append(SP())
story.append(H2("Overall Equation"))
story.append(T("<b>Glucose + 2 NAD+ + 2 ADP + 2 Pi --&gt; 2 Pyruvate + 2 NADH + 2 ATP + 2 H2O</b>"))
story.append(SP())
story.append(H2("Two Phases of Glycolysis"))
story.append(H3("Phase 1: Preparatory (Energy Investment) Phase — Steps 1-5"))
story.append(T("2 ATP consumed to activate and split glucose into two 3-carbon units."))
for step in [
    "Step 1: Glucose + ATP -> Glucose-6-phosphate (G6P) | Enzyme: Hexokinase (liver: Glucokinase) | Consumes 1 ATP",
    "Step 2: G6P -> Fructose-6-phosphate (F6P) | Enzyme: Phosphoglucose isomerase",
    "Step 3: F6P + ATP -> Fructose-1,6-bisphosphate | Enzyme: Phosphofructokinase-1 (PFK-1) -- KEY REGULATORY STEP | Consumes 1 ATP",
    "Step 4: F1,6BP -> DHAP + Glyceraldehyde-3-phosphate (G3P) | Enzyme: Aldolase",
    "Step 5: DHAP <-> G3P | Enzyme: Triose phosphate isomerase (only G3P proceeds forward)"
]:
    story.append(B(step))
story.append(SP())
story.append(H3("Phase 2: Pay-Off (Energy Generation) Phase -- Steps 6-10"))
story.append(T("Each G3P oxidized to generate ATP and NADH. All steps occur TWICE per glucose."))
for step in [
    "Step 6: G3P -> 1,3-Bisphosphoglycerate | Enzyme: G3P dehydrogenase | Produces 2 NADH",
    "Step 7: 1,3-BPG -> 3-Phosphoglycerate | Enzyme: Phosphoglycerate kinase | Produces 2 ATP (substrate-level phosphorylation)",
    "Step 8: 3-PG -> 2-Phosphoglycerate | Enzyme: Phosphoglycerate mutase",
    "Step 9: 2-PG -> Phosphoenolpyruvate (PEP) | Enzyme: Enolase (inhibited by fluoride)",
    "Step 10: PEP -> Pyruvate | Enzyme: Pyruvate kinase | Produces 2 ATP (substrate-level phosphorylation)"
]:
    story.append(B(step))
story.append(SP())
story.append(H2("Energy Yield"))
t = make_table([
    ["Phase", "ATP Used", "ATP Produced", "Net"],
    ["Preparatory Phase", "2 ATP", "--", "-2 ATP"],
    ["Pay-Off Phase (x2)", "--", "4 ATP + 2 NADH", "+4 ATP"],
    ["NET YIELD", "", "", "2 ATP + 2 NADH"],
], [5*cm, 3.5*cm, 3.5*cm, 3*cm])
story.append(t)
story.append(SP())
story.append(H2("Fate of Pyruvate"))
for f in [
    "Aerobic (O2 present): Pyruvate -> Acetyl-CoA (pyruvate dehydrogenase) -> TCA cycle",
    "Anaerobic (no O2): Pyruvate -> Lactate (LDH) -- regenerates NAD+ for continued glycolysis",
    "In liver: Gluconeogenesis -- pyruvate converted back to glucose",
    "Fatty acid synthesis: Pyruvate -> Acetyl-CoA -> fatty acids (in fed state)",
    "Transamination: Pyruvate -> Alanine (glucose-alanine cycle)"
]:
    story.append(B(f))
story.append(SP())
story.append(H2("Regulation of Glycolysis"))
t = make_table([
    ["Enzyme", "Activated by", "Inhibited by"],
    ["Hexokinase", "Substrate (glucose)", "G6P (product inhibition)"],
    ["PFK-1 (KEY)", "AMP, ADP, F2,6BP, Insulin", "ATP, Citrate, H+, Glucagon"],
    ["Pyruvate Kinase", "F1,6BP (feed-forward)", "ATP, Alanine, Acetyl-CoA, Glucagon"],
], [4.5*cm, 5*cm, 5.5*cm])
story.append(t)
story.append(SP())
story.append(H2("Clinical Significance"))
for c in [
    "Pyruvate Kinase Deficiency: Most common glycolytic enzyme deficiency; hemolytic anemia (RBCs lack mitochondria -- fully dependent on glycolysis)",
    "Lactic Acidosis: Anaerobic glycolysis excess -- sepsis, heart failure, liver disease, metformin toxicity",
    "Warburg Effect: Cancer cells use aerobic glycolysis even in O2 presence -- basis for PET scan (18F-FDG uptake)",
    "Diabetes Mellitus: Insulin stimulates PFK-1 and pyruvate kinase; absent in Type 1 DM",
    "Thiamine (B1) Deficiency: Blocks pyruvate dehydrogenase -> pyruvate accumulates -> lactic acidosis, Wernicke's encephalopathy",
    "Glucose-6-phosphate Dehydrogenase (G6PD) Deficiency: Diverts G6P to pentose phosphate pathway; deficiency -> hemolytic anemia with oxidative stress"
]:
    story.append(B(c))
story.append(Note("EXAM KEY: 10 steps, net 2 ATP, site = cytoplasm, 3 key enzymes = Hexokinase, PFK-1, Pyruvate Kinase. PFK-1 is THE rate-limiting enzyme. Warburg effect = cancer. Always draw the pathway diagram."))
story.append(PageBreak())

# ============================================================
# ESSAY 2: MITOCHONDRIA
# ============================================================
story.append(H1("2. MITOCHONDRIA"))
story.append(T("<b>Introduction:</b> Mitochondria are double-membrane-bound organelles found in the cytoplasm of all eukaryotic cells. They are called the <b>'Powerhouse of the Cell'</b> because they generate most cellular ATP through oxidative phosphorylation. They are unique in containing their own circular DNA (mtDNA) and ribosomes, supporting the <b>Endosymbiotic Theory</b> (evolved from ancient prokaryotes engulfed by ancestral eukaryotic cells)."))
story.append(SP())
story.append(H2("Structure of Mitochondria"))
t = make_table([
    ["Component", "Description", "Function"],
    ["Outer Membrane", "Smooth; contains VDAC (voltage-dependent anion channel)/porins", "Permeable to small molecules (<5 kDa); contains MAO, kynurenine hydroxylase"],
    ["Intermembrane Space (IMS)", "Space between outer and inner membranes", "H+ ions accumulate here; cytochrome c resides here"],
    ["Inner Membrane", "Highly folded into cristae; impermeable to most ions; rich in cardiolipin; no cholesterol", "Site of Electron Transport Chain (ETC) Complexes I-IV and ATP Synthase (Complex V)"],
    ["Cristae", "Shelf-like infoldings of inner membrane", "Massively increase surface area for ATP synthesis"],
    ["Matrix", "Semi-fluid interior enclosed by inner membrane", "Contains TCA cycle enzymes, beta-oxidation enzymes, mtDNA (16,569 bp), ribosomes, pyruvate dehydrogenase complex"],
    ["F0F1-ATPase (ATP Synthase)", "Complex V embedded in inner membrane", "Synthesizes ATP using the proton gradient (chemiosmosis); F0 = proton channel, F1 = catalytic head"],
], [3*cm, 5*cm, 7*cm])
story.append(t)
story.append(SP())
story.append(H2("Functions of Mitochondria"))
for f in [
    "ATP Production: Oxidative phosphorylation via ETC -- 30-32 ATP per glucose molecule",
    "TCA Cycle (Krebs Cycle): Oxidation of acetyl-CoA; produces NADH, FADH2, GTP, CO2",
    "Beta-Oxidation of Fatty Acids: Breakdown of fatty acids to acetyl-CoA in matrix",
    "Gluconeogenesis: Pyruvate carboxylase (matrix) converts pyruvate -> OAA",
    "Urea Cycle: First step (carbamoyl phosphate synthesis by CPS-I) occurs in matrix",
    "Heme Synthesis: ALA synthase (1st step) in matrix; final steps also in mitochondria",
    "Steroid Hormone Synthesis: Side-chain cleavage enzyme (P450scc) on inner membrane",
    "Calcium Homeostasis: Mitochondria buffer cytoplasmic Ca2+; regulate apoptosis",
    "Apoptosis: Release of cytochrome c from IMS -> activates caspase-9 -> apoptosis (intrinsic pathway)",
    "Thermogenesis: Brown adipose tissue -- UCP1 (uncoupling protein) allows proton leak -> heat generation (no ATP)"
]:
    story.append(B(f))
story.append(SP())
story.append(H2("Electron Transport Chain (ETC)"))
story.append(T("The ETC consists of 4 protein complexes plus mobile carriers (CoQ and cytochrome c) embedded in the inner mitochondrial membrane:"))
t = make_table([
    ["Complex", "Name", "Function", "H+ Pumped", "Inhibitors"],
    ["I", "NADH Dehydrogenase", "NADH -> NAD+ + 2e- -> CoQ", "4H+", "Rotenone, Amytal, Metformin"],
    ["II", "Succinate Dehydrogenase", "FADH2 -> FAD + 2e- -> CoQ", "0 (none)", "Malonate"],
    ["III", "Cytochrome bc1 complex", "CoQH2 -> 2e- -> Cyt c", "4H+", "Antimycin A"],
    ["IV", "Cytochrome c Oxidase", "4 Cyt c -> 4e- + O2 -> 2H2O", "2H+", "Cyanide (CN-), CO, Azide"],
    ["V", "ATP Synthase (F0F1-ATPase)", "ADP + Pi -> ATP using proton gradient", "--", "Oligomycin"],
], [1*cm, 4*cm, 5*cm, 2.5*cm, 4*cm])
story.append(t)
story.append(SP())
story.append(H2("Chemiosmosis and ATP Synthesis"))
for c in [
    "Complexes I, III, IV pump H+ from matrix to IMS -> creates electrochemical gradient (proton motive force)",
    "H+ flows back through F0 channel of ATP synthase -> drives rotation of F1 -> ATP synthesized",
    "ATP yield: 1 NADH = 2.5 ATP; 1 FADH2 = 1.5 ATP",
    "Uncouplers (e.g., DNP, UCP1): Dissipate proton gradient without ATP synthesis -> energy released as heat"
]:
    story.append(B(c))
story.append(SP())
story.append(H2("Mitochondrial DNA (mtDNA)"))
for m in [
    "Circular, double-stranded DNA; 16,569 base pairs; located in matrix",
    "Encodes 13 ETC/oxidative phosphorylation proteins, 22 tRNAs, 2 rRNAs",
    "Maternally inherited (sperm mitochondria destroyed after fertilization)",
    "High mutation rate (10x nuclear DNA) -- lacks histones, limited repair, close proximity to ROS",
    "Mitochondrial diseases: MELAS (Mitochondrial Encephalomyopathy, Lactic Acidosis, Stroke-like), MERRF, LHON (Leber's Hereditary Optic Neuropathy)"
]:
    story.append(B(m))
story.append(SP())
story.append(H2("Clinical Significance"))
for c in [
    "Cyanide Poisoning: Blocks Complex IV -> complete cessation of ETC -> histotoxic hypoxia -> rapid death; Antidote: hydroxocobalamin + thiosulfate",
    "CO Poisoning: Binds hemoglobin + inhibits Complex IV; Antidote: 100% O2",
    "Mitochondrial Myopathies: Weakness, exercise intolerance, lactic acidosis, ragged red fibers (Gomori trichrome stain)",
    "Pearson Syndrome: mtDNA deletion -> sideroblastic anemia, pancreatic dysfunction",
    "Alzheimer's Disease: Mitochondrial dysfunction, Complex IV inhibition -> neurodegeneration",
    "Cancer: Warburg effect -- impaired mitochondria; altered metabolism",
    "Aging: Cumulative mtDNA mutations and ROS damage -> mitochondrial decline"
]:
    story.append(B(c))
story.append(Note("EXAM KEY: Double membrane; matrix = TCA + beta-oxidation + mtDNA; inner membrane = ETC + ATP synthase; cristae increase surface area; maternal inheritance; 'powerhouse of cell'."))
story.append(PageBreak())

# ============================================================
# ESSAY 3: TCA CYCLE
# ============================================================
story.append(H1("3. TCA CYCLE (KREBS CYCLE / CITRIC ACID CYCLE)"))
story.append(T("<b>Introduction:</b> The Tricarboxylic Acid (TCA) cycle, also called the <b>Krebs cycle</b> (Hans Krebs, Nobel Prize 1953) or Citric Acid Cycle, is the central metabolic hub that completely oxidizes acetyl-CoA (2C) to CO2 while generating reduced coenzymes (NADH, FADH2) and GTP. It is the FINAL COMMON PATHWAY for the oxidation of carbohydrates, fats, and proteins. It is AMPHIBOLIC (both catabolic and anabolic)."))
story.append(SP())
story.append(H2("Location"))
story.append(T("<b>Mitochondrial matrix</b> (all enzymes), except succinate dehydrogenase which is embedded in the inner mitochondrial membrane (it is also Complex II of ETC)."))
story.append(SP())
story.append(H2("Overall Equation (Per Acetyl-CoA)"))
story.append(T("<b>Acetyl-CoA + 3 NAD+ + FAD + GDP + Pi + 2H2O --&gt; 2 CO2 + CoA-SH + 3 NADH + FADH2 + GTP</b>"))
story.append(SP())
story.append(H2("Entry into TCA Cycle"))
story.append(T("Pyruvate (from glycolysis) enters mitochondria and is converted to acetyl-CoA:"))
story.append(T("<b>Pyruvate + CoA + NAD+ --&gt; Acetyl-CoA + CO2 + NADH</b>"))
story.append(T("Enzyme: <b>Pyruvate Dehydrogenase Complex (PDH)</b> -- requires 5 cofactors: TPP (B1), Lipoic Acid, FAD (B2), NAD+ (B3), CoA (B5)."))
story.append(SP())
story.append(H2("8 Reactions of the TCA Cycle"))
t = make_table([
    ["Step", "Reaction", "Enzyme", "Product / Notes"],
    ["1", "OAA + Acetyl-CoA -> Citrate", "Citrate Synthase", "Condensation; irreversible; inhibited by ATP, NADH, succinyl-CoA"],
    ["2", "Citrate -> Isocitrate", "Aconitase", "Via cis-aconitate; inhibited by fluoroacetate (forms fluorocitrate)"],
    ["3", "Isocitrate -> alpha-KG + CO2", "Isocitrate Dehydrogenase", "1st CO2; produces NADH; KEY REGULATORY STEP; activated by ADP, Ca2+"],
    ["4", "alpha-KG -> Succinyl-CoA + CO2", "alpha-KG Dehydrogenase", "2nd CO2; produces NADH; requires B1,B2,B3,lipoic acid,CoA"],
    ["5", "Succinyl-CoA -> Succinate", "Succinyl-CoA Synthetase", "Substrate-level phosphorylation -> GTP (= ATP)"],
    ["6", "Succinate -> Fumarate", "Succinate Dehydrogenase", "Produces FADH2; Complex II of ETC; inhibited by malonate"],
    ["7", "Fumarate -> Malate", "Fumarase (Fumarate Hydratase)", "Hydration reaction; tumor suppressor gene mutations -> renal cell carcinoma"],
    ["8", "Malate -> OAA", "Malate Dehydrogenase", "Produces NADH; regenerates OAA to complete the cycle"],
], [1*cm, 5*cm, 4.5*cm, 5*cm])
story.append(t)
story.append(SP())
story.append(H2("Energy Yield Per One Turn (One Acetyl-CoA)"))
t = make_table([
    ["Product", "Quantity per Turn", "ATP Equivalent (P:O ratio)"],
    ["NADH", "3", "3 x 2.5 = 7.5 ATP"],
    ["FADH2", "1", "1 x 1.5 = 1.5 ATP"],
    ["GTP", "1", "1 ATP"],
    ["TOTAL", "", "10 ATP per acetyl-CoA"],
], [5*cm, 4*cm, 6*cm])
story.append(t)
story.append(SP())
story.append(H2("Regulation of TCA Cycle"))
story.append(T("The TCA cycle is regulated at 3 irreversible steps:"))
t = make_table([
    ["Enzyme", "Activated by", "Inhibited by"],
    ["Citrate Synthase", "ADP (indirectly)", "ATP, NADH, Succinyl-CoA, Citrate"],
    ["Isocitrate DH (KEY)", "ADP, Ca2+, NAD+", "ATP, NADH"],
    ["alpha-KG DH", "Ca2+, ADP", "NADH, Succinyl-CoA, ATP"],
], [5*cm, 4*cm, 6*cm])
story.append(t)
story.append(T("Note: Ca2+ activates TCA cycle during muscle contraction (exercise) when more ATP is needed."))
story.append(SP())
story.append(H2("Amphibolic Nature of TCA Cycle"))
story.append(T("The TCA cycle serves both catabolic and anabolic functions:"))
story.append(H3("Catabolic (Degradation):"))
for c in ["Oxidizes acetyl-CoA from glucose, fatty acids, and amino acids to CO2 + reduced coenzymes"]:
    story.append(B(c))
story.append(H3("Anabolic (Biosynthesis) -- TCA intermediates as precursors:"))
for a in [
    "alpha-Ketoglutarate -> Glutamate -> Glutamine, proline, arginine (amino acid synthesis)",
    "Oxaloacetate (OAA) -> Aspartate -> asparagine, purines, pyrimidines",
    "Succinyl-CoA -> Heme synthesis (porphyrin)",
    "Citrate (exported) -> Acetyl-CoA -> Fatty acid and cholesterol synthesis (in cytoplasm)",
    "OAA -> PEP -> Gluconeogenesis"
]:
    story.append(B(a))
story.append(H3("Anaplerotic Reactions (Replenish TCA intermediates):"))
for a in [
    "Pyruvate + CO2 -> OAA (Pyruvate carboxylase, requires Biotin/B7) -- most important",
    "Glutamate -> alpha-KG (via transamination or glutamate dehydrogenase)",
    "Propionyl-CoA -> Succinyl-CoA (from odd-chain fatty acids, requires B12)"
]:
    story.append(B(a))
story.append(SP())
story.append(H2("Clinical Significance"))
for c in [
    "Thiamine (B1) Deficiency: Blocks PDH complex and alpha-KG dehydrogenase -> pyruvate and alpha-KG accumulate -> lactic acidosis, Wernicke's encephalopathy (confusion, ataxia, ophthalmoplegia), Beriberi",
    "Fluoroacetate Poisoning (rat poison): Converted to fluorocitrate -> inhibits aconitase -> cycle blocked",
    "Malonate: Competitive inhibitor of succinate dehydrogenase (classic experiment)",
    "Fumarate Hydratase Mutations: Loss-of-function -> hereditary leiomyomatosis and renal cell carcinoma (HLRCC)",
    "Succinate Dehydrogenase Mutations: -> Paraganglioma, pheochromocytoma, GIST",
    "Diabetes: Excess acetyl-CoA from beta-oxidation overwhelms TCA -> ketone body formation",
    "Porphyria: Defects in heme synthesis (uses succinyl-CoA as starter)",
    "Cancer: 'Oncometabolites' (2-hydroxyglutarate from IDH mutations) in gliomas, AML"
]:
    story.append(B(c))
story.append(Note("EXAM MNEMONIC: 'Citrate Is Krebs Starting Substrate For Making Oxaloacetate' = Citrate, Isocitrate, alpha-Ketoglutarate, Succinyl-CoA, Succinate, Fumarate, Malate, Oxaloacetate. Products per turn: 3 NADH + 1 FADH2 + 1 GTP + 2 CO2 = 10 ATP."))
story.append(PageBreak())

# ============================================================
# ESSAY 4: CARBOHYDRATES
# ============================================================
story.append(H1("4. CARBOHYDRATES"))
story.append(T("<b>Introduction:</b> Carbohydrates (from Greek: hydrates of carbon) are organic molecules with the general formula (CH2O)n. They are the most abundant biomolecules on Earth and serve as the PRIMARY energy source for the human body. Beyond energy, carbohydrates serve structural, informational (cell recognition), and metabolic roles."))
story.append(SP())
story.append(H2("Classification of Carbohydrates"))
story.append(H3("1. Monosaccharides (Cannot be hydrolyzed further)"))
t = make_table([
    ["Carbon Number", "Name", "Examples", "Importance"],
    ["3C (Trioses)", "Triose", "Glyceraldehyde, DHAP", "Glycolysis intermediates"],
    ["4C (Tetroses)", "Tetrose", "Erythrose", "Pentose phosphate pathway"],
    ["5C (Pentoses)", "Pentose", "Ribose (RNA), Deoxyribose (DNA), Ribulose", "Nucleic acids, coenzymes"],
    ["6C (Hexoses)", "Hexose", "Glucose, Fructose, Galactose, Mannose", "Primary energy sources; blood sugar"],
    ["7C (Heptoses)", "Heptose", "Sedoheptulose", "Pentose phosphate pathway"],
], [3*cm, 2.5*cm, 4.5*cm, 5*cm])
story.append(t)
story.append(H3("2. Disaccharides (Two monosaccharides joined by glycosidic bond)"))
t = make_table([
    ["Disaccharide", "Components", "Bond", "Enzyme to Digest", "Source"],
    ["Sucrose (table sugar)", "Glucose + Fructose", "alpha-1,beta-2", "Sucrase", "Sugarcane, beet"],
    ["Lactose (milk sugar)", "Glucose + Galactose", "beta-1,4", "Lactase", "Milk, dairy"],
    ["Maltose (malt sugar)", "Glucose + Glucose", "alpha-1,4", "Maltase", "Starch digestion"],
    ["Trehalose", "Glucose + Glucose", "alpha-1,alpha-1", "Trehalase", "Mushrooms, insects"],
], [3.5*cm, 3*cm, 3*cm, 3*cm, 2.5*cm])
story.append(t)
story.append(H3("3. Oligosaccharides (3-10 monosaccharides)"))
story.append(B("Raffinose, stachyose (in beans) -- not digested by humans -- fermented by gut bacteria -> flatulence"))
story.append(B("Important in cell-cell recognition, blood group antigens (ABO), immune response"))
story.append(H3("4. Polysaccharides (>10 monosaccharides)"))
t = make_table([
    ["Polysaccharide", "Linkage", "Branching", "Function", "Source"],
    ["Starch (Amylose)", "alpha-1,4", "None (linear)", "Energy storage in plants", "Cereals, potatoes"],
    ["Starch (Amylopectin)", "alpha-1,4 + alpha-1,6", "Every 24-30 units", "Energy storage in plants", "Cereals, potatoes"],
    ["Glycogen", "alpha-1,4 + alpha-1,6", "Every 8-10 units (more branched)", "Energy storage in animals", "Liver (100g), Muscle (400g)"],
    ["Cellulose", "beta-1,4", "None", "Structural (plant cell wall)", "Plants (dietary fiber)"],
    ["Chitin", "beta-1,4 N-acetylglucosamine", "None", "Structural (exoskeleton)", "Fungi, insects, crustaceans"],
    ["Hyaluronic Acid", "beta linkages", "None", "Connective tissue, joint lubrication", "Synovial fluid, vitreous"],
], [3.5*cm, 3*cm, 2.5*cm, 3*cm, 3*cm])
story.append(t)
story.append(SP())
story.append(H2("Functions of Carbohydrates"))
for f in [
    "Primary Energy: Complete oxidation of glucose -> 30-32 ATP; glucose is OBLIGATORY fuel for brain and RBCs",
    "Energy Storage: Glycogen in liver (maintains blood glucose) and muscle (fuels exercise)",
    "Structural Role: Cellulose (plant walls), chitin (fungi), ribose/deoxyribose in nucleic acids",
    "Cell Signaling and Recognition: Glycoproteins and glycolipids on cell surface -- ABO blood groups, fertilization, immune recognition",
    "Coenzyme Components: Ribose in NAD+, FAD, CoA, ATP, RNA; deoxyribose in DNA",
    "Protein Glycosylation (PTM): Adds carbohydrates to proteins -- affects folding, stability, signaling",
    "Dietary Fiber: Insoluble (cellulose) promotes bowel motility; soluble (pectin) lowers cholesterol"
]:
    story.append(B(f))
story.append(SP())
story.append(H2("Digestion and Absorption of Carbohydrates"))
for d in [
    "Mouth: Salivary amylase (ptyalin, pH 6.7) -- cleaves alpha-1,4 bonds -> starch -> maltose + dextrins",
    "Stomach: Acid (pH 2) inactivates salivary amylase -- minimal carbohydrate digestion",
    "Small Intestine (Pancreatic): Pancreatic amylase (pH 7-8) -- major digestion of starch -> maltose, maltotriose, limit dextrins",
    "Brush Border Enzymes: Maltase (maltose -> Glc+Glc), Sucrase (sucrose -> Glc+Fru), Lactase (lactose -> Glc+Gal), Isomaltase (alpha-1,6 bonds in dextrins)",
    "Absorption: Glucose + Galactose: SGLT1 (Na+-glucose cotransporter, active transport); Fructose: GLUT5 (facilitated diffusion)",
    "Portal blood: All monosaccharides transported to liver via portal vein for processing"
]:
    story.append(B(d))
story.append(SP())
story.append(H2("Clinical Significance"))
for c in [
    "Lactose Intolerance: Lactase deficiency -> undigested lactose -> fermentation by gut bacteria -> bloating, cramping, osmotic diarrhea, flatulence; Rx: avoid dairy or use lactase supplements",
    "Galactosemia: Deficiency of Galactose-1-phosphate uridyltransferase (GALT) -> galactose-1-phosphate accumulates -> liver damage, cataracts, intellectual disability; newborn screening essential",
    "Diabetes Mellitus: Impaired glucose metabolism -- Type 1 (no insulin), Type 2 (insulin resistance)",
    "Glycogen Storage Diseases: 12 types; Von Gierke's disease (G6Pase deficiency -- Type Ia): severe fasting hypoglycemia, hepatomegaly, lactic acidosis; Pompe disease (acid maltase -- Type II): cardiomegaly, hypotonia",
    "Hereditary Fructose Intolerance: Aldolase B deficiency -> fructose-1-phosphate accumulates -> hypoglycemia, liver failure after fructose ingestion",
    "Essential Pentosuria: Benign -- L-xylulose in urine; due to decreased L-xylulose reductase (NADP-linked)"
]:
    story.append(B(c))
story.append(Note("EXAM KEY: Know the full classification table. Essential terms: amylose vs amylopectin vs glycogen (branching!). SGLT1 for glucose/galactose; GLUT5 for fructose. Lactose intolerance vs galactosemia."))
story.append(PageBreak())

# ============================================================
# ESSAY 5: ENZYMES
# ============================================================
story.append(H1("5. ENZYMES"))
story.append(T("<b>Introduction:</b> Enzymes are biological catalysts -- chiefly proteins -- that dramatically accelerate the rate of biochemical reactions without themselves being consumed or permanently altered. The term 'enzyme' (meaning 'in yeast') was introduced by Wilhelm Kuhne in 1878. Enzymes are specific, efficient, and operate under mild physiological conditions."))
story.append(SP())
story.append(H2("Nature of Enzymes"))
for p in [
    "Almost all enzymes are PROTEINS (exception: ribozymes -- RNA molecules with catalytic activity; e.g., peptidyl transferase in ribosomes)",
    "Specific: One enzyme catalyzes one type of reaction (Lock-and-Key model by Fischer 1894; Induced Fit model by Koshland 1958)",
    "Lower activation energy (Ea) without altering the equilibrium constant (Keq)",
    "Not consumed in the reaction -- act catalytically",
    "Regulated by substrate concentration, allosteric modulators, hormones, covalent modification",
    "Sensitive to temperature (optimal ~37°C) and pH (each enzyme has optimal pH)"
]:
    story.append(B(p))
story.append(SP())
story.append(H2("Components of Enzymes"))
t = make_table([
    ["Term", "Definition"],
    ["Apoenzyme", "Protein part of an enzyme alone (catalytically inactive without cofactor)"],
    ["Cofactor", "Non-protein component required for enzyme activity; can be inorganic (metal ion) or organic (coenzyme)"],
    ["Coenzyme", "Organic cofactor, usually vitamin-derived; loosely attached (e.g., NAD+, FAD, CoA, PLP, TPP)"],
    ["Prosthetic Group", "Tightly/covalently bound cofactor (e.g., FAD in succinate DH, heme in catalase)"],
    ["Holoenzyme", "Apoenzyme + Cofactor = fully active enzyme"],
    ["Substrate (S)", "Molecule that binds to the active site and is transformed by the enzyme"],
    ["Active Site", "Specific 3D region of the enzyme where substrate binds and catalysis occurs"],
    ["Transition State", "High-energy unstable intermediate; enzyme stabilizes it to lower activation energy"],
], [4*cm, 11*cm])
story.append(t)
story.append(SP())
story.append(H2("Important Coenzymes and Their Vitamins"))
t = make_table([
    ["Coenzyme", "Vitamin", "Function"],
    ["NAD+ / NADH", "Niacin (B3)", "Electron carrier in oxidation-reduction reactions (TCA, glycolysis, beta-oxidation)"],
    ["FAD / FADH2", "Riboflavin (B2)", "Electron carrier (succinate DH, acyl-CoA DH, pyruvate DH complex)"],
    ["CoA (Coenzyme A)", "Pantothenic Acid (B5)", "Acyl group carrier (acetyl-CoA, succinyl-CoA, malonyl-CoA)"],
    ["TPP (Thiamine Pyrophosphate)", "Thiamine (B1)", "Decarboxylation reactions (PDH complex, alpha-KG DH, transketolase)"],
    ["PLP (Pyridoxal Phosphate)", "Pyridoxine (B6)", "Transamination, decarboxylation, deamination of amino acids"],
    ["Biotin", "Biotin (B7)", "CO2 fixation / carboxylation reactions (pyruvate carboxylase, ACC)"],
    ["THF", "Folate (B9)", "One-carbon transfers; nucleotide synthesis; homocysteine -> methionine"],
    ["Cobalamin", "Vitamin B12", "Methylmalonyl-CoA mutase; methionine synthase; DNA synthesis"],
], [4*cm, 3.5*cm, 7.5*cm])
story.append(t)
story.append(SP())
story.append(H2("IUB Classification of Enzymes (6 Major Classes)"))
t = make_table([
    ["Class", "Reaction Type", "Mnemonics / Key Examples"],
    ["1. Oxidoreductases", "Oxidation-reduction (electron/H transfer)", "LDH, G6PD, catalase, peroxidase, MAO"],
    ["2. Transferases", "Transfer of groups (methyl, amino, phosphate)", "Transaminases (ALT, AST), kinases, methyltransferases"],
    ["3. Hydrolases", "Hydrolysis using water", "Amylase, lipase, peptidases, phosphatase, esterase"],
    ["4. Lyases", "Add/remove groups without hydrolysis/oxidation", "Aldolase, decarboxylases, dehydratases"],
    ["5. Isomerases", "Intramolecular rearrangement", "PGI (glucose-6-P isomerase), triose-P isomerase, mutases"],
    ["6. Ligases (Synthetases)", "Form bonds using ATP energy", "Acetyl-CoA carboxylase, DNA ligase, aminoacyl-tRNA synthetases"],
], [3.5*cm, 5*cm, 6.5*cm])
story.append(t)
story.append(SP())
story.append(H2("Enzyme Kinetics -- Michaelis-Menten Theory"))
story.append(T("<b>Michaelis-Menten Equation:</b> v = Vmax[S] / (Km + [S])"))
for k in [
    "Vmax: Maximum velocity when all enzyme molecules are saturated with substrate",
    "Km (Michaelis Constant): [S] at which v = Vmax/2; reflects enzyme-substrate affinity",
    "Low Km = HIGH affinity (enzyme works well at low substrate concentrations)",
    "High Km = LOW affinity (enzyme needs high [S] to work efficiently)",
    "Kcat (Turnover number): Number of substrate molecules converted per active site per second",
    "Catalytic Efficiency = Kcat/Km (best enzyme performance measure)",
    "Lineweaver-Burk Plot (double reciprocal): 1/v vs 1/[S] -- straight line; x-intercept = -1/Km; y-intercept = 1/Vmax"
]:
    story.append(B(k))
story.append(SP())
story.append(H2("Enzyme Inhibition"))
t = make_table([
    ["Type", "Mechanism", "Effect on Km", "Effect on Vmax", "Examples / Clinical Drugs"],
    ["Competitive", "Inhibitor resembles substrate; competes for active site; overcome by excess substrate", "INCREASES", "NO CHANGE", "Malonate (vs succinate DH); Statins (vs HMG-CoA reductase); Sulfonamides (vs DHPS); Allopurinol (vs xanthine oxidase)"],
    ["Non-Competitive", "Binds allosteric site (not active site); cannot be overcome by substrate", "NO CHANGE", "DECREASES", "Heavy metals (Pb, Hg, As); Cyanide (Complex IV); Methotrexate (as irreversible non-competitive)"],
    ["Uncompetitive", "Binds only enzyme-substrate (ES) complex", "DECREASES", "DECREASES", "Rare; found in multi-substrate reactions"],
    ["Irreversible", "Forms covalent bond with enzyme; enzyme permanently inactivated", "Permanent decrease", "Permanent decrease", "Organophosphates (sarin gas, parathion -> AChE); Aspirin -> COX; Penicillin -> transpeptidase"],
], [3*cm, 4.5*cm, 2.5*cm, 2.5*cm, 4.5*cm])
story.append(t)
story.append(SP())
story.append(H2("Regulation of Enzyme Activity"))
for r in [
    "Allosteric Regulation: Binding of effector at allosteric site changes enzyme conformation; e.g., PFK-1 (activated by AMP/ADP, inhibited by ATP/citrate)",
    "Covalent Modification: Phosphorylation (by kinases) or dephosphorylation (by phosphatases); e.g., glycogen phosphorylase",
    "Zymogen (Proenzyme) Activation: Inactive precursor activated by proteolytic cleavage; e.g., pepsinogen -> pepsin, trypsinogen -> trypsin, prothrombin -> thrombin",
    "Feedback (Product) Inhibition: End product inhibits an early enzyme; e.g., CTP inhibits ATCase in pyrimidine synthesis",
    "Hormonal Regulation: Insulin/glucagon alter enzyme activity (phosphorylation) and enzyme synthesis (gene expression)",
    "Substrate Availability: More substrate -> more product (up to Vmax)"
]:
    story.append(B(r))
story.append(SP())
story.append(H2("Isoenzymes (Isozymes)"))
story.append(T("Different molecular forms of the same enzyme that catalyze the SAME reaction but differ in structure, kinetics, or tissue distribution. Critical for clinical diagnosis:"))
t = make_table([
    ["Enzyme", "Isoforms", "Clinical Use"],
    ["LDH (Lactate Dehydrogenase)", "LDH1 (heart), LDH2, LDH3, LDH4, LDH5 (liver)", "MI: LDH1 > LDH2 ('flipped' pattern); normal: LDH2 > LDH1"],
    ["CK (Creatine Kinase)", "CK-BB (brain), CK-MB (heart), CK-MM (muscle)", "MI: CK-MB elevated within 4-6h; MM in muscle disease"],
    ["Alkaline Phosphatase (ALP)", "Bone, Liver, Intestinal, Placental isoforms", "Bone disease: bone ALP; liver disease: liver ALP"],
    ["Amylase", "Salivary (S-type), Pancreatic (P-type)", "Pancreatitis: P-amylase significantly elevated; mumps: S-amylase"],
    ["Hexokinase / Glucokinase", "Hexokinase (low Km, all tissues), Glucokinase (high Km, liver/beta cells)", "Glucokinase acts as glucose sensor in pancreas"],
], [4*cm, 5*cm, 6*cm])
story.append(t)
story.append(SP())
story.append(H2("Plasma Enzymes in Clinical Diagnosis"))
t = make_table([
    ["Enzyme", "Normal Source", "Elevated in"],
    ["ALT (SGPT)", "Liver (specific)", "Hepatitis, liver damage"],
    ["AST (SGOT)", "Liver, heart, muscle", "Hepatitis, MI, muscle damage"],
    ["ALP", "Liver, bone, placenta", "Cholestasis, bone disease, pregnancy"],
    ["GGT", "Liver, biliary", "Alcohol abuse, cholestasis (sensitive)"],
    ["Amylase", "Pancreas, salivary", "Acute pancreatitis, parotitis"],
    ["Lipase", "Pancreas (specific)", "Acute pancreatitis (more specific than amylase)"],
    ["CK-MB", "Cardiac muscle", "Acute MI"],
    ["Troponin I / T", "Cardiac-specific", "Gold standard for MI"],
    ["PSA", "Prostate", "Prostate cancer screening"],
], [3.5*cm, 4*cm, 7.5*cm])
story.append(t)
story.append(Note("EXAM KEY: IUB 6 classes (mnemonic: 'OTHYLI' -- Oxidoreductases, Transferases, Hydrolases, Lyases, Isomerases, Ligases). Km = affinity. Competitive inhibition: Km up, Vmax same. AST/ALT for liver; CK-MB/Troponin for MI."))
story.append(PageBreak())

# ============================================================
# ESSAY 6: LIPOLYSIS
# ============================================================
story.append(H1("6. LIPOLYSIS"))
story.append(T("<b>Introduction:</b> Lipolysis is the enzymatic hydrolysis of stored triglycerides (triacylglycerols/TAG) in adipose tissue into free fatty acids (FFA) and glycerol. It is the primary mechanism for mobilizing energy reserves during fasting, exercise, or stress. The released FFAs travel in blood bound to albumin and are taken up by tissues (heart, muscle, liver) for energy production via beta-oxidation."))
story.append(SP())
story.append(H2("Site"))
story.append(T("Primarily in <b>white adipose tissue</b> (WAT) cytosol/lipid droplets. Also occurs in liver, muscle, and other tissues."))
story.append(SP())
story.append(H2("Enzymes of Lipolysis -- Sequential Hydrolysis of Triglycerides"))
t = make_table([
    ["Step", "Enzyme", "Reaction", "Key Notes"],
    ["1 (Rate-Limiting)", "Hormone-Sensitive Lipase (HSL)", "TAG -> DAG + FFA", "Activated by glucagon/epinephrine (via cAMP-PKA); inhibited by insulin"],
    ["2", "Adipose Triglyceride Lipase (ATGL)", "TAG -> DAG + FFA", "Also contributes to first step (recently discovered)"],
    ["3", "Diacylglycerol Lipase (DAGL)", "DAG -> MAG + FFA", ""],
    ["4", "Monoacylglycerol Lipase (MAGL)", "MAG -> Glycerol + FFA", "Final step; releases last fatty acid"],
], [2.5*cm, 5*cm, 4*cm, 3.5*cm])
story.append(t)
story.append(SP())
story.append(H2("Hormonal Regulation"))
story.append(H3("Lipolytic Hormones (STIMULATE lipolysis):"))
for h in [
    "Glucagon: Binds receptor -> adenylyl cyclase -> cAMP rises -> activates PKA -> phosphorylates HSL (active) + Perilipin (lipid droplet protein uncoats)",
    "Epinephrine / Norepinephrine (stress): Same cAMP-PKA pathway; most potent stimulators during exercise/stress",
    "Cortisol (chronic): Enhances expression of HSL and ATGL",
    "Growth Hormone, ACTH, TSH: Also mildly stimulate lipolysis"
]:
    story.append(B(h))
story.append(H3("Antilipolytic Hormones (INHIBIT lipolysis):"))
for h in [
    "Insulin (most potent antilipolytic): Activates phosphodiesterase -> degrades cAMP -> PKA inactive -> HSL dephosphorylated (inactive); also activates phosphatase PP2A -> dephosphorylates perilipin",
    "Prostaglandin E1, E2: Inhibit adenylyl cyclase",
    "Niacin (Nicotinic acid/B3): Inhibits adipose lipolysis via GPR109A receptor -> used as lipid-lowering drug (reduces FFA and VLDL)"
]:
    story.append(B(h))
story.append(SP())
story.append(H2("Fate of Lipolysis Products"))
for f in [
    "Free Fatty Acids (FFA): Bound to serum albumin -> transported to heart, muscle, liver, kidney -> undergo beta-oxidation for ATP generation",
    "In liver (during fasting/DM): Excess acetyl-CoA from beta-oxidation -> ketone bodies (acetoacetate, beta-hydroxybutyrate, acetone)",
    "Glycerol: Transported to liver -> glycerol kinase phosphorylates it to glycerol-3-phosphate -> glycolysis (fed state) or gluconeogenesis (fasting)"
]:
    story.append(B(f))
story.append(SP())
story.append(H2("Lipogenesis vs Lipolysis Comparison"))
t = make_table([
    ["Feature", "Lipolysis", "Lipogenesis"],
    ["Direction", "TAG breakdown -> FFA + Glycerol", "Acetyl-CoA -> TAG synthesis"],
    ["Primary Site", "Adipose tissue", "Liver, adipose tissue"],
    ["Cellular Location", "Cytosol (lipid droplets)", "Cytoplasm"],
    ["Stimulated by", "Glucagon, Epinephrine, Cortisol", "Insulin"],
    ["Inhibited by", "Insulin", "Glucagon"],
    ["Metabolic State", "Fasting, exercise, stress", "Fed state, excess carbohydrate"],
    ["Key Enzyme", "Hormone-Sensitive Lipase (HSL)", "Acetyl-CoA Carboxylase (ACC)"],
    ["Malonyl-CoA Role", "Not relevant", "Key intermediate; also inhibits CAT-I"],
], [3.5*cm, 5.5*cm, 6*cm])
story.append(t)
story.append(SP())
story.append(H2("Clinical Significance"))
for c in [
    "Diabetic Ketoacidosis (DKA): Absent insulin -> uncontrolled lipolysis -> massive FFA release -> liver converts to ketone bodies -> metabolic acidosis; ketones in blood and urine (ketonuria)",
    "Obesity: Insulin resistance -> impaired suppression of lipolysis -> elevated FFA -> ectopic fat deposition (fatty liver, muscle), insulin resistance worsened",
    "Cachexia (cancer/HIV/sepsis): TNF-alpha, IL-6 stimulate lipolysis -> muscle and fat wasting syndrome",
    "Lipodystrophy: Abnormal fat distribution; lipoatrophy (fat loss in some areas) with lipohypertrophy in others -- HIV antiretroviral therapy side effect",
    "Bariatric Surgery / Caloric Restriction: Mobilizes fat stores via controlled lipolysis",
    "Niacin (Nicotinic Acid): Inhibits adipose lipolysis -> used to treat hypertriglyceridemia; side effect: flushing (prostaglandin mediated)"
]:
    story.append(B(c))
story.append(Note("EXAM KEY: HSL is rate-limiting. Glucagon/epinephrine -> cAMP -> PKA -> phosphorylates HSL = ACTIVE. Insulin -> HSL dephosphorylated = INACTIVE. Products = FFA (to beta-oxidation) + glycerol (to gluconeogenesis)."))
story.append(PageBreak())

# ============================================================
# ESSAY 7: BETA-OXIDATION
# ============================================================
story.append(H1("7. BETA-OXIDATION OF FATTY ACIDS"))
story.append(T("<b>Introduction:</b> Beta-oxidation is the major catabolic pathway for the complete degradation of fatty acids to acetyl-CoA. It occurs primarily in the mitochondrial matrix. The pathway involves sequential removal of 2-carbon units (as acetyl-CoA) from the carboxyl end of fatty acid chains, hence the name 'beta-oxidation' (the beta carbon is the site of oxidation). Acetyl-CoA then enters the TCA cycle. Fatty acids yield far more ATP per gram than carbohydrates."))
story.append(SP())
story.append(H2("Location"))
story.append(T("<b>Mitochondrial matrix</b> (main site for medium and long-chain fatty acids). <b>Peroxisomes</b>: oxidize very-long-chain fatty acids (VLCFA, >C20) and branch-chain fatty acids; products (shorter chains) then transferred to mitochondria."))
story.append(SP())
story.append(H2("Step 1: Activation of Fatty Acid (in Cytoplasm)"))
story.append(T("Fatty acids must first be activated to fatty acyl-CoA before entering the pathway:"))
story.append(T("<b>Fatty Acid + CoA + ATP --&gt; Fatty Acyl-CoA + AMP + PPi</b>"))
story.append(T("Enzyme: <b>Acyl-CoA Synthetase (Fatty Acid Thiokinase)</b>, on outer mitochondrial membrane. Uses 2 ATP equivalents (ATP -> AMP + PPi; PPi is hydrolyzed to 2 Pi)."))
story.append(SP())
story.append(H2("Step 2: Transport into Mitochondria -- Carnitine Shuttle"))
story.append(T("The inner mitochondrial membrane is IMPERMEABLE to CoA and fatty acyl-CoA. The carnitine shuttle system is essential:"))
t = make_table([
    ["Step", "Process", "Enzyme"],
    ["1", "Fatty acyl-CoA + Carnitine -> Acylcarnitine + CoA (in cytoplasm)", "Carnitine Acyltransferase I (CAT-I) -- RATE-LIMITING STEP; inhibited by malonyl-CoA"],
    ["2", "Acylcarnitine transported across inner membrane into matrix", "Carnitine-Acylcarnitine Translocase (antiporter)"],
    ["3", "Acylcarnitine + CoA -> Fatty acyl-CoA + Carnitine (in matrix)", "Carnitine Acyltransferase II (CAT-II)"],
    ["4", "Free carnitine transported back to cytoplasm", "Translocase"],
], [1.5*cm, 8.5*cm, 5*cm])
story.append(t)
story.append(SP())
story.append(H2("Step 3: The 4 Reactions of Beta-Oxidation (Repeated Cycle)"))
t = make_table([
    ["Step", "Reaction", "Enzyme", "Coenzyme", "Product"],
    ["1. Oxidation", "Fatty acyl-CoA -> trans-Delta2-Enoyl-CoA", "Acyl-CoA Dehydrogenase (FAD-linked)", "FAD", "FADH2"],
    ["2. Hydration", "Enoyl-CoA -> L-3-Hydroxyacyl-CoA", "Enoyl-CoA Hydratase", "None (water)", "3-Hydroxyacyl-CoA"],
    ["3. Oxidation", "3-Hydroxyacyl-CoA -> 3-Ketoacyl-CoA", "3-Hydroxyacyl-CoA Dehydrogenase (NAD+-linked)", "NAD+", "NADH"],
    ["4. Thiolysis", "3-Ketoacyl-CoA -> Acetyl-CoA + Acyl-CoA (2C shorter)", "Thiolase", "CoA", "Acetyl-CoA + Shortened Acyl-CoA"],
], [2*cm, 4.5*cm, 4.5*cm, 2*cm, 3*cm])
story.append(t)
story.append(T("Each cycle: 1 FADH2 + 1 NADH + 1 Acetyl-CoA. Shortened acyl-CoA repeats the cycle."))
story.append(SP())
story.append(H2("Energy Yield -- Palmitic Acid (C16:0) -- Classic Calculation"))
story.append(T("Palmitate requires <b>7 cycles</b> of beta-oxidation to produce 8 acetyl-CoA:"))
t = make_table([
    ["Product", "Quantity", "ATP per Unit", "Total ATP"],
    ["Activation cost", "", "", "-2 ATP"],
    ["FADH2 (7 cycles)", "7", "1.5", "10.5 ATP"],
    ["NADH (7 cycles)", "7", "2.5", "17.5 ATP"],
    ["Acetyl-CoA -> TCA (8 x 10)", "8", "10", "80 ATP"],
    ["NET TOTAL", "", "", "106 ATP"],
], [5*cm, 3*cm, 3*cm, 4*cm])
story.append(t)
story.append(SP())
story.append(H2("Regulation of Beta-Oxidation"))
for r in [
    "CAT-I is the RATE-LIMITING enzyme; inhibited by MALONYL-CoA (first product of fatty acid synthesis) -- this reciprocally links lipogenesis and beta-oxidation",
    "Fed state (high insulin): Acetyl-CoA Carboxylase (ACC) activated -> malonyl-CoA rises -> inhibits CAT-I -> blocks beta-oxidation -> promotes fat storage",
    "Fasting (high glucagon): ACC inhibited -> malonyl-CoA falls -> CAT-I active -> beta-oxidation proceeds",
    "High NADH/NAD+ ratio: Feedback inhibits pathway (3-hydroxyacyl-CoA DH, thiolase, TCA cycle)",
    "AMP/ATP ratio: High AMP (energy deficit) activates AMPK -> phosphorylates and inactivates ACC -> less malonyl-CoA -> more beta-oxidation"
]:
    story.append(B(r))
story.append(SP())
story.append(H2("Modifications for Unsaturated and Odd-Chain Fatty Acids"))
story.append(H3("Unsaturated Fatty Acids:"))
story.append(T("Require additional enzymes: Isomerase (for cis double bonds at odd carbons) and Reductase (for double bonds at even carbons). Yield slightly less ATP than saturated fatty acids (fewer dehydrogenation steps)."))
story.append(H3("Odd-Chain Fatty Acids (uncommon, ruminant fat):"))
story.append(T("Last cycle yields propionyl-CoA (C3) instead of acetyl-CoA. Propionyl-CoA -> Methylmalonyl-CoA (propionyl-CoA carboxylase, Biotin/B7) -> Succinyl-CoA (methylmalonyl-CoA mutase, Vitamin B12) -> TCA cycle."))
story.append(T("<b>Vitamin B12 deficiency</b> -> methylmalonyl-CoA accumulates -> methylmalonic aciduria (diagnostic marker)."))
story.append(SP())
story.append(H2("Clinical Significance"))
for c in [
    "Carnitine Deficiency: Primary (genetic) or secondary (renal loss, dialysis) -> impaired fatty acid oxidation -> skeletal myopathy, cardiomyopathy, hypoglycemia; Rx: L-carnitine supplementation",
    "MCAD Deficiency (Medium-Chain Acyl-CoA DH Deficiency): Most common inherited disorder of fatty acid oxidation; C8-C12 fatty acids accumulate; presents in infancy with fasting hypoglycemia, sudden infant death (SIDS), hypoketotic hypoglycemia; newborn screening",
    "LCHAD Deficiency: Long-chain deficiency -> cardiomyopathy, peripheral neuropathy, retinopathy",
    "Zellweger Syndrome: Absent peroxisomes -> VLCFA accumulate -> severe neurological impairment",
    "Diabetic Ketoacidosis: Excess beta-oxidation -> acetyl-CoA exceeds TCA capacity -> ketone body synthesis",
    "Jamaican Vomiting Sickness: Hypoglycin A from unripe ackee fruit -> inhibits acyl-CoA DH -> hypoglycemia + vomiting",
    "Fatty Liver (NAFLD/NASH): Impaired beta-oxidation (alcohol, obesity) -> fat accumulates in liver"
]:
    story.append(B(c))
story.append(Note("EXAM MNEMONIC for 4 steps: 'OHOT' -- Oxidation (FADH2), Hydration, Oxidation (NADH), Thiolysis. CAT-I is rate-limiting, inhibited by malonyl-CoA. Palmitate (C16) = 106 ATP. Odd-chain FA -> propionyl-CoA -> needs B12."))
story.append(PageBreak())

print("Essays 1-7 complete")
PYEOF
This is a shared conversation. Sign in to Orris to start your own chat.