Solved

How to program ?

Posted on 2000-04-23
5
228 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

624 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