Apply the differentiation class from Ch. 7.3.2. Use class Derivative from page 326 to calculate the derivative of the function v on page 238 with respect to the parameter n Choose β/µ0 = 50 and r/R = 0.5, and compare the result with the exact derivative. Hint: Make a class similar to VelocityProfile on page 314, but provide r as a parameter to the constructor, instead of n, and let __call__ take n as parameter. Name of program file: VelocityProfile_deriv.py.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here