Algebraic manipulations of solutions to differential equations

Hi, guys

I found the general solution of the differential equation y "-3 t = 1 using the command DESOLVE. I did it manually first and the answer I got was: 1/2 t ^ 3 + 1/2 t ^ 2 + C1t + C2; However, when I do with the calculator that I get is: (2cC0 + t * cC1 2 + t ^ 3 + t ^ 2) / 2.  I tried everything in the ALG menu to get rid of the 2 in the denominator. Nothing has worked.  I'm in Exact, symbolic mode.  Am I missing something?

Thank you very much!

Hi!, jc_cfa:

If you have RPN MODE...

Configure the FLAGS ...

Function 03-> symb

Approx. 105 mode on

Calculator modes

Number format... STD

Tags: HP Tablets

Similar Questions

  • First HP: differential equation solver...

    Hi all

    I would like to know how to use HP first to solve the differential equation



    I tried to read the user manual, but with no luck.

    Tim

    Hi!, @Theplum:

    Welcome to Forum!

    If you learn properly the use of desolve, you see, better explained in the AUR HP50G, of...

    [PDF] HP 50 g / 49 g + / 48gII graphing calculator

    h10032.www1.HP.com › manual GTC

  • The first (emulator) HP: HP Premium differential equations

    Hello

    I'm looking a calculator with AC for my electrical engineering studies and just tested

    the first emulator to get a first impresseion.

    But while testing its features, I got some results of unexpectet on differential equations,
    that I would be confirmed on a calculator of real world.

    A simple as equation y' = x

    CODE: desolve (diff (y) = x, x, y)

    wait-> x ^ 2/2 + C

    First HP-> 1/2 * (x ^ 2 + 2 * C).

    The result is correct, but nobody would write it down in this way, nor would one solve it how works the first.

    A little more difficult equation could not be resolved by the premium: 2 x ^ 3 * (1 + y ^ 2) = y'

    CODE: desolve (2 * x ^ 3 *(1+y^2) = diff (y), x, y)

    wait-> y = tan (1/2 * x ^ 4 + C).

    First HP-> could not resolve the implicit equation

    It is not an implicit equation, the two WolframAlpha (iOS) and CASES of TI (iOS) could also resolve this one)

    And last but not least: y' * sin (x) = y * ln

    CODE: desolve (diff (y) * sin (x) = y * ln (y), x, y)

    wait-> y = e ^ (C * tan (x/2))

    First HP-> y = e ^ (sqrt (cos (x) ^ 2-1) / (C * cos (x) + C))

    I don't know what made the CASE here, but there is no reason to use the Pythagorean trigonometric identity.

    Would be nice if someone with a premium could conifrm/refute these results or tell me what I've done
    evil.

    Hello

    The latest version of premium can solve your 2nd test case (desolve ((2 * x ^ 3 *(1+y^2)) = (y'), x, y))

    However, the results for 1 and 3 test cases are the same that you tested.

    I will pass the info to the person who develops the CASE and if all goes well he will be able to improve it.

    Cyrille

  • Just me, or is the 50g low in solving differential equations?

    Hi all

    I used Ti-89 s widely in the past, as well as the Ti-NSpire CX CASE and now the 50 g for about 1.5 years. I love some aspects of the 50g (sensation of keys, ease of unit, RPN conversion), but I can't help but notice some areas where it reallllly hangs out of the competition.

    It is an example that I really noticed recently in solving differential equations. So far, several examples I've tried (all immediately resolved by my Ti - 89 and Nspire CX CASE), the 50g smothered on each.

    A very simple example: solve y "= - 9.8, with boundary conditions y (0) = 2.9 and y'(0) = 3.8.  This can be solved by hand in about one minute, but the 50g can't do. If I input ['d1d1Y (X) =-9.8' ' Y (0) = 2.9 ' ' d1Y (0) = 3.8 '] in level 2 on the stack, then 'Y' on a level and then run desolve, it returns "Error: Undefined result.

    I missing something here, or is - this really unable to resolve such a differential equation based? I thought that advanced and 'better' mathematical capacity HP CASE was meant to be one of the reasons why it takes precedence over offers from Ti, but I must say, so far I do not see that.

    Josh

    Hello!

    Try with the exact numbers:

    ["d1d1Y (X) =-49/5 ' ' Y (0) = 29/10 ' ' d1Y (0) = 19/5 '"]

    « Y »

    DESOLVE

    (after SIMPLIFICATION) You'll get years:

    {Y (X) =-(49*X^2-38*X-29)/10}

  • differential equation

    Dear Sir

    I am a beginner in labview and I would like to solve two differential equations and field them over time:

    DX1/dt = (G - K * x 1 (t)) /V (t)

    dV (t) /dt = (1/((1-(((G-x1*(K-U))/(G-x0*(K-U)))^((U/(K-U)))-1))*U

    G = 7.8

    U = 0,166

    x 0 = 132

    VO = 432

    K = 2.02

    Could someone please help me and send the block diagram for these two equations.

    The graphs of these two variables have to be reduced over time. The graph of X 1 is of exponential decay.

    Hello Ahmad,

    I made a simple example and put it on our community page.  This example uses our ODE solver vis LabVIEW comes with 8 built in ODE solvers.  These are all linear system solvers.  It seems that your equations are not linear. I suggest using the LaPlace transforms to solve equations.

    Code example

  • Calibration system as a solution of nonlinear equations

    Nice day

    The challenge of the day is to provide a calibration for a release of the accelerometer, expressed as a binary value.

    I have an accelerometer whose operating range can be set (±2g, ±4g ±8g).  The accelerometer itself then generates a binary value to 16-bit resolution.  Therefore, only 2 ^ 16 value (0-65535) represents an acceleration value of which depends on the lines we have.

    So we make the asumption that the response is linear, which allows us to claim:

    Acceleration = scale x value binary + Offset

    I have three axes of a value of data, accelerometer A, B and C.  If I hold the stationary accelerometer, the only thing that I should be reading is acceleration due to gravity, g.  It makes me of the relationship

    (A) ^ 2 + (B) ^ 2 + (C) ^ 2 = g ^ 2

    Since then, in any direction, the magnitude of the combination of all the three readings of the acceleration must be the gravitational acceleration (and that shouldn't change little matter which side you happen be pointing the accelerometer).

    What gives me, then, is a non-linear relationship of 6 variables (scale factors three and three shifts). I should be able to take six measures in an arbitrary orientation that will give me six output values of each had.  Then I should be able to get out the scale factors and offsets for each accelerometer, either in terms of g or with respect to which, in my opinion, g is.

    So, my question is how can I get Labview to do this?  I see that there is a tool to solve linear equations, but I don't see one appropriate for the non-linear case.  I'm also very comfortable believing that I'm just missing it :-)

    Thank you!

    Since the help file detail to the nD nonlinear system Solver.vi:

    Formula Variables VI analysis

    The formula analysis screws accept only the following variables:

    Note  These same variables to specify the description of the chain of the formula for the adjustment of non-linear curve VI.

    a, a0,..., a9

    b, b0,..., b9

    .

    .

    .

    z, z0,..., z9

    For variable and function names, only lower-case letters are allowed. Screw interpret case as errors.

    1. I found this by opening the Panel before the nonlinear Solver VI when executing your VI. The error information said that there was a problem with the formula.

    2. I replaced the Scale__ and Offset__ variables with a0, a1, b0, b1, c0 and c1 in tables X and f (x).

    3. I have expanded the values start and end - 10 and 10.

    This seems to work much better. At least it runs.

    Lynn

  • solve the differential equation

    Hello

    I m trying to solve a simple equation using euler vi. But I have not yet. the equation is:

    (T) DH / DT = 1/A *(F-h/R). I m not understand what I need to plug on euler vi. I´v already took a look at the example of ode euler, but I continuously difficult. Please help me. Thank you.

    I guess that your real goal is to learn to use Euler's method as it is a fairly easy to solve analytically ODE.  Here's a quick example.

  • Solution of the equation to convert HMS on HP33S.

    When I program the equation: d = (l /(2*pi*r)) * 360 which is the delta of a curve, my answer is returned in decimal degrees.

    How can I enter this equation to get my answer to return to HMS?

    Thank you everyone!

    Hello

    You can enter the equation as:

    D =-> HMS ((L /(2*pi*R)) * 360)

    Kind regards.

  • System of differential equations to solve a model of BZ reaction

    Hello

    I wrote this little code to visualize the oscillation of the BZ reaction. I expect to see the oscillation as in page 3 and 7 of the link below

    http://home2.fvcc.edu/~dhicketh/DiffEqns/spring2014projects/SilasSchwarz/final/final/bzreaction.PDF

    This work is done in Matlab, and I want to reproduce in Labview with the same settings. But so far I could not see the oscillation.

    Could someone body spot what is wrong with this code?

    See you soon,.

    Zied

    I have noticed that but not had time yesterday to examine it. I've implemented their matlab scripts and it turns out that the constants they give; e, e' and q are in fact 10 ^-n, and not 10 ^ n. A typo in a student newspaper, how rare once I changed that I had the correct plot as shown here:

    Attached to the VI. It runs much more slowly than in Matlab, so be warned.

  • Problem call Matlab external function under Labview 7.1

    Hello

    I have the problem when I want to call my m.file function in the script Matlab under Labview 7.1, that labview does not seem to be able to find this external Matlab function. I searched this forum, someone talked about setting search path in the tool-> option-> Matlab search path, but it seems that it does not exist in the version 7.1.

    Is it possible to solve this problem in version 7.1 or update to the latest version, the only solution?

    Thank you

    Hello

    I think you're confusing the LabVIEW MathScript nodes and the MATLAB® script.  The MathScript node is introduced in LabVIEW 8.0 and the setting of path search that you speak to MathScript, reason why it does not exist in LabVIEW 7.1.  Look at the example of differential equation Lorenz for the MATLAB script node.  It shows how to set the path of research to be compared to the VI.  The example is found in the node of script examples\scriptnode\MATLAB - Lorenz Diff Eq.vi.

    MATLAB® is a registered trademark of The MathWorks, Inc.

    Grant M.
    Staff software engineer | LabVIEW Math & Signal Processing | National Instruments

  • Variables in the function MathScript ode solver

    Hello

    I'm using LabView for awhile and I started using the text tools more. To solve a system of differential equations, there is this very elegant tool to do this in a MathScript node with the ode solve algorithms (for example, "ode_adams"). As the LabView help said, I've defined a function and registered as a ".m" file. I loaded this function in mathscript and solve differential equations.

    Both and so good, but my problem is that I can not all variables in the function. I can only put numbers in the function but not variables. Unfortunately I need to define the variables outside the function in the MathScript node.

    Does anyone have an idea how to manage the variables in this case?

    I have attatched a picture of the function and test VI (LV2014).

    Greetings

    Global variables to solve this problem:

    Solution:

    Greetings

  • education to ENTER a custom program - HP 35s calculator

    just try to program a quadratic equation in this thing, came across this example of how to provide the two solutions of the equation:

    Statement on line
    ------+-------------
    Q001 LBL Q
    Q002 CF 10
    Q003 ENTRY HAS
    ENTRY Q004 B
    Q005 ENTRY C
    Q006-B÷ (2xA)
    ENTER Q007
    Q008 ENTER
    Q009 B ^ 2-4xAxC
    Q010 x > = 0?
    Q011 GTO Q017
    Q012 + /
    Q013 sqrt, press the k key
    Q014 I have
    Q015 x
    Q016 GTO Q018
    Q017 sqrt
    Q018 2xA
    ÷ Q019
    Q020 +.
    Q021 x <>y
    Q022 LASTx
    Q023-
    Q024 RTN

    fact sense... but I have the stupid question that I could possibly think... How in the hell you enter as INPUT and instruction?  (Q007 and Q008)

    mast

    Hello

    > Try to stick to using the ALG mode... how my brain works is more in line with this mode.

    I understand it, we are all different. Even if I prefer RPN myself, I found it interesting using ALG mode on the 35s.

    Here is the program for ALG mode:

    Q001 LBL Q
    Q002 CF 10
    Q003 ENTRY HAS
    ENTRY Q004 B
    Q005 ENTRY C
    Q006 B÷(2×A) ; the first - is the +/-key
    Q007 LASTx STO R ; The LASTx is blue, a black > will show instead of the STO
    Q008 B ^ 2-4 × A × C ; use y ^ x instead of x ^ 2
    Q009 x > = 0?
    Q010 GTO Q015
    Q011-LASTx ; press + / followed by the LASTx
    Q012 sqrt (LASTx)
    Q013 I have LAST ×x
    Q014 GTO Q016
    Q015 sqrt (LASTx)
    Q016 LASTx÷ (2 × A)
    Q017 R + LASTx
    Q018 R-REGY ; for REGY press on Roll down (E key) and if necessary to highlight Y
    Q019 RTN

    Press on y x <>see the other root.

    Pressing x <>y swap between the two roots.

    Best regards.

  • program import Java in Labview

    I have an equation of the standard deviation (7th order differential equation) calculaiton written in Java and I wanted to use this program in Labview. Anyone can suggest how to do it plse. I'm not familiar with Java me.

    Hi SINANGA,

    I'm sure that we can help, however I copy and paste your message in the forum of LabVIEW for a faster response.

    http://forums.NI.com/NI/Board?Board.ID=170

    I hope this helps!

    Chad Erickson

    Switches Product Support Engineer

    NOR - USA

  • The Solver RK4 VI has a maximum length of scan?

    I have to solve a differential equation in one of my report, and after adding in a new logic (which decides whether or not to include an additional number in the equation), it stops the execute. The Solver, RK4 VI East-23009 error: error in the right-hand side of the equation. Covering over the stream, I've isolated to two eq'ns: dG/dt and dI1/dt, who both have their own VI in the case of ODE solver. I have all converted to a width of 8, precision channels 12 and I think that my newest additions have exceeded the limit digitization of execution of RK4 screws max. inside, I quickly found that I can't really understand what is happening, so I come to you.

    Some good starting parameters:

    in VariableCluster.ctl, set Xa 100 X (t - 1) de.01, I1(t-1) 10, I2(t-1) a.5

    control.CTL constant, the value weight 80, activate auto of Glucose.

    EDIT: to start execution, run solver.vi ODE which is located in the folder of ODE solver.

    In VD.vi VD is set to the value of the constant of VD Mult (hidden) which by default is zero. Later, this value is used as a divider that produces NaN values in f. I have no idea whether it is what you want, but the NaN will keep it forms solve anything.

    I have not dug down beyond that point.

    Lynn

  • Documentation of the API for CWIMAQControls

    I am a software developer with several years of experience in medicine and other sciences, but now is working on a software project using National Instruments IMAQ customer in .NET and have no prior experience with image processing.  The only I can find the API documentation is a help file with the product intalled.  Then this under did a good job explaining the service inputs and outputs, it is light on the explanation in a real retail functions actually do.  Under .NET (not my favorite but this is what I got), I can get a good summary of the objects and their properties / methods, which is useful.  I see there are a lot of good material in this forum, but what I need right now is good basic documentation.  I also noted a plethora of PDF files in the directory of installation but found nothing there or on ni.com which gives me the level detail fo I need.  When I think that the documentation of the API, I expect something as complete what Sun Microsystems offers with any JDK Java - it seems that the doc API IMAQ assumes a certain level of ease and does not for someone like me come with literally no background outside a lot of math (algebra of vector fortunately!) and science in College courses.

    Am I missing something?  I see that there are many examples of programs and I can get what want from those, I guess, but I do not charge my client for all the time it will take, if there is a more ready fo source information.

    Now, I realize that the field of the treatment of the image is large and it would be difficult to develop a software of this nature without a learning curve.  So I have

    I studied through two web queries image processing and having bought the book 'Digital Image Processing (Gonzalez, wood).

    Specifically, I was put to zero in on what is needed for the task at hand: "blob detection" and "blob tracking movement."  It seems pretty clear to me, some have become familiar with the image processing basic terminology and methodologies that have been developed for tracking, and image recognition of movement IMAQ software can do what it takes.  At this point, I can do basic things with objects presented in .NET.  It is analogous to maybe ask a kid who just the definition of an equilateral triangle to solve differential equations.

    In this case, what I really need is one or more examples of programs that perform functions similar to what I want to do.  Is there any suggestions in this regard?  My research on ni.com revealed evidence of the items of "blob detection" and "blob motion" and I see that these were used for tasks as complex as the particles of follow-up and the counting of blood components.  I don't see and od you expect not to see any object, follow also specific methods than what I need to do - which is in fact quite abstract - and chart the path of the blob more to light to the camera image gained when it moves in real time.

    It's a strange feeling to have been programming for decades, and then enter a field where the customer needs require me to act as a nini who has not done its homework.  But it's the nature of the job.  The pointers will be appreciated.  If I missed something obvious I don't even mind being reprimanded to be unobservant or lazy.

    Thank you very much in advance for any assistance that may be provided.

    tsfarrell-

    Have you looked at the manual of the Vision Concept?  (it should be in the form of PDF in the documentation directory, or you can see it here) It has a more detailed description on what our algorithms.

    We also ship many examples for .NET - those of the 2. Functions\Binary analysis file dealing with blob detection and may be useful.

    Good luck to you on your application!

    Greg Stoll

    Vision R & D

    National Instruments

Maybe you are looking for

  • Can't play any DVD on laptop!

    I have a Toshiba laptop and I have been using an external hard drive to play music and watch DVDs with great success.  All of a sudden I ca't play DVD but I can still play music CD I have XP and I tried to download an upgrade of the driver video but

  • Windows CONTACTS

    How to organize contact list so that the list is organized by family name when you open it?

  • Rules of the authz in ISE 1.2 Max?

    Hi all Is there any doco on what the current limit of rules Auth Z in ISE 1.2 I read 1.1.x had a limit of 140 authz rules. I also consider the political use sets whether this increases the total authZ rules. See you soon

  • Question 4.6 update for EDGE blackBerry Smartphones

    After installing today's update (23/09/09) BB Bold (4.6) my "BOLD" will no longer service EDGE, GSM only.

  • Moving from PC to Mac, how to install it?

    I just got a Mac and I want to migrate my CS6 Microsoft for Mac.  I read that Adobe could have a cross grade option so that I don't have to buy it again.  Who should I contact to make the swap?