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); }
program that decodes sending smuggler''s string
A string S is said to be "Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''a''-''z'') and the asci
Within programs we very often want to execute a different section of code, depending upon various conditions within C the If statement is used to achieve this. The If statement con
where to use tower of honoi?
Program to print character array : Write a program to print the character array by using string class functions. void main() { char line[30]; int i=0; clrsc
Program to define an array in c: Write a program to define an array and print the value of array. void main() { int a[10]={0,11,21,34,44,75,46,57,88,89},i,j,k; clr
how do i write a c++ program that will input a number and output its factorial using the while loop
Write a program that allows user to enter number of elements in an array. The program then allows user to enter the elements. Write a function called max that returns the position
C Programming and Data Structures 1. Define and explain flow chart with an example. 2. Write an algorithm to print all even numbers in descending order and draw the flowcha
Record separation problem Let us assume that a particular database program manages a simple mailing list which consists of one record for each person on the list, and a number of f
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