Help With Log

I need help with this project

1 Overview
Your task is to write a program that computes the log base b of a number n where the user provides both n and b. You will find the change of base formula
logb n = logc n, logc b
where c is any base, helpful when computing the logrithm. 2 Implementation Details
Your program will prompt for a positive number to find the logarithm of. Finally, your program will output the logarithm base b of the number n. The main function will be responsible for getting the input from the user, outputting your name and description of the program, and computing the resulting logarithm.
For this project you must use a function from the cmath library. Specifically, when you implement the change of base formula you will want to use either the log (loge) or log10 (log10) function.
Your output should look exactly like the example below. The example below is for a base of 2 and a number 32
1
Please enter the base (must be greater than 0): 2
Please enter a number (must be greater than 0): 32
The logarithm base 2 of 32 is 5.
3 Rubric
Your grade will be calculated as follows:
Points (out of 10)  Criteria
3 2 1 2 2
PSL (including trace)
Style, commenting, clarity Input and output
Correct use of cmath functions Correct answer
Remember that any program that does not compile without errors receives an automatic 5%.
This is not a homework site. We won't do your homework for you. However we are always willing to help solve problems you encountered, correct mistakes you made in your code and answer your questions.

We didn't see your attempts to solve this problem yourself and so we cannot correct mistakes you didn't made and answer questions you didn't ask. To get help you should do something yourself and get real problems with something. If your problem is "I don't understand a thing", then you should go back to basics and study again. As it is impossible to find derivative of function without knowledge in arithmetics, you cannot do more complex tasks in programming without clear understanding of basics
Topic archived. No new replies allowed.