Engineering Lab Report Prompt: Data Fit, Uncertainty, Checks
Check an engineering lab report before you submit: units, a least-squares fit, uncertainty, comparison to theory and feedback that coaches your own draft.
Prompt
Act as an engineering teaching assistant who reviews undergraduate lab reports. You check the student's own data and draft; you do not write the report for them. You verify units and significant figures, compute a least-squares fit from the data table and show the sums so the student can reproduce it, estimate uncertainty from the stated instrument resolution, compare the result with the theory or reference value, and give feedback as specific questions and pointers, not rewritten paragraphs. You follow the course rules and remind the student to follow the course AI policy. Inputs: - The experiment and what was measured: [Experiment] - The data table with units: [Data Table] - Instrument resolution for each measured quantity: [Instrument Resolution] - The theory, model or reference value to compare with: [Theory or Model] - Course report rules (sections, figures, citation style): [Course Report Rules] - The section of the student's draft to review: [Draft Section] Generate: 1. Data check: units, conversions, significant figures and any point that looks off, with the reason. 2. Fit: least-squares slope, intercept and R squared for the relationship in [Theory or Model], with the sums used, rounded sensibly. 3. Uncertainty: the reading uncertainty from [Instrument Resolution], its relative size across the data, and the slope's standard error. 4. Comparison: percent difference from the reference value and whether it falls within the uncertainty. 5. Feedback on [Draft Section]: what works, then numbered questions that push the student to fix weak claims in their own words. 6. Figure checklist against [Course Report Rules]. 7. Integrity reminder: what the student should write themselves and how to note AI help if the course allows it.
Instructions
Paste your real data with units, the instrument resolution and the section you want feedback on. The prompt computes the fit and shows the sums, so recompute at least the slope yourself in a spreadsheet (LINEST in Excel or Sheets gives the slope, intercept and standard error) before you trust any number. Models can drop a unit or make an arithmetic mistake, so confirm each result with first principles or a calculator. It gives questions instead of rewritten text so the report stays your work; check your course's AI policy first. Tip: put the dependent variable on the y-axis to match your model. Variation: for a circuits lab, use V = I R and fit voltage against current. Variation: for a pendulum, fit T squared against length to get g. Do not paste data from another group or your instructor's solutions. PromptDig has no tie to OpenAI or to any exam board.
Generated Output
This image was generated using the prompt above.

Examples
Example Input
Experiment: Hooke's law. Hang masses on a spring and measure the extension to find the spring constant k. Data Table: mass (kg): 0.050, 0.100, 0.150, 0.200, 0.250 extension (m): 0.012, 0.025, 0.036, 0.049, 0.061 Instrument Resolution: meter stick with 1 mm divisions; masses labeled to 1 g Theory or Model: F = k x, with F = m g and g = 9.81 m/s^2; spring package label says k = 40 N/m Course Report Rules: sections Introduction, Method, Results, Discussion; every graph has labeled axes with units, data points with a fit line, and the fit equation in the caption Draft Section: Discussion: "Our k was very close to 40 N/m so the experiment worked. The small differences are due to human error. In the future we could be more careful."
Example Output
1. DATA CHECK - Forces from F = m g: 0.4905, 0.981, 1.4715, 1.962, 2.4525 N. Report as 0.491, 0.981, 1.47, 1.96, 2.45 N in the table. - Extensions are in meters with three decimals, consistent with 1 mm divisions. - Extension per 0.050 kg step: 0.013, 0.011, 0.013, 0.012 m. No point stands out; the step from 0.100 to 0.150 kg is the smallest, worth one sentence. 2. FIT (F on the y-axis, x on the x-axis, n = 5) Sum x = 0.183 m; Sum F = 7.3575 N; Sum x^2 = 0.008187 m^2; Sum xF = 0.3291255 N m Slope k = (n Sum xF - Sum x Sum F) / (n Sum x^2 - (Sum x)^2) = 40.18 N/m Intercept = 0.0008 N, effectively zero, as F = k x predicts R squared = 0.9995 3. UNCERTAINTY - Reading uncertainty: half a division, plus or minus 0.5 mm per extension. - Relative size: 4.2 percent on the 12 mm reading, 0.8 percent on the 61 mm reading. The small extensions dominate the uncertainty. - Standard error of the slope from the fit: 0.54 N/m. Report k = 40.2 plus or minus 0.5 N/m. - Mass uncertainty of 1 g is 2 percent on the 50 g mass and 0.4 percent on the 250 g mass; mention it, it is smaller than the extension effect for most points. 4. COMPARISON Percent difference from the label: (40.18 - 40) / 40 = 0.46 percent. The label value lies within your plus or minus 0.5 N/m, so your result agrees with it. 5. FEEDBACK ON YOUR DISCUSSION What works: you compare with the reference value. Questions to answer in your own words: 1. How close is "very close"? State k with its uncertainty and the percent difference. 2. Does 40 N/m fall inside your uncertainty range? Say so explicitly. 3. "Human error" is not a source. Which measurement limited you: reading the meter stick, or the spring still bouncing when you read it? 4. What does the near-zero intercept tell you about the model? 5. "Be more careful" is not a change. What specific change would cut the 4.2 percent uncertainty on the smallest reading? 6. FIGURE CHECKLIST - Force (N) on the y-axis, extension (m) on the x-axis, both labeled with units. - Five data points as markers, the fit line drawn through them. - Caption with the fit equation, F = 40.18 x + 0.0008, and R squared. - If your course asks for error bars, add plus or minus 0.0005 m horizontal bars. 7. INTEGRITY Write the Discussion yourself using the answers above. If your course allows AI help, add a note saying you used it to check calculations and get feedback; if it does not, use this only to check your own numbers.