Rc Definition and 643 Threads

rc (for "run commands") is the command line interpreter for Version 10 Unix and Plan 9 from Bell Labs operating systems. It resembles the Bourne shell, but its syntax is somewhat simpler. It was created by Tom Duff, who is better known for an unusual C programming language construct ("Duff's device").A port of the original rc to Unix is part of Plan 9 from User Space. A rewrite of rc for Unix-like operating systems by Byron Rakitzis is also available but includes some incompatible changes.
Rc uses C-like control structures instead of the original Bourne shell's ALGOL-like structures, except that it uses an if not construct instead of else, and has a Bourne-like for loop to iterate over lists. In rc, all variables are lists of strings, which eliminates the need for constructs like "$@". Variables are not re-split when expanded. The language is described in Duff's paper.

View More On Wikipedia.org
  1. D

    How Do Scale Calculations Affect RC Car Physics?

    Hello All, I'm doing some fun at home experiments with my 1:6 scale RC car and I wanted do some camparisons with its full scale counter part. Mainly how jumping the two off a ramp (Duke's of Hazzard style). I wanted to know if you can help me with confirming some of my scaling...
  2. T

    Time constants, resistance and RC circuits

    I just need some help understanding some of the theory behind these.. Can anybody help explain the relevance of a time constant in an RC circuit and why the time constant increases as resistance increases? Thanks in advance:blushing:
  3. O

    A (probably) simple RC circuit question

    Its been 30 years since my last Physics course so while I have the basic concepts I'm uncertain how to solve my current problem: I need to operate a pair of 12V solenoids (.5 seated amps, 4 watts each) with a periodic on/off cycle that gently ramps to full voltage (over about .5 to 1 sec) and...
  4. D

    Engineering RC Circuit + Dependent Voltage Source

    Homework Statement http://img167.imageshack.us/img167/7747/picture2mg7.png Homework Equations iL(t) = current through inductor Using The Step by Step Method: Assume the solution iL(t) = K1 + K2*e^(-t/tau) where K1 = iL(infinity) and K2 = iL(0+) - iL(infinity) so, Assume the...
  5. D

    Engineering Solving RC Circuit Pulse with Step-by-Step Approach

    Hi, I have this problem to do for HW. I did what it asked for, or so I think. I think I may have made a mistake somewhere, it's telling me its not correct. Can you check it out? BTW, I have to use the step by step approach. I'm assuming my solution will be v(t) = K1 + K2 * e^(-t/RC). I then...
  6. D

    Engineering RC Circuit (Quick Glance please, mostly theoretical)

    Hi guys, I have a lab I have to do for an introduction to 1st-order networks. Can you perhaps check my work? I'm pretty sure most of it is correct. I have attached a PDF file, so you can see my lab. Thanks guys. (it's not that long, it'll take at most 1-2min)
  7. B

    Applying a square wave (from 0 to 5V) on a RC circuit

    Hi, I am working with capacitor now and I have this question. I am applying a square wave (from 0 to 5V) on a RC circuit. At the output ( at the resistor) I get a positive and negative values? why is that ? I am suspecting the fact that the capacitor create a phase difference of -90...
  8. J

    Understanding Charge Formulation in Discharging RC Circuits: A Quick Question

    So, I understand the charging of an RC circuit perfectly, but I am a tiny bit bothered by one part of the formulation of charge on a capacitor plate as a function of time for a discharging capacitor in a simple RC circuit (charged with one battery, one resistor and one capacitor all in series...
  9. M

    Calculating Phase Shift for a Series RC Circuit

    Homework Statement A resistor of 362 Ohms is connected in series with a capacitor of 50.0 µF capacitance. A sinusoidal signal of f = 11.7 Hz experiences an impedance of 452.836 Ohms. Find the phase shift between the current and voltage at f = 11.7 Hz. Homework Equations I tried using...
  10. S

    RC Circuit Problem: Find I1, I2, I3 and Q

    Homework Statement In Figure P18.50, suppose that the switch has been closed for a length of time sufficiently long enough for the capacitor to become fully charged. (R = 12.0 k, R2 = 17.0 k, R3 = 1.00 k, V = 9.70 V) The picture is under attachment a) Find the steady-state current in...
  11. B

    Help designing a RC passive high pass filter

    Homework Statement I was asked to desing a RC passive high pass fiilter with a cutoff of 3KhZ. Homework Equations The formula for Fc = 1/(2piRC) The Attempt at a Solution I set 3kHz = (1/(2piRC)) but am not sure what to do next. Do I pick a random cap or resistor value and...
  12. R

    Maximizing Bandpass Filter Bandwidth: Practical vs Theoretical Approaches

    Cutoff Freq. = 1/2piRC. Theoretical bandwidth = 5000 - 1000 (APP) = 4000 But when I do it practically Or simulate as in the pic Bandwidth = 10000(Around). I asked the teachers in my college they say I did the practicals wrong. Those teachers gave signatures to everyone in the class even...
  13. K

    Problem about rc and lr circuits

    i hv done an experiment but why the phase differencr between the voltage and current for both LR and RC circuits are not equal to 90? moreover,how would a resisiance of a resistor affect the phase difference between voltage and currentin capacitor?:cry: at last,how would a resistor affect...
  14. A

    Cascading RC circuit w/ DC voltage. How will capacitors charging time vary?

    In the following schematic, will the RC time constant be the same for all capacitors using the equivalent resistance of all the resistors? When I plug it into pspice or electronics work bench, it has that the First capacitors voltage as a function of time will always be twice as much as the...
  15. Cyrus

    Cool RC Jet Stuff - Too Pricey for Me

    Cool RC Jet stuff, but out of my price range. :frown: They are about 10-20k per airplane. [PLAIN]&mode=related&search=[/URL] But worth every penny. [PLAIN]&mode=related&search=[/URL] Inside the jet, pretty neat...you can really hear that jet engine spool up in flight. [PLAIN][/URL]
  16. P

    What is the RC time constant and how do you determine it through an experiment?

    Hi everyone http://img36.imageshack.us/img36/5721/wave7xq.gif .[/URL] I'm in a little bit of a mess and need some help with this lab write up. There's no way of getting in touch with my TA and my professor didn't prove to be that great of a help when I went to see him yesterday. Anyways, we did...
  17. T

    RC Time Constant and Average Slope

    In this lab, I'm supposed to find the average slope between a charging and discharging capacitor. For the slope of charging and for the slope discharging I used the basic formula y2-y1/x2-x1 choosing arbritary points on both lines. Charging slope = 4.6/-15, and discharging slope = 3.48/-57. Now...
  18. B

    Energy in a capacitor in an RC circuit.

    The question asks: For a charging circuit, the emf supplied by the battery is 200 V, R = 2*10^5\omega and C = 50 \mu F. Find: a) the time taken for the charge to rise to 90% of the final value b) the energy stored in the capacitor at t=RC c) the power loss in R at t=RC I've worked out...
  19. T

    How Does an RC Circuit Behave Over Time?

    Doin a question based around RC circuits and was in a bit of a bind, lookin for some help. The capacitor in the figure below begins to charge after the switch closes at t = 0s. a) what is deltaVc when t >> 0 after switch is closed? b) what is Qmax in terms of emf, R and C? c) in this...
  20. Cyrus

    Homework on RC, RL and RLC circuits

    In light of all the threads started in here about people who BMC about flunking tests, I will post the opposite. I had my thermo test today. It was hard in my opinion. But I think I got a 12/12 on it :cool:. I studied 4 days for, I better get a 12! I need to lower the entropy in my life...
  21. Cyrus

    RC Circuit Voltage: Why So Low?

    I gota quick question for my lab report. We did an RC circuit for my electronics class. The capacitor charged to about 4.51 volts. The source was 5 volts. In theory, it should reach 5 volts as t goes to infinity. What should I write as to why it was under the source voltage by a large amount...
  22. M

    NOt sure what stage I'm suppose to look at this circuit, finding RC

    Hello everyone! I was able to get parts, a-c of this problem, but I'm confused on what stage I'm suppose to use to find T = RC, let t = time. The problem says: For the cirucit find Vc(t) at t equal to (a) 0-; (b) 0+; (c) infinity; (d) .08s Answers: a: 20v b: 20v c: 28v d: 24.4 Note: that is a...
  23. F

    Aligning RC Car Wheels for Straight Travel: Tips Needed

    trying to build an rc car but stuck on how to make sure its wheels are aligned properly so that it can travel in a straight line. Any tips will be welcomed. thanks.
  24. O

    Calculating resonant frequency in series RC oscillator

    What is the formula to calculate the oscillating (resonant?) frequency of a series RC circuit with a constant DC voltage? For example the RC circuit shown at this site: http://www.mikroelektronika.co.yu/english/product/books/PICbook/2_02chapter.htm" How does this circuit resonate...
  25. E

    Engineering RC Circuit: Time Calculation & Output Voltage Integration

    1-using the facts that R has units of potential difference per unit current and C has units of charge per unir potential difference, show that RC has units of time. 2- how could a resistance-capacitance combination be connected to produce an output voltage which is the time integral of the...
  26. M

    Ow long does it take for the charge to build up to 9.0 µC? RC circuits

    Hello everyone, I almost got all the parts to this problem: In an RC series circuit, = 11.0 V, R = 1.10 M, and C = 1.80 µF. (a) Calculate the time constant. 1.98 s (b) Find the maximum charge that will appear on the capacitor during charging. 19.8 µC (c) How long does it...
  27. D

    How Do I Calculate Theoretical Charge and Discharge Times in RC Circuits?

    I've been set the following assignment on RC circuits that I thought I understood. Turns out I don't: http://www.geocities.com/danielessex/images/electronicsmain.jpg I understand what is happening in the circuit and what it is asking me to do but I don't really know how to go about it...
  28. N

    RC Circuits Lab: Get Help Understanding Charges & Discharges

    I am doing a lab on RC circuits and I do not understand anything about it. In the lab, I charged an discharged a capacitor. The voltage decreased with the equation V=Voe^(-t/RC) Can you explain me this lab? Thanks
  29. C

    Solve Parallel RC Circuit Diff Eq | Current Flow

    I have an RC circuit driven by a voltage source. The resister and capacitor are in parallel. I'm having a problem figuring out the governing differential equation for the current of the circuit. I could figure it out easily if it were a series circuit as the current is the same for each...
  30. D

    Solve RC Circuit: Find Unknown Capacitor Value

    The circuit is (10K ohm resistor in parallel with unknown Capacitor) which are in series with a 4.7k ohm resistor and a 0.1microF capacitor. V_in is applied over the entire circuit and V_out is taken over the 4.7k ohms and 0.1microF. So here is the question. In the circuit...
  31. S

    AC - frequency affect on RC voltage

    We observed that whenever the frequency of an AC circuit was increased, the voltage across an RC component changed shape. Specifically, 1) the trace lost its exponential growth and decay and instead had linear growth and decay, and 2) the voltage amplitude was much smaller. My guess as to...
  32. D

    What is the missing value in this parallel RC circuit problem?

    Parallel RC Circuit Problem! Hey I've been working on this circuit for hours and can't figure out 1 value. This is exactly what was given to me on the page so i have no other information lol. All that was written was: find the values of Zt,It,I1,I2,Vc1 Ive found all the other values...
  33. E

    RC circuit with complex exponential

    I am stuck on this... Given a circuit: current source (Is(t)), R , C - all parallel; Is(t) = e^jt, Vs(t) = 223.6e^j(t - 63.43), Vs(t) is voltage across the current source, which I assume to be the same across R and C since they are ||. Find R and C. (ans: 500 Ohm, 4mF) My attemp was to...
  34. W

    Calculating Work Done with a Series RC Circuit with Variable Plate Spacing

    hey everyone just joined! glad to be here! i just don't get one part of the question and once i get it, i should be able to get the rest. A battery with an emf of 20 volts is connected in series with a resistor of 300,0000 ohms and an air-filled parallel-plate capacitor of capacitance 6...
  35. K

    Solving an RC Circuit with 68.0% Charge in 0.980s

    A capacitor in an RC circuit is charged to 68.0% of its maximum value in 0.980 s. What is the time constant of the circuit? >> I know the time constant is equal to Q/(Q/t) and that t = 0.980 s. I also know that Q = CE and E is a constant. But they don't tell me the capacitance to use... Bah...
  36. J

    How Do Charges Distribute in a Series RC Circuit with Two Capacitors?

    A current is released from a 120 V battery. The current passes through a resistor of 1200 ohms and then the current splits into two different capacitors. C1=2.0 uF C2=3.0 uF. If there is no charge on the capacitators before the current is released, determine the charges of Q1 and Q2 on...
  37. V

    Strange resistor voltage curve in an RC

    Hello, My data gravely perplexes me. I've set up a simple series RC circuit with an AC emf of 14V @ 20Hz. Resistor and capacitor values are 3.9E4 ohms and 4.7E-5 farads respectively. Ideally, the voltage across the resistor should be a simple sine curve, since this is basically an RLC series...
  38. R

    What is a single pole RC filter?

    Im just trying to write a small introduction for my lab report due in on friday and while i have an idea in my head what it is, i just can't put in into words
  39. G

    Solve RC Circuit: Find Capacitor Value

    Hi, I am stuck on a question to work out the value of a capacitor, The Question is: A capacitor and a 2Kohm resistor pass the same current when each is separately connected across a 100Hz power line. What is the value of the capacitor?
  40. I

    Can RC Car Clear a 20' Ramp at Racing Speed?

    Hey guys, have a question for you that I cannot get passed while laying out a track idea for the October races. The Elements: RC length/weight = 16 inches/7-10 pounds Total Track length = 44 feet (including ramp) Total Ramp length/height = 20 feet/20 inches End of Ramp to landing zone =...
  41. H

    RC Circuit:placement of capacitor on circuit

    In a series RC circuit, why does the capacitor need to be placed between the resistor and ground, and not between the resistor and voltage source. I have looked everywhere to find the reason, so if you could help it would be appreciated.
  42. S

    What is the significance of the RC time constant in a simple RC circuit?

    Hello there, I m very new to the forum n doesn't know that much manners of this forum.. I actually want to do a question... we did a practical in our university in which we determined the unknown resistance by using a neon flash bulb... I have to submit a report on that..i have to...
  43. N

    How to use the RC ckt to make a filter?

    how to use the RC ckt to make a filter?? how to use the RC ckt to make a filter??
Back
Top