Solved

How to program ?

Posted on 2000-04-23
5
222 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
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.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

756 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