hello guys i need help to make this code run plz

0 votes

H= float (input("Is this circuit charging or discharging")

if H== 'charging'

 T = float(input("How long have the capacitors and the resistor been connected to the battery")) 

If T= 0

use 0:

Vc= 0 

And VR= Vb

elif 

Vc= Vb *(1-e**(-T/R*Ceq))

And VR= Vb(e**(-T/R*Ceq))

Elfe (if 'It Is discharging')

tfloat(input("How long have the capacitors and the resistor been disconnected to the battery")) 

If t= 0

use 0:

Vc= Vb 

And VR= Vc

elfe 

Vc= Vb(e**(-t/R*Ceq))

VR= Vc

print VR and Vc

Nov 25, 2020 in Python by anonymous
• 120 points
35 views

Hello,

Can you please share more information about what you are trying to do or if there is any error your are getting paste it here.

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Python

0 votes
1 answer

Need help extracting a schema to make use for an avro file in Python

Hi, nice question. So what I daily use ...READ MORE

answered Jan 10, 2019 in Python by Nymeria
• 3,520 points
2,056 views
+2 votes
0 answers
0 votes
1 answer
0 votes
0 answers

hello world, somebody can help me to correct this error

for label, value in s.iteritems():     s.set_value(label, ...READ MORE

Jun 5, 2020 in Python by WELL
• 140 points
181 views
0 votes
0 answers

But when I run this, I get NameError: name 'alphabeta' is not defined error. How to solve this?

tree = [[[5, 1, 2], [8, -8, ...READ MORE

Sep 5, 2020 in Python by MUHAMMAD
• 160 points

retagged Sep 7, 2020 by Gitika 139 views
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 1,720 views
0 votes
0 answers
+4 votes
6 answers

Lowercase in Python

You can simply the built-in function in ...READ MORE

answered Apr 11, 2018 in Python by hemant
• 5,810 points
1,311 views