Solved

How to program ?

Posted on 2000-04-23
5
193 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
Comment Utility
we don't do homework at EE
0
 
LVL 1

Expert Comment

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

Expert Comment

by:heyhey_
Comment Utility
>> Remmber to include math.h


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

Expert Comment

by:heyhey_
Comment Utility
hehe

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

Accepted Solution

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

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

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…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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 use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

771 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now