Problem 42998. Electrical Diode Current Calculation
In engineering, there is not always a single equation that describes a phenomenon accurately enough to be applied in all instances of that phenomenon. Sometimes it is more useful to use one equation in a set of circumstances, and another equation in a different set of circumstances. One example of this is with electrical diodes. A simplification of the approximation of the electrical characteristics of a diode uses these two simple equations:
i = I_s * exp(v/V_T) for v > V_T
i = −I_s for v ≤ V_T
Where V_T = 0.026 Volts and I_S = 1*10-8 Amperes. Write a function with one input, the voltage v across this diode, and one output, the current i running through the diode. Use a conditional statement in writing this program.
(Source: 14:440:127 – Introduction to Computers for Engineers – HW3)
Solution Stats
Problem Comments
-
3 Comments
People outside of your class do not know what problem 3.1 is. Perhaps some could guess it from your test suite, but they shouldn't have to do that. Please post the problem in the description so that any user can solve it, or this problem will likely be deleted. The same applies to the other three you've posted.
Sorry! I will add problem statements on these problems from now on. My intent was to use Cody as a homework resource for my class, not to post problems to the public.
Philip, thank you for replying. Unfortunately, there's not an option to create private problems on Cody. That being said, it would probably be fine to post such problems, as long as they are self contained. I've updated this problem with the actual text from your link and included a hyperlinked reference. Please review this updated problem and make similar updates to the others. That way, they can be used for both your homework study and the general Cody population. In fact, you'll likely learn some neat tricks from the Cody population, once they can solve the problems.
Solution Comments
Show commentsProblem Recent Solvers708
Suggested Problems
-
866 Solvers
-
214 Solvers
-
1388 Solvers
-
383 Solvers
-
797 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!