MAT 581 HW 4 P 4.1.4

MAT 581 HW 4 P 4.1.4 - c=(a b/2 w = NCweights(m...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
a) a=input('Enter lower bound: '); b=input('Enter upper bound: '); k=input('Enter odd no for power: '); m=input('Enter odd no for m: ');
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: c=(a+b)/2; w = NCweights(m); x=linspace(a,b,m); numI = (b-a)*(((x-c).^k)*w) b)???...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online