Equation Variables

I would like to use some variables in equations in regular font instead ot italics. How can I declare such variables as Ra, Nu, Pr to be in regualr font just like it does for sin, cos etc?

To type text in an equation with the same properties that are used for function names, type a double quotation mark.
Or use the Equations palette: [ Symbols ]  [ Start String ]
and [ End String ]
Curiously, the entered text strings don't seem to get automatically tagged with Character Format "EquationVariables", and even if you apply that tag to them, it doesn't stick.
Whatever settings or overrides EquationVariables presently has get applied, but the tag itself apparently doesn't. Select such a string with the Character Designer up, and nothing is shown. Update the definition of EquationVariables, and the strings in existing equations don't change.
Indeed, I can't quickly determine what default typeface the equation editor is using. Highlighting the text, and pulling down the Format > Font menu, nothing is checked.
So you can set up EquationVariables as a convenient tool to apply what amounts to a local override format in equations strings, but apply it you must, to every string. And don't shortcut by selecting an entire equation, and applying a character format. When I just tried that, it changed a multiply "x" to a Yen.
FM 7.0p578 Win XP32/SP3

Similar Messages

  • Developing maths wave equation and make the equation variable.

    Hi expert..
    i am having difficulties to create  a program using mathematical wave equation and make the equation variable in 2 wave. e.g
    square wave=2*a/pi*atan(tan(pi*t/period)) or sine wave= a*sin(2*f*t).i need to change the frequency and amplitude between 2 wave together separately.can anyone help me please..
    Attachments:
    Draft pgm1.JPG ‏29 KB

    Sorry I didn't attach the VI. I have now attached the VI and a screenshot of the block diagram.
    Good Luck!
    Tom
    NIUK
    Attachments:
    forforum.JPG ‏88 KB
    example2.vi ‏13 KB

  • Equating variable having value 96.245,8 with variable having value 96245.8?

    Hi Gurus,
    I am trying to equate a variable(V1) of type (data element I_ERFMG  QUAN 13,3) and having value 96.245,865 with another variable(V2) of type MARD-LABST of TYPE  (Data element LABST QUAN 13,3) but unfortunately it is not in same format as above variable,its format is 96245.865  i.e. normal decimal digits.
    Please suggest how to do this convertion
    i am trying to execute this logic
    IF V1 < V2.
    Do SOmething.
    ELSE.
    Do something.
    ENDIF.
    Please help me on this... i am stuck in a middle of sea for this.
    Thanks

    Hi,
    first go to t-code SU01--> enter your user name --> click on change -->go to defaults tab
                                        -->change the Decimal notation to X 1,234,567.89
    then save and logout and login.
    now the data appears properly and you can compare easily..
    Prabhudas

  • Syntax for using a variable in an equation.

    Hi all,
    Simple question here.  What is tha appropriate syntax for using a variable in a calculation equation.  Specifically, I am taking an established curve fitting equation from my channels and trying to calculate it over a lineargenerated data set to extend the curve  beyond the original data sample.  Here is the small portion of script I have that will not work.  Thanks for any help.
    dim a,b,c
    a = Data.Root.ChannelGroups(5).Channels("air consumption formula").Properties("ResultApprAnsatzCoef1").Value
    b = Data.Root.ChannelGroups(5).Channels("air consumption formula").Properties("ResultApprAnsatzCoef2").Value
    c = Data.Root.ChannelGroups(5).Channels("air consumption formula").Properties("ResultApprAnsatzCoef3").Value
    Call Calculate("Ch(""[5]/Air Consumption LG"")= ""a"" + Ch(""[5]/LinearGenerated"")*""b""+""c""*ch(""[5]/LinearGenerated"")^2")

    Hi Gloorious,
    I am using diadem script.  In my example above, for the equation, if I substitue a,b,and c with numerical values, the script runs just fine and the formula executes as desired.  Is there a way to place the variables there instead as I have tried to do (I was hoping it was just a syntax issue) or do I have to approach it a completely different way?
    This script will execute just fine:
    Call Calculate("Ch(""[5]/Air Consumption LG"")= 4 + Ch(""[5]/LinearGenerated"")*5+6*ch(""[5]/LinearGenerated"")^2")
    but this will not:
    dim a,b,c
    a = Data.Root.ChannelGroups(5).Channels("air consumption formula").Properties("ResultApprAnsatzCoef1").Value
    b = Data.Root.ChannelGroups(5).Channels("air consumption formula").Properties("ResultApprAnsatzCoef2").Value
    c = Data.Root.ChannelGroups(5).Channels("air consumption formula").Properties("ResultApprAnsatzCoef3").Value
    Call Calculate("Ch(""[5]/Air Consumption LG"")= ""a"" + Ch(""[5]/LinearGenerated"")*""b""+""c""*ch(""[5]/LinearGenerated"")^2")

  • How do I enter a variable into an equation?

    How do I enter a variable into an equation?

    Jacob,
    Spreadsheets don't use equations, so the usual nomenclature can be confusing.
    When you enter something into a spreadsheet cell, it is either a Literal Value (Constant), or an Expression, preceded by an equal sign, that tells the spreadsheet to display something. Every Cell Reference in the Expression is a Variable. The equal sign in this case does not signify an equality, it just signals the spreadsheet that you want it to do something, defined by the expression that follows.
    Here's an equation: A1 = B1 + C1 + 10, where B1 and C1 are variables and 10 is a constant.
    To figure out what the value of A1 is, you write an expression in cell A1. That Expression would be: =B1 + C1 + 10. The operation that is performed by the spreadsheet is that it looks at B1 and C1, adds whatever it sees there and then adds the constant 10, and displays the result in A1.
    It can get very complex. Expressions can contain Functions that catch the Time or generate a random number, or round a value, etc. Just remember that anything you see in a cell can be changed, so that content, that cell address, is a variable
    Jerry

  • Equation with dynamic variable

    Is it possible to use one equation with 2 or more variables and make one of these variable as an output without changing the equation?
    Take the equation below example:
    R=x/(0.28706/0.46153+x)*(101.325/P)
    As usual, by inserting the values of x and P, then value of R will be answered.
    But if only the value of R and x can be inserted, how can the value of P to be answered without altering the equation.
    The equation is being used multiple time in the same VI. One is for generating one part of a graph (Mollier Diagram) and the others are to be used to find the value at the intersection.
    I hope my question is understandable.
    Thank you in advance
    -sikat
    Solved!
    Go to Solution.

    R = (x/(a+x)*(b/P) ... thx, this really will be helping me to make this Eq more understandable
    Formula Node:
    It seem that when i entered an equation(Eq), only the left side of the Eq can only be one variable thus producing a single output.
    Case Structure(or SELECT function):
    It changes the formula to a new form for every output. Let say i want make x an output. That means i need to create a new Eq : x=(P*R/b-1)*a, which i want to avoid if posible .
    .... Does this means that a new Eq must be created/converted for each output.
    Newton Raphson zero finder vi: (base on this N-R Example)
    I have tried using this VI by making my Eq equivalent to zero and using SELECT function depending on situation. Somehow i think it will work, but the VI seem too bulky for one simple formula (with 2 variable and 1 output), which i want to avoid since many more formula will be used.
    I ll be glad to see more suggestions.

  • User Created Equations and program Variables

    Is there a way that I can take a user entered equation and apply it as the equation for a value? How can I make a String entered by the user to act as an equation insted of a string?
    I've created a part in my program with various mathematic operators as well as user friendly variables. The user selects the operators as well as variables from JComboBoxes. The user-friendly variables are converted to actual variables via a hash and another string is created to represent an equation.
    Example:
    User selects variables and operators to create:
    String UserEquation="(Average Tip)-(Total Fares *.10)";
    The above isn't much helpful if it doesn't reference real varaibles. The real equation after applying the hash is:
    String RealEquation = "(numbers.get(1) - (numbers.get(3)*.1)";
    Note: numbers is a vector of doubles.
    How can I get the program to evaluate the "Real Equation" instead of treating it like String?
    I would like to do somthing like the following:
    double total=RealEquation;
    Make Sense?? Is there a way to accomplish this? anyone have any idea how I could do this? Thanks in advance!!!

    Or, if speed isnt an issue, search the forum for using J6's scripting support
    to use JavaScript for equation evaluation. I posted an example just a couple weeks ago.
    Here it is:
    http://forum.java.sun.com/thread.jspa?threadID=5228772&messageID=9933551
    Reply #8

  • Equating a passed variable to another variable??

    I have a simple 3 part setup as follows...
    1 JSP, 1 Java Class, 1 Interface for the class
    I want the JSP file to pass a variable to the java class which contains the name of a variable in the interface. (e.g. a String called "name", the variable name in the interface contains "Bob Smith") How do I get java to equate what is in the passed variable ("name") to what is contained in the name variable of the interface("Bob Smith"). Hopefully I explained this with enough detail to understand, but if I didnt, let me know.
    -Adam Wachtel

    Nevermind, I'm going to switch the flow of data so I dont have to do that.

  • Is there a linear equations VI thatI can use for inputting the coefficients with variables attached to them? Thank you.

    Is there a linear equation VI that I can use for inputting the coefficients with variables attached to them? I am currently studying elec engineering and am in the thick of transient analysis. It is very time consuming figuring the mesh and nodal analysis in the transform domain. With 3 branches in a mesh analysis the resistors, inductors and capacitors are represented with variable s in them. I need to determine in the transform domain then convert to the time domain. One equation goes like this: (3+2s+1/4s)i1s - (2s)i2s - (1/4s)i3s = 6/s -6. The other equations are similar. I must keep the variable s in the equation and solve it with s in the result. I made several VIs for determining simultaneous linear equations some for complex numbers and they work great. This one has me a little stumped. I thinking that maybe Labview doesn't have a VI for this. The other VIs were fine because you just plugged in the numbers and ran the VI and got your result. Any VIs that do LaPlace transform operations?
    Thank you.
    Tom

    Hello Tom,
    You can find a VI for doing Laplace transforms in Functions->Analyze->Signal Processing->Frequency Domain (this VI is only available in the Full and Professional versions).
    You may also find the following tutorial of help in working with linear systems in LabVIEW.
    Linear Systems in LabVIEW
    Keep up to date on the latest PXI news at twitter.com/pxi

  • EVELUATING EQUATION IN STRING VARIABLE

    Hello all
    Is there any function avaliable in Oracle that can eveluate equation from a string variable.
    For example how can i eveluate '(4+5)/3' written as a string.
    If anyone has any suggestion or got a function for it, can you pass it to me.
    Thankyou
    Faisal I Sheikh

    hello
    simpliest would be select if (string) from dual ... if you wanna it as function you witl have to use dbms_sql package or execute inmediate (depends on where will be your function placed (client/server) and its version ...
    hope this helps

  • How to build an equation with variables

    I want to solve an equation shown in below by the Newton Raphson zero finder vi:
    z-a*b*c*exp(-z/a),
    a, b, and c are variables
    I can build equation with constant a,b,c, but how can I build this one?
    Many thanks!
    Solved!
    Go to Solution.

    A couple of points I usually feel compelled to make when I see the use of the NR method.
    1)  Not an issue in a simple case like this, but the NR routine is typically a poor choice when you have a 1D problem and you calculate the derivative numerically.
    2)  If I am going to hardwire the formula like the previous example, then I will just use a VI instead of a formula.  I only use formulas when I want to be able to make changes on-the-fly.  I am just a bit dubious of the formula parsing VIs in general.
    3) There is a VI called Substitute Variables which will take a set of rules and substitute numbers for parameters in your formula.  Here is a quick example of its use.  Here the names and number of parameters is fixed by the cluster itself.  If I need full flexibility I use a table to hold the parameters and their values, but I do not want to muddy the waters here.  You can just choose your favorite UI and convert (if necessary) to the proper cluster for the substitution rules.

  • Resolving a variable in an equation...

    Hi All
    The problem is this:
    e.g. (3-(4*a)/4 = 40
    I need to be able to calculate what 'a' is. I have converted the left hand side of the equation to rpn but cannot work out how that will help me at the moment. The example is simply that, I could have any equation. I suppose I could write some monolithic tokeniser and bodge some sort of calculator but wondered if I am missing anything obvious. I have done the usual trawl thru the forums but to no avail...
    Any assistance would be greatly appreciated.
    Rich

    Hi All
    The problem is this:
    e.g. (3-(4*a)/4 = 40
    I need to be able to calculate what 'a' is. I have
    converted the left hand side of the equation to rpn
    but cannot work out how that will help me at the
    moment. The example is simply that, I could have any
    equation. I suppose I could write some monolithic
    tokeniser and bodge some sort of calculator but
    wondered if I am missing anything obvious. I have done
    the usual trawl thru the forums but to no avail...
    Any assistance would be greatly appreciated.
    RichIf your equations have only one unknown value, you can test different values until you find the answer.

  • Creation of Multiple Variables of same type at runtime

    Hi,
    I have a requirement in which I need to create multiple variables at run time . The variables should be TRPE REF TO CL_GENIOS_VARIABLE. The number of variables required will be determined at run time based on the number of materials in a Bill of material. We are using these variables for some calculations as GENIOS is a SAP given code to solve linear equations.
    Please help me on this. If some one can let me know how I can create field symbols dynamically with different name that will also help.

    *       CLASS lcl_genios DEFINITION
    CLASS lcl_genios DEFINITION.
       PUBLIC SECTION.
         METHODS : constructor.
         METHODS : create_model
                    IMPORTING
                      i_name TYPE genios_name,
                   create_variable
                      IMPORTING
                        i_type TYPE genios_variabletype DEFAULT if_genios_model_c=>gc_var_continuous
                        i_lowerbound TYPE genios_float DEFAULT 0
                        i_upperbound TYPE genios_float OPTIONAL
                        i_name TYPE genios_name.
       PRIVATE SECTION.
         DATA : lo_enviroment TYPE REF TO cl_genios_environment,
                lo_model TYPE REF TO cl_genios_model,
                lo_variable TYPE REF TO cl_genios_variable.
    ENDCLASS.                    "lcl_genios DEFINITION
    *       CLASS lcl_genios IMPLEMENTATION
    CLASS lcl_genios IMPLEMENTATION.
       METHOD constructor.
         lo_enviroment ?= cl_genios_environment=>get_environment( ).
       ENDMETHOD.                    "constructor
       METHOD create_model.
         lo_model = lo_enviroment->create_model( 'DUMMY' ).
       ENDMETHOD.                    "create_model
       METHOD create_variable.
         lo_variable = lo_model->create_variable( iv_type       = i_type
                                                  iv_lowerbound = i_lowerbound
                                                  iv_upperbound = i_upperbound
                                                  iv_name       = i_name       ).
       ENDMETHOD.                    "create_variable
    ENDCLASS.                    "lcl_genios IMPLEMENTATION
    DATA : lo_genios TYPE REF TO lcl_genios.
    START-OF-SELECTION.
       CREATE OBJECT lo_genios.
       lo_genios->create_model( 'DUMMY' ).
       lo_genios->create_variable( i_lowerbound = 1
                                   i_upperbound = 255
                                   i_name = 'DUMMY' ).
    You can create genios_variable like this.
    and change this :
    TYPES : Begin of lst_genios, 
                       genios TYPE REF TO cl_genios_variable, 
                    End of lst_genios. 
    like this :
    TYPES : Begin of lst_genios, 
                       genios TYPE REF TO lcl_genios, 
                    End of lst_genios. 
    or you can create your table as Kartik example.

  • How do I determine what the default font for equations is?

    In the Equation Fonts dialog box, we can set the font of Functions, Numbers, Strings, and Variables.  In those dropdown lists, there is a Default (para) Font choice.  How do I determine what font that is?  What paragraph tag is associated with an equation?
    With all the choices set to default, numbers types in the equation look similar (but not exact) to the Symbol font, but of course typing letters in the Symbol font reveal greek characters.  So is it some derivation of Symbol?

    Thanks.  That .cfg file shows Times Regular for the following characters, but none of these characters are the regular alphabet, (are they?) so there must be yet another place?
    mathchar.cfg    53      < plus        2b Times Regular>
    mathchar.cfg    54      < equal       3d Times Regular>
    mathchar.cfg    70      < gg          c8 Times Regular>
    mathchar.cfg    71      < ll          c7 Times Regular>
    mathchar.cfg    93      < fact        21 Times Regular>
    mathchar.cfg    94      < dagger      a0 Times Regular>
    mathchar.cfg    98      < minus       d0 Times Regular>
    mathchar.cfg    106      < uequal      3d Times Regular>
    mathchar.cfg    112      < diff        64 Times Regular>
    mathchar.cfg    116      < ucomma      2c Times Regular>
    mathchar.cfg    117      < semicolon   3b Times Regular>
    mathchar.cfg    118      < optotal     64 Times Regular>
    mathchar.cfg    127      < power       5e Times Regular>
    I've determined (by comparing equation string to body string visually) that Times is in fact the font being used.  I just don't see yet how that gets determined.  Any further thoughts?

  • Drawing quadratic equations on a 2D cartesian co-ordinate system

    Hi,
    I need to design a 2D cartesian co-ordinate system to plot quadratic equations on the graph using pure action script. Quadratic equations are of the form y = ax^2 + bx + c where a,b and c are the variables for which the values need to accepted from the user as input. Accordingly, the curve needs to be plotted on the graph.
    Could anybody kindly help me to write an action script 3.0 code to suffice the above requirement?
    Thanks in advance.
    Cheers,
    Pratik.

    that will take more work than doable in a forum.  to start, you need to find the roots of your equation (use the quadratic formula) and make sure the real roots are towards the center of your x-axis.  the two parts where y tends towards (+infinity or -infinity) do not require much display.
    if there is only 1 or 0 roots, put that equation in vertex form and use an x-axis centered around the vertex.
    for a sample of how this can be done:  http://www.kglad.com > snippets > function graphs.

Maybe you are looking for

  • Save As option to preserve original filename

    I know that this option exists when batch renaming in Bridge, but I am wondering about the ability to do this from Photoshop. It would be nice to be able to preserve the RAW filename to a file when saving from Photoshop. We do a lot of photography fo

  • After using Lookout Web client, always iexplorer.exe collapses ?

    I've read the document with ID:25LCF1J6 that speaks of this same error, and the solution consists of updating the version of Lookout Player. In my case I use the last version of software (5.0).

  • Problem starting Weblogic/SOA Server on Oracle VM VirtualBox

    Hi, I have installed Oracle VM VirtualBox on a Windows 7 Home Premium 64 bit Toshiba Laptop with 6G RAM. I then imported the Pre-built VM for SOA Suite available at http://www.oracle.com/technetwork/middleware/soasuite/learnmore/vmsoa-172279.html. Th

  • Using new methods (getContentHandler and parse(InputSource)

    I am trying to read an xml file then count how many books from the xml file. I learned some methods are deprecated, so I tried to use the new methods. But, I somehow can't get the program work. I am stack on the getContentHandler and parse(InputSourc

  • Tomcat 6 Admin Webapp Headache

    Hi there, I've just installed Tomcat 6 and am now trying to install the Admin webapp. Firstly, I couldn't find it anywhere on the tomcat website and I eventually (after loads of searching around on google) found the following: http://www.apache.org/d