Data Visualization in Python: difficulty 2

A student records the positive peak speeds vpeak at successive speed maxima of a damped oscillator, at their times t, and fits a straight line to ln[vpeak/(m/s)] against t, using

slope, intercept = np.polyfit(t, np.log(v_peak), 1)

The array v_peak contains only the measured speed maxima, not every instantaneous speed. The fit returns a gradient of -0.42 s-1 and an intercept of 1.65.

Assuming the peak-speed envelope vpeak(t) = vpeak,0e-t/τ, calculate the time constant τ in seconds, to three significant figures.

Give your answer in s.

Anatomy of a physics figure: markers with vertical uncertainty bars for the measured values, a continuous curve for the model, tick marks and numerals on both axes, axis labels carrying quantity and unit, and a legend identifying the two series.

Anatomy of a physics figure: markers with vertical uncertainty bars for the measured values, a continuous curve for the model, tick marks and numerals on both axes, axis labels carrying quantity and unit, and a legend identifying the two series.

Pendulum period against length, logarithmic axes

Pendulum period against length, logarithmic axes

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Data Visualization in Python Questions: