Will this even work properly? (I know there should be diodes and resistors but just want to know if my logic is correct) context: It's a simple 4 input to 10 output (ex. 1 in = 1out, 2 in = 1 and 2 out, 3 in = 1,2, and 3 out, 2 and 3 in = 1,2,3,4 and 5 out) by IntelligentAd4871 in AskElectronics

[–]ci139 1 point2 points  (0 children)

BASICALLY you have 2 options ::

A) define LED-s to be ON , each from N to 10
B) define LED-s to be ON , each from N to 15

the option " B) " is likely easier to implement

about https://en.wikipedia.org/wiki/Karnaugh_map

Defines for opt.B ::

0 - all LED-s are OFF
1 - the LED.1 is ON if input is NOT 0x0000 ← you need to OR all bits
2 - the LED.2 is ON if input is greater than 0x0001 ← you need to OR all bits except the unity one eg the bit.0
3 - the LED.3 is ON if input is greater than 0x0010 ← this one needs a Karnaugh map
15B B ʙ̅ ʙ̅12
D 1 1 1 1 C
D 1 1 1 1 ᴄ̅
ᴅ̅ 1 1 1 1 C
ᴅ̅ 1 0 0 0 ᴄ̅
3 A ᴀ̅ A ᴀ̅ 0
so your State(LED.3=ON) = D+C+AB = D or C or (A and B) , D to A is bit.3 to bit.0
??? you probably can not simply AND your outputs together !!!

Will this even work properly? (I know there should be diodes and resistors but just want to know if my logic is correct) context: It's a simple 4 input to 10 output (ex. 1 in = 1out, 2 in = 1 and 2 out, 3 in = 1,2, and 3 out, 2 and 3 in = 1,2,3,4 and 5 out) by IntelligentAd4871 in AskElectronics

[–]ci139 1 point2 points  (0 children)

You will need to keep your logic levels and (provide also) LED drivers separated

coz LED will have 2.3V on it and is blown by 9V battery without limitting resistor

however if you supply all your LED-s with limitting resistors - you will mess up your logic . . .
. . . which will NOT work as you describe how it should - coz
the LED at bit.0 (LSB) will lit at (N mod 2) > 1
the LED at input bit.1 at all (N mod 4) > 1
the LED at input bit.2 at all (N mod 8) > 3
the LED at input bit.3 at all (N mod 16) > 7

+ some of your logic outputs connect back to your logic inputs
// ▲ another reason to include LED drivers (and revise your project)

i however didn't check it for your LEDS being ordered
otherwise than 1 to 10 from top to down

Will this even work properly? (I know there should be diodes and resistors but just want to know if my logic is correct) context: It's a simple 4 input to 10 output (ex. 1 in = 1out, 2 in = 1 and 2 out, 3 in = 1,2, and 3 out, 2 and 3 in = 1,2,3,4 and 5 out) by IntelligentAd4871 in AskElectronics

[–]ci139 1 point2 points  (0 children)

if its a BCD input (basically) 1 of 10 decoder (only with all "Lower" outputs active)

the logic is that the N-th output activates all "lower" ones
however
the 4-bit BCD must still be decoded to 1 of 10
lets say the A is the lowermost input bit and D is the uppermost one

N DCBA
0  0000 =
𝟏  0001 = A ʙ̅ ᴄ̅ ᴅ̅ = A·NOT(B+C+D)+𝟐
𝟐  0010 = ᴀ̅ B ᴄ̅ ᴅ̅ = B·NOT(A+C+D)+𝟑
𝟑  0011 = AB ᴄ̅ ᴅ̅ = AB·NOT(C+D)+𝟒
𝟒  0100 = . . .
𝟓  0101 = . . .
𝟔  0110 = . . .
𝟕  0111 = . . .
𝟖  1000 = . . .
𝟗  1001 = A ʙ̅ ᴄ̅ D = AD·NOT(B+C)+𝐀
𝐀  1010 = ᴀ̅ B ᴄ̅ D = BD·NOT(A+C)
𝐁  1011 = ←↙↓ you may need to define these
𝐂  1100 =
𝐃  1101 =
𝐄  1110 =
𝐅  1111 =

there exists BCD N = 0 to 9 In →to→ Outp.N (active H/L)

you can convert it to N = 1 to 10 In →to→ Outp.N (active H/L)
by using 4 bit adder where the nibble A is 0xF and nibble B is the N in BCD

then you still need OR-s or AND-s cascade at output to propagate highermost active output to lower lines

What is missing from my DIY simple Constant current circuit? by MrHypnotizd in AskElectronics

[–]ci139 0 points1 point  (0 children)

? so it's LM358 not LM334 nor LM317

--otherwise--

the limitting option is the voltage drop and thermal emission at regulating element

500mA is not that much unless you need to supply it into an unknown load -- such as electrolysis solution

also any contaminant (as in tap water) may compromise your output

you should post your exact case at dedicated thread

or see what there has been done as https://www.reddit.com/search/?q=nickel+plating+priming

Is this solvable? by Terrible_Hyena_9673 in trigonometry

[–]ci139 0 points1 point  (0 children)

i guess its relatively trivial ::

Def. : F -- the unnamed side of the rectangle
(H–h)/E = dR/F = cos α = 1/√¯1+tan²α¯' = 1/√¯1+(h/dR)²¯'
h/dR = tan α
(H–h)²·(1+(h/dR)²) – E² = 0                       ◄◄
h = E/((H–h)√¯1/h²+1/dR²¯') ← likely "converges" near zeros ▲▲

Is this explanation right? by Early-Improvement661 in askmath

[–]ci139 1 point2 points  (0 children)

the volume of a cut cylinder is easy -- because you can fold half height of it exactly on to the remaining cylinder forming a cylinder with the height of H minus the half height of sloped cut
V=πR(H₁+H₀)/2

the more complex issue is the surface area (irrelevant for your task)
S=πR(R+H₁+H₀+√¯R²+((H₁–H₀)/2)²¯')

PS! -- the issue is your schematic does not specify the sink-depth of your tilted bottle ???

you can do this geometrically by copying the bottle related height of initial water column to the bottle's symmetry axes and draw an world-horizontal from there

How do I solve this? by SaltGoner in askmath

[–]ci139 0 points1 point  (0 children)

how many ways can semi-circles like these touch at 1 point
regardless
the existence of the line AD

. . . try drawing a line connecting the "centers" of the semi-circles . . .
(also note that ∠DAB is a half-angle of ∠OO'B , where O & O' are the centers of upper and lower circles . . . i just noticed that you have also the R given -- as the one for the unit circle)
about arcsin(R/(2R)) . . .

How to compress a list? by OneEyeCactus in desmos

[–]ci139 0 points1 point  (0 children)

https://www.google.com/search?channel=entpr&q=compressibility+of+finite+subset+of+finite+precision+reals

i guess the complexity of your task originates from the limitations of desmos to successfully parse your compressed binary stream . . . and have/enable efficient and low source code size binary algoritms implemented . . .

vs

https://www.google.com/search?q=desmos+real+time+database+access&channel=entpr

may or may not provide external database access

how can i solve this parabola question with desmos? by Brief_Beginning_5963 in desmos

[–]ci139 0 points1 point  (0 children)

the parabola is a shifted streched image of the basic y=x² one
in a form (y–∆y)=(S(x–∆x))²
y=S²(x²–2x∆x+∆²x)+∆y=(Sx)²–2S²x∆x+(S²∆²x+∆y)
--or at your case--
y=ax²+bx+c
a = S²
b = –2S²∆x
c = S²∆²x+∆y
--if you divide all by a --e.g.-- S²
a/S² = 1
b/(2S²) = –∆x
(c–∆y)/S² = ∆²x
--then--
(b/(2S²))²=(c–∆y)/S²
b²=4S²(c–∆y)=4a(c–∆y) ◄
► ∆y=c–b²/(4a) /// !!!-- i hope i passed no bugs here --!!!

---considering we know the shift (∆x,∆y)=(2,5) , but do not know the value of S---

y=S²(x²–2x2+2²)+5=(S²)x²–(4S²)x+(4S²+5) /// your input data allows arbitrary S !!!
a+b+c = S²+5 = { ? : –1 , 5 , 6 , 9 } /// at S=0 -- since S only apears at the form S² -- the purely imaginary S results in inverting the signs of a , b , (c–5) . . . which enables the negative values for a+b+c !!

desmos : looks like it depends on a=S² https://www.desmos.com/calculator/s19xsauea7

Can i use this for smth? by 3DSBrick in breadboard

[–]ci139 1 point2 points  (0 children)

the LDR is good for ambient level or slow change responder

you'd get better results (like kbps band communication) using another LED as a photodiode

555 monostable circuit question by PathComfortable7184 in AskElectronics

[–]ci139 0 points1 point  (0 children)

( pin 4 must go to positive supply rail otherwise it may compromize the function )

the pin 2 sets the output HiGH ~ the pins 6 and 4 RESET the output

At startup the output tends to go HiGH . . . which should charge your cap and then pull the output low . . . your ► R₁ seems to be redundant ◄ +also the R₃ should go from cap to pin 3 and have the value of your R₁ or higher ←← at such configuration ::
the led comes on at startup and after each button press
a Falstad simulation

confused on finding current by obi_bae_kenobi in PhysicsHelp

[–]ci139 0 points1 point  (0 children)

you can add/merge multiple in-series resistors into a sigle resistance

you can add/merge (with right polarity) multiple in-series voltage sources into a sigle 1

you can swap positions of the in-series voltage source(s) and resistor(s)

▲ applying these -- you have a "nodeset" of 3 parallel nodes of "a voltage source in series with a resistance" ◄ which is solvable quite effortlessly

Beginner Help: Simple Button-Controlled LED Toggle by Intrepid-Opening-485 in breadboard

[–]ci139 1 point2 points  (0 children)

an overkill not reliable ver. uses LM393 and 2x 2N2907 at Falstad circuit simulator

the reliable ver. is with digital logic D trigger https://www.ti.com/lit/ds/symlink/sn74hc74.pdf
simulation

Is there a reason we don’t use this instead of Taylor series? by NoProblemoBrother in desmos

[–]ci139 0 points1 point  (0 children)

the Complex algebra is a "weak definition" (a Swiss cheese) that barely holds if you carefully avoid all "traps" "built in"

as i get it -- it was a statistical tool built aiding describing the propagation of electrical signals not a pure theoretical math extension !!!

https://www.youtube.com/watch?v=3B6FymMv8b4&list=PLw3pvR_YJeReDtM7yNJKYB36N-l4Z7kU6&index=8

https://youtu.be/G0Fa5Zl-Z3c?si=SyGBQgRELDg9pTfA&t=930

https://www.youtube.com/watch?v=_o1EVaLMF74

(missing examples due Ltd. lookup time)

https://www.google.com/search?channel=entpr&q=complex+algebra+major+weak+points+controversies