Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please write in python, and send a picture of the code as well as written code. Thank you! Problems to be solved using Python 1.

image text in transcribed

Please write in python, and send a picture of the code as well as written code. Thank you!

Problems to be solved using Python 1. Write a Python algorithm that evaluates y' (t) = f(y,t) y(a) = yo using a first order Taylor series expansion to approximate the derivative and f(y,t) = y - t? +1, with y(0) = 0.5 (i.e., a = 0 and yo = 0.5). Derive the analytical solution and plot your computed results together with the analytical solution for te (0,5). Comment your code to explain the key steps. Report the time step size (i.e., At) used to achieve a reasonably accurate answer. Engineering Problem dt Consider that the chemical reaction A + B proceeds in a stirred tank according to the following kinetic relationship LA =-kA A(0) = 1 Here k is the rate constant set at k = 0.5. Solve this problem with Python using a first order Taylor series expansion to approximate the derivative and plot the computed At). Approx- imate, using graphical means, the time required for A to diminish to half of its initial value. In a 150 word description indicate the method used to ensure that the numerical estimate is correct. Problems to be solved using Python 1. Write a Python algorithm that evaluates y' (t) = f(y,t) y(a) = yo using a first order Taylor series expansion to approximate the derivative and f(y,t) = y - t? +1, with y(0) = 0.5 (i.e., a = 0 and yo = 0.5). Derive the analytical solution and plot your computed results together with the analytical solution for te (0,5). Comment your code to explain the key steps. Report the time step size (i.e., At) used to achieve a reasonably accurate answer. Engineering Problem dt Consider that the chemical reaction A + B proceeds in a stirred tank according to the following kinetic relationship LA =-kA A(0) = 1 Here k is the rate constant set at k = 0.5. Solve this problem with Python using a first order Taylor series expansion to approximate the derivative and plot the computed At). Approx- imate, using graphical means, the time required for A to diminish to half of its initial value. In a 150 word description indicate the method used to ensure that the numerical estimate is correct

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

Step: 3

blur-text-image

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

Professional Microsoft SQL Server 2012 Administration

Authors: Adam Jorgensen, Steven Wort

1st Edition

1118106881, 9781118106884

More Books

Students also viewed these Databases questions

Question

Are layers of support identified for students who struggle?

Answered: 1 week ago