Jump to content
Sign in to follow this  
John117

formula logic for a number times a power

Recommended Posts

John117

May be really easy, just dont know how. I need it to simply be a defined such as the first 3. -pulled from input box.

Then the Y would come from another input box

I can do this with a loop but I am sure someone else has a simple formula

Please help...

Share this post


Link to post
Share on other sites
herewasplato

$x = InputBox("", "")
$y = InputBox("", "")
MsgBox(0, "", $x ^ $y)
or did I misunderstand your request???


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites
EvAsion

May be really easy, just dont know how. I need it to simply be a defined such as the first 3. -pulled from input box.

Then the Y would come from another input box

I can do this with a loop but I am sure someone else has a simple formula

Please help...

$x = InputBox("", "")
$number = ($x^4) ;value of inputbox to the power of 4...
msgbox(0,"",$number)
Edited by EvAsion

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.