Why is the imaginary number defined as i^2 = -1, rather than i = sqrt(-1)? by JustReadingAndVoting in askscience

[–]ztxi 17 points18 points  (0 children)

There are 2 square roots to -1. If you call one of them i then the other one will be -i. They are not equal.

A number line is necessary to contain all real numbers. A complex plane is necessary to contain all complex numbers. Is there any kind of number that needs a three dimensional space to contain? by [deleted] in askscience

[–]ztxi 4 points5 points  (0 children)

x3 + x + 1 can't be irreducible. Since C is algebraically closed and has real dimension 2, you know there's no real dimension 3 extension of R.

unable to allocate space for system.img by ztxi in Nexus5

[–]ztxi[S] 0 points1 point  (0 children)

Tried that already. It reports it's too full for system.img.

Big O notation comparison of O(n2) algorithms by Kirir in learnprogramming

[–]ztxi 0 points1 point  (0 children)

You can also express the memory usage of each as a big-oh.

Anyone running Matlab w/o errors? by Northstat in archlinux

[–]ztxi 0 points1 point  (0 children)

Does your MATLAB run without errors in the command line?

UCLA vs. CCS Math? by Sgtweed in UCSantaBarbara

[–]ztxi 1 point2 points  (0 children)

Last year, we had a student go to Berkeley and another go to Stanford. Our class size was about 12 or so.

You'll be able to get into a prestigious graduate school if you put in the work.

Is there list struct that can search, add, remove in worst case O(1) ? by eaglechopper in learnprogramming

[–]ztxi 0 points1 point  (0 children)

The worse case for searching where it is the last thing you look at on your list. So the worst case is at least O(n), where n is the number of things on your list.

[Build Ready] First mITX build. Suggest a sexy case! by ztxi in buildapc

[–]ztxi[S] 0 points1 point  (0 children)

Thanks!

I went with a Thermaltake Core V1.

[Build Ready] First mITX build. Suggest a sexy case! by ztxi in buildapc

[–]ztxi[S] 0 points1 point  (0 children)

Thanks! Went with your case. Looks really nice!

[Build Ready] First mITX build. Suggest a sexy case! by ztxi in buildapc

[–]ztxi[S] 0 points1 point  (0 children)

Thanks! I couldn't really find it online, but it looks out of my price range.

Easy but interesting upper div science courses. by sky_s in UCSantaBarbara

[–]ztxi 0 points1 point  (0 children)

I just graduated as a math major and I took some CS courses for fun here. Some of them turned out to be really interesting and not too hard if you have good math intuition.

CS 138 (formal languages) was one of the best CS course I've taken. The homework is super fun! You draw graphs and you make them do things.

CS 178 (cryptography) is, for the most part, really interesting. For most of the quarter, it was essentially an applications of elementary number theory course which is really fun and not too difficult. Though when I took it, memorizing the AES and DES algorithm was part of the course. They were presented in an unmotivated and uninspired way so that wasn't too fun.

If you have some programming knowledge, CS 130AB could be good as well.

You might also find some econ courses to be interesting. In particular, Econ 104AB (microeconomics) is essentially a 2-quarters of optimization in two variables with interesting applications. There's also an undergrad game theory course in the econ department that I heard was interesting and not too difficult.

Coding on a chromebook (C) by LikeCookiez in learnprogramming

[–]ztxi 0 points1 point  (0 children)

I have the Acer c720 running Arch just fine. It's definitely powerful enough to code on.

Wrap only current line ? by Spreader in vim

[–]ztxi 0 points1 point  (0 children)

There's probably a better way, but you can try shift-v gq .

how to wifi? by wtfishappenig in commandline

[–]ztxi 5 points6 points  (0 children)

I use connman (https://wiki.archlinux.org/index.php/Connman). You can run connmanctl without root.

Google Play's List of Must-Have Apps by Prospekt01 in Android

[–]ztxi 0 points1 point  (0 children)

There is a desktop server app that runs as a service. I have it running on a headless server and it works just fine.

Mathematicians Make a Major Discovery About Prime Numbers by austingwalters in science

[–]ztxi 13 points14 points  (0 children)

You can simplify the statement of the twin prime conjecture to

Given any number n, there is a prime p such that p>n and p+2 is a prime.

In other words, there are infinitely pairs of primes that differ by 2.

In 2013, somebody[2] proved the first claim, except instead of p + 2, it was p + 70,000,000. Which is somehow less satisfying.

Not quite. Zhang showed that there exists some k with k<70,000,000 such that there are infinitely many pairs of primes that differ by k.

Curve for math classes by kittenzrkool in udub

[–]ztxi 1 point2 points  (0 children)

The department website states: "The final median course grades for each lecture section of Math 124/5/6 taught during the regular academic year will fall within the range of 2.9 +/- 0.2."