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 
Why does my HP48G program give this error??
10-27-2023, 11:28 PM (This post was last modified: 10-28-2023 03:08 PM by DM48.)
Post: #1
Why does my HP48G program give this error??
Why does my program give me a \.S Error: Bad Argument Type ??

I have written a lot of these integration routines very similar to this on my HP48 but this one is not cooperating. It works when I put in numbers in place of variables. However, when I had the variables back in the program ceases to function.

I typed the below in by hand so I may have a few errors. I have attached a screenshot of the formula part as a reference.

Code:


\<< 48 58 12 6 \-> ID OD H OC

\<< ' \.S (0,H/2, \.S (-OC, \v/ (H/2-y^2) - OC, \v/((OD/2)^2 - x^2) - \v/((ID/2)^2-x^2),x),y)' \->NUM >>\ \>>



\( \large \int_{0}^{\frac{H}{2}}\int_{OC}^{\sqrt{\left ( \frac{H}{2} \right )^2-y^2}\: \: +OC}\sqrt{\left ( \frac {OD}{2} \right )^2- x^2} \: \: - \: \: \sqrt{\left ( \frac {ID}{2} \right )^2- x^2} \)


Attached File(s) Thumbnail(s)
   

HP48GX, HP42s and DM42.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Why does my HP48G program give this error?? - DM48 - 10-27-2023 11:28 PM



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