HP50G: correlation

Hi, I have to make a correlation between the experimental data but I don't know what to use: LSQ or adapt data?

I have this equation

B = x + y / A

And these data

B1 =-281.5

A1 = 240

B2 =-201

A2 = 250

B3 =-166

A3 = 275

B4 =-138

A4 = 300

I read the guide for 50g, but I can't solve my problem

Thanks in advance

Hello, Mrs92!

The HP - 50 g did not have a built-in commands to resolve this problem.

It is possible to solve this problem for the correlation given by using the method of the "Non-linear least square.

You can write a program for HP - 50 g using this method.

Please visit http://en.wikipedia.org/wiki/Non-linear_least_squares.

Try the program:

(Note: ' B = x + y / A '-> ' y = a + b / x "!)

< < - > PUSH ∑DAT TRAN AXL Q OBJ - > DROP
-> XI YI
< < XI INV ∑LIST EVAL
∑LIST XI INV SQ EVAL
YI ∑LIST EVAL
XI YI / ∑LIST EVAL
XI-> Q
-> SX SY SYX SX2 N
< < [' N * a + b * SX = SY' ' SX * SX2 has + * b = SYX']
[ 'a' 'b' ] FIX
1 GET OBJ-> DROP - 105 SF EVAL SWAP
SWAP EVAL ' y = a + b / x ' UNROT
> >
> >
POP
> >

Save the program as "InvFIT".

Example. Print the following in MTRW:

240 - 285.1
250 201
275 166
300 138

Save it in the ∑DAT variable by using the STO∑ command.

After running the program, the stack will look like this:

3: "y = a + b / x".
2: a = 386.084992747
1: b =-153989.42753

Tags: HP Tablets

Similar Questions

  • HP50g: HP50g - how to combine the programs and data of some units?

    Like some people on this forum, I have a few pieces of HP50g. On each article there are data and different programs. I'm tired of this mess and want to combine all the programs of all the units in a BASE directory and install the same programs on each unit. As I'll probably do this opreation from time to time in the future, I'm looking for an effective and convenient way to do it. Using the IR ports and programs sending one unit to another would be very slow. Backup on card standard SD also would not be useful in my view (make a backup of each unit, copy on the PC, but what then?).

    Someone on this forum would have hot suggestions to make?

    Hello

    Although you cannot select HOME directory as such, but you can select and copy some or all the elements in the HOME directory and copy only once on the SD card.

    In the FOLDERS menu go to the HOME directory and select the first item and press ENTER, the element highlight will receive a number 1 next to it. In addition to the selection of items with the button ENTER will be number 2, 3 etc. According to him.

    When you have selected all the items you want, COPY and select destination (SD). Unfortunately the built-in FILES does not select the subdirectories of the SD card, but I think that can SDFILER: SDFILER 1.3

    Kind regards

    Bart

  • I can not find how to run this program on my HP50g Bessel functions...

    Hello!

    Recently, I buy my HP50g calculator and tried to find and install programs that I need... Solvesys is running, but I can't find how to operate this Bessel function program. I installed it exactly as solvesys (load the lib archive on the calculator and chargue on flash), but I can't find how to run commands, or when they are to crush with. I tried to access the list of orders directly through flash (press the arrow to the right while on archive of lib, then select from the list an eval push) but I get only a result bad argument...

    Can someone guive me a helping hand?

    The link for the program is

    http://www.HPCalc.org/details.php?id=3140

    Thanks in advance for your help

    Hi!, Ahkran:

    Happy new year and welcome to the Forum!

    (1) you need to download the library library 764, BESSEL V1.2, HP50G, in the HOME directory.

    Now, you need to install and stay permanently in memory, in any port (0, 1 or 2). Best if the option port 2 (Flash)...

    Now, reset the HP50G, with YOU and key F3 (C)...

    Find the library in Port 2, with orange right shift key and key LIB (2), with name BESSE. If necessary, use the NXT (L) key...

    Now press the function key (F1... F6), just below the word BESSE, in your HP50G.

    You have to see...

    and with NXT - key...

    Carefully read the instructions for use library 764, the .pdf file, the author.

  • HP50G cannot compute certain integrals

    Hi, I have a problem of calculating certain integrals on my calculator.

    Here's an example (the answer should be 1/lambda):

    Type 'version' returns the string: "HP50-C revision 2.08 Copyright HP 2006".

    And "WORM" returns 4.20060106

    Is this fixed in a new release or is it simply not able to do this?

    Hi!, Kevin Duke:

    The ultimate version of the ROM is C - 2.15... you can download it from... http://www.HPCalc.org/details.php?id=7097

    Now for your problem, look at this... only if lambda, is the number > 0, a, and real result.

    The HP50G, you must put it in CASDIR... REALASSUME (REALA)... 'Λ > 0'.

    Now you must configure FLAGS

    Now press on, EVAL key... next step OK (F6) and wait ~ 10 "

  • Manager HP50g-files and subdirectories on SD card

    I tried to create a directory on SD with FM (File Manager). In the menu soft, there is a 'new' function key, but it does not work (as well as to 'renew', 'command'). Although I could copy a subdirectory of the 'House' at the root of the SD with FM, but copy the files to the directory on SD with FM does not work, can copy and access the files on the SD be only to the root?

    Andy11 wrote:

    Thank you yoann to dig this thread.

    The problem was better explained in my last post. I tried to write a program that would create on SD card a directory and a variable in there and save a DATA in the variable:

    For other words say once again:

    The battery:
    2. THE DATA
    1 way (for example: DIRECT11/VAR22)

    The code example:
    < > > - N < <: 3: N + > > OBJ-> STO > >

    The problem is that the example code above works fine but only when the path does not contain a directory (IE path = VAR22)

    When the path contains a directory name (for example, DIRECT11/VAR22), a 'OBJ-> error, invalid syntax' message.

    If the problem is with "/" sign on behalf of path.

    Maybe something I don't know or sysPRL a code would, but I do not know sysRPL wrote.

    Unfortunately no one not of HP experts on this forum seem to be interested, or is perhaps too difficult, even for them.

    Anyway, one of the weak points in the design of HP50g is bad SD card functionality.

    Andy:

    Assuming that you enter the access/objname string path, try this for storage on the SD card:

    ------< < '3'-------> TAG STO-> >

    If the directory did not already exist, it will be created.  Note that this will only work if an object with this name does not exist at this location.  If this object already exists, you will have to serve before the Save.  A more comprehensive solution would be to try to purge the variable first, catch the error where the object was not already there.  The code would then become

    ------< < '3'---> TAG DUP IFERR PURGE CAN END STO-> >

    I hope that will accomplish what you're looking for.

    As has been said, SDFiler is a nice solution for SD card features that is not integrated to 50 g.

    -David

  • HP50g at PREMIUM transfer

    I have a lot of programs user RPL on the HP50g. can I transfer these on the PREMIUM? They will work (except for things like collisions with newly defined reserved words)?

    No, there are no compatibility whatsoever.

  • Hp50g

    Can someone tell me what flag-63 is on the calcualtor HP50g? While some of the indicators system are obvious in their intent, it baffles me why there is so little documentation on the parameters of the indicator.

    Appendix C of the 'advanced reference manual (v2)' (also referred to as the AUR) provides a description of all the flags of the system.

    http://h10032.www1.HP.com/CTG/manual/c02836298

    Flag - 63:

    Under Guide ENTER
    Clear: ENTER evaluates the command line.
    Game: INPUT enabled user-defined.

    If you want more information about 'ENTER guided radar', see page 2-37 of the AUR.

    Best regards.

  • HP50G equations w / complex real Vars &amp; solve for reports of Vars

    Hi guys. I have 2 questions.

    1. given an equation with a variable complex and variable real in it, I want to solve for both variables. Here is an example

    Given:
    ∠120 has° + jb =-4 + j3

    Solve for A and b.

    Answer:

    A = 8
    b = -3.93

    I know it's possible to solve by hand because A is true and b is complex. But I don't know how to do this on the HP50G because the equation has two variables inside.

    2 it will probably be a bit more complicated. Saw 2 symbolic equations, I want to solve for the report of two variables with respect to the other variables. Here is an example.

    Given:

    (X Z) / Q + (X - Y) / (X - Y) + R / Q = 0
    / Q (X - Y) = Y/R


    Solve for Y/Z depending on X, Q and R

    Answer:
    Y/Z = [/(Q+R) R] ^ 2

    I'd be very impressed if anyone can understand these out or already knows how do the following.

    Thanks in advance!

    Hello

    (1) :

    It's my approach:

    Settings of the calculator:

    -angle mode: radians (required for the Solver)

    -coord system: rectangular (my choice as it fits x + y * i).

    -Digital and about unchecked

    -operating mode: RPN

    -Flag-27 value complex display that x + y * I

    First angle must be converted to radians, 120 deg = 2/3 * PI radians (PI can be entered as WhiteShift SPC).

    Enter ' (A, ∠2/3 * PI) + B * i =-4 + 3 * I '

    I use 2/3 integers to facilitate the exact mode of address, shortened to ∠ is ALHPA, redshift, 6.

    That the calculator is in rectangular mode, it will be transformed into rectangular.

    You should now have:

    A * COS(2/3*PI) + A * SIN (2/3 * PI) * + B * i =-4 + 3 * I

    Now, press ENTER to duplicate the equation.

    Go to WhiteShift MTH, CMPLX.

    Select RE for the real part:

    A * COS (2/3 * PI) =-4

    Press SWAP (silver arrow)

    Select IM to the imaginary part:

    A * SIN(2/3*PI) + B = 3

    You should now have 2 equations on the stack (the real part of level 2) and the imaginary part in level 1

    You can now put them in a table (2,-> TABLE) and use the Solver to solve for A and b.

    NOTE: when you use real numbers instead of integers, you may use the digital Solver of multiple equations MSLV (NUM. SLV). This requires a set of initial parameters i.e. guess (see Chapter 7 of the great user's Guide or MSLV AUR).

    (2) :

    You cannot resolve Y/Z directly. However, you can solve for and there, Z , then simply ÷ to get Y/Z.

    Level 2: [(X-Z) / Q + (X - Y) / (X - Y) + R / Q = 0 (X - Y) / Q = Y/R]

    Level 1: [Y - Z]

    S.SLV, point 6 or F6 to SOLVE

    Will result in a list or a table that contains solutions for Y and Z depending on X, Q and r. use OBJ-> once or twice to put both equations separately on the stack, then press fracture for Y/Z.

    Note, you can change the representation of the solution by the factor or simplify (best way to find who is to press down arrow money to enter the Equation Editor, select the right side of the eqation then de FACTO or SIMP).

    I hope this helps.

  • Solve this linear system HP50g

    Hi guys,.
    I am an engineer in electrical engineering and have to solve systems of linear equations on a regular basis, so that the functionality is very important for me. Everything works very well, 95% of the time but sometimes I meet systems that the HP50g doesn't seem to like. For example one below.

    I want to solve for x, y, z and one in terms of V

    V- 100000 x +is-100000 100000x= 0
    -250000is-V+ 100000x100000z= 0
    -250000z+ 100000one+ 100000y= 0
    a+ 100000-250000z= 0

    After these 4 equations is on the stack, I'm them in a vector by pushing {4} in the stack and then by pressing -> ARRY. Then I push the variables I want to solve for the battery, x, y, z and a and a vector of them. Then, I use LINSOLV to solve the system. However, when I do it this way, the calculator gives me an equation for x, an equation for y and 2 equations for z and no equation for s. I'm not sure what I'm doing wrong. Is there another way to do that would give me 4 equations, one for each variable I want to solve for in terms of V?

    If my method to solve linear equations is somehow confusing, I basically followed this video
    http://www.YouTube.com/watch?v=z802L29JyQE

    Thanks in advance.

    Hello

    Do not know exactly how you typed, so I'm being explicit just for some b:

    Notes:

    (1) as an equation is entered, use ' '

    (2) it is preferable to use a comma to separate the real and imaginary parts

    (3) explicit use multiply

    If the entry will look like this:

    '(4,3*X) = (4.7)'

    For this simple equation and assuming that X is defined as an independent variable (reproduced by 'X' in the top middle of the screen), you can use SOLVEVX for this one: (No. 5 in S.SLV menu or F5 if you use soft-keys)

    with "_Approx" uncontrolled, the answer is:

    X = 7/3

    with "vabout" checked the answer is:

    X = (2.333333333,0) (although X is part of the imaginary number, it is himself a real number).

    Kind regards.

  • Load a small program on a HP50g from memory card (SD card)

    Can anyone help me please with loading a close the program on my HP50g calculator from a SD card?

    It will be greatly appreciated. Thank you

    Hi!, jsheehan1101:

    First of all, put on hold, SD, to the HP50G. If he is found, then use the server FILES (FILES), to transfer data from and to the DD.

  • HP50g: Strange table HP50g Representation when polar mode

    Hi all

    I noticed that under certain conditions, an array of real numbers is represented very strangely on the HP50g.

    The situation is, I have my polar coordinates to the value and I create an array of real numbers using ARRY->.

    For example, in the RPN, I put 1, 2 and 3 on the stack, type 3 and then use the command ARRY, telling the calculator that I intend to create a table of 3 elements by using the 3 previous values on the stack->.

    I expect to see is a table with items 1, 2 and 3, but this isn't what's happening. Instead, I get the polar form (1.2) for the first two elements, then the number 3 (see image).

    If I change from rectangular coordinates table shows what I expected, but it still seems strange to the polar form what is happening. Conversely, if I create the matrix using other methods, for example, the MTRW application, it does not happen even under the same conditions.

    Any ideas on the issue?

    Thank you all in advance

    Spoiler (Highlight to read)

    Just a wild guess: does still happen after running the CASCFG command, which resets the CASE settings to their default values?  I tried many settings of the indicator and have not been able to reproduce the behavior you describe, but I still think it's a flag setting causing your trouble.  Unless you have an installed library that changes the display, whereby the Paris are open.

    DISCLAIMER: I do not work for HP, or for someone else.

  • HP50g summons to infinity problems

    I am doing a summons to infinity and if I keep it in the equation writer I just get the hourglass and he can't understand it. If I eval in the stack with indicator 3 checked I get the same thing, but if I hit Cancel all of a sudden the right answer appears. If I uncheck flag 3 then all that I get is (?). Can someone tell me please how to properly evaluate a summons to infinity. Thank you.

    Hello! wolverine1776:

    You must have a lot of patient, with your HP50G. The result is bigger and it takes several hours to get the results.

    See the following image for Wolfram mathematics...

    With my HP50G and the following configuration...

    Mode of operation... RPN

    Number format... STD

    Pavilion 01 main value

    Indicator function 03-> num

    In this case, I'm set...

    Exact mode of flag 105 on

    And wait for 20 ", I, in advance...

    With approx. mode, is... 2.18191479816E - 2

    In Exact mode and about, I'm interrupted after 20 ", with the buttons ON .

  • a timestamp correlated

    Hello Forum,

    My previous post is left unanswered , and so I stumbled through on my own. My goal was to perform time correlated anticipated spectroscopy. I use a 6321 X series DAQ card, a Perkin Elmer SPCM and a pulsed laser. I'm exciting a sample with a laser and wish to obtain a precise timestamp of the first photon detected off the laser. I then repeat the measure to build a histogram from where I can get the life of my sample (~ 1 micosecond).

    As I understand it, the counter on the X series cards cannot retriggered. My solution is to reset the counter with the falling edge of the signal modulating the laser then timestamp that the first photon after it (attached). Right now my program gives me the timestamps of all photons in the buffer zone, but I want only the first. Is there a way simple and elegant to get just get the first element in the buffer on each stop without slowing down the Data Acquisition loop?

    Thanks in advance,

    R

    A few changes of vi...

    > Is not enough for me just remove the second stop event structure in the loop of the consumer.

    It is preferable to one producer in a loop. consumer is also control loop that is to handle the controls of the usr.

  • Cannot find IMAQ functions: IMAQ in correlation, analysis of particles IMAQ able Studio 2015

    Hello.

    I wonder if someone is able to help me with my questions as I am a little confused with what packages are available for my intention. I use LabView 2015, .net 4.5 and Measurement Studio 2015 (for .net), Visual Studio 2013 update 5. For LabView, I installed IMAQ Vision Acquisition Software February 2015.

    After installing Measurement Studio and try its features, I am able to find functions like Savitzky-Golay LabView signal processing in Measurement Studio under the namespace NationalInstruments.Analysis.Enterprise in .NET.

    However, for functions of LabView IMAQ as convoluted IMAQ, IMAQ in correlation, analysis of particles IMAQ, I am unable to find corresponding calls Studio 2015 able. How can I get these functions?

    Thank you.

    Nevermind, I think I've found my own answer. Measurement Studio 2015 contains only the LabView functions that can be called in the c# language. However, if you need features IMAQ, you can buy NI Vision Development Kit. The kit only supports .net 3.5.

    For new projects, use the NI Vision OpenCV support.

  • problem with / s digital correlated on USB-6341

    I'm testing an application that fact/s digital correlated, written in C++ with a USB-6341. I use NEITHER-DAQmx version 16.0.0f0.

    Because this application will be used by people with a variety of different DAQ hardware, I tried to write it to manage a lot of contingencies. Then when I put in place a DIO task correlated for the release, I'm trying to determine the width of the channel:

    uInt32 dataBytes;

    If (NIerror = DAQmxGetWriteRawDataWidth (h, & dataBytes))

    On my USB-6341 dataBytes returns 1, so I try to write data using DAQmxWriteDigitalU8(), but which returns an error saying:

    device USB6341:-200565: specified the digital channel contains more bits than supported by the 8-bit version of DAQmx Port write.

    Use the version of DAQmx Port write who takes in charge the broader digital ports.

    If I remove the test and force it to use DAQmxWriteDigitalU32(), then it works.

    I'm afraid that if I try to always use DAQmxWriteDigitalU32() I may be wrong with other devices that do not support 32-bit channels.

    Is this a bug in NOR-DAQmx associated with USB-6341? Have I misunderstood something about how it works?

    John,

    It seems that it is a known issue with DAQmx and a corrective action request was filed for this problem. For now, using the DAQmxWriteDigitalU32 should work fine if the device has ports 8-bit or 32-bit.

Maybe you are looking for

  • saving the screenshots...

    Screenshots can be saved directly to a specific folder?  Right now, all the screenshots are saved on my desktop.  Work on a MacPro w / OS X El Capitan.  Thank you.

  • Cannot open applications (exe files)

    When I try to open apps I get a message "choose the program you want to open this file." I click on "search the program appropriate on the web. I get the message "Windows does not recognize this file type. If I click on "search the Web". I chose one

  • Can BB9000 - I update to OS 7.0 or OS7.1?

    I ve got a BB9000 (OS 4.6). I need develop functions OS 7.0 or 7.1 OS. Can I update my BB9000 4.6 to OS 7.0/7.1 OS? Thank you

  • Why do I get the error message: NO. CHM with error 2: when you connect windows 7

    My husband clicked on a video from Break.com and after 3 seconds, the screen started jumping and making a static noise then shut down.  It restarts, but we ended up getting a blue screen which eventually do a windows repair, System Restore... etc.  L

  • Questions about layers and color selection. Help, please! : 0

    Hello!  I am a user of Gimp for a long time, but finally upgraded to photoshop primarily for logo designs or.  I'm a bit lost when it comes for the most part and did not get some questions answered by youtube tutorials that I thought I could.  How to