## dependant resistance SOLVED

 Hi I wonder how to define a resistance value dependent on another resistor value. I have two parallel resistors (R1 and R2) and the value of R2 must be 2 times R1 (R1 is changing itself for which I want to use DC Sweep). Any help please? by Hichi December 29, 2020

 The answer is to define a custom Parameter Element. (Search the toolbox and you'll find it.) Here's an example with a custom parameter RVAL defined, and then both R1 and R2 have their resistances defined as multiples such as 2*RVAL. Hope that helps. ACCEPTED +2 votes by mrobbins December 30, 2020

 Dear mrobbins, Thanks for the answer, it helped alot. My next challenge now is have an equation for RVAL (dependant to a current in my circuit). How would that be possible? I really appreciate your help. Thanks and regards Farya +1 vote by Hichi December 30, 2020

CircuitLab's Q&A site is a FREE questions and answers forum for electronics and electrical engineering students, hobbyists, and professionals.

We encourage you to use our built-in schematic & simulation software to add more detail to your questions and answers.

Acceptable Questions:

• Concept or theory questions
• Practical engineering questions
• “Homework” questions
• Software/hardware intersection
• Best practices
• Design choices & component selection
• Troubleshooting

Unacceptable Questions:

• Non-English language content
• Non-question discussion
• Non-electronics questions
• Vendor-specific topics
• Pure software questions
• CircuitLab software support

Please respect that there are both seasoned experts and total newbies here: please be nice, be constructive, and be specific!