#help-19
1 messages · Page 153 of 1
Well ill restate
Pretty much binomial random variables track the number of successful trials
So like you will see X ~ Binom(n,p)
Where n is number of trials and p is the probability of a success on each trial/attempt/reptitive experiment(like a test question)
The reason we care about this is because it can help us answer our question easily if we know the formula for P(X=k) for a binomial random variable X
So using this
Ill get to point quicker
We can use this fact and apply binomial random variable formula but it would take a long time
So instead we use rule of complements
if E={X>=1} then E^c={X<1}={0}
so we know P(E)=1-P(E^c)=1-P(X=0)
And from here you can directly apply binomial random variable formula
Or you can reason by saying there are 2^12 total outcomes and 1 way to get none of them correct
@ocean geode Has your question been resolved?
Closed due to timeout
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
f(x) = (-3)/(e^2x -4e^x +3) when I tried to find the min/max point I got a max point, but the book says it's a min point, I am confused
can you please send your work?
I summed up the parts I know are right, I did most the work on a different page that is a bit messy....
ah
I believe you forgot the negative sign when applying quotient rule
wait
yep
Oh yeah didn't notice that, thx
Closed by @rapid geode
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
so i get how to get pie/6 and 5pie/6
from sin(Theta)=1/2
but
how do you get 0 and pie/2
@chilly jacinth Has your question been resolved?
Closed due to timeout
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
I have been given the following system of linear equations and am asked to 1) create a coefficient matrix and augmented matrix and 2) check whether it has solutions and determine them if necessary.
My approach can be seen on given screenshots. I'm not sure about the answer, the numbers seem strange. It would help me a lot if you could look over it.
@feral pewter Has your question been resolved?
@feral pewter Has your question been resolved?
can you clarify what you need help with?
Closed due to timeout
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
@dapper raptor Has your question been resolved?
yup
there should be an i did they miss it or something
Technically, all real numbers are also complex, but I understand the confusion because of the set up
but even those have an i
if that's the case, then all exp(x) would be a complex number?
if say you have to write the complex form of 2 it would be 2*epower 2npi(i)
there is still an i
no i meant, e^(pi/2) almost looks or resembles a "typical complex number" but it could just be e^(pi/2) approx 4.8 something
maybe
im going to ask something stupid,but wouldn’t q be in a matrix form too?
4x1 matrix 
so what would you input to the answer?
the 4 terms?
idk the syntax but prob (... , ... , ... , ...) or (... , ... , ... , ...)^T
then isn’t the question very straightforward
like you have 4eq 4 variables you just need to simplify
do you know the answer i got a solution but idk if it’s right
Looking at (0,-3,0,3) it seems w_k is indeed missing an i but then only the real part is considered
Maybe the other system considers the imaginary part
q would be a column vector
of w_k
another solution to matrix A
is it (3,0,-3,0)?
yeah, so first column solution was the real part, second was the imaginary part
idk why they partitioned it that way thogh
ok then it's straightfoward
cause z=x+iy
is the way we write it in the complex plane
but why separate real and complex parts
cause you can,theres no reason other than making this question
yup
how do you find the limit?
yeah
aaah i might need to first go and understand what it means
all goods
ill be back in 15 min
@wanton bison thoughts?
𝔸dωn𝓲²s
On what exactly
on this one, finding limit of h(x)-k(x)
𝔸dωn𝓲²s
because we have square roots
so it's a common trick to multiply a difference of square roots by the conjugate
\begin{align*} \lim_{x \to \infty} \frac{64x^2+51\ln\cosh x+2a(x)\sqrt{64x^2+51\ln\cosh x}+a^2(x) - (x^2+58x^\delta)-2b(x)\sqrt{x^2+58x^\delta}-b^2(x)}{\sqrt{64x^2+51\ln\cosh x}+a(x) + \sqrt{x^2+58x^\delta}+b(x)}
\end{align*}
𝔸dωn𝓲²s
awesome limit
wtf
the denominator goes to infinity no matter the delta
take out x from neum and din and cancel
are they asking for the integral part? do they want box of l?
i got an answer
but its a fraction
did you get anything?
no
dang ,im getting a fraction tho
if they want box of it then it mkes sense
otherwise i messed up
wth is this lol
tell me
wait, let me try and plug it in on maple see if i get an answer
.
i got 3
idk what the answer is
i plugged 3, it's incorrect
which is sus
what's the fraction?
51/16
wdym?
last time i was here i would get screamed at for sending the solution
am i allowed to?
yeah, send it
ykw ill just send it
here
i learned what sinh and cosh is but what do i do with that info now
ofc you left out a(x) and b(x)
of course pooki
no way
i don’t need irrelevant information
i know you
no you don’t
me?
you are that indian girl who does slang math
I thought you would return next year after JEE
sigh i i made an account just for a few days cause i was bored
you fucking donut
i’ll delete it again in like 3 days
i mean i realised immigration you said ofc i left out ax
i was like aaah its you
shoot
i need to be more discreet
i mean i got the answer thats the point at da end of da day
horrible
i care
i like cant do physics
see if ax can be any function as long as at x tends to inf it tends to zero i can just take ax=1/x
Richtig
bla bla bla
no im the math master
i was stuck here cause you got 0 * inf which is indeterminate
i have to admit,your math skills havimproved
you do?
did you multiply with 8?
dw forget it :p
keep doing your slang math
i forgot how annoying you are
thanks
i am going to forget addition after jee
nah i'm still confused lol
i'm looking at the sols
where'd you get ln(2)?
slang math
ill write the skipped steps
@pseudo narwhal
this basically
wot
yuh
can you do physics?
@dapper raptor
i can't do shit
so sad
so meaingless
my life fr
i want to just quit and play pokemon 24/7
if only i was a nepo kid
whats that
if i had a trust fund basically
but sadly i do not have that
how did you know what sinh was
i was convinced they misspelled it
yeah i watched a 15 min vid so i could do this question
i felt so kind
it's just something you learn when getting to know functions
they didn’t teach us that
they thought too trivial
i mean it ended up being what i thought it was
but do you know why ex was picked?
probably for convenience im guessing
where did op go
did they understand?💀
bruh my brain so slow
e^x?
oh okioki np
yuh
prob has to do with complex numbers
do you want a more detailed solution?
really? why do you think that?
you didn’t know that?
ln(e^x)+ln(e^-x)-ln(2) no?
no bro they area added e pwr x and minus x
thought it'd be irrelevant lol
only if they were multiplied
you can do this
ln(e^x+e^-x)-ln(2)
oh wait yeah, didn't see
but cause e power x tends to inf i ignored the one
take lcm in the first bracket
i will take you
pooki its simple just expand again after that
fair
i think ill go study physics in 5 min
why not 6
@dapper raptor do you need more clarification?
cause i decided
yeah, spoonfeed pls so i can go do my routine and sleep
grown ass
oki
@dapper raptor
lmk if this is understandable
I would be thinking twice doing it like that in the exam
consider it as the last option
im not you deer
I am talking to op
i insulted you?
yes
it makes sense overall, i just don't get your conversion of the ln
🦄
what do you not get?
how you got e^2x+1
if you split the limit (knowing it exists) you can actually leave out a(x) and b(x)
the splitting of ln(coshx) i guess since i think that would also change the other e^(x)
like dis
refuse to live
i just did that cause they didn’t say what they were so i can just say a(x)=1/x and live my best life
so real
they said functions approaching 0
lol
you guessed kinda right
exactly does 1/x not tend to 0 at inf
it does
so no one cares about a and b they are ment to bi ignored
npppp
ok you chicken wing
thankuthankuu
bro just says food names as insults
the only bad one is walnut
you called me pooki
you want to poke me, kill me
id be so mad if someone called me a walnut
it is the perfect passive aggressive way to adress a person
actually no
it gives mommy vibes
you missed 1/6 th of the word
no problem lmk if you have other questions
omg villain origin story
i will choose to interpret it in the least concerning way
ha ha ha ha
sure wizard hunter
🦄🧚♂️✨🧜🏽♀️🧙🏽🕺🏻🧛🏽♀️🧙🏽♂️🦹🏽♂️
you forgot your trade mark
see you in like another 3 months
whats that
hopefully
a question?omg should i solve it
ye
which one
@dapper raptor Has your question been resolved?
Closed by @dapper raptor
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
Is there more info about θn?
@odd meteor Has your question been resolved?
Closed due to timeout
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
Help
Given that LCM of 306 and 657 is 223388. What is the LCM of 102,306,675
is the question wrong ? Here
the answer given is 223388 but how the only formula i could use is LCM × HCF = a b
But here it's given LCM two times
<@&286206848099549185>
Please only use the <@&286206848099549185> ping once if your question has not been answered for 15 minutes. Please do not ping or DM individual users about your question.
ok got it
102 is a divisor of 306
so its obviously gonna have the same LCM value
Me too lmao
Use spaces after commas
Oh
Ok
@wanton snow Has your question been resolved?
Closed by @wanton snow
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
The question asks for me to prove that this is a tautology without using a truth table
.reopen
@unborn mountain Has your question been resolved?
Closed due to timeout
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
Bro tf is this formula wasn't it P(a union b) =p(a) + p(b) -p(a intersection b)
nope
What
i had this same problem actually a while ago lmao.
What was the solution
wait no.
You're right, that formula is wrong
yeah.
lmao.
you're fine the book is wrong
i saw the -2 and was like this is sad
what happens when you find that probability is the probability that A happens or B happens
and both can't happen
My book has it too
Like in the hints section
show us the question maybe
I was sending
lmao is this a pyq
Yeah
lemme just see if i can do it and then let's talk
i cant find my probability book id save you so much time
U preparing for the same exam or smth
Bro
I did it
.close
Closed by @compact edge
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
- Find AB and AC.
You have to use similarity to find the lengths
What’s similarity?
hey
@mystic saffron
Yeah
Sorry no idea how to solve it without using trig nor similarity of triangles
What’s next step
if two triangles have the same angles then they are similar, meaning the ratios of their sides are the same.
are you working on 16?
first, what are the two similar triangles you can see?
These
yeah those are similar
but there is actually a triangle here that is similar to ABC as well
The big one?
yeah is there a smaller triangle that is similar to the big triangle?
lets focus on triangles that we know the side lengths of
notice that angle A is shared between the big triangle and one of the small ones
And
so is the triangle with sides 5 and 7 similar to the big triangle ABC?
Sure I see
Why can we say they are similar here?
yeah so this is whats called angle angle (AA) similarity. If two triangles have the same angles for 2 corresponding angles, then the 3rd must also be the same cause they all add up to 180
Now, since they are similar we know that the ratio of the sides of the small triangle must be the same as the ratio of the same sides on the big triangle
Oooh I got it
yeah exactly
we know BC / 9 = 7/5 so we can solve and get exactly that answer
so how can we get the final side now
(AC)
Use Pythagoras term
perf
We have 9 and 12,6
yeah so where do you go from there?
so actually we can just use pythagorean theorem with the sides we've already calculated right?
we know AB and BC
we want AC
we can now ignore the smaller triangle
all good 🙂 what steps are you taking?
8,8
I see now.
I can Pythagoras the ABC triangle
Thanks for finding how to begin
😊
You made me think.
awesome! glad to help
there are a few useful ways to show triangles are similar or congruent. This article has the basic ones which might be helpful for you: https://www.cuemath.com/geometry/triangle-congruence-theorem/
Triangle congruence theorem has 5 theorems to prove if a triangle is congruent or not - SSS, SAS, ASA, AAS, and RHS. Learn more about this interesting concept of triangle congruence theorem, the 5 criteria, and solve a few examples.
congruent = exactly the same triangle, similar means they are the same shape but different size
Closed by @amber walrus
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
The triangle ABC has \angle A as a right angle, \angle B as 30^\circ , and \angle C as 40^\circ . Draw the triangle and its altitude from V , which divides the hypotenuse into two halves. What are the angles created by the altitude?
I’m getting wrong answer…
,rccw
Closed by @amber walrus
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
How can I check if a sum wraps around in modulus 8?
SUM = (A+B+C) mod 8
A is either 0 or up to 7.
B is either 0 or up to 7.
C is either 0 or 1.
What is the most simple answer?
My naive idea would be:
if (SUM < A) then the number wrapped around.
However if A=0, B=7, C=1 then:
((||7+0+1 =|| 0) < 0) which is false.
_ _
I could also check twice:
if (SUM < A) OR if (SUM < B) then I get true.
((0+7+1) mod 8) < 0 -> false
((0+7+1) mod 8) < 7 -> true
result -> true
_ _
However is this the most simple answer?
I mean you have to do a comparison anyway. so why not just compute A+B+C and check whether its > 8
dont optimise stuff like this
it doesnt matter
It actually does. Computers run mostly in x64, which means the largest number is 2^64-1.
If you add two 2**64-1 numbers you will have an overflow.
you talked about 8
SUM cannot be > 7, you don't know what mod 8 is...
A+B+C can be bigger than 8
Okay let's say you use x64 numbers. This means a number is at most ´(2^64)-1´ and at least 0.
How can you add two of these numbers if they can overflow?
´(7+1) mod 8´ = 0 in this case.
test whether the first number is bigger than 2^64-1-other number
Dude what?
I just said numbers can physically not be larger than 2^64-1.
This is because numbers are written in 64 bits, that are either 0 or 1.
If all these 64 bits were 1 then adding any number would cause all bits to flip.
So all the 64 bits would start over from 0.
Remember I need to know if (A+B+C) is bigger than MAX.
A=0
B=7
C=1
(0+7+1) > 7 ... So I need the result "true"
You propose I should test if A > (MAX-B):
0 > (7-7) ... So the result I get is "false"
My first example was incorrect. I wrote a correct example now.
in that example you can add A+B=7
and then in the next step you need to check whether (A+B)+C is ok
aka check A+B > max-C
7 > 7-1
true
That would cause a lot of extra additions, so this is not the correct answer.
E.g. each part of a multi-part number is at most 3 bits (each digit: 0 up to 7), if one part overflows I would first need to add 1 to each part until no more overflow occurs and just then I could continue with the addition.
@gentle patio Has your question been resolved?
Probably just:
(C > (B+C)) OR ((A+B+C) < (B+C))
@gentle patio Has your question been resolved?
Closed due to timeout
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
does anyone know a really easy way to remember the radian degree unit circle chart?
I have a test tomorrow and i have to write the entire graph off of memory in 4 mins and idk if ill be able to memorize it well
Well I would recommend memorizing the special triangles and the CAST rule as a couple easy mnemonics
The 30-60-90 triangle and the 45-45-90 triangle are all you need along with knowing what sine cosine and tangent mean
Sohcahtoa I guess
Then the CAST rule helps you remember what values are positive and negative
But you can also just determine that from a picture
Cosine, All, Sine, Tangent
ohh gotcha
It tells you which quadrant the different trig function evaluate positive in
It starts in the bottom right quadrant though so that’s the weird part
Tbh it’s not as useful as a drawing but it may be helpful
yeah my teacher taught us “ASTC” for “all students take calculus”
Yeah that makes more sense since it starts in the first quandrant not the fourth
But it isn’t as easy to recall I guess
Same idea tho
But for deriving the values I would definitely just learn the special triangles
Then you can work them out on the test yourself
Just remember the angles and the side lengths and using the trig functions with SOHCAHTOA you can deduce the values
@modest bear Has your question been resolved?
Closed due to timeout
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
can someone help me with python code problem Im like almost getting it but im not able to think about how to return something
i got until the number part
now how do i get back to the word from the number
this should be easy i think idk how to think about it thoh
How are you currently going about solving it?
(your code isn't in the link you sent)
Don't show me your code (yet), break down your algorithm (what you want your code to do) step by step first.
okay so
Given a string of words, you need to find the highest scoring word.
Each letter of a word scores points according to its position in the alphabet: a = 1, b = 2, c = 3 etc.
For example, the score of abad is 8 (1 + 2 + 1 + 4).
You need to return the highest scoring word as a string.
If two words score the same, return the word that appears earliest in the original string.
All letters will be lowercase and all inputs will be valid.
this was the instructions
so what I did was
i turned the input into a list
then created a dictionary (i know it isnt the fastest way of doing this)
but the dictionary was just assinging all the letters a value
then i went through each of the things from the list in here
and added the corresponding number from the diciotnary to give them a number value and added it to my score for each word
and so in the end
its printing the like
number "points" for each word
but not the word
should i send pic of code
or am i going about it wrong
break it down into steps.
So...
- create a dictionary of (what?) to (what?)
- ???
somewhere in that list, I'm expecting a "for each word in the list of words, "
dictionary of letters to their 'points'
explain it to me like I'm the dumbest idiot you can think of XD
ok, so {('a', 1), ('b', 2), etc...}
great start
just assigning each letter with their value
and so after i've done that
no so before
i do this
so, you give me a list of words, and you want me to tell you the highest scoring word. What do I do first?
okay so pretend the list of words is like (hi, scooby, volcano, phone, hi)
so what i did is
turn that string of words into a list
so its
[hi, scooby, volcano, phone, hi]
all separarted
and i go to the first item in the list
and through each letter in the word
and get the points
and i put the points into a separate list
yep, I missed that part.
yeah i did that by doing .split() on the string
so this is what it did
made each word into its own thing
but yeha in the end i was able to get the points for each one correctly
but
now idk how to get back to the word
from points
i think what i do is
set up a for loop for the number list and find the biggest number and it's index number
then use that index number to return
the word list word?
idk if that's the right way to go about it
actually idk how to do this 😭 like how to find it's index number
So your algorithm so far is this.
def high(x):
# 1. separate the sentence into a list of words.
word_list = x.split(' ')
# 2. make a new list containing the score of each word
# 3. find the index of the largest score
# 4. return the word at that index
only 1 and 2
3 and 4 is what im
planning
but no clue how to execute
hohw would i even get the largest score's index number
cuz if i knew that part i could do 4
ok, so to do that, we need to tell python how to calculate the score for a single word, which is best as another function.
yeah i got that part
i got the scores of each word
and put the scores in another list
you have this?
def score(word):
sum = 0
for c in word:
sum += word_scores[c]
return sum
can do
few points:
- don't use single-letter variable names. for example, make
for i in wordlistmore descriptive likefor word in word_list
ohhh yeah that'll make it more clear
- I'd also rename
worddicttocharacter_scoresorcharacter_points
yup okay
do you need that if character in character_scores check?
(you've got if e in worddict)
which one is this referring to?
i believe i do right?
it doesn't hurt to keep it. but it's not needed. I would keep it if you want to 🙂
last point
3. I would move that entire section of code to calculate the score of a word into it's own function.
def word_score(word):
// ...
i see but why make its own function?
it splits the code up, making it easier to read and understand
as a general rule of thumb, anything that is it's own process should be in its own function.
i see okay im not too familiar with functions yet
you should have the word_score function above the high function.
high?
they're just recipies telling python how to do something. it's great if you do the same process over and over again, because you can just call that function.
What's your code look like now?
ah, I meant something like this...
character_scores = {
'a': 1,
'b': 2,
# ...
}
# calculates the score of a single word
#
def word_score(word):
total_score = 0
for letter in word:
points = character_scores[letter]
total_score += points
return total_score
# finds the highest scoring word in a sentence
# (our challenge)
#
def high(x):
wordlist = x.split(' ')
for word in wordlist
# ...
so is that theh same as my code but split into cleaner bits?
or is the bottom part like a new addition
we need to implement the high function. I've just added a new word_score function which calculates the score of a single word.
I think you moved everything into the word_score function.
I'm probably distracting from what you're working on, since you already made the dict, but there's an easier way around assigning each letter to a number since they already have a value you can use this as an offset: ord('a') and then pass every character through the ord function
I was going to get to that later XD
yesss i thought of that after i made the dictionary
but i didnt wanna
like
delete everthing so
i stuck with it
also prefer words.split() over words.split(' ')
😭
we can nitpick when the algorithm is actually working
sure
what have you got now?
i'm saying this because originally ooferm said .split(), and then this was changed to the less preferred .split(' ') by shuba
i didn't really change anthing into 2 functions yet i kept it all in 1 cuz im still like trying to figure what the differences in the 2 functions are
so the first one is for finding points
second is for im not clear
word_score tells python how to calculate the score of a word
high then uses that to determine the highest scoring word
to be more precise, we've yet to write high. But, we've already told python how to calculate the score of a single word, and we can use that to calculate the score of every word in order to solve our problem.
oh so do i keep everything i have now and make new function called high
wait one quick questiono
so this is where my lack of knowledge in functions comes in 😭
but now
this isnt doing anything
It should look like this now.
character_scores = {
'a': 1,
'b': 2,
# ...
}
# calculates the score of a single word
#
def word_score(word):
total_score = 0
for letter in word:
points = character_scores[letter]
total_score += points
return total_score
# finds the highest scoring word in a sentence
# (our challenge)
#
def high(x):
# we will now, here, ttell python how to find the highest scoring word, by using python's knowledge of how to work out the score of a single word (the word_score function).
can u help me a little with like how this one is going through each word because the way i was doing it was setting up like a for loop for each word and another for each letter
but this one has only for letter
is there smth like im skimming over
what do you have?
cool.
ah, i thought you deleted that XD
nah its been there whole time
riiiiiight, you can delete the empty high.
yeah i did
and the word_score function should go above that first high function.
So, now, in your high function, you split the sentence into a list of words. you now want to calculate a list of scores corresponding to each word.
its giving me an error
if i put high lower than wordscore
nvm
wrong indentation sry
yep
yup so the first one calculates points and thhe second one turns it into a list
how to proceed from here
now your algorithm is to make a list of the scores for each corresponding word, right?
we can do this by:
# for each word in the list
# calculate the score of this word (using word_score)
# and append that to the list of word scores
we can do that in the high function
really, up to you. if you want to make a new function to do this.
i'll do it under high
so
its telling me that the characterscores dictionary is not defined
do i move it to the very top
it needs to be defined before you use it
okay bet
i moved it to the top now its giving me a number
so its only returning the first word's points its not going through all
what's the code?
yep, because you're returning the score of the first word
oh is thta the very bototm line
yep
oh yeah i didn't really know what to put there
instead of returning it, you want to add it to a list of word scores
what was the mostpointword list supposed to store when you made it?
ok, now we have a list of the scores.
the next step in your algorithm was to find the index of the highest score. How would you do that?
set up a for loop to look through total_score to find the highest number
but idk how i'd find the index number of that or is that not necessary
yes, but mostpointword not total_score.
but isnt mostpointword just words and totalscore is numbers so hohw would i look through to find in that
hint: you have mostpointword.len() is the number of entries in the list.
hint: you can ||for index in range(mostpointword.len()):||
wait nvm
ohhh so what is exactly the function of finding the length of the entries
hint: for index in range(length)
oh, you want this
mostpointword = []
for word in wordlisst:
mostpointword.append(word_score(word))
for index in range(mostpointword.len()):
# ...
ooooooooh, I'm a dumb dumb. sorry.
it's len(mostpointword)
for word in wordlisst:
mostpointword.append(word_score(word))
for index in range(len(mostpointword)):
# ...
ohhhh okok i was thinking that but i thought .len() was just another way of doing it or smth
yehahhh now its doing it
ok wait i gotta go for a bit now i need to drive home (im still at school)
itll take about 45 mins
I might be in bed by then XD
I'll give you the solution, but spoiler out bits so you can give it a go yourself, but check here if you get stuck.
Ohhh ok tyty
I'll DM you 🙂
I was gonna send and spoiler my solution afterwards too if you wanted to see for fun, but I'll wait til after you solve it I guess. Ping me when you have if you want it
@ionic spoke Has your question been resolved?
Closed due to timeout
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
help

WX x XY = ZX x XV

6 x 12 = d x 8?
my answer is 9 but my teacher said its wrong
ur teacher is wrong
why is it 17

Closed by @agile portal
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
I need help in finding the eclipse equation for this bottle im modelling
Please don't occupy multiple help channels.
Closed by @quasi sparrow
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
My teacher said that to find system of inequalities I need to build 2 tables and a seperated axis plane... Idk what she asked about please help.
YT videos help alot. Ping me @mystic saffron
@mystic saffron Has your question been resolved?
@mystic saffron Has your question been resolved?
i dont get your qn
@mystic saffron Has your question been resolved?
How to solve system of inequations with 2 tables way?
This video will describe how to solve a polynomial inequality. A table is used to examine the individual factors and when they are positive or negative. The table allows us to put this information together and see where the overall polynomial is positive or negative. For more videos please visit http://www.mysecretmathtutor.com
@mystic saffron Has your question been resolved?
Closed due to timeout
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
the answer i got was
working was messy not finalized, but worked out f'(x) derivative, f''(x) derivative
i tried all online help all gave different answers
show full working out
oh brother 😭
1 sec
my friend got 1 + x + 1/2x^2
and so did an online calculator just trynna find where i went wrong now
2nd page i lost it
you’ll get this
redid my 1st derivative
got x instead of 2x
thanks
.close
Closed by @gaunt mesa
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
@muted tinsel
ask ur question here
1-SIN Ø /1+SIN Ø×
1-SIN Ø/1-SINØ= (SEC Ø-TAN Ø)²
Chat i need help witht his.
wirht his.
With this*.
So I'm aware that first we have to rationalize this and it becomes smth like this:
1-SINØ/1+SINØ
×
1-SINØ/1-SINØ
And after this we get
1-SIN²Ø/ 1-SINز.
MY DOUBTS STARTS FROM HERE BECAUSE IDK HOW EXACFLY WE GOT THIS UPPER TWO VALUES
<@&286206848099549185>
what can u rewrite 1 - sin^2 x as?
and refer to theta as x its easier to type
Cos2Ø?
correct
now you have two options: first is to just expand all the terms and then see whatever cancels
2nd is some manipulation but i guess for now you should try expanding
so expand both (1-sinx)^2 and (secx - tanx)^2
Yeah tell me
How one get "sin2Ø" And other got "SinØ2"
why this subscript
(idk if it's called subscript)
Are exactly.placed before and after the thetha?
How did we calculate this is my main doubt.
"sin2x" basically means you are squaring sinx
that is - sinx * sinx
its just a notation
now but "sinx2" i think u are referring to (1-sinx)^2
we write it like that because now we cant just write 1 - sin2x
that would mean 1 - (sinx * sinx)
what we actually mean is (1-sinx) * (1-sinx)
and hence the subscript is outside
well sure u can cross multiply
but i suggest expanding the squared terms first
do u know what is (a+b)^2
Ik (a-b) (a+b)= a2-b2.
whats (a+b)(a+b)
yeah so use that to expand (1-sinx)2 and (secx - tanx)2
It ain't going.
yeah just take pics of ur work and send them here
instead of typing
.. no u dont cross multiply
u multiply them directly
on the top and btotom
In bottom we get minus and plus operation,
It will be considered minus right?
On top I did and i got 1-sinز
yeah
now expand (1-sinx)2
Yeah, what after that.
How do i expand it lol,
I just wrote that same thing two times.
(a-b)(a-b)
(1-sinx)(1-sinx)
Yeah I did that.
look
in the bottom we had (1-sinx)(1+sinx)
so thats (a+b)(a-b)
which is a2 - b2
now the top is (1-sinx)(1-sinx)
thats (a-b)(a-b)
and thats a2 + b2 - 2ab
Ohh tysm!!!
@errant kite Has your question been resolved?
Closed due to timeout
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
SOS
Difference of two squares
i put that formula but its still not making sense
What did u get?
x^2-4y/3 😭
What is the formula?
x^2 - 4y^2 = (x+2y)(x-2y)
i added the formula (x+y) (x-y)
Yes, and in ur case, instead of just y, u have 2y
so we replace the x+y with x+2y? or 3
There is no 3, why do u think there is a 3?
cause it equals 3
Maybe it's clearer if we write the formula as (a+b)(a-b) = a²-b²
Oh
So in ur case, a = x, and b = 2y.
So a + b = x + 2y = 3
(a+b)(a-b) = 3*(a-b)
Yes
so its gonna equal 9
3(x-2y) = 3x - 6y
and then sub that to x-2y
3x-2(6y)
=9?
noo 6y doesnt equal y
what does it equall
substitute them into x-2y
@balmy jasper Has your question been resolved?
OH IK
So what u know is (a + b)(a - b) = a² - b²
Can u rewrite this with a = x and b = 2y?
i think i have the answer
Try to get them to find the answer themselves before giving it away
well yeah thats why im not saying but
i dont think my method was
principle really
anyway i can show my method just ask
Yes that's correct
alrighty
Closed due to timeout
Use .reopen if this was a mistake.
Send your question here to claim the channel.
Remember:
• Ask your math question in a clear, concise manner.
• Show your work, and if possible, explain where you are stuck.
• After 15 minutes, feel free to ping <@&286206848099549185>.
• Type the command .close to free the channel when you're done.
• Be polite and have a nice day!
Read #❓how-to-get-help for further information on how to ask a good question, and about conduct in the question channels.
im having trouble with proving this
