How to program a base and exponent in recursion?

Hi Dear,

here is the code in c, for positive integeral exponent, you can convert it in any other programming language.

#include "math.h"

float (float base, unsign int expo)

{

int x=abs(expo), i;

if (x<=1)

return(base);

else

return(base*float(base, expo-1);

}

Hope this will help you out.

for any clarification please feel free to contact me

bye

Zulfikar Ali

ali_zulfikar@yahoo.com

09899780221

Posted on Mar 03, 2009

Hi,

a 6ya expert can help you resolve that issue over the phone in a minute or two.

best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.

the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).

click here to download the app (for users in the US for now) and get all the help you need.

goodluck!

Posted on Jan 02, 2017

If by power, you mean exponents, there are several rules.

Multiplication with the same base - add the exponents

Division with the same base - subtract the exponents

Exponent to an exponent - multiply the exponents

Negative exponent - 1 over the same number to the positive exponent

Zero exponent - anything to the exponent 0 is 1

Good luck,

Paul

Multiplication with the same base - add the exponents

Division with the same base - subtract the exponents

Exponent to an exponent - multiply the exponents

Negative exponent - 1 over the same number to the positive exponent

Zero exponent - anything to the exponent 0 is 1

Good luck,

Paul

Jan 26, 2016 | Casio ClassPad 300 Calculator

write the negative exponents which are numerators as denomenators and vice versa

so A^-3b = 1/A^3b etc

result (b^[31/3] a^9 )/ (A^3b b^6)

25.March.2015

so A^-3b = 1/A^3b etc

result (b^[31/3] a^9 )/ (A^3b b^6)

25.March.2015

Mar 25, 2015 | MathAid Algebra II

If you mean an exponent of ten, use the EE key located just above the 7 key. For example, to enter 2.1 times ten to the seventh, press

2 . 1 EE 7

If you mean to raise a number to a power, use the y^x key located just above the divide key. For example, to enter 2 raised to the 3, press

2 y^x 3 =

2 . 1 EE 7

If you mean to raise a number to a power, use the y^x key located just above the divide key. For example, to enter 2 raised to the 3, press

2 y^x 3 =

Dec 05, 2012 | Office Equipment & Supplies

Make sure you use the (-) key to the right of the decimal point key for negative values, not just exponents. The - key between the multiply and add keys is for subtracting one value from another.

Apr 17, 2011 | Texas Instruments TI-30X-IISTK Scientific...

It's right above the divide key, marked y^x.

Or do you mean the "Enter Exponent" key? That one's right above the 7 key, marked EE.

Or do you mean the "Enter Exponent" key? That one's right above the 7 key, marked EE.

Sep 16, 2010 | Texas Instruments TI-30XA Calculator

6 . 4 2ND EE (-) 4 ENTER

EE is the second-shift of the comma key, just above the 7 key.

The (-) key is just to the right of the decimal point. You don't want to use the - key, which is for subtracting a value from another.

EE is the second-shift of the comma key, just above the 7 key.

The (-) key is just to the right of the decimal point. You don't want to use the - key, which is for subtracting a value from another.

May 19, 2010 | Texas Instruments TI-83 Plus Calculator

If you mean entering an exponent of ten, use the EE key.

If you mean raising exponents, use x^y, 2ND 10^x, or 2ND e^x depending on the base.

If you mean raising exponents, use x^y, 2ND 10^x, or 2ND e^x depending on the base.

Mar 03, 2010 | Texas Instruments TI-36 X Solar Calculator

For the exponent of ten, it's the key marked "EE" just above the digit 7. For raising a value to another, it's the y^x key just above the divide.

Feb 18, 2010 | Texas Instruments TI-30XA Calculator

shift-6. The caret is what is used to denote exponets, IE 1.234 x 10^6 = 1,234,000.

Jul 16, 2008 | Computers & Internet

the letter 'e^x' is the button for exponent. it is the same as shift of "lnX"

hope u find it now

have a nice day

bye

I hope my solution was useful

hope u find it now

have a nice day

bye

I hope my solution was useful

Feb 20, 2008 | Casio FX-300MS Calculator

Mar 02, 2017 | Intel Computers & Internet

93 people viewed this question

Usually answered in minutes!

×