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. N

    Engineering Solve Coupled RC Circuit: Find V1(t) & V2(t)

    Homework Statement Hello I want to solve the following circuit, I want to know how the voltage on R1 and R2 develop with time, It start at t=0 when there is no voltage in the circuit ( all V=0). Its a symbolic question, I need to show the equation. V1(t) = ? , V2(t) = ? The current is a DC...
  2. A

    Find resistance of resistor in RC circuit

    Homework Statement Find the resistance of resistor R7 when the switch is turned on so that the power of that resistor is maximum in the circuit. The voltage of the capacitor before the switch is turned on is Vc=200V. Homework Equations Thevenin's theorem The Attempt at a Solution I...
  3. L

    How Does Closing a Switch Affect RC Circuit Components?

    Homework Statement See the imgur link http://i.imgur.com/yZsyoHx.png Homework Equations See the imgur link The Attempt at a Solution I am just reading a problem in the textbook and am not solving the problem Basically I am looking for a good explanation of how current behaves and components...
  4. P

    A book for designing RC aircraft

    I am looking for a book that teaches how to design an RC aircraft, given performance specifications: $$v_{stall}, v_{max}, m_{payload}, h_{max}$$ That is, given the stall speed, max. speed, payload and service ceiling, I'd like to know how to design the aircraft's air-frame (wing span...
  5. I

    RC vs RL Filters: Power Loss & Which is Better?

    this guy on youtube said "if you try pushing more than a few miliamps through an RC filter then you get significant power loss" and that therefore the RL filter was more preferable. @ 2:40: i thought L & C components don't dissipate any power, so what's the difference between running the same...
  6. A

    Engineering Creating a Bode Plot for a Series RC High Pass Filter

    Homework Statement Make a blode plot of a series RC high pass filter (log(gain) vs. f)... Homework Equations log(Gain)=log(Vout/Vin) I'm pretty sure the "Gain" is just the transfer function, for a highpass it should be the V_in = Vsupply, and V_out = V_capacitor. The Attempt at a Solution I...
  7. R

    Design, Manufacture and Machining of Carbon composites for RC planes

    Hi Guys Recently I have started a new hobby into RC planes. What I have noticed is extensive use of Carbon composites weight yet sturdy structures. Now the problem is that these structures seem to be cut (milling/drilling/laser cutting/water jet cutting) from a sheet (or laminates) of carbon...
  8. C

    MHB Calculating Height of RC Glider from Ground and Air Measurements

    Hello,just seeing if someone can help me on here,i have a rc glider measuring 2200 mm on the ground,when in the air it measures about 35mm. Can the the height be calculated from these measurements.
  9. A

    Potential of Point A to Point B in Difficult RC Circuit

    Find the potential of point a with respect to point b in the figure (Fighttps://s.yimg.com/hd/answers/i/1ffe0f8aeaf145679cde38f7812b1c7f_A.png?a=answers&mr=0&x=1413484693&s=0943630e47eb74ae023909f7d39f74e3 ure 1) . If points a and b are connected by a wire with negligible resistance, find the...
  10. A

    Determining Horizontal Sweep for RC Circuit Time Constant - Physics Lab

    Consider a series RC circuit with an R = 3.0 Ω and a capacitance of 12 µF being charged to a voltage of 5.0 V. (Note, you will not include units in your answers.) If you wished the charging of this capacitor to have a vertical displacement of 4.0 DIV from 0 charge to fully charged, what value...
  11. N

    RC circuit, expression for voltage

    Homework Statement Assume you have a fully charged capacitor with initial condition V(0) = V_0 connected in series to two resistors R_1 and R_2. Derive an expression for the voltage over the capacitor with respect to time. Homework Equations 1. Kirchhoff's voltage law \sum_n V_n = 0 2. Ohm's...
  12. S

    RC Circuit with alternating voltage source

    Homework Statement I'm supposed to find the current in a circuit with a voltage source, capacitor, and resistor in series. The voltage source is described by V=V0ejwt. Here, j is the complex number j2=-1, and i is the current Homework Equations I=C*dv/dt The Attempt at a Solution I have...
  13. B

    Dissipated energy in RC circuit

    Hi there. I'm trying to evaluate the energy dissipated due to Joule effect on a resistor within an RC circuit (R, C, and battery in series), with the capacitor initially uncharged. Till now I just came up with the formula for the current flowing in the circuit i(t) = e^{-\frac{t}{RC}}, resulting...
  14. C

    Holy Close Call Batman, asteroid 2014 RC

    Newly discovered Asteroid 2014 RC, the size of a house, gives Earth a close shave in 2 days, coming in about 1000 miles closer than the orbits of our geosynchronous Sats ! ...Sept. 7th above New Zealand. Details...
  15. P

    What are the equations for selecting a motor for an RC plane?

    Good day, I am starting to design a new cargo RC plane and I end with this trouble. I want to select a motor but I do not know the required trust. Is there any equation or steps that I can apply to decide the motor?? Thanks!
  16. X

    Dielectric Polarization Components in Ideal RC and C circuits

    Hi, I would like to know what the theoretical implication is, as it pertains to RC circuits of the following hypothetical situation(s): If one were to connected an ideal discharged capacitor in parallel with an ideal voltage source with zero resistance in the loop, the calculated RC time...
  17. A

    Network -- RC network with sources

    Homework Statement The current Ix and Vx in the below circuit are The Attempt at a Solution Volt at node A= V. Applying KCL at node A, V/5+ ((V-20) /10) -7=0, 3V =90, V=30.
  18. N

    Phase Differences in of voltage in RC and LR circuits

    Hey guys can someone please give me a good explanation on why in an RC circuit the resistor voltage is leading the capacitor voltage by 90°. While in an LC circuit the resistor voltage is lagging the inductor voltage by 90°. Thanks
  19. Austine-J5

    Making the body of a RC helicopter from balsa wood

    Holla peeps,in the nearest future I hope to make a rc helicopter. I've done a series of researches and so far things are falling into place but I've just hit a hard rock. All model Rc I've seen are either made of aluminum, plastic or panel boards so am wondering what about balsa wood? Its light...
  20. A

    RC Circuit: How Does Current Flow?

    Homework Statement My question is very simple and perhaps it has an obvious answer. So, if we have a simple RC circuit with and EMF battery, a resistance and a capacitor, when the capacitor is charging, electrons leave the negative terminal of the battery and accumulate on one of the...
  21. STEMucator

    Basic RC Circuit Homework: Calculate Time Constant & Charge Decay

    Homework Statement The emf of the battery in the given circuit is ##\epsilon = 8.0 V##. (a) Calculate the time constant of the circuit. (b) Calculate the charge in Coulombs when the capacitor is fully charged. (c) If the effective capacitor is allowed to discharge through the effective...
  22. Tesladude

    Combining modules to transmit video signal for RC car

    I don't see why not but is there any reason that i could not use these modules http://www.ebay.com/itm/121370353437?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1423.l2649 to make a wireless link between this camera and screen...
  23. S

    RC time Circuit; charge of capacitor as a function of time derivation

    Hey guys! New to physicsforums. I wanted to ask a more conceptual question regarding RC time Circuits. I spent some time trying to derive the equations, and I feel like I'm not setting up the problem correctly. Here's my attempt: Solutions according to profecssor: 1)...
  24. R

    Engineering Calculate the Resistance of the RC circuit so that LED just stays on

    In a simple series circuit there is a 12V supply battery, 12μ6 F capacitor, a Resistor, and a 2v drop LED with an imax of 30mA. frequency is 10Hz Calculate the resistance of the resistor so that the LED just stays on. Homework Equations Resistance of Capacitor Xc = 1/2∏fC P=VI V=IR...
  25. M

    Understanding RC Capacitor Discharge Theory

    Homework Statement This is not a true homework problem but rather my interpretation of RC Capacitor theory. What is the action of a capacitor in RC first-order circuits?Homework Equations The Attempt at a Solution From what i understand, when a capacitor is being charged, charges move from...
  26. I

    Engineering Help in Finding the v(t) of the RC circuit?

    Homework Statement This is the Problem with the answer: Homework Equations V=RI V_{c}(t)=V_{0}e^{-t/(RC)} The Attempt at a Solution Actually, this is a topic about laplace transform. I tried to solve the problem using the formula. @t<0 I=40/(3+8) = 40/11 A V @ 3 ohms =...
  27. dwn

    Engineering Solving for Unknown Current in RC Circuit: Understanding Capacitor Behavior

    Homework Statement Image The Attempt at a Solution I know how to solve for a and c. a: 300V / (300Ω) = 1 A c: 120V / (200Ω) = 0.6 A what I don't understand is how they solved for B (0.6A), considering the current is 3A provided by the capacitor. I initially tried to...
  28. J

    Help understanding rc circuits?

    Help understanding rc circuits? so I know the voltage drop must be 8 v through the r1 resistor because of the 12 v charge on the capacitor. 8= r1*i and now I set up another equation 12= r2*i= 15*i and when I solve for the current I get 4/5 a but my textbook lists 3 amps as correct. Can you...
  29. K

    First order RC Circuit Table problem

    Homework Statement Hi I got this problem and have to fill out this table. Homework Equations node analysis time constant = RC ic(t)= C dVc(t)/dt The Attempt at a Solution I got few answers which i worked it out. i (0-) = 0 Vc(0-) = 1.84 Vr(0-) = i (0-) *...
  30. dwn

    Parallel RC with current source

    Homework Statement See images In the first image, I made a circuit with the switch closed and then two when the switch is opened. The bottom circuit is the Thev transform. Homework Equations The Attempt at a Solution Let me first explain my understanding of the circuit. Prior to t = 0, the...
  31. A

    Calculating Capacitance in an RC Circuit: A Mentor's Guide

    [Mentor's note: this thread does not use the standard homework-help template because it originated in a non-homework forum. It was moved here instead of being deleted because it had already gotten significant help.] "A capacitor is being charged from a battery and through a resistor of 20...
  32. I

    Exploring the Relationship Between Complex Power and RL and RC Circuits

    Is this true? Or is this true? Ø and Q are from this equation:
  33. G

    Mutual Inductance of RC Circuit on a Small Coil

    Homework Statement My textbook has two problems, based on the same premises, but the solutions manual solves each of them differently, so I was wondering why? Here are the two problems... 1. In the circuit shown in Fig. P29.49, the capacitor has capacitance C = 20μF and is initially charged...
  34. T

    Find Current in RC Circuit w/ V=Vo Sin(ωt)

    Hello there, I'm not sure if my solution is correct for \hat{I}_{C} Homework Statement In the given circuit, calculate the current in each circuit element given that V = V_{o}sin(ωt) R, L and C are given. http://imgur.com/yO3flg8 Homework Equations Z = R + jX (j^{2} = -1) X_{L} = jωL X_{C} =...
  35. E

    Engineering RC circuit time constants and coefficients

    Homework Statement I have got this circuit: I have to find coefficients k1 and k2, and time constants T1 and T2. Actually, we can see that T1 =R1*C1 and T2=R2*C2, but is it possible in this circuit or it's just theoretically time constants? I'm not sure, but as there is no amplifier in...
  36. T

    RC circuit, discharge with digital signal from FPGA

    Hi all, my task is to measure the charge time of an RC circuit with a counter using FPGA, once the cap is charged, i must discharge it again for next input. Idea is to discharge it with a signal from FPGA, but what sort of circuit would allow this without discharging the cap prematurely...
  37. P

    Understanding Phasor Analysis in RC Circuits

    I understand that the voltage phasor for a resistor is in phase with the current phasor in a simple ac circuit consisting of only an AC voltage source and the resistor. I understand that the voltage phasor for a capacitor is pi/2 radians behind the current phasor for an AC circuit consisting...
  38. P

    Understanding Phasor Relationships in RC Circuits

    I understand that the voltage phasor for a resistor is in phase with the current phasor in a simple ac circuit consisting of only an AC voltage source and the resistor. I understand that the voltage phasor for a capacitor is pi/2 radians behind the current phasor for an AC circuit consisting...
  39. V

    A couple of questions about RC and RL Circuits

    Question 1: why is the voltage of a capacitor as t goes to infinity equal to the voltage source? This question has been answered. The steady state voltage is not simply equal to the voltage source. Question 2: So that does that mean voltage and current are always 90 degrees out of phase...
  40. N

    Induced EMF in metal loop near RC circuit

    Homework Statement (Challenge Problem 80, Ch33) A rectangular metal loop with 0.050 ohms resistance is placed next to one wire of the RC circuit shown in the below figure. The capacitor is charged to 20 V with the polarity shown, then the switch is closed at t = 0s...
  41. B

    Engineering Derivation of Source-Free RC circuit

    Homework Statement Hi, If there is a series combination of a resistor and an initially charged capacitor, I know that the decay of the voltage is given by the equation v(t) = Ae^(-t/RC) where V(0) = A = V0. But i am unsure of how to get to this equations. Homework Equations If I assume...
  42. A

    Engineering RC parallel circuit, find the value of R and C

    Homework Statement The circuit is a Parallel RC Z= 105KΩ∠-27 and Frequency is 50 Hz. I was given the following information and hints. 1/z = 1/R + jwc I need to find the common denominator of 1/R + jwc, Invert it to find z and simplify Z into one real and one imaginary part...
  43. U

    Finding current and charge in a RC circuit.

    Homework Statement A resistor with resistance R and a capacitor with capacitance C are connected in series to a direct current battery ε. find the current and charge on the circuit as function of time. it looks more like a review of differential equations, so I'm not really sure if I...
  44. A

    Engineering Finding R and C from a parallel RC circuit

    Homework Statement A RC parallel circuit with an impedance of Z = 105000 Ω ∠ -27 and frequency of 50 Hz. Homework Equations I need to find out what the R and C values using the information given. The Attempt at a Solution I know the impedance for a parallel RC can be calculated...
  45. N

    RC Circuit current through capacitor question

    Homework Statement Specifically #13 only. Homework Equations Same image as above. The Attempt at a Solution Loop equations 10 - 500,000* i1 - 500,000 * i2 - 500,000 * i3 = 0 10 - 500,000* i1 - q/ 5 * 10^-6 - 500,000 * i3 = 0 Junction equations i1 = i2 + dq/dt i1 = i3 Solving for i1 in...
  46. gfd43tg

    Engineering RC circuit with rectangular pulse

    Homework Statement Consider the circuit below. If the source υs represents a 12-V, 100-ms-long rectangular pulse that starts at t = 0 and the element values are R1 = 6 kΩ, R2 = 2 kΩ, R3 = 4 kΩ, and C = 15 μF, determine the voltage response υ(t) for t ≥ 0. Homework Equations The...
  47. gfd43tg

    Engineering Solve RC Circuit Switch w/ Vs=10V, R1=20kΩ, R2=100kΩ, C1=6μF, C2=12μF

    Homework Statement 2. The switch in the circuit below had been closed for a long time before it was opened at t = 0. Given that Vs = 10 V, R1 = 20 kΩ, R2 = 100 kΩ, C1 = 6 μF, and C2 = 12 μF, determine i(t) for t ≥ 0. Homework Equations The Attempt at a Solution For this problem...
  48. M

    Solve RC Circuit Question: Time Constant & Current

    Homework Statement Switch S has been open for a long time. It is then suddenly closed. Determine the time constant (a) before the switch is closed and (b) after the switch is closed. (c) Let the switch be closed at t=0. Determine the current in the switch as a function of time. Homework...
  49. majormaaz

    How to Calculate Energy Dissipated in an RC Circuit?

    Homework Statement The switch in the figure below has been in position a for a very long time. It is suddenly flipped to position b for 1.65 ms, then back to a. How much energy is dissipated by the 50 Ω resistor? (Assume = 65 V.) Homework Equations ΔVloop = 0 Volts Q/V = C V = IR...
  50. majormaaz

    Solving RC Circuit Problem Homework

    Homework Statement Consider the circuit in the figure below, in which V = 85 V, R = 40 , and the switch has been closed for a very long time. (a) What's the charge on the capacitor? (b) The switch is opened at t = 0 s. At what time has the charge on the capacitor decreased to 10% of...
Back
Top