Solved

How to program ?

Posted on 2000-04-23
5
217 Views
Last Modified: 2010-04-02
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
Comment
Question by:pooiteng
  • 2
  • 2
5 Comments
 
LVL 1

Expert Comment

by:ntdragon
ID: 2742293
we don't do homework at EE
0
 
LVL 1

Expert Comment

by:ntdragon
ID: 2743311
send us a direct question and we will ty to help
0
 
LVL 16

Expert Comment

by:heyhey_
ID: 2746430
>> Remmber to include math.h


Java ? or C / C++ ?
0
 
LVL 16

Expert Comment

by:heyhey_
ID: 2746433
hehe

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

Accepted Solution

by:
filia earned 50 total points
ID: 2779141
double MyPow(double a, double b)
}
   return exp(b*log(a));
}
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question