Python for Introductory Statistics: Lab WorkbookXYZ Homework Edition

⇩ Download ▾

The Numpy Library

Watch demo video

Lab 1.5.1

Write a code to perform the operations: |7×289||7\times 2 - \sqrt {89}|

view answer

Lab 1.5.2

Write a code to evaluate: |728|25\frac{|7^2-\sqrt 8|}{25}

view answer

Lab 1.5.3

The area of a triangle with two sides of aa & bb and an angle between the two sides CC is given by the formula A=a×b×sin(C)A=a\times b\times\sin(C). Where sin(C)\sin(C) is the value of the sine function at CC.

Find the area of a triangle with sides 10 and 12 inches and included angle of π3\frac{\pi}{3}.

view answer

Lab 1.5.4

Write a Python code to perform the operations: 624×2×(5)\sqrt{6^2-4\times2\times(-5)}

view answer

Adapted from Python for Introductory Statistics: Student's Lab Workbook, by Simon Aman (Truman College, City Colleges of Chicago), licensed under CC BY 4.0. Changes were made: reformatted as an accessible XYZ web edition with live in-browser code cells. License: CC-BY-4.0.

These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or ADA Title II. Every page is built against an automated accessibility gate, and the published editions will meet ADA Title II requirements when they release in late September 2026. If something is unusable, please tell us.