Numerical integration problem (quad). with approximating polynomials.

1 回表示 (過去 30 日間)
Mark Sar
Mark Sar 2013 年 5 月 29 日
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 件)

カテゴリ

Help Center および File ExchangeNumerical Integration and Differential Equations についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by