This preview shows page 1. Sign up to view the full content.
Unformatted text preview: ! Tell the user to input the capacitances in terms of Farads write(*,*)'Input the first two capacitances in terms of Farads:' ! Read the input values in and assign their values to the variables read(*,*) First_Cap, Second_Cap ! Calculate the Equivalent Capacitance using the equation for parallel circuits Eq_cap = First_Cap + Second_Cap ! Write out the information for the first capacitance, second capacitance, and equivalent capacitance. write(*,*) 'Type of Network ', 'First Capacitance ', 'Second Capacitance ', 'Equivalent Capacitance ' write(*,*) 'Parallel ', First_Cap,' F ', Second_Cap,' F ', Eq_Cap,' F' stop end...
View Full Document
This note was uploaded on 10/05/2009 for the course ENGR 117 taught by Professor Staff during the Spring '08 term at Purdue University-West Lafayette.
- Spring '08
- Computer Programming