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!