Integrating Data with the Trapezoidal Rule on the HP 50g Calculator

  • Thread starter Thread starter marcio
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the integration of data points (x,y) using numerical methods, specifically the trapezoidal rule, on the HP 50g calculator. Participants explore the calculator's capabilities and seek assistance with a specific implementation issue.

Discussion Character

  • Technical explanation, Homework-related

Main Points Raised

  • One participant inquires whether the HP 50g can integrate data using the trapezoidal rule.
  • Another participant suggests checking the calculator's manual for guidance.
  • A participant expresses frustration that the manuals do not provide useful information regarding data integration.
  • A participant shares their attempt to implement the trapezoidal rule using a matrix on the stack and outlines their code, seeking help to identify the problem.
  • One participant later indicates that their problem has been resolved without further details.

Areas of Agreement / Disagreement

The discussion does not reach a consensus on the capabilities of the HP 50g regarding data integration, as participants express differing levels of satisfaction with the manuals and the implementation process.

Contextual Notes

Participants do not clarify the specific limitations of the HP 50g or the assumptions underlying their implementation attempts. The discussion lacks detailed exploration of the mathematical steps involved in the trapezoidal rule as applied to the calculator.

Who May Find This Useful

Users of the HP 50g calculator interested in numerical integration methods, particularly those seeking to integrate data points using the trapezoidal rule.

marcio
Messages
32
Reaction score
0
Dear friends

Does the HP 50g integrate data (x,y) using numerical methods such as the trapezoidal rule?

Many thanks
 
Last edited:
Physics news on Phys.org
Look in the manual that came with it.
 
I already have. Did not help much. I have both manuals, none of them mention integration of data that I could use.
 
Alright...I have been studying... and did this, but it is not working...Could you help me out finding the problem here?

M([X; Y]) is a matrix on the stack. So, based on the trapezoidal rule, I need to compute:

sum of (Xb-Xa)*(Yb+Ya) then divide it by 2.

<< -> M
______<< M SIZE OBJ-> DROP DROP 'p'
____________<< 0 'A' STO
_________________2 p FOR i
_______________________A 'ABS((M(i,1)-M(i-1,1))*(M(i,2)+M(i-1,2)))' EVAL + 'A' STO
_________________NEXT
_________________A 2 / "Area" -> TAG
_____________>>
______>>
>>

Any help will be very much appreciated.
 
Last edited:
Alright, problem solved.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
4K
Replies
10
Views
4K
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K