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); }
Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b.
Insertion sort - C program: Write a program in c to define a insertion sort. void main() { clrscr(); int a[100],ch,n; cout cin>>n; for (int i=0
Comments Comments are integral part of every program . Comments help in coding, debugging and maintaining a program . The compiler ignores them. They should be used liberally i
2. Write C++ code for calculating the time table
Program to convert fraction to decimal: int main() { float num, denom; // numerator and denominator of fraction float value;
A: No. While realloc() need to copy the allocation, this uses a bitwise copy operation, that will tear several C++ objects to shreds. C++ objects must be allowed to copy t
please do send me the coding of this program
Write a program that writes your name on the monitor ten times. Write this program three times, once with each looping method.
how we use the cin command and why we use this command????
C Program to FIND VOWELS AND REMOVE VOWELS void main() { char s[100],s1[100]; int i,j,k=0; clrscr(); printf("ENTER ANY S
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