Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Trapezoidal Rule

Subject: Trapezoidal Rule

From: Amelia Hattingh

Date: 6 Oct, 2012 12:26:08

Message: 1 of 2

Hi I am trying to write a code to determine T(h), for h =b-a/2^m, m = 0; 1; 2...... using the trapezoidal rule.The final answer should be accurate to at least 4 digits.I am not to sure how to write a code for unidentified n(in this case n=2^m) can someone please help.

Subject: Trapezoidal Rule

From: Bruno Luong

Date: 6 Oct, 2012 13:13:08

Message: 2 of 2

"Amelia Hattingh" wrote in message <k4p810$aos$1@newscl01ah.mathworks.com>...
> Hi I am trying to write a code to determine T(h), for h =b-a/2^m, m = 0; 1; 2...... using the trapezoidal rule.The final answer should be accurate to at least 4 digits.I am not to sure how to write a code for unidentified n(in this case n=2^m) can someone please help.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us