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..
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..
Last edited by Salem; 06-07-2009 at 02:17 AM. Reason: removed font abuse - then ignored you, you selfish brat
Nope (Wanted to just say no but there is a 4 character limit on posts).
http://cboard.cprogramming.com/c-pro...-homework.html btw.
What does that mean? I am new to this community. Please help me if you can. Thanks.
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.
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.
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.
if you are trying to cast it to a double then add () around double, otherwise remove them.
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.