AWKWARD ZOMBIE

usually not funny
It is currently Fri Aug 01, 2025 11:56 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 336 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9, 10, 11 ... 23  Next
Author Message
 Post subject: Re: Study Buddies (AKA NOW LET US ALL NOT FAIL CLASSES AND S
PostPosted: Fri Mar 02, 2012 4:06 am 
Offline
User avatar

Joined: Wed Nov 03, 2010 12:10 pm
Posts: 11288
Location: Land of Beer and Sausage
Binary has decimal points too. it goes to the right as 1/2, 1/4, 1/8 and so on.

_________________
Image

Image


Top
 Profile  
 
 Post subject: Re: Study Buddies (AKA NOW LET US ALL NOT FAIL CLASSES AND S
PostPosted: Fri Mar 02, 2012 2:31 pm 
Offline
+4 to defense
User avatar

Joined: Mon Jan 24, 2011 10:34 am
Posts: 15027
Huh, never saw that. Are they still called decimal points then?


Top
 Profile  
 
 Post subject: Re: Study Buddies (AKA NOW LET US ALL NOT FAIL CLASSES AND S
PostPosted: Fri Mar 02, 2012 2:36 pm 
Offline
User avatar

Joined: Wed Nov 03, 2010 12:10 pm
Posts: 11288
Location: Land of Beer and Sausage
I don't know. We just say comma, even though it's periods in binary. For decimal numbers we use commas.

_________________
Image

Image


Top
 Profile  
 
 Post subject: Re: Study Buddies (AKA NOW LET US ALL NOT FAIL CLASSES AND S
PostPosted: Fri Mar 02, 2012 3:13 pm 
Offline
Dances-With-Bots
User avatar

Joined: Fri Jul 22, 2011 5:55 pm
Posts: 6918
Location: xpekt us
Like how the Euro is written

19,95€?

_________________
http://steamcommunity.com/id/Tetrunes
Skype: tetrunes
Marcato wrote:
How am I supposed to see tacos in these conditions?


Top
 Profile  
 
 Post subject: Re: Study Buddies (AKA NOW LET US ALL NOT FAIL CLASSES AND S
PostPosted: Fri Mar 02, 2012 3:14 pm 
Offline
User avatar

Joined: Wed Nov 03, 2010 12:10 pm
Posts: 11288
Location: Land of Beer and Sausage
yeah.

_________________
Image

Image


Top
 Profile  
 
 Post subject: Re: Study Buddies (AKA NOW LET US ALL NOT FAIL CLASSES AND S
PostPosted: Thu Mar 22, 2012 8:12 am 
Offline
¯\_(ツ)_/¯
User avatar

Joined: Tue Nov 09, 2010 9:58 am
Posts: 6174
Location: Azeroth
Writing a sinple calculator program and I have no fucking clue what to do.

You're all smart.
How do I do this.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Study Buddies (AKA NOW LET US ALL NOT FAIL CLASSES AND S
PostPosted: Thu Mar 22, 2012 8:19 am 
Offline
User avatar

Joined: Wed Nov 03, 2010 12:10 pm
Posts: 11288
Location: Land of Beer and Sausage
What class do you use for input?

_________________
Image

Image


Top
 Profile  
 
 Post subject: Re: Study Buddies (AKA NOW LET US ALL NOT FAIL CLASSES AND S
PostPosted: Thu Mar 22, 2012 8:24 am 
Offline
¯\_(ツ)_/¯
User avatar

Joined: Tue Nov 09, 2010 9:58 am
Posts: 6174
Location: Azeroth
Uhhhhhhhhhh............i dont even fucking know.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Study Buddies (AKA NOW LET US ALL NOT FAIL CLASSES AND S
PostPosted: Thu Mar 22, 2012 8:25 am 
Offline
User avatar

Joined: Wed Nov 03, 2010 12:10 pm
Posts: 11288
Location: Land of Beer and Sausage
Well maybe you should pay attention then :I

_________________
Image

Image


Top
 Profile  
 
 Post subject: Re: Study Buddies (AKA NOW LET US ALL NOT FAIL CLASSES AND S
PostPosted: Thu Mar 22, 2012 8:26 am 
Offline
¯\_(ツ)_/¯
User avatar

Joined: Tue Nov 09, 2010 9:58 am
Posts: 6174
Location: Azeroth
I do! ;A; This stuff is fucking confusing!

Plus I cant really see the board that well but i hate sitting up front because I cant see...

_________________
Image


Top
 Profile  
 
 Post subject: Re: Study Buddies (AKA NOW LET US ALL NOT FAIL CLASSES AND S
PostPosted: Thu Mar 22, 2012 8:31 am 
Offline
User avatar

Joined: Wed Nov 03, 2010 12:10 pm
Posts: 11288
Location: Land of Beer and Sausage
Since I don't know the input class you're using (our professor gave us a self made) I can't really help you.
What you want to do is choose which mathematical operation you want to use, depending on how many you have to do, plus, minus or whatever, you can do that by just saying "if you put in p it's plus, m is minus and so on" and have an IF function to distinguish, then put in the numbers you want to do the thing with, then make the functions for the operations, like
if(operation=p){solution=number1+number2;}
else{if(operation=m){solution=number1-number2;}
and so on.
or a CASE function... which I forgot how it works.

_________________
Image

Image


Top
 Profile  
 
 Post subject: Re: Study Buddies (AKA NOW LET US ALL NOT FAIL CLASSES AND S
PostPosted: Thu Mar 22, 2012 4:06 pm 
Offline
User avatar

Joined: Sun Feb 07, 2010 5:31 pm
Posts: 504
Finals are killing me.

I've finished 2, but I still have another 2 to go. I've been studying in the library for 10+ hours a day, and I've started to act a little loopy because of it. My friends are telling me that once I've finished that I need to be re-integrated back into society before I can act normally again. It probably doesn't help that I've cut myself off from all social media and fun internet sites (this is my first time on a non-academic website in a while), am alone every night because my roommate left, and blast electro-synth music for endless hours while studying.

Pain is temporary - GPA is (sort of) permanent. I'M GETTING THAT 4.0 THIS QUARTER, DAMMIT. I despise A-'s...


Top
 Profile  
 
 Post subject: Re: Study Buddies (AKA NOW LET US ALL NOT FAIL CLASSES AND S
PostPosted: Sat Mar 31, 2012 3:51 pm 
Offline
The Real Ghost Blues
User avatar

Joined: Tue May 17, 2011 7:52 pm
Posts: 7195
Location: in a world of pure imagination
Hmmm, my Teaching and Learning professor is trying to convince me that for my lesson-plan-writing assignments, I should do the same lesson content in different teaching styles but I don't like this lesson's content....

It's like an "intro" lesson, so it has like no actual content or standards to it, just "alright class the next few days we're gonna learn about this, let's start by doing research on your own"

it's pretty hard to do that in a lecture style, for instance.

_________________
Image
↑ Let's kick the beat. ♫ (shuffle for best results) ↑


Top
 Profile  
 
 Post subject: Re: Study Buddies (AKA NOW LET US ALL NOT FAIL CLASSES AND S
PostPosted: Wed Apr 04, 2012 12:39 pm 
Offline
User avatar

Joined: Wed Nov 03, 2010 12:10 pm
Posts: 11288
Location: Land of Beer and Sausage
Bon jour to another episode of Java for beginners, by D-vid.

Today, we will talk about loops.

First, the FOR loop. Looks like zis:

int i;
int sum=0;
for(i=1; i<=n; i++)
sum= sum+i;

What does zis mean?

first we initialized i, our count variable, then for example sum.
Now we get to our loop. There's 3 things inside the brackets behind the word for:

The first is the number you start counting at, here it's 1.

The next is for what the loop checks each time it goes through here, it checks if your counter i is smaller or equal to a variable n that you put in before. Alternatively of course you can just put a number in there, or any other check you want like i>n, or whatever you like. if the check is not true, for example when n is 3 and i is 4, then the loop ends.

The third is what is supposed to happen to your counter after each time you go through the loop. Here it's the command i++, which means that i is increased by 1. So every time you go through the loop, your i is increased by one.

Finally, after you put down your conditions for the loop, you put the command/s you want to happen each time you go through the loop. Here, it's sum= sum + i, so each time, you add whatever i is to your sum.

So say your n is 5.
You start at sum= 0 and i = 1
1<=5, yes, so sum = 0 + 1; i= 1+1
2<=5, yes, so sum = 1 + 2; i=2+1
3<=5, yes, so sum = 3 + 3; i=3+1
4<=5, yes, so sum = 6 + 4; i=4+1
5<=5, yes, so sum = 10 + 5; i=5+1
6<=5, no, end of the loop.

So you had a loop that adds all numbers from 1 to n.
An easier one would just be counting.

for(i=1; i<=n; i++)
System.out.println(i);

System.out.println(something) is the standard command to show on your screen in a new line whatever is in the brackets, if it's a variable, it shows you the variable, if you put text in "" it shows you the text you write.

So here it simply does

1<=5, yes, so show on screen 1 ; i=1+1
2<=5, yes, so show on screen 2 ; i=2+1
3<=5, yes, so show on screen 3 ; i=3+1
4<=5, yes, so show on screen 4 ; i=4+1
5<=5, yes, so show on screen 5 ; i=5+1
6<=5, no, end of the loop

That would look like this:

1
2
3
4
5

And that's that. I hope I could help somehow.

_________________
Image

Image


Top
 Profile  
 
 Post subject: LETS DO MATHZ WITH MSPAINT
PostPosted: Wed Apr 25, 2012 6:10 pm 
Offline
User avatar

Joined: Mon Oct 24, 2011 5:11 pm
Posts: 5108
Location: Somewhere between law and chaos.
Quoted from Unimportant Topics

Flicky wrote:
>NJ ASK testing
>How do you turn a rectangle with the dimensions of 15 x 22 inches into a cylinder, and what would the volume of said cylinder be?
>What would the dimensions of the rectangle have to be to double the volume?

Image

I HATE FINAL EXAMS

WHY ARE WE EVEN HAVING FINAL EXAMS IT'S APRIL SCHOOL DOESN'T END UNTIL JUNE

AAAAAAAAAAAAAAAAA


LETS DO MATHZ WITH MSPAINT
By Sol Reaper

Image
We start off with our rectangle. Simple enough.

Image
Now we wrap it around to create a cylinder with a height of 15 (the same height as the rectangle) and a circumference of 22 (the length of the cylinder)
The equation for Circumference is "C = 2(pi)radius". Using reverse solving we can figure out what the radius is. I'm going to use 3.14 for pi as I've been taught.
"22in = 2(3.14)r" is our new equation, after putting everything into place. The image above shows the rest of the steps.
Since the variable we need to find is "r", we need to isolate it. Since 6.28 is attached to r (married, if you will; r is trying to become single), we must divide 6.28 from both sides (divorcing) as required to keep the equation balanced. We end up with "r = 3.50" as 22/6.28 is 3.50.

Image
Now that we have our radius it's just a simple cylinder volume equation. V = Bh, or Volume = Area of the Base multiplied by the height of the cylinder.
Since the base is a circle, we use "(pi)r^2" for our B. Thanks to PEMDAS, we square 3.50 before doing any multiplication within the parentheses.
Then we multiply the result of that by pi (or 3.14) and then further multiply the product of that by 15, or our cylinder's height.
You now have the volume of a cylinder from a rectangle.

_________________
Image
Links to Twitch page.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 336 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9, 10, 11 ... 23  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: Bing [Bot] and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group