-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HELP~ I could not understand the code in 03 finite_differences #14
Comments
@kamyinnnlok some quick answers for you:
|
@mandli thanks for your apply.
Thanks again if you could help me!!!! |
@kamyinnnlok The derivation of the finite difference being used is in the 03 notebook. It may be helpful to look at the more detailed derivation in the other course notes that exist. For your other questions:
|
Dear @mandli,
when I learn the 03 finite_differences file, I could not understand the part of Error Analysis. Could you give me some help? thanks!!Please forgive me for asking some naive questions since I'm new to this area. Here is the list of questions :
error.append(numpy.linalg.norm(numpy.abs(f_prime(x_hat + delta_x[-1]) - f_prime_hat), ord=numpy.infty))
f_prime_hat[0] = (-3.0 * f(x_hat[0]) + 4.0 * f(x_hat[1]) + - f(x_hat[2])) / (2.0 * delta_x[-1]) f_prime_hat[-1] = ( 3.0 * f(x_hat[-1]) + -4.0 * f(x_hat[-2]) + f(x_hat[-3])) / (2.0 * delta_x[-1])
The text was updated successfully, but these errors were encountered: