#๐Ÿ”’ My hw is due in 2.5 hours and i'm stuck

1138 messages ยท Page 2 of 2 (latest)

quick sapphire
#

notice how the first line is identical to the input

magic garnet
#

yea

solar bronze
#
f1 = ...
magic garnet
#

f0 * r**1

quick sapphire
#

almost

#

i think there's a problem with the wording in the problem statement

#

i think it gives the wrong idea in this regard

#

its easy to spot with good mathematical reasoning but maybe not something that should be expected at entry level

quick sapphire
magic garnet
#

so then you got no choice but to tell me the answer?

quick sapphire
#

no

solar bronze
#

!e

f0 = 440
r = 2 ** (1/12)

f1 = f0 * (r ** 1)
print(f"{f0:.2f}")
print(f"{f1:.2f}")
drifting coralBOT
quick sapphire
#

i strongly disagree with sending that

#

like vehemently

valid gust
#

How close are y'all now

solar bronze
#

They wrote the line. Here we show it's correct

quick sapphire
#

the 10 in the initial sentence and the 10 in the formula are not stated to be the same

quick sapphire
#

they wrote10

#

wait

#

omfg

#

im nearsighted

#

my bad

#

f0 looks like 10 from where im sitting

solar bronze
quick sapphire
#

yeah no its right my bad @magic garnet

solar bronze
quick sapphire
#

thought you wrote 10 * r**1 not f0

magic garnet
#

lmao

quick sapphire
#

so if f1 = f0 * r (or r**1, its the same)

#

f2 is ..?

#

(theres 2 acceptable answers here)

valid gust
quick sapphire
#

yes?

valid gust
#

damn I don't see the 2nd answer

quick sapphire
#

dm

magic garnet
#

f2 = f1 * r

solar bronze
#

If you're thinking it uses f1 again, it does not
Edit: I was incorrect, both methods are workable.

solar bronze
#

Calculate it yourself and check their sample.

magic garnet
#

now the car one

quick sapphire
#

i have corrected griceturrble

#

it is in fact the same thing

#

(the implict answer was f2 = f0 * (r**2)

quick sapphire
#

do you have your old code? can u post it again

magic garnet
#

the math

quick sapphire
#

the math is way easier than it was for the last one

quick sapphire
#

what you said was the nonobvious one

#

neither Grice nor @valid gust recognized it

valid gust
quick sapphire
#

you have the math ability for it i promise

valid gust
magic garnet
valid gust
#

could you

#

uh

#

landscape mode

#

can't read

quick sapphire
#

yw

valid gust
#

aye

magic garnet
#

so is it

#

(20 / miles) * dollars_per_gallon

quick sapphire
#

wheres the / coming from lol

#

you are basically right though yeah

#

what does it mean to divide by miles

magic garnet
#

like divide

valid gust
solar bronze
#

You have dollars_per_mile, just multiply

valid gust
#

isn't 20 the miles?

magic garnet
#

is it just 20

quick sapphire
#

yes

magic garnet
#

20 miles

quick sapphire
#

yes it is just 20

#

that is what we've been

#

so desperatelty trying to convey

#

for 4 hours now ๐Ÿ˜ญ

valid gust
#

four hours???

quick sapphire
#

yes

#

4 hours 2 minutes

magic garnet
#

cost_for_20_miles = 20 miles * dollars_per_gallon

quick sapphire
#

yes

valid gust
#

wait

magic garnet
#

and then put that for 75 and 500

valid gust
#

hold on.... no

quick sapphire
#

wait

#

NOOO

#

NOOOOOOOOOOOT AGAAIIIIIN

magic garnet
#

?

valid gust
quick sapphire
#

my mistakes have costed us dearly

#

i mispoke once

#

its haunting us again

#

its not dollars_per_gallon

solar bronze
valid gust
#

lemme pull up paint real quick

quick sapphire
magic garnet
#

ok

#

let's gooo

solar bronze
#

Have you done that visualization with the units and such? Like

miles    dollars
------ / ------
gallon   gallon
magic garnet
#

ALL FINISHED

#

hw assignment done

valid gust
quick sapphire
#

idk if it got through

#

im trying to explain it again

magic garnet
#

time to email the teacher

valid gust
magic garnet
#

lmao

valid gust
#

especially that Karma guy

#

he's been with you for 4 hours

magic garnet
#

i'll tell the teacher to give him a homework pass

valid gust
#

awesome

magic garnet
#

thank you guys

#

more than anything

valid gust
#

You're welcome, feel free to come back whenever

quick sapphire
#

really quick i wrote this to explain the dollars per mile thing

#

idk if itll make sense

valid gust
quick sapphire
#

np man

solar bronze
#

@magic garnet if you're good here you can !close the thread. Good luck to ya. ๐Ÿ™‚
Now go break stuff.

magic garnet
#

you guys are actually the best @quick sapphire @valid gust @solar bronze

#

just had to let you know one last time

#

before i close

#

the thread

quick sapphire
#

its no problem fr i do this a lot

magic garnet
#

!close

drifting coralBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.