Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » New package MathTools
Re: New package MathTools [message #51674 is a reply to message #51666] Wed, 24 April 2019 13:29 Go to previous messageGo to previous message
peterh is currently offline  peterh
Messages: 108
Registered: November 2018
Location: Germany
Experienced Member
Results of stress-test:

1||0 = 0
0||0 Error Division by zero
-1||0 Error Division by zero
-1 || -1 Error Division by zero
1||1 = 0.5

If (arg1 * arg2) = 0 then the result is 0, else the result is arg1*arg2/(arg1+arg2). Rolling Eyes

And yes, there are negative resistors.

A negative resistor produces energy and gets cold when it does so. Very Happy
Unfortunately it is not available as discrete component. It stops working when it gets cold, that is the technological problem and causes resistor noise. Very Happy Very Happy
I am kidding Very Happy

To be serious:
For example the input impedance of an amplifier with positive feedback can be negative.

Negative resistors can exist in active circuits only as a mathemathik intermediate result.
This means only two complementary resistor values should lead to division by zero e.g. -1||1 = infinite resistance = division by zero.

[Updated on: Wed, 24 April 2019 17:59]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: OleAut : Office Automation Encapsulation, then made easy
Next Topic: MATLAB .mat files handling
Goto Forum:
  


Current Time: Sat Apr 27 02:36:17 CEST 2024

Total time taken to generate the page: 0.05628 seconds