The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
[WP 34s] Another noobie question about programming
06-14-2015, 04:07 PM (This post was last modified: 06-14-2015 04:27 PM by Marcio.)
Post: #1
[WP 34s] Another noobie question about programming
Dear all, thank you for your patience in advance.

Please, let me ask you a couple more question about the 34s:

I would like to integrate a function like \(f(x) = \frac{1}{x+a}\) where \(a\) is as large as 1000. Not knowing exactly how things worked in previous HP calcs, I naively typed 1500 for \(a\) directly into the program, well, you know what happened.
The manual says that integers (say \(n\)) can be keyed in using the # symbol, however, it also states that \(0\leqslant n \leqslant 255\). Now comes the noobie question:

Do I have to modify \(n\) by assigning, for example, 250 to it and multiply by 6 to get 1500? Or I am missing something here?

Thank you

Marcio

EDIT: Alternatively, I could also assign a register to \(a\) before using it in the program, in case \(a\) is a prime number and greater than 255.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
[WP 34s] Another noobie question about programming - Marcio - 06-14-2015 04:07 PM



User(s) browsing this thread: 1 Guest(s)