Calculation in Javascript or FormCalc "to the power"

Hi,
How can I caculate the following expression using either formcalc or javascript. The Expression pow(x,y) doesn't seem to be recognized.
Expression: BSA.rawValue = pow(height.rawValue,0.45) * weight(weight.raxValue,0.72)
or BSA = x^0.45 * y^0.72
I couldn't find the answer in the forum.
Thank you for your help,
Olivio

In Javascript the command should be:
Math.pow(x,y);

Similar Messages

  • Getting an "unable to Load the tables in the power pivot window" error

    Hello,
    I have 2 worksheets in a excel file and would like to load both into a power pivot table. When I click the 'create linked table' in the pwer pivot ribbon, The powerpivot window open and looks like its about to load the data but then I get
    a popup dialogue box with the following error:
    Unable to load the tables in the powerpivot window 
    ============================
    Error Message:
    ============================
    The given key was not present in the dictionary.
    ============================
    Call Stack:
    ============================
       at System.ThrowHelper.ThrowKeyNotFoundException()
       at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
       at Microsoft.AnalysisServices.Modeler.SheetTabs.PopulateSheetList(String selKey)
       at Microsoft.AnalysisServices.Modeler.SheetTabs.SetSelectedSheet(String key)
       at Microsoft.AnalysisServices.Modeler.ClientWindow.RefreshClientWindow(String tableName)
    ============================
    When I try again, there is a meesage saying the table is already linked but I dont see any data.
    has Anyone seen this error before and know what to do?
    Thanks,
    Nathan

    Hi
    I get first the same error as above but after I look into the details I see the following error message:
    in translation the error message is: There is already a item with the same key added.
    I can open the power pivot window in diagram view. And after I refresh the data in one of the tables I can open it in the table view. I have already searched for "!" signs in the calculations and searched for calculations with same name but that
    is not the problem.
    Also I can't open the synonym window. I think this has something to do with it because I've made changes in the synonyms.
    ============================
    Foutbericht:
    ============================
    Er is al een item met dezelfde sleutel toegevoegd.
    ============================
    Aanroepstack:
    ============================
       bij System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
       bij Microsoft.AnalysisServices.Common.LinguisticModeling.SynonymModel.AddSynonymCollection(Tuple`2 measure, SynonymCollection synonyms)
       bij Microsoft.AnalysisServices.Common.LinguisticModeling.LinguisticSchemaLoader.DeserializeSynonymModelFromSchema()
       bij Microsoft.AnalysisServices.Common.SandboxEditor.LoadLinguisticDesignerState()
       bij Microsoft.AnalysisServices.Common.SandboxEditor.set_Sandbox(DataModelingSandbox value)
       bij Microsoft.AnalysisServices.XLHost.Modeler.ClientWindow.RefreshClientWindow(String tableName)
    ============================
    Thanks,
    Leo

  • Error message when Numbers asked for zero to the power of zero.

    Hi,
    I have recently converted my Appleworks spreadsheets to Numbers. I have a spreadsheet that performs Poisson Distribution calculations. This was no problem for AppleWorks which correctly returned the value of 1 when asked to calculate zero to the power of zero. However, Numbers '09 v 2.2 returns an error message instead. Must I reinstall OS X 10.6 and go back to AppleWorks or is there a solution?

    Hugh,
    It may be common for calculators to return 1 for 0^0, but it's not correct. 0^0 is an "indeterminate form".
    To quote the Wikipedia page on Indeterminate Forms:
    The indeterminate forms include 00, 0/0, 1∞, ∞ − ∞, ∞/∞, 0 × ∞, and ∞0.
    Trapping the error and setting the result with IFERROR would be simple, but perhaps too wide a net. You should be able to test the base number for zero prior to making the calculation.
    Jerry

  • The Power Query ribbon and the Power Pivot ribbon are gone !

    Hello,
    I created in Excel 2013, using Power Query, two large tables (more than 4 000 000 rows) according this principle: << However,
    the query pane that shows up on the side while data is loading lets you disable "load to worksheet". The data will continue to download. Once the download is done, you can click on "Load to Data Model" which will then get the data into
    the underlying xVelocity/data model.>>
    I built two calculated columns in order to create PRimary and Foreign keys for relations.
    I saved the xlsx file several times
    I Closed the xlsx file
    I reopened the xlsx file but, bad news, the
    Power Query ribbon and the Power Pivot ribbon are gone !
    I can check the the data connections are still there.
    What happened? What did I miss ?
    Thanks for your help
    Error message when I refresh connections :

    When I restart the computer, Power
    Query and Power
    Pivot ribbons come back. But if I enter a
    formula, they go away again.
    What could be the solution?

  • U2018The next generation of SAP B1 add-onsu2019 - The power of mobility.

    AbacusConsulting has come out with the next generation of SAP Business One add-ons. The SAP Business One Mobilizer!
    Now the conventional boundaries have been broken down and limitless possibilities are within grasp with the introduction of the SBO Mobilizer. Dwelling on futuristic technology, the SBO Mobilizer allows you to have access to your SAP B1 database and its key functions around the clock, from anywhere in the world.
    Extremely reliable, robust and secure, the SBO Mobilizer enables sales teams, distribution teams, management, field force employees, etc to post and view sales orders, delivery orders, invoices, returns and payments from remote locations, enabling them to make instant and well calculated decisions without any delay. It provides greater control over the whole operation process and securely centralizes data within minutes.
    Working on both offline and online modes, the SBO Mobilizer not only saves time and money but itu2019s highly flexible design also enables limitless On-The-Fly form designing. A few clicks and new forms are ready to be published.
    Language not being a barrier anymore, the product can be custom developed for any language intended and keeping a futuristic approach, the product is not limited to SAP but can be custom developed for any ERP system.
    And the possibilities donu2019t end there. AbacusConsultingu2019s product will let you set your possibilities yourself. Itu2019s all in your hand. Amplifying the power of SAP B1 several folds, it is a product that I recommend you have a look at.
    If you wish to discuss the possibilities in further detail, drop me an email at arqum.tashfeen@abacus-global. com or call me directly at +92 322 7171078.
    Best Regards,
    Arqum Tashfeen
    Edited by: arqum.tashfeen on May 9, 2011 1:54 PM
    Edited by: arqum.tashfeen on May 9, 2011 1:56 PM

    Sorry,
    I figured that out. I would rather inherit from <b>B1Menu</b>
        public class B1BrowserAdd: B1Menu {
            public B1BrowserAdd() {
                this.MenuUID = "1282";
            [B1Listener(BoEventTypes.et_MENU_CLICK, true)]
            public virtual bool OnBeforeMenuClick(MenuEvent pVal) {
                Console.WriteLine("1282 Menu Pressed");
                return true;

  • Does FiOS stay on when the power goes out?

    I'm wanting to buy a UPS for my computer, but I'm not sure if the internet will still work if the power's out.
    The UPS would power the router & computer, and anything else with a plug inside my house needed for the internet. Verizon also gave us this big backup power box which i'm not sure where the power goes to.
    Solved!
    Go to Solution.

    sman591 wrote:
    I'm wanting to buy a UPS for my computer, but I'm not sure if the internet will still work if the power's out.
    The UPS would power the router & computer, and anything else with a plug inside my house needed for the internet. Verizon also gave us this big backup power box which i'm not sure where the power goes to.
    The VZ Battery Backup (BBU) supplys power to the ONT in the event of a power failure.  In order to keep phone service up as long as possible, the internet and video portions of the ONT are shut down after 5 minutes.  If you want to keep the internet up, plug the BBU into your UPS. 
    Be sure and size your UPS according to the load factors and desired run time. 
    APC has a nice calculator on their site.
    http://www.apc.com/tools/ups_selector/

  • Addition of fields in Adobe forms using JavaScript or FormCalc

    Hi All,
    I have a few amount fields in my Adobe form. I want to calculate their sum and show it in another textfield. Any ideas how this is done using JavaScript or FormCalc.???
    Thanks and Regards,
    Sameer

    Hi Sameer,
    you cant use JavaScript here in Web Dynpro. But if you want to calculate the sum through a button click that can be done through the Action Handler method.
    Suppose you have 2 fields to add whichare field1 and filed2 in the context tree and the sum will be shown in field3 of context tree - all of numeric data type - obviously. So you can do the following in the action handler method.
    int sum = wdContext.currentContextElement().getField1() +
              wdContext.currentContextElement().getField2();
    wdContext.currentContextElement().setFields3(sum);
    Regards,
    Shubhadip

  • Why does the power button intermittently fault -- Not work to wake up the phone?

    Iphone 4 occassionally won't respond to the power/sleep button.  Isn't stuck -- works normally much of the time, but occassionally acts as though the battery is dead.  Have to plug into a power source to activate phone.  Battery will show same charge it had before it went into sleep mode.  Can be near fully charged and proceed working for the rest of the day just fine.
    Button does not stick or seem faulty in any way.  But, when you least need it to not work - such as in travel - or for emergences and have not power source to get to -- is bad.  An unreliable phone for a doctor is not good.  I have presented the problem to a few repair shops who are either not familiar with this behavior or suggest that is may be software rather than hardware.  Something miss reading the battery to the phone indicating that the battery is dead when in fact it is not.  Had the phone restored at the Apple store and this did not solve the problem.
    It seems I did run across a blog that this occurred with some IOS update?
    Would be grateful for advice.
    Thanks

    Hi
    I found this tip on the net.
    Plug phone cable in (powered), press and hold button until voice control is activated, release, unplug.
    http://forums.macrumors.com/showthread.php?t=1328312
    I have not tryed it my self but it may work..
    There are a simular trick to get the home button to work, here it is.
    Open a default iOS application, such as Stocks, Calculator, or Weather
    Press and hold down the Power button until the “Slide to Power Off” dialog appears, then release
    Now press and hold the Home button until the “Slide to Power Off” screen disappears, quitting the application.

  • How to culculate the power supply?

    i have a 6506 with 2 supervisor engines,a GBIC,a RJ45 card,and a IPSEC vpn CARD,when i plug in the second engine,all the other card is down automatically.without the second card,the switch words well,what is the reason ?

    Hi,
    You might want to use the Power Calculator here:
    http://tools.cisco.com/cpc/launch.jsp
    I would appreciate you rating the post if it helps.
    Paresh

  • I had an Intel-iMac fried by lightening. UPS, surge protectors but it happened as I was reaching to unplug.  Cold now.  Could it just be the power supply?  Can I replace that myself?

    This is the full question since I couldn't get it all in the box. 
    I have some complex questions regarding an iMac, a Time-Machine backup, and iTunes on an iPod.
    I live about halfway up an extinct volcano about 12 miles north of San Jose Costa Rica.  Some months ago, we had a thunderstorm and as I reached to unplug my computers lightening struck about 50 meters from my house.  I had an iMac with a 3-Tb external backup drive, a PC laptop and a laser printer on the same power strip.  There was a definite surge and the light brighten and then power was lost for a few minutes.
    When power was restored, the PC and the laser printer seemed to work fine but the iMac was cold.
    First questions:  Is is possible that the power supply was fried and not other essential parts?  Would it be worthwhile to replace the power supply?  Can I, with limited experience and tools do it or need I take it to a technician?  My concern is that if the hard-drive is good, there is personal information on it that I don't want to risk.
    Next question:  Do I need to replace the hard-drive before taking it for service?  How hard is that, can I do it? I have seen videos of the drive replacement on-line.
    Those are my iMac questions, now the questions about backup restoration.
    If there is a saving grace with this it is that the Time-Machine backup seems fine although I have only accessed the data through Finder.  I replaced the iMac with a Macbook Air with significantly less mass storage and I can't just move files to the Macbook.  My problem is that I have an iTunes library of some 10,000 songs on the backup and until recently on a 160 Gb iPod which was old and it crashed.  I have replaced the iPod but have not tried to restore the iTunes library to it because of my confusion about how to do that.  Can anyone tell me how I might do that or give me any insight into the process?
    Thanks for any help you can give.

    Is is possible that the power supply was fried and not other essential parts?  Would it be worthwhile to replace the power supply?  Can I, with limited experience and tools do it or need I take it to a technician?  My concern is that if the hard-drive is good, there is personal information on it that I don't want to risk
    Quite possible, but working on iMacs is not easy, & PSU might be prohibitive.
    Hopefully the Drive might have info on it, but even pulling that out can be a chore.
    If you don't know the model, find the Serial# & use it on one of these sites, but don't post the Serial# here...
    http://www.chipmunk.nl/klantenservice/applemodel.html
    http://www.appleserialnumberinfo.com/Desktop/index.php
    How to find the serial number of your Apple hardware product...
    http://support.apple.com/kb/HT1349
    I have replaced the iPod but have not tried to restore the iTunes library to it because of my confusion about how to do that.  Can anyone tell me how I might do that or give me any insight into the process?
    I'd get an external drive & restore the whole works to it, then boot from the External drive.

  • TS2518 Help, I had aperture open and working on a image and did not have a battery in and bumped the power off. As a result it will not open my master, it is locked. when I try to open that Library  it says There was an error opening the database for the

    Help, I had aperture open and working on a image and did not have a battery in and bumped the power off. As a result it will not open my master, it is locked. when I try to open that Library  it says There was an error opening the database for the library. I have tried every thing. I updated the other libr but now it will not open the main to update. What do I do?

    Try starting Aperture with the command and option keys held down.  You'll get 3 options.
    Try each, starting at the top, in order, checking after each to see if it fixes the issue.

  • Does a Laptop Warranty Cover the Power Cord?

    Hi, I bought a HP Envy Touchsmart 15 and it is still covered by warranty.   However, I cannot find any support help online such as  the support chat which I find very odd since I just used it about a month ago when my battery died!  Where did all the support go?
    Anyways, when I plug in my laptop, the LED by the power port does not come on, and my laptop will not charge or turn on at all.  My battery is dead, but I know it works becasue it is less than a month old.  Since my laptop will not run on AC power even with the battery removed, I feel the power cord is the problem.
    I would really like to know if my warranty covers the power cord, and if so how do I contact HP, since there is absolutley no information when I go to "Contact Us" besides the consumer forums.
    I am a ECE student at UT in Austin, and every day I go without a laptop is hurting my grades.  So I need help ASAP

    Hi
    Yes, power cord, adapter are covered under limited warranty. HP would replace it for you if it's faulty.
    Check warranty: http://h10025.www1.hp.com/ewfrf/wc/weInput?cc=us&lc=en
    These are what I could find to help you:
    Contact HP: http://h22207.www2.hp.com/us-en/contact-hp
    Contact HP in Texas:
    http://m.hp.com/us/en/store-finder/find.do?type=authorized&searchType=LOCALAREA&displayedAddress=787...
    Regards
    Visruth
    ++Please click KUDOS / White thumb to say thanks
    ++Please click ACCEPT AS SOLUTION to help others, find this solution faster
    **I'm a Volunteer, I do not work for HP**

  • Hi, my MacBook Air is not working anymore if it's not connected with the power cable. It's pretty new so I can't imagine that the battery is dead already. Why can't I use my MacBook Air without the power cable even though I charged it for hours?

    Hi, my MacBook Air is not working anymore if it's not connected with the power cable. It's pretty new so I can't imagine that the battery is dead already. Why can't I use my MacBook Air without the power cable even though I charged it for hours?

    Please take the Mac to  Apple store to have it checked out.
    Genius Bar reservation
    http://www.apple.com/retail/geniusbar/
    Best.

  • I have frequent instances of my Macbook Pro beeping 3 times and then I have to forcefully shut it down by pressing the power button. What is this all about? Please help. Thank you.

    I have frequent instances of my Macbook Pro beeping 3 times and then I have to forcefully shut it down by pressing the power button. What is this all about? Please help. Thank you.
    I saw this report being sent to Apple:
    Interval Since Last Panic Report:  581719 sec
    Panics Since Last Report:          10
    Anonymous UUID: F4CF708D-D85C-4EC5-8047-4FC22C6B03AF
    Fri Mar  7 13:00:14 2014
    panic(cpu 0 caller 0xffffff80002d1208): Kernel trap at 0xffffff800020c590, type 14=page fault, registers:
    CR0: 0x0000000080010033, CR2: 0x0000000000000000, CR3: 0x0000000007541000, CR4: 0x0000000000040660
    RAX: 0xffffff8000000000, RBX: 0xffffff800d35a870, RCX: 0xffffff800cf55cd8, RDX: 0xffffff80008a8fcc
    RSP: 0xffffff805e5f3d60, RBP: 0xffffff805e5f3da0, RSI: 0x000000001dcd6500, RDI: 0xffffff800d168778
    R8: 0x0000000000000001, R9: 0xffffff805e5f3e88, R10: 0x0000000000000011, R11: 0x0000000000000000
    R12: 0x0000000000000000, R13: 0xffffff800d168770, R14: 0xffffff800d168778, R15: 0x0000000000000000
    RFL: 0x0000000000010082, RIP: 0xffffff800020c590, CS:  0x0000000000000008, SS:  0x0000000000000010
    Error code: 0x0000000000000000
    Backtrace (CPU 0), Frame : Return Address
    0xffffff805e5f3a00 : 0xffffff8000204d15
    0xffffff805e5f3b00 : 0xffffff80002d1208
    0xffffff805e5f3c50 :
    Model: MacBookPro8,1, BootROM MBP81.0047.B27, 2 processors, Intel Core i5, 2.3 GHz, 4 GB, SMC 1.68f99
    Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 384 MB
    Memory Module: global_name
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 5.100.198.104.5)
    Bluetooth: Version 2.4.5f3, 2 service, 12 devices, 1 incoming serial ports
    Serial ATA Device: Hitachi HTS545032B9A302, 298.09 GB
    Serial ATA Device: OPTIARC DVD RW AD-5970H
    USB Device: FaceTime HD Camera (Built-in), 0x05ac  (Apple Inc.), 0x8509, 0xfa200000 / 3
    USB Device: Hub, 0x0424 (SMSC), 0x2513, 0xfa100000 / 2
    USB Device: BRCM2070 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 5
    USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x821a, 0xfa113000 / 8
    USB Device: Apple Internal Keyboard / Trackpad, 0x05ac  (Apple Inc.), 0x0245, 0xfa120000 / 4
    USB Device: Hub, 0x0424 (SMSC), 0x2513, 0xfd100000 / 2
    USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8242, 0xfd110000 / 3

    Hmm. The problem still may be the RAM - Apple buys the RAM it puts in its machines from third-party vendors (usually Hynix) so it could be a RAM problem.
    There are a couple of things that you can do yourself before taking your machine into an Apple Store or an AASP... download and run an application named Rember that will run a RAM test for you - let it run for a couple of hours or even overnight. If it turns out that your RAM is faulty, Rember will let you know. If it is faulty, then you have a couple of options - replace the RAM yourself or (particularly if you're under warranty still) take the machine to an Apple Store or AASP and have them replace the RAM.
    If Rember finds no fault with the RAM, then you'll need to take it into an Apple Store/AASP and get a free diagnosis on the machine. Three beeps do usually indicate faulty RAM, but if it tests good with Rember you likely have another problem - it could be something as simple as the RAM, somehow, not seated correctly or signs of another hardware problem.
    Run Rember first... call back with results.
    Good luck,
    Clinton

  • How can I automatically close a dialog box using Javascript after I click the OK button to submit it?

    How can I automatically close a dialog box using Javascript after I click the OK button to submit it? I don't want to have to X out of the dialog box after I am done.
    Thanks
    Linda

    JS can not interact with open dialogs in any way, unless it's a dialog
    created in JS using the Dialog object.
    On Thu, Jul 24, 2014 at 11:13 PM, lindaeliseruble <[email protected]>

Maybe you are looking for

  • Are BT for Real??

    Hi, Ok as you know I've done a bit of moaning about BT Infinity or lack of. Well today tops the lot:- Had an email today me that it would be better for me to change my infinity options from 1 to 2 as I've gone over the 40GB on option  1. You What!!!!

  • Having iCal peep when event occurs... way too long of a process

    When i set appointments in ical with reminder, in order to get a peep when the event occurs, i need to set reminder->message->on date and then iCal sets the reminder 15 minutes before the date! I then need to fix this. This process is really annoying

  • What's with this warning?

    Sometimes when I've recorded an audio track in Logic Pro, I normalize the audio. When doing so, I sometimes get a warning message that the track is used in one other song, even though I know that it's not the case, as I've often just recorded it. Doe

  • Sending mail very slow

    Besides the notebook described below in the signature I have a MacBook right next to it. On both, the same three email accounts are configured exactly the same. One account is the IMAP MobileMe (aka .mac) account. The other two are POP accounts, for

  • Microsoft Click to Run won't open Microsoft Word Starter 2010

    The error message says it cannot open Microsoft Word Starter 2010 to try again or to repair in Control Panel.  I have no idea how to repair it.  Any suggestions? I am running Windows 7 Home with an HP 2000 notebook pc.  64 bit Operating System. Thank