Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 240
  • Last Modified:

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
0
pooiteng
Asked:
pooiteng
  • 2
  • 2
1 Solution
 
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
 
filiaCommented:
double MyPow(double a, double b)
}
   return exp(b*log(a));
}
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now