How to script specific equation?

I'm trying to create a form for company wide use.  I'm totally new to adobe scripting and would like help with the following equation.
y=x(exp^ab+c)
Where x, a, b and c are all input into text fields by the user.  My hang-up so far has been the exponential part of the equation. 
Thanks.

Use the exp method of the Math object: http://www.w3schools.com/jsref/jsref_exp.asp

Similar Messages

  • How to read specific line in a file through UNIX shell script..

    Dear Friends,
    I have generated .ldt file under admin/import/US folder through FND_LOAD script for Download the responsibility.
    I registred Shell script (Host concurrent program) in Oracle apps. Now i want to read the file in speciific line which i was generated in admin/import/US folder through unix shell script. Please help me how to read specific line and the i want to replace that which i am going to read the specific line.
    Thanks in advance..
    Regards,
    Velu.

    Hi,
    Thanks for reply,
    My requirement i have to find the specific line in a file and find and replace needed word over there it's should happen programatically. i want to read specific line in a file Once complete find and replace the condition should exists. The loop will go to next file and read the same line in next file also do the same process upto how many files over there.i am doing through UNIX shell script. Please help me out to find the
    Your suggestion is highly appriciated.
    Thanks,
    Velu.

  • How to script out to connect to Active Directory specific domain controller server?

    How to script out a script that enable us to connect to the specific domain controller server, it is because I have 2 different servers version and both of them have been communicate with powershell, thus, I wanted to powershell to communicate with one
    server version. How to script this out? 

    Please see the Posting Guidlines:
    http://social.technet.microsoft.com/Forums/en-US/a0def745-4831-4de0-a040-63b63e7be7ae/posting-guidelines?forum=ITCG
    and this article on how to ask questions in a technical forum:
    http://sincealtair.blogspot.com/2010/04/how-to-ask-questions-in-technical-forum.html
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • Looking for ACE Probe TCL script specific for LDAPS

    Hello Everyone,
    I have searched the forum, and i am having difficulty finding an example of how to modify the LDAP TCL probe from port 389 to secure LDAP port 636.
    Could someone kindly point me or provide me the modified TCL script if you happen to have it.
    During my search I also found a config that someone had provided, which contained the following probe:
    probe tcp LDAPS_Probe
      port 636
    probe tcp LDAP_Probe
      port 389
    I was trying to figure out if this a modified TCL script for LDAP or modifed TCP TCL script specific for port 636.
    This is how I applied the script for LDAP port 389.
    script file 1 LDAP_PROBE
    probe scripted LDAP_PROBE_389
    interval 5
    passdetect interval 30
    receive 5
    script LDAP_PROBE
    serverfarm host SF-LDAP-389
    description SF LDAP Port 389
    predictor leastconns
    probe LDAP_PROBE_389
    rserver LDAP-RS1-389
    inservice
    I will be more than glad to provide you any additional information that you need.
    As always thanks for your input.
    Raman Azizian
    SAIC/NISN Network services

    normally you would engage a TCL developer or ciso advanced services to develop a custom script for anything other than what Cisco provides in canned scripts. If you are comfortable with tcl you can do it yourself. Here is an example of the LDAP script modified to include initiation via ssl.  default port is 389 when you implement you would specify 636.
    #!name = LDAP_PROBE
    # Description:
    #    LDAP_PROBE opens a TCP connection to an LDAP server, sends a bind request. and
    #    determines whether the bind request succeeds.  LDAP_PROBE then closes the
    #    connection with a TCP RST.
    #    If a port is specified in the "probe scripted" configuration, the script probes
    #     each suspect on that port. If no port is specified, the default LDAP port 389
    #     is used.
    # Success:
    #   The script succeeds if the server returns a bind response indicating success
    #    (status code 0x0a0100) to the bind request.
    #   The script closes the TCP connection with a RST following a successful attempt.
    # Failure:
    #   The script fails due to timeout if the response is not returned.  This
    #    includes a failure to receive ARP resolution, a failure to create a TCP connection
    #    to the port, or a failure to return a response to the LDAP bind request.
    #   The script also fails if the server bind response does not indicate success.
    #    This specific error returns the 30002 error code.
    #   The script closes any attempted TCP connection, successful or not, with a RST.
    #  PLEASE NOTE:  This script expects the server LDAP bind response to specify length
    #   in ASN.1 short definite form.  Responses using other length forms (e.g., long
    #   definite length form) will require script modification to achieve success.
    # SCRIPT version: 1.0       April 1, 2008
    # Parameters:
    #   [DEBUG]
    #      username - user login name
    #      password - password
    #      DEBUG        - optional key word 'DEBUG'. default is off
    #         Do not enable this flag while multiple probe suspects are configured for this
    #         script.
    # Example config :
    #   probe scripted USE_LDAP_PROBE
    #         script LDAP_PROBE
    #   Values configured in the "probe scripted" configuration populate the
    #   scriptprobe_env array.  These may be accessed or manipulated if desired.
    # Documentation:
    #    A detailed discussion of the use of scripts on the ACE is included in
    #       "Using Toolkit Command Language (TCL) Scripts with the ACE"
    #    in the "Load-Balancing Configuration Guide" section of the ACE documentation set.
    # Copyright (c) 2005-2008 by Cisco Systems, Inc.
    # debug procedure
    # set the EXIT_MSG environment variable to help debug
    # also print the debug message when debug flag is on
    proc ace_debug { msg } {
        global debug ip port EXIT_MSG
        set EXIT_MSG $msg
        if { [ info exists ip ] && [ info exists port ] } {
         set EXIT_MSG "[ info script ]:$ip:$port: $EXIT_MSG "
        if { [ info exists debug ] && $debug } {
         puts $EXIT_MSG
    # main
    # parse cmd line args and initialize variables
    ## set debug value
    set debug 0
    if { [ regsub -nocase "DEBUG" $argv "" argv] } {
        set debug 1
    ace_debug "initializing variable"
    set EXIT_MSG "Error config:  script LDAP_PROBE \[DEBUG\]"
    set ip $scriptprobe_env(realIP)
    set port $scriptprobe_env(realPort)
    # if port is zero the use well known ldap port 389
    if { $port == 0 } {
        set port 389
    # PROBE START
    # open connection
    ace_debug "opening socket"
    set sock [  socket -sslversion all -sslcipher RSA_WITH_RC4_128_MD5 $ip $port ]
    fconfigure $sock -buffering line -translation binary
    # send a standard anonymous bind request
    ace_debug "sending ldap bind request"
    puts -nonewline $sock [ binary format "H*" 300c020101600702010304008000 ]
    flush $sock
    #  read string back from server
    ace_debug "receiving ldap bind result"
    set line [read $sock 14]
    binary scan $line H* res
    binary scan $line @7H6 code
    ace_debug "received $res with code $code"
    #  close connection
    ace_debug "closing socket"
    close $sock
    #  make probe fail by exit with 30002 if ldap reply code != success code  0x0a0100
    if {  $code != "0a0100" } {
        ace_debug " probe failed : expect response code \'0a0100\' but received \'$code\'"
        exit 30002
    ## make probe success by exit with 30001
    ace_debug "probe success"
    exit 30001

  • How to search specific text/string in pdf files from command prompt?

    Hi,
    How to search specific text/string in pdf files from command prompt?
    Will be great if you can refer to any adobe provided command base utility to achieve the above target.
    Best Regards,

    You can't. The commandline parameters for Acrobat and Adobe Reader do not allow any type of commands to be run.

  • How to access SPECIFIC camera attributes tree (camera controls) located in MAX with Labview?

    How to access specific camera attributes tree (camera controls) located in MAX with Labview?
    I want to be able to access frame, trigger and grab properties. Does anyone know?
    Thanks.
    /Peter

    Please see this related thread http://forums.ni.com/t5/LabVIEW/IMAQdr-Property-Node/m-p/1642950/highlight/false#M590168
    Matt
    Product Owner - NI Community
    National Instruments

  • How do you specifically let the Itemlistener know which Item was selected..

    How do you specifically let the Itemlistener know which Item was selected in a JComboBox? Anyone has any idea? What should the coding look like?

    getSelectedItem()

  • How do you specifically let an Itemlistener know which Item was selected?

    How do you specifically let the Itemlistener know which Item was selected in a JComboBox? Anyone has any idea? What should the coding look like?

    Hi,
    Try this method
    String[] petStrings = { "Bird", "Cat", "Dog", "Rabbit", "Pig" };
    JComboBox petList = new JComboBox(petStrings);
    if ( petStrings[0]==(String)petList.getSelectedItem() )
    System.out.println("I'm a bird");
    }else{

  • How to finds specific words in each sentence?

    import java.io.*;
    import java.text.*;
    import java.util.*;
    public class FindingWordsSpecific {
         static String[] days = {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "every Tuesday"};
      public static void main( String args[] ) throws IOException {
               // the file must be called 'myfile.txt'
               String s = "myfile.txt";
               File f = new File(s);
               if (!f.exists())
                    System.out.println("\'" + s + "\' does not exit. Bye!");
                    return;
               BufferedReader inputFile = new BufferedReader(new FileReader(s));
               String line;
               int nLines = 0;
               while ((line = inputFile.readLine()) != null)
                    nLines++;
                   System.out.println(findTheIndex(line));     
               inputFile.close();
           public static String findTheIndex(String sentence){
                String result = "";
                String[] s = sentence.split("\\s");
              for (String s1: s){
                   for (String s2: days){
                        if (s1.equalsIgnoreCase(s2)) {
                             if(s2.matches("every Tuesday")){
                                             }else if (s2.matches("every Wednesday")){
                                              }What is wrong with it because I tried to find "every Tuesday" in
    myfile.txt: "Go fishing every Tuesday and every Wednesday"
    There is big problem with split statement because it takes each word not more than a word.
    I need to have "every Tuesday" not "Tuesday". How to make it correct codes?

    I am going to give you a picture of how the output will look.
    Here are two sentences from myfile.txt:
    Go fishing every Tuesday and every Wednesday
    Meet with research students on Thursday
    I need to read from myfile.txt and to find specific words in each sentences like this output:
    Every Tuesday : Go fishing
    Every Wednesday : Go fishing
    Thursday : Meet with research students
    Ok. make sense? Now I am trying to figure out how to find specific words in each sentence from myfile.txt.
    That is why I have difficult with the splits statement and loops. Like this:
           public static String findTheIndex(String sentence){
                String result = "";
                String[] s = sentence.split("\\s");
              for (String s1: s){
                   for (String s2: days){
                        if (s1.equalsIgnoreCase(s2)) {
                             if(s2.matches("every Tuesday")){
                             }else if(s2.matches("every Wednesday")){
                             }else if(s2.matches("Thursday")){
                             }else{
                                  System.out.println("That sentence is not working");
                return result;
      }So look at the "Thursday" it is working the output because I have split statement to give me only one word not more than
    a word in sentence. So there is big problem with more than a word in sentence like this "every Tuesday" and it won't work at all because of split. Could you please help me how to do that? I appreciated for that help. Thanks.

  • How to print specific concurrent request to specific printer in R12

    Good Day,
    How to print specific concurrent request to specific printer in R12,
    when i try to make specific printer to the user it's print all requests.
    i need to do this for one request only and print this request once.
    is there any profile option for this case.
    Thanks.

    any updates

  • How to substitute specific fonts on any page with corresponding fonts of my own choice?

    How to substitute specific fonts on any page with corresponding fonts of my own choice?
    I'm using Firefox 12 on Windows 7.
    Examples on what I want to be able to do:
    Change the font Arial on any page I visit, with Tahoma.
    Change the font Georgia on any page I visit, with Droid Serif.
    Change Arial Narrow on any page I visit, with Liberation Sans Narrow...
    I used to have a plug-in which did that. It was called Font Replacer, but it doesn't have a version for Firefox 12 and its developer removed its page :(
    I really can't stand to see specific fonts on my screen. I really hate the indifferent CAPITAL I from the small l. I can't stand to see the numerals with Georgia.

    I opened a [https://support.mozilla.org/en-US/questions/926833 new discussion] as no one is interested to answer me here anymore.
    Thanks.
    So, now I find myself in a situation that I want exceptions for some rules. For example, I want to change the font Arial to Tahoma in all websites I visit, except for wikipedia.org, is that possible? Because I have a very long list of websites listed to change Arial to change to Tahoma, only because I don't want the rule to be applied to websites as wikipedia.org
    I searched, but I'm unable to find something helpful :(

  • HRFORMS : How Can Country Specific MetaStar Be Created

    Hi Experts
    I would like to find out how can Country Specific Metastars be created.
    For example, in standard SAP HRFORM for China (Country Grp 28 HR Form Name SAP_PAYSLIP_CN), there exist a Meta Star EMP_CNAME_CN with associated MetaDimensions DATE_RANGE, EMPLOYEE, EMP_CNAME_CN under SAP_DEFAULT
    Another example is SAP HRFORM for Singapore (Country Grp 25 HR Form Name SAP_PAYSLIP_SG), there exist a Meta Star PERSONAL_ID_SG with associated MetaDimensions ASSINGMENT, EMPLOYEE, INPERIOD and NRIC_SG under SAP_DEFAULT.
    Points will be given for useful answers on how metastars (specifically country specific ones) can be created for downstream used in Infonet during HRFORM build of payslip.
    Thanks.

    Hi All
    Managed to sort out Country Specific Metanets can be set in HRFORMS > Utilities > HR metadata workplace
    However, if either one of SAP_DEFAULT or ZSAP_DEFAULT metanet is used to assign to a country that standard HRform is not available, the error message
    "The DDIC Structure HRF_PAY<country>_PE_PA_RESULT for Country <molga>  Does Not Exist" will appear"
    Any idea how can a metanet be created for any given country if standard SAP HRFORM structure has not been set up for the country ?
    Thanks.

  • How to access specific control event in other component

    Hi to all friends out there.
    I have created few components in which i am doing comunication through events. But my problem is that for achieving this i have to make event bubble and than add listner to where i want to use.As event it bubble and same ype of event is bubled by other compononents.
    So please tell me how i fillter specific event to that componet where i am adding eventlistener.
    Thank you in advance.

    If you want specific rows, you can always load the values from the ResultSet into a Map and access them that way. You shouldn't be noodling around with a ResultSet that way - it's a database cursor, not a substitute for a data structure.
    If you really need just a few rows, you'd be better off writing a narrower query to get just what you need. Bringing back 1,000 rows for the sake of accessing a handful is a waste.

  • How to stop specific query attached with other query in same process using With method

    Would it be possible to stop one query out of two queries attached to single process...because i see it is returning one IDisposable inteface...if i call dispose() method...two queries are stopped/killed...
    So how to stop specific query which is combined with other queries in a  same process at runtime i.e., attach or detach kind of thing?
    Thanks in advance
    Satish

    Yes, the overloading of the term "Process" can be confusing. In SI, depending on your edition of StreamInsight, a process can run on one or more threads from a pool of threads and are scheduled together. Don't think of a process necessarily as a single
    thread or multiple processes as a method of multi-threading.
    As for a limit on the number of queries, there isn't a hard limit that I'm aware of. However, there will be a practical limit that will vary based on the complexity of the query, the event rate and your hardware (# of cores). If you are using Standard Edition,
    this limit is much smaller as you only have a single scheduler thread. With Premium Edition, you have a scheduler thread for each core on the machine so you can get higher throughput and lower latency. But if you have, say, 4 cores on the machine (don't count
    hyperthreaded cores, just real cores), 100 queries and a target throughput of 100K events/second, you'll likely have some problems. At 1K events/sec, you'd likely be fine though. With 32 cores and Premium Edition, you'd probably be OK with 100K events/sec.
    So ... like I said, it depends.
    DevBiker (aka J Sawyer)
    Microsoft MVP - Sql Server (StreamInsight)
    If I answered your question, please mark as answer.
    If my post was helpful, please mark as helpful.

  • How to get specific cell or whatever is in your datatable?

    All there is in my datatable is one value loaded. Here's my code, but how do i convert that datatable to a string?
    var fileName = string.Format("{0}\\file.xlsx", Directory.GetCurrentDirectory());
    var connectionString = string.Format("Provider=Microsoft.Jet.OLEDB.12.0; data source={0}; Extended Properties=Excel 12.0;", fileName);
    OleDbConnection connExcel = new OleDbConnection(connectionString);
    connExcel.Open();
    DataTable xlsData = new DataTable();
    OleDbDataAdapter dbAdapter = new OleDbDataAdapter("select * from [Filters$B2]", connExcel);
    dbAdapter.Fill(xlsData);
    //Now i want to see that value in xlsData???? or possibly convert it since it is only one cell loaded to a string? HELP?

    Hi  vkid,
    >>All there is in my datatable is one value loaded. Here's my code, but how do i convert that datatable to a string?
    About convert datatable to a string, you can use the following code
    string res = String.Join(Environment.NewLine, table.Rows.OfType<DataRow>().Select(x => String.Join(" ; ", x.ItemArray)));
    But based on your title, How to get specific cell,  please check the following code
    string value = table.Rows[0].ItemArray[0].ToString();
    It means get the firstrow and first column value. You can get the specified cell which you want.
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Two values from a LOV to Timecard LDT

    Hi, I have a requirement to pull two values from single LOV to Timecard layout page. e.g.: Suppose we have a LOV field 'emp_number' on layout and this field is getting value from one LOV. Query in LOV shows emp_number and emp_last_name. I want to put

  • MP3 plugin controls not visible in Firefox 9

    I have some MP3 files embedded on my website. When I browse to the site in Internet Explorer, the files show up complete with controls (play, pause, etc.). For the longest time, they've also worked in Firefox but now that I have upgraded to Firefox 9

  • Navigation not working in SAP.m split app MVC

    Hello Experts, This is my index.html file: <script src="resources/sap-ui-core.js" id="sap-ui-bootstrap"   data-sap-ui-libs="sap.m,sap.ui.commons"   data-sap-ui-theme="sap_bluecrystal">   </script> <!-- only load the mobile lib "sap.m" and the "sap_mv

  • Problem to print PDF

    hi    i have a problem when i use the print pdf. When i use this type of service i have an error: how can i resolve this?

  • Script Add bulk user with CSV, and set expiration date

    After importing the AD module, the line: Set-ADAccountExpiration -identity JohnDoe -timespan "365" Works just fine, but how would you automate this with a script that would read a csv-file. The -identity cmd dosen't seem to like my $SAM setup. Perhap