Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
#include stdio.h #include math.h
float discharge(float,float); void main() { char prompt; float time,out,cr; cr = 100e-6; for (time = 0;time<=5*cr;time+=10e-6) { /* call the function */ out = discharge(time,cr); /*Note g formattor defaults to expontential */ printf("The capacitor voltage at time %10.5g seconds is %5.3f \n\r ",time,out); } printf("Press any key to exit \n\r"); scanf("\n%c",&prompt); } float discharge(float t,float cr) { float vs,vc; /* calculate the discharge */ vs = 10.0; vc = vs*exp(-t/cr); return(vc); }
C program to define power of a function: Write a program to use power of a function. void main() { int x,y,po=1,i,j; clrscr(); printf("Give x,y\n"); sca
Aim: To implement a program to display a rectangle, circle and triangle. Code: class shape { public: vir
Define Four Facilities Provided by C Language Preprocessor? The C language preprocessor provides four separate facilities that you can use as you see fit: Inclusion
The Conditional Expression Operator An alternate method to using a simple if-else construct is the conditional expressions operator, ?: A conditional expression operato
i wont to make triangle with number but number from the largest possible number to 01 (reversed).
Sorted directory - C++ program: Write a program in c to sorting a directory. int main( int argc, char *argv[] ) { if( argc 3 ) { cerr
Depreciation to a salvage value of 0. For tax purposes an item may be depreciated over a period of several years, n. With the straight line method of depreciati
how to fill the blank spaces in the board of 4*4 matrix with the minimum of 4 colors and the condition is the adjacent element should not have the same colour
Mention 3 characteristics of object
Question 1 Write a program that accepts a 3x3 matrix from the user and finds the transpose of it Question 2 Explain Brief about class and objects. Also describe friend functi
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd