#it's a homework question in python and the deadline is in an hour. kindly help me with it.
27 messages · Page 1 of 1 (latest)
Are you asking us to do you homework for you?
It's not the entire homework. I'm just a beginner. If you can guide me. That'll be really helpful too.
Please let me know thankyou!
Well what have you tried?
i am unaware how to create functions as of now
i have done Q5. created sin and cos function using taylor series.
let me know if you can help me with Q4
Have you attempted it?
yes ive tried to i dont really know how to. can you teach me the steps and i'll try on my own
I don't really want to just give answers away
yes yes dont give answers. just tell me a few steps.
Well, what do you think the steps should be?
I don't know man. Please let me know if i need to create some functions if yes then which. I am just a beginner and this is an assignment. Please do help me if you're willing to.
I am willing to help but I want you to put in some thought, even if you are a beginner
You only get better if you put in purposeful effort into learning and improving
As for if you need a function or not, that depends on how your assignment wants you to do it
I would probably use a function tho
Okay
So
To begin
import math
a=float(input("enter starting time"))
b=float(input("enter ending time"))
n=(b-a)4
t=0.0
v=2000(math.ln(140000/(140000-2100*t)))
for i in range(n):
t+=0.25
If i go like this
Is it fine?
And also what should be the next step
@pure portal please help me as The deadline is approaching
You need to format your code. It's getting messed up because you're not
!formatting py