LeanKun Posted November 9, 2014 Report Posted November 9, 2014 (edited) In this thread, we can help each other with our homework or simply share some interesting math stuff that you know. I'll start this off: 1)If 2^x= 15 and 15^y = 32, find xy 2)Solve = 2^3x + 3x = 1 3)Find the x-intercept of the graph of Edited November 9, 2014 by LeanKun 2
Rayray Posted November 9, 2014 Report Posted November 9, 2014 Well, if you are asking a game forum about your math homework, I suggest that you get off the internet and study on that first.
LeanKun Posted November 9, 2014 Author Report Posted November 9, 2014 Well, if you are asking a game forum about your math homework, I suggest that you get off the internet and study on that first. It's not a game forum and it's not only for math homework. It's for cool stuff about math. And I'm not really asking anyone to solve it for me, I'm just sharing it.
Rayray Posted November 9, 2014 Report Posted November 9, 2014 Alright then. You confused me because what you put in there are just questions. I can share one as well. It's not exactly all math though. /\A[\w+\-.]+@[a-z\d\-]+(\.[a-z\d\-]+)*\.[a-z]+\z/i The thing above is called a Regular Expression: http://en.wikipedia.org/wiki/Regular_expressionIt is basically a search pattern to match strings(words or text in layman terms) and see if one matches. The above Regular expression(or regex) is what I use to match up email addresses. What I do is I use that with code to make sure that website only accepts valid email addresses pattern. That is how some sites catch random people inputting random words as emails and reject them.That way a website would accept "[email protected]" but will not accept "[email protected]" nor will it accept "myname.....@ya hoo .... com". This makes it easier to stop stupid people from registering random words as emails. As long as the pattern is "[email protected]/net/otherwebsite", the site would accept it. The other thing to make sure that the email is valid is to send an email asking to confirm it(which is what normal websites do). That's why people who claim Math is not used in real life normally does not make good programmers.
LeanKun Posted November 9, 2014 Author Report Posted November 9, 2014 Alright then. You confused me because what you put in there are just questions. I can share one as well. It's not exactly all math though. /\A[\w+\-.]+@[a-z\d\-]+(\.[a-z\d\-]+)*\.[a-z]+\z/i The thing above is called a Regular Expression: http://en.wikipedia.org/wiki/Regular_expression It is basically a search pattern to match strings(words or text in layman terms) and see if one matches. The above Regular expression(or regex) is what I use to match up email addresses. What I do is I use that with code to make sure that website only accepts valid email addresses pattern. That is how some sites catch random people inputting random words as emails and reject them. That way a website would accept "[email protected]" but will not accept "[email protected]" nor will it accept "myname.....@ya hoo .... com". This makes it easier to stop stupid people from registering random words as emails. As long as the pattern is "[email protected]/net/otherwebsite", the site would accept it. The other thing to make sure that the email is valid is to send an email asking to confirm it(which is what normal websites do). That's why people who claim Math is not used in real life normally does not make good programmers. That's pretty cool. Did you learn that on your own or at school? :o
Rayray Posted November 9, 2014 Report Posted November 9, 2014 School rarely teaches stuff you are gonna use at work, so I had to learn it on my own. School teaches you the basic stuff, which is the tip of the iceberg. Once you do work in the field you want, you will learn more.
LeanKun Posted November 9, 2014 Author Report Posted November 9, 2014 School rarely teaches stuff you are gonna use at work, so I had to learn it on my own. School teaches you the basic stuff, which is the tip of the iceberg. Once you do work in the field you want, you will learn more. True. You're a pretty cool math person :D
Rayray Posted November 9, 2014 Report Posted November 9, 2014 True. You're a pretty cool math person :D Not really, I pretty much hated math growing up.
LeanKun Posted November 9, 2014 Author Report Posted November 9, 2014 Not really, I pretty much hated math growing up. I didn't bear any hatred towards the subject. I just didn't like it that much because I couldn't get what the teachers were saying :/
LeanKun Posted November 9, 2014 Author Report Posted November 9, 2014 Screwed up math stuffs . huehue .. At some point of our lives, we all did. xD
Ares Posted November 9, 2014 Report Posted November 9, 2014 I often use regex for form validation and stuff. ^_^ cool stuff guys! I'm no math genius nor computer geek but I find these things interesting. :)
LeanKun Posted November 9, 2014 Author Report Posted November 9, 2014 I often use regex for form validation and stuff. ^_^ cool stuff guys! I'm no math genius nor computer geek but I find these things interesting. :) It seems that Regular Equation is very handy. I'd like to learn it if I have time :D
Rayray Posted November 10, 2014 Report Posted November 10, 2014 I often use regex for form validation and stuff. ^_^ cool stuff guys! I'm no math genius nor computer geek but I find these things interesting. :) I mostly use them now on email addresses since most validations on the Model level on Rails is already baked in it(with methods of course) so I do not have to worry on it. It seems that Regular Equation is very handy. I'd like to learn it if I have time :D Mostly it is used on programming. I honestly haven't used it in school nor school will teach you it unless you went really deep with Computer Science(still, not all will teach this).
LeanKun Posted November 10, 2014 Author Report Posted November 10, 2014 I mostly use them now on email addresses since most validations on the Model level on Rails is already baked in it(with methods of course) so I do not have to worry on it. Mostly it is used on programming. I honestly haven't used it in school nor school will teach you it unless you went really deep with Computer Science(still, not all will teach this). I see. It must be very hard to teach/learn?
Rayray Posted November 10, 2014 Report Posted November 10, 2014 I see. It must be very hard to teach/learn? Not really, it's just patterns anyway.
LeanKun Posted November 10, 2014 Author Report Posted November 10, 2014 Not really, it's just patterns anyway. I see.
forsakenlelouch Posted November 10, 2014 Report Posted November 10, 2014 i hate math man srs ahahha... Who doesnt hate math ?
Rayray Posted November 10, 2014 Report Posted November 10, 2014 Who doesnt hate math ? Math teachers 1
ChainBreak Posted November 13, 2014 Report Posted November 13, 2014 Something one of the lectures I'm having this semester covers so called model checking. By using the language Promella and the interpreter SPIN you can create the so called Kripke structure of a logic and/or first order FO expression and see if it's a valid or solveable formula. There's also CBMC which will be covered in the second part of the lecture that can be used to verify actual programming code instead of just the Promella models. Another lecture also covers the methods of systematic modelling for informal structures. It's very useful in combination with SPIN and CBMC because you can go from informal descriptions to formal models, there get verification for solutions and actually solve the problem from the root. In theory even the most complex of problems. But with most problems you'll encounter SAT/NP-complete problems and be a sad software engineer. T_T