# Thread: Help - Assignment

1. ## Help - Assignment

Please help me to write this program. This is an assignment. PLEASE help me. I have no idea about this. Thank you.

I attached the assignment. Please help me with this. Can somebody write this program for me. Deadline is tomorrow. Please guys..

2. Nope (Wanted to just say no but there is a 4 character limit on posts).

http://cboard.cprogramming.com/c-pro...-homework.html btw.

3. What does that mean? I am new to this community. Please help me if you can. Thanks.

4. Unless you start taking school seriously, you're going to fail. Leaving an assignment like this until the last minute is a very bad idea. Begging people to write it for you is even worse.

5. I know that I am wrong. I had my semester final exams and was studying for other subjects. Its my bad I know that. Couldn't concentrate on this subject as I was really busy with other subjects. Sorry if I troubled you.

6. Ok help me in this part. I included math.h library to the program. I have to include this formula

Vout = Vin * (1-e^(-t/CR))

Where; R-Resistor C-Capacitor, Vout-Output voltage, Vin-Input voltage, t-time

I wrote it like this and it is not working

v_out=v_in*(1-double exp(double pow(-time/(res*cap))))

What is the error there? This is the 1st time I am using math.h library. Thanks in advance.

7. if you are trying to cast it to a double then add () around double, otherwise remove them.

8. Originally Posted by valaris
if you are trying to cast it to a double then add () around double, otherwise remove them.
Thank you so much.

9. Not that you need to cast the results of exp() and pow() to double....

At this point it appears the student has not given any attention to the professor.

Popular pages Recent additions