Numerical integration problem (quad). with approximating polynomials.
1 次查看(过去 30 天)
显示 更早的评论
I have a function L = integral of (cp(t))/(h(t)(ts-t) for t from t1 to t2 ( L,t1,t2 are given )
where cp is a function of t and it is given in expression form cp(t)= ---- h is a function of t where h(t)=(cp)/( m * k) m is a function of t and it is given in expression form m(t)= ---- k is a function of t and it is given only and some discrete points ( 9 points of form (k(t),t))
we are asked to plot the degree 1,2,3,.... interpolating polynomial for the data, using normalized data then prompts to choose a degree of approximating polynomial, (abeg = beginning point), (bend =end point) , from which a ts is sought.
I want to used * Ts=fzero(@myfun,[abeg,bend],[],p1,p2...) * [vintegral]=quad(@myfun,t1,t2,[],[],p1,p2...)
where p1,p2... are the parameters needed to execute fzero and quad
Any help is highly highly appreciated.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Numerical Integration and Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!