Message from @TMatthews

Discord ID: 504332256517554178


2018-10-18 04:01:36 UTC  

With regards to that homework question, I'd simply point out that majority black districts have almost exclusively black representatives, so it's not surprising that, when most districts and states are majority white, they'll mostly have white representatives

2018-10-18 05:01:32 UTC  

https://cdn.discordapp.com/attachments/387060078433271808/502345465195659294/Opera_Snapshot_2018-10-17_215750_canvas.ewu.edu.png

2018-10-18 05:01:43 UTC  

okay am I just dumb or does anyone else find these instructions kind of confusing

2018-10-18 05:01:46 UTC  

?

2018-10-18 05:01:59 UTC  

<@&435155896780324864>

2018-10-18 05:02:20 UTC  

what does "write the summary of the method interface(signature)" mean?

2018-10-18 05:02:48 UTC  

and what is "the recursive definition or your recursive solution"?

2018-10-18 05:06:49 UTC  

@Jacob
so if your function is
```python
def fibonacci(n):
if n == 0 or n == 1:
return n
else:
return fibonacci(n-1) + fibonacci(n-2)
```
Then 1. the function signature is `fibonacci(n)`. (In Java this probably looks more like `public int fibonacci(int n)`
2. the base case is
```python
if n==0 or n ==1:
return n
```
3. the recursive part is
```python
if not(n==0 or n==1):
return fibonacci(n-1) + fibonacci(n-2)
```

2018-10-18 05:08:25 UTC  

@ThisIsChris Thanks a lot

2018-10-18 05:08:33 UTC  

okay this should be pretty easy

2018-10-18 05:12:11 UTC  

lmao IllegalArgumentException reminds me of that "illegal opinions" meme with Merkel

2018-10-18 05:14:03 UTC  

lol

2018-10-18 05:14:09 UTC  

@Jacob you're welcome

2018-10-18 20:54:41 UTC  

@ThisIsChris I'm doing chain rule in Calculus 1 and would like to know how to do the problem: cot^2(sinx)

2018-10-18 21:42:32 UTC  

@GDoctor
1. set `y = sin(x)`
2. the derivative of `cot^2(y)` is `-1/sin^2(y)`
3. so the derivative of `cot^2(sinx)` with respect to `x` is the derivative of `cot^2(y)`with respect to `x` which is `(-1/sin^2(y)) * (dy/dx)`
4. `dy/dx = cos(x)`
5. the derivative of `cot^2(sinx)` with respect to `x` is
`(-1/sin^2(y)) * (dy/dx)`
`(-1/sin^2(sin(x))) * (cos(x))`

2018-10-19 03:20:35 UTC  

@ThisIsChris Thank you so much.

2018-10-19 03:21:04 UTC  

@GDoctor You're welcome!

2018-10-23 00:01:30 UTC  

Anybody know how to calculate a MONTHLY average from QUARTERLY costs? I have to write a C++ program that does that...

2018-10-23 00:01:41 UTC  
2018-10-23 03:49:41 UTC  

@GDoctor I'm not sure I understand the assignment. Since there's 3 months in a quarter then wouldn't the monthly average of a quarter be the quarterly costs divided by 3?

2018-10-23 16:36:19 UTC  

Anyone know how to transform a multivariate regression so that you can do a t test of B1 + 2B2 = 0 and B1 + B2 = 1? I already got it for B1 = B2

2018-10-23 16:37:10 UTC  

Base regression formula is Y = B0 + B1X1 + B2X2 + error

2018-10-23 17:18:03 UTC  

<@&387091385075105804> ^^^

2018-11-20 06:14:15 UTC  

Can someone take a look at a Java assignment for me?

2018-11-20 06:14:25 UTC  

<@&435155896780324864>

2018-11-20 06:14:58 UTC  

<@&387091385075105804>

2018-11-20 06:14:59 UTC  

I'm supposed to write a get method for a hashtable. It seems way too simple so I'm wondering if I'm missing something.

2018-11-20 06:15:33 UTC  

https://cdn.discordapp.com/attachments/387060078433271808/514322892444401705/Hashtable.java

2018-11-20 06:15:38 UTC  

https://cdn.discordapp.com/attachments/387060078433271808/514322913684488223/CSCD300hw7.docx

2018-11-20 06:16:10 UTC  

Are get methods for hashtables really that complex that this warrants an entire assignment?

2018-11-20 06:16:20 UTC  

Or am I overthinking it and this is actually really easy?

2018-11-20 19:03:51 UTC  

@Jacob In the future can you put this stuff into pastebin?

2018-11-20 19:33:44 UTC  

Yes

2018-12-25 17:05:49 UTC  

Jacob, you posted an essay about immigration a while back. I just read it recently and I have some feedback to help you improve your writing. I was thinking we could go through it via audio, or if you prefer, I can write it out.

2018-12-25 17:33:06 UTC  

Yes, I'll find some time

2019-01-20 00:34:55 UTC  

Can anyone explain how to create a cout statement in C++ that'll print a number array each time it's sorted?

2019-01-20 00:35:22 UTC  

@ThisIsChris perhaps?

2019-01-20 05:51:17 UTC  

<@&387091385075105804> ^^^

2019-01-20 05:51:49 UTC  

@GDoctor You want the array printed after sorting or before sorting?

2019-01-20 05:52:33 UTC  

I'm sad that my skills are never needed when I see the AE call. It's never something I have experience with. 😟

2019-01-20 05:59:26 UTC  

@micbwilli what are some of the topics you like?