How to program ?

Write your own function
         double MyPow(double a, double b);
To return the value of ab, calculated as
Exp(b*log(a))
Remmber to include math.h
pooitengAsked:
Who is Participating?
 
filiaConnect With a Mentor Commented:
double MyPow(double a, double b)
}
   return exp(b*log(a));
}
0
 
ntdragonCommented:
we don't do homework at EE
0
 
ntdragonCommented:
send us a direct question and we will ty to help
0
 
heyhey_Commented:
>> Remmber to include math.h


Java ? or C / C++ ?
0
 
heyhey_Commented:
hehe

sorry, wrong page ... I though that I was inside the Java section :)
0
All Courses

From novice to tech pro — start learning today.