Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Download from Blueline the data file of the viscosity of o-terphenyl (in Pa s) as a function of temperature (in K) python_OTPVISCOSITY.txt and save it

Download from Blueline the data file of the viscosity of o-terphenyl (in Pa s) as a function of temperature (in K) \"python_OTPVISCOSITY.txt\" and save it in a well-known location on your computer.

a) Write a python program that opens the data file, assigns the first column of data to be the temp and the second to be the visc value. Generate a plot of the log(visc) vs temperature with appropriate x and y labels.

b) Modify your python code so that it performs a curve fit of the data set to a Vogel-Tammann- Fulcher function of the form: B In n(t) = A + T-T where A, B and T. are parameters to be optimized starting from initial guess values of A = -8, B = 1200, and T. = 210. Use the optimized parameters to generate a fit line plotted onto the original data plot of part a.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Visual C# An Introduction to Object-Oriented Programming

Authors: Joyce Farrell

7th edition

978-1337102100

More Books

Students also viewed these Programming questions

Question

Describe the value paradox: the economics of diamonds and water.

Answered: 1 week ago