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
538 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,560 points
5,007 views
+2 votes
0 answers
0 votes
1 answer

i write this python to read dataset into panda data frame but im getting NameError: name 'true' is not defined. Below is the code:

change  def parse(path):   g = gz ...READ MORE

answered Mar 15, 2020 in Python by Abhishek Shingadiya
3,710 views
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 6, 2020 in Python by WELL
• 140 points
1,084 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 6, 2020 in Python by MUHAMMAD
• 160 points

retagged Sep 7, 2020 by Gitika 1,313 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 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 4,466 views
0 votes
1 answer
+5 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,790 points
4,127 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP