Question
Small nanoparticles of carbon powders (like the ones we get after combustion of wood and coal) are suspended in water. Those particles start to aggregate
Small nanoparticles of carbon powders (like the ones we get after combustion of wood and coal) are suspended in water. Those particles start to aggregate when salt is added to water. Below two Python lists are given for the data collected from the observation of the nanoparticles aggregation.
aggTime = [0.12, 0.18, 0.42, 0.90, 2.10, 6.00, 18.00, 42.00]
aggSize = [115, 130, 202, 335, 510, 890, 1700, 2600]
aggTime is in minutes and aggSize is given in nm (nano meter). A value in aggSize shows how big a nanoparticle is after the corresponding amount of time is passed. It is the average size of the aggregates. (For example, after 0.12 minutes the salt is added, the average size becomes 115nm. And average size becomes 130 nm after 0.18 min. etc.)
- Use an appropriate curve fitting algorithm from scipy to find a linear fit to ln(aggTime) and ln(aggSize). That is, you will make a line fit to the logarithms of the data. Find the slope and intercept of the line equation and print them as screen output.
- Draw the line you found in c) on to the second graphics to see if it fits to data nicely
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started