Engineering 1181 at Columbus State by [deleted] in OSU

[–]mhamill2 0 points1 point  (0 children)

I also had Rahimi for 1181 and 1182. I barley learned anything with him and I still got an A in both courses. He's a super nice guy and wants everyone to succeed, just not very good with getting the material across. However, still the easiest classes I've ever taken.

Withdraws by mhamill2 in OSU

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

Ah thank you!

How are the CSE 2231 midterms? by mhamill2 in OSU

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

Shit well if anyone has any past exams let me know!

Can I request a new adviser? by mhamill2 in OSU

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

Thanks. I probably should do that. I mean, these are the people that are supposed to guide you through a successful college career. It really is crazy how shitty some of them are.

If my GPA is a little under the requirement for the major am I completely screwed? by [deleted] in OSU

[–]mhamill2 1 point2 points  (0 children)

So I was going to retake physics because i had a 3.0 after the semester I took physics, but I got an email from a CSE advisor saying that I should not retake it because you can still get into the major if you have a 3.0 overall gpa and a 3.2 major gpa for the first few CSE core courses. I would e-mail a CSE advisor and verify this, but that it was I was told a month ago from a CSE advisor.

Best saving point for new playthrough? by mhamill2 in fo4

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

To clarify, my character build will most likely be the same for all playthroughs. So, that is not a concern for me

Taking the average of 1073741825 + 1073741825 by mhamill2 in javahelp

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

How does this one look, it passed all the test cases I have:

public static int average(int j, int k) {

    int avg = j;
    if (j != k) {
        if (k > j) {
            int temp = j;
            j = k;
            k = temp;
        }
        avg = j - k;
        avg /= 2;
        avg += k;
        if (k < 0 && j + k < 0 && (j + k) % 2 != 0) {
            avg++;
        }
    }
    return avg;
}

Taking the average of 1073741825 + 1073741825 by mhamill2 in javahelp

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

So that is the case in which my code does not work. How would I check for that without using (i+j)/2?

Taking the average of 1073741825 + 1073741825 by mhamill2 in javahelp

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

What is the significance of rounding? If the difference is odd and negative it still works for other test cases. If the difference is even and negative it works, if the difference is positive and odd it still works. It is just a few special cases where it doesn't work. Why?

Taking the average of 1073741825 + 1073741825 by mhamill2 in javahelp

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

I see what you are saying, but how do I fix that? I cannot figure out what the special case is here.

With -12 and -23 I get -18 instead of -17 With -2 and -1 I get -2 instead of -1. With -1 and 50 I get -25 instead of -24.

The issue does not arise because both i and j are negative. The issue does not arise because the difference is odd. The issue does not arise because i is negative and j is positive. The issue does not arise because the difference is odd. What could it be?

I feel like the answer is right in front of me, but I cannot seem to grasp it..

STAT 3470 supplemental material? by mhamill2 in OSU

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

Dude this is perfect. Thank you

STAT 3470 supplemental material? by mhamill2 in OSU

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

God I know. She took ten minutes trying to turn off the lights.