<jupyter_start><jupyter_text>**Download** (right-click, save target as ...) this page as a jupyterlab notebook [Lab 30](http://54.243.252.9/engr-1330-webroot/8-Labs/Lab30/Lab30.ipynb)___  Laboratory 30: Logarithmic and Power-Law Models LAST NAME, FIRST NAMER00000000ENGR 1330 Laboratory 30 - In Lab___  BackgroundThe last couple lessons contain the needed logic, so just apply to the problem below Exercise 1Using methods in the lesson, fit an appropriate data model to the voltage versus time data below. Use the data model to determine1. What voltage do you expect after 1.5 seconds?2. What voltage do you expect after 15.0 seconds?3. How long will it take for the voltage to decline to 1.5 volts?4. How long will it take for the voltage to decline to 0.17 volts?|Time(sec)|Voltage(V)||---:|---:||0|9.8||1|5.9||2|3.9||3|2.1||4|1.0||5|0.8||6|0.6||7|0.4||8|0.3||9|0.2||10|0.1|<jupyter_code># Load the necessary packages
# build the data lists
# build a dataframe
# Initialise and fit regression model using `statsmodels`
# Predict values
# Plot regression against actual data
# Is the model "good" if not try a different data model (linear,exponential,power law,logarithmic,polynomial)

# with your "good" model answer the questions<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1109350237717908, 'fraction_numerical': 0.06735340729001585, 'mean_word_length': 4.985781990521327, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 1, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '3163', 'license': 'CC0-1.0', 'n_tokens_mistral': 453, 'n_tokens_neox': 405, 'n_words': 154, 'path': '8-Labs/Lab30/Lab30.ipynb', 'repo_name': 'dustykat/engr-1330-psuedo-course', 'size': '1262'}