Question: Please use python 1. Write a function to compute the optimal step size for f(a)-sin(a). The correct function should produce: h (0.5) h ( 1.0)

Please use python
1. Write a function to compute the optimal step size for f(a)-sin(a). The correct function should produce: h" (0.5) h" ( 1.0) h" (5.0) 0.000876 1389696403249 0.001080355846671 4125 0.00 12614874530866972 Hint your file should be in the form: import things here create variables here def function name ): fill this part return . x float(inputO) print (function name (x))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
