Go Back   Naruto & Bleach Mania Forums > General Discussion > General Discussion & News
User CP Rules & Info Arcade Gallery

http://www.narutomania.com/forums/New Month, New Problems
For these forums to remain up we need $480 within 7 days. Please donate HERE We need this amount no matter what to keep this website up. Thank you for your support.

Reply
 
Thread Tools
Old 16-04-2008, 12:23 AM   #1161
Niju Shōtai
 
GiantMidget's Avatar


Join Date: Jan 2007
Location: New York,Brooklyn
Posts: 5,000
My Mood:
Rep Power: 16
GiantMidget is a name known to all
Default Re: Homework Help v1.3

A proton moves perpendicularly to a magnetic field that has a magnitude of 4.74x10^-2T.
The charge on a proton is 1.60x10^-19.
What is the speed of the particle if the
magnitude of the magnetic force on it is 1.16x10^-14N?
Answer in units of m/s.

what formula do I use for this?
__________________
GiantMidget is offline   Reply With Quote
Old 16-04-2008, 04:39 AM   #1162
Genin


Join Date: Oct 2005
Posts: 75
Rep Power: 0
ahme has much to be proud ofahme has much to be proud ofahme has much to be proud of

Basic Bronze 
Total Awards: 1

Default Re: Homework Help v1.3

Quote:
Originally Posted by GiantMidget View Post
A proton moves perpendicularly to a magnetic field that has a magnitude of 4.74x10^-2T.
The charge on a proton is 1.60x10^-19.
What is the speed of the particle if the
magnitude of the magnetic force on it is 1.16x10^-14N?
Answer in units of m/s.

what formula do I use for this?

F = qv x B (where v x B is the cross product of v and B)
ahme is offline   Reply With Quote
Old 20-04-2008, 11:37 PM   #1163
Akatsuki
 
Ice(v)an's Avatar


Join Date: Nov 2004
Location: Urahara Store
Posts: 9,394
My Mood:
Rep Power: 36
Ice(v)an has a brilliant futureIce(v)an has a brilliant futureIce(v)an has a brilliant futureIce(v)an has a brilliant future

Basic Bronze 
Total Awards: 1

Default Re: Homework Help v1.3

Anyone here with knowledge of JavaScript.

3) Set a value to the current seconds (both digits) based on the rundate.
Display this value in color, increment by 1 and display the new value on a new line in a NEW color. (i.e.; use the new value to determine a new color for the new line) Repeat until 10 values have been displayed.

is this right?
Also, how do I add colors to the seconds text, and have it change each time.

<script type="text/javascript">
<!--Hide from non-JavaScript browsers

var new Sec("seconds");

function ShowSec(seconds) {
document.write("Seconds as of now is:" + seconds + "<br />");

DateObject.setSeconds(seconds)

for(i=1; i<=10; i++)
{
Sec.getSeconds() "<br />";
}


// Stop hiding -->
</script>
__________________



thanks to Tom, ~Mrge and Simonarturo, EE
Ice(v)an is offline   Reply With Quote
Old 21-04-2008, 02:27 PM   #1164
Code Walrus
 
sadated_peon's Avatar


Join Date: Sep 2004
Location: Here
Posts: 2,508
My Mood:
Rep Power: 42
sadated_peon has a reputation beyond reputesadated_peon has a reputation beyond reputesadated_peon has a reputation beyond reputesadated_peon has a reputation beyond reputesadated_peon has a reputation beyond reputesadated_peon has a reputation beyond reputesadated_peon has a reputation beyond repute

High Gold Award 
Total Awards: 1

Default Re: Homework Help v1.3

Quote:
Originally Posted by Ice(v)an View Post
Anyone here with knowledge of JavaScript.

3) Set a value to the current seconds (both digits) based on the rundate.
Display this value in color, increment by 1 and display the new value on a new line in a NEW color. (i.e.; use the new value to determine a new color for the new line) Repeat until 10 values have been displayed.

is this right?
Also, how do I add colors to the seconds text, and have it change each time.

<script type="text/javascript">
<!--Hide from non-JavaScript browsers

var new Sec("seconds");

function ShowSec(seconds) {
document.write("Seconds as of now is:" + seconds + "<br />");

DateObject.setSeconds(seconds)

for(i=1; i<=10; i++)
{
Sec.getSeconds() "<br />";
}


// Stop hiding -->
</script>
Code:
<script type="text/javascript">

//var new Sec("seconds");

function ShowSec(seconds) {
    document.write("Seconds as of now is: " + seconds + "<br />");
}

var d = new Date();
var sec = d.getSeconds();

    for(i=0; i<10; i++)
    {
    ShowSec(sec + i) + "<br />";
    }


// Stop hiding -->
</script>
I am not sure what is meant by the color,
You could change the color by wrapping the line in a span and changing the style color.
__________________


sadated_peon is offline   Reply With Quote
Old 21-04-2008, 02:59 PM   #1165
Akatsuki
 
Ice(v)an's Avatar


Join Date: Nov 2004
Location: Urahara Store
Posts: 9,394
My Mood:
Rep Power: 36
Ice(v)an has a brilliant futureIce(v)an has a brilliant futureIce(v)an has a brilliant futureIce(v)an has a brilliant future

Basic Bronze 
Total Awards: 1

Default Re: Homework Help v1.3

I think it's meant that each of the seconds that's displayed to be in color, but in different color each time, instead of all the numbers below are like of the same color, like blue. How can I make it, that 23 is blue, for example, then 24 is white, etc.

23
24
25
26
27

Thanks this is for a friend.
__________________



thanks to Tom, ~Mrge and Simonarturo, EE
Ice(v)an is offline   Reply With Quote
Old 21-04-2008, 07:32 PM   #1166
Genin


Join Date: Oct 2005
Posts: 75
Rep Power: 0
ahme has much to be proud ofahme has much to be proud ofahme has much to be proud of

Basic Bronze 
Total Awards: 1

Default Re: Homework Help v1.3

As sadated_peon said, you can do that using span tags. And that would look something like this

Code:
<script type="text/javascript">

//var new Sec("seconds");

function ShowSec(seconds) {
    document.write("Seconds as of now is: " + seconds + "<br />");
}

function randColor(){
	var randR = Math.floor(Math.random()*255);
	var randG = Math.floor(Math.random()*255);
	var randB = Math.floor(Math.random()*255);
	return "rgb("+randR+","+randG+","+randB+")";
}

var d = new Date();
var sec = d.getSeconds();
    for(i=0; i<10; i++)
    {
		document.write("<span style='color:"+randColor()+";'>");
		ShowSec(sec + i) + "<br />";
		document.write("</span>");
    }


// Stop hiding -->
</script>
This makes each printed line printed in a random color
ahme is offline   Reply With Quote
Old 21-04-2008, 08:17 PM   #1167
Akatsuki
 
Ice(v)an's Avatar


Join Date: Nov 2004
Location: Urahara Store
Posts: 9,394
My Mood:
Rep Power: 36
Ice(v)an has a brilliant futureIce(v)an has a brilliant futureIce(v)an has a brilliant futureIce(v)an has a brilliant future

Basic Bronze 
Total Awards: 1

Default Re: Homework Help v1.3

Last one for Javascript.

Display all the dates of the cu rrent week, starting with the rundate and wrapping around to "yesterday" (the day before th e rundate). Display them all in the same color, except Sunday which is always in red.
__________________



thanks to Tom, ~Mrge and Simonarturo, EE
Ice(v)an is offline   Reply With Quote
Old 22-04-2008, 07:20 AM   #1168
Genin


Join Date: Oct 2005
Posts: 75
Rep Power: 0
ahme has much to be proud ofahme has much to be proud ofahme has much to be proud of

Basic Bronze 
Total Awards: 1

Default Re: Homework Help v1.3

Quote:
Originally Posted by Ice(v)an View Post
Last one for Javascript.

Display all the dates of the cu rrent week, starting with the rundate and wrapping around to "yesterday" (the day before th e rundate). Display them all in the same color, except Sunday which is always in red.
This is what I have. And let me just warn you that I have NOT tested the script for various cases. And I'm not sure about the wrapping thing.

Code:
<script type="text/javascript">
//var new Date("month day, year);
function showDate(month, day, year) {
    document.write((month+1) + "/" + day + "/" + year + "<br />");
}

var curdate = new Date();
tday = curdate.getDate();
tmonth= curdate.getMonth();
tyear= curdate.getFullYear();
var millS = Date.UTC(tyear,tmonth,tday);
var milliseconds = 86400000;


for(var i=0;i<7;i++)
{
    millS += milliseconds;
    curdate.setTime(millS);
    tday = curdate.getDate();
    tmonth= curdate.getMonth();
    tyear= curdate.getFullYear();

    if((curdate.getDay())%7 == 0){
        document.write("<span style='color:#ff0000;'>");
        showDate(tmonth,tday,tyear);
        document.write("</span>");
    }
    else
        showDate(tmonth,tday,tyear);
}
curdate.setTime(millS-7*milliseconds);
tday = curdate.getDate();
tmonth= curdate.getMonth();
tyear= curdate.getFullYear();
showDate(tmonth,tday,tyear);
// -->
</script>
ahme is offline   Reply With Quote
Old 22-04-2008, 01:51 PM   #1169
Academy Student
 
Bruc3 Wayn3's Avatar


Join Date: Oct 2006
Posts: 17
Rep Power: 0
Bruc3 Wayn3 is an unknown quantity at this point
Default Re: Homework Help v1.3

I think the wrapping thing just means it comes to the day before as in the name of the days of the week. For example if today is tuesday then the last day of the current week would be monday (which is yesterday as in the name of the day not the actual date).

4/22/2008 (tues)
4/23/2008
4/24/2008
4/25/2008
4/26/2008
4/27/2008 (sun) <---- red
4/28/2008 (Mon)
Bruc3 Wayn3 is offline   Reply With Quote
Old 25-04-2008, 12:20 AM   #1170
Akatsuki
 
Ice(v)an's Avatar


Join Date: Nov 2004
Location: Urahara Store
Posts: 9,394
My Mood:
Rep Power: 36
Ice(v)an has a brilliant futureIce(v)an has a brilliant futureIce(v)an has a brilliant futureIce(v)an has a brilliant future

Basic Bronze 
Total Awards: 1

Default Re: Homework Help v1.3

Making a webpage that has
a FORM that is emailed to YOU when the "submit" button is clicked.
__________________



thanks to Tom, ~Mrge and Simonarturo, EE
Ice(v)an is offline   Reply With Quote
Old 28-04-2008, 07:33 PM   #1171
Code Walrus
 
sadated_peon's Avatar


Join Date: Sep 2004
Location: Here
Posts: 2,508
My Mood:
Rep Power: 42
sadated_peon has a reputation beyond reputesadated_peon has a reputation beyond reputesadated_peon has a reputation beyond reputesadated_peon has a reputation beyond reputesadated_peon has a reputation beyond reputesadated_peon has a reputation beyond reputesadated_peon has a reputation beyond repute

High Gold Award 
Total Awards: 1

Default Re: Homework Help v1.3

Quote:
Originally Posted by Ice(v)an View Post
Making a webpage that has
a FORM that is emailed to YOU when the "submit" button is clicked.
Using what mailer?
__________________


sadated_peon is offline   Reply With Quote
Old 28-04-2008, 10:53 PM   #1172
Akatsuki
 
Ice(v)an's Avatar


Join Date: Nov 2004
Location: Urahara Store
Posts: 9,394
My Mood:
Rep Power: 36
Ice(v)an has a brilliant futureIce(v)an has a brilliant futureIce(v)an has a brilliant futureIce(v)an has a brilliant future

Basic Bronze 
Total Awards: 1

Default Re: Homework Help v1.3

WingZero8587@hotmail.com
__________________



thanks to Tom, ~Mrge and Simonarturo, EE
Ice(v)an is offline   Reply With Quote
Old 28-04-2008, 11:22 PM   #1173
Code Walrus
 
sadated_peon's Avatar


Join Date: Sep 2004
Location: Here
Posts: 2,508
My Mood:
Rep Power: 42
sadated_peon has a reputation beyond reputesadated_peon has a reputation beyond reputesadated_peon has a reputation beyond reputesadated_peon has a reputation beyond reputesadated_peon has a reputation beyond reputesadated_peon has a reputation beyond reputesadated_peon has a reputation beyond repute

High Gold Award 
Total Awards: 1

Default Re: Homework Help v1.3

Quote:
Originally Posted by Ice(v)an View Post
no, no, no.

What application do you need to use to send out the mail?
It changes depending on the type server the page is hosted on.
__________________


sadated_peon is offline   Reply With Quote
Old 29-04-2008, 06:37 AM   #1174
Azn
Elite Jounin
 
Azn's Avatar


Join Date: Apr 2007
Location: Pm me your address for fun times
Posts: 6,423
My Mood:
Rep Power: 27
Azn has a reputation beyond reputeAzn has a reputation beyond reputeAzn has a reputation beyond reputeAzn has a reputation beyond repute
Default Re: Homework Help v1.3

Can anyone interpret the meaning of, "victorious defeat"?
To give a little background, it was said by Dudley Malone, one of the defense lawyers in the Scopes Trial.
__________________
Weeeeee <3
Azn is offline   Reply With Quote
Old 29-04-2008, 01:40 PM   #1175
Donator
 
MuKen's Avatar


Join Date: May 2006
Location: New York City
Posts: 2,649
My Mood:
Rep Power: 21
MuKen has a brilliant futureMuKen has a brilliant futureMuKen has a brilliant future

Basic Gold Basic Bronze Basic Silver 
Total Awards: 3

Default Re: Homework Help v1.3

Quote:
Originally Posted by sadated_peon View Post
no, no, no.

What application do you need to use to send out the mail?
It changes depending on the type server the page is hosted on.

I doubt they expect him to write a server-based method, they probably just want

Code:
<form action="mailto:WingZero8587@hotmail.com">
<input type=text name=message>
<input type=submit>

</form>
MuKen is offline   Reply With Quote
Old 29-04-2008, 08:34 PM   #1176
Hunter-nin
 
Danny's Avatar


Join Date: Jan 2005
Location: Normal Illinois. but arlington heights fo tha summer!
Posts: 2,217
My Mood:
Rep Power: 26
Danny has a brilliant futureDanny has a brilliant futureDanny has a brilliant future
Send a message via AIM to Danny
Default Re: Homework Help v1.3

Quote:
Originally Posted by Azn View Post
Can anyone interpret the meaning of, "victorious defeat"?
To give a little background, it was said by Dudley Malone, one of the defense lawyers in the Scopes Trial.

well John Scopes was found guilty in 9 minutes of deliberation haha.

even though he lost the case and was found guilty, it was a turn around point in the separation of church and public education. i mean he might have lost the battle but won the war


edit//

haha i almost forgot why i even came to this thread in the first place

any history buffs?

im trying to formulate a counter-thesis for the eventual failure of reconstruction. it's been a bitch lately to find any historiography for any pro-reconstruction sentiments. seems like everyone agrees it was doomed from the start....
__________________

Last edited by Danny; 29-04-2008 at 08:39 PM.
Danny is offline   Reply With Quote
Old 30-04-2008, 02:57 AM   #1177
Chaotic Neutral
 
kai0x's Avatar


Join Date: Apr 2007
Location: The U
Posts: 3,613
My Mood:
Rep Power: 26
kai0x has a reputation beyond reputekai0x has a reputation beyond reputekai0x has a reputation beyond reputekai0x has a reputation beyond reputekai0x has a reputation beyond repute

Basic Bronze Basic Gold 
Total Awards: 2

Send a message via MSN to kai0x
Default Re: Homework Help v1.3

Anyone have a biology book handy? I know this is probably simple but I think I was absent when the teacher went over this. Really need help x.x

1. What protein would be coded for by the following mRNA? (Use genetic code table)

5' - AUGCCUCAUAUGCGCCAUUAUAAGUGACACACA - 3'

2. Suppose the following DNA sequence was mutated from AGAGAGAGAGAGAGAGAG to AGAAGAGAGATCGAGAGA. What amino acid sequence will be generated in the mutated DNA?

For the first one I think I just abbreviate each protein it makes until I get to the stop codon, but I'm not entirely sure. As for the second, not sure what its asking
__________________



Thanks Clay <3

Last edited by kai0x; 30-04-2008 at 03:19 AM.
kai0x is offline   Reply With Quote
Old 30-04-2008, 04:06 AM   #1178
Mushishi
 
Insin's Avatar


Join Date: May 2007
Location: Northeast
Posts: 2,451
Rep Power: 23
Insin has a reputation beyond reputeInsin has a reputation beyond reputeInsin has a reputation beyond reputeInsin has a reputation beyond reputeInsin has a reputation beyond repute

Basic Gold 
Total Awards: 1

Send a message via MSN to Insin
Default Re: Homework Help v1.3

Quote:
Originally Posted by kai0x View Post
Anyone have a biology book handy? I know this is probably simple but I think I was absent when the teacher went over this. Really need help x.x

1. What protein would be coded for by the following mRNA? (Use genetic code table)

5' - AUGCCUCAUAUGCGCCAUUAUAAGUGACACACA - 3'

5'-Met-Pro-His-Met-Arg-His-Tyr-Lys-Stop-3'


Quote:
2.
Quote:
Suppose the following DNA sequence was mutated from AGAGAGAGAGAGAGAGAG to AGAAGAGAGATCGAGAGA. What amino acid sequence will be generated in the mutated DNA?

For the first one I think I just abbreviate each protein it makes until I get to the stop codon, but I'm not entirely sure. As for the second, not sure what its asking
DNA sequence, does it say if it's the coding strand? Or the template. I'm going to assume it's the coding strand. Also, does it tell you the polarity? Which end is 5' etc.

RNA sequence for the mutated strand would be (assuming its coding and reads left to right)

AGAAGAGAGAUCGAGAGA

Arg-Arg-Glu-lle-Glu-Arg

However, if that's the template strand than obviously the mRNA will be different.

Last edited by Insin; 30-04-2008 at 04:08 AM.
Insin is offline   Reply With Quote
Old 30-04-2008, 04:15 AM   #1179
Chaotic Neutral
 
kai0x's Avatar


Join Date: Apr 2007
Location: The U
Posts: 3,613
My Mood:
Rep Power: 26
kai0x has a reputation beyond reputekai0x has a reputation beyond reputekai0x has a reputation beyond reputekai0x has a reputation beyond reputekai0x has a reputation beyond repute

Basic Bronze Basic Gold 
Total Awards: 2

Send a message via MSN to kai0x
Default Re: Homework Help v1.3

You rock. Ok so I have a few little followup questions. In the first question the codon UGA is a stop codon, so it appears you just stop once you reach that and disregard the codons after it?

For the second that was the whole question. Whats a template and coding strand exactly and how would the RNA differ?

And bonus question:

Sandra discovered a tRNA with a mutation in DNA that encodes for the anticodon UAA instead of AUU. In cells with the mutated tRNA, what will the effect be on protein synthesis. (Show work)

I'm completely unsure if this question refers to any previous codons, its confusing.
__________________



Thanks Clay <3
kai0x is offline   Reply With Quote
Old 30-04-2008, 04:33 AM   #1180
Mushishi
 
Insin's Avatar


Join Date: May 2007
Location: Northeast
Posts: 2,451
Rep Power: 23
Insin has a reputation beyond reputeInsin has a reputation beyond reputeInsin has a reputation beyond reputeInsin has a reputation beyond reputeInsin has a reputation beyond repute

Basic Gold 
Total Awards: 1

Send a message via MSN to Insin
Default Re: Homework Help v1.3

Quote:
Originally Posted by kai0x View Post
You rock. Ok so I have a few little followup questions. In the first question the codon UGA is a stop codon, so it appears you just stop once you reach that and disregard the codons after it?
Yeah I believe so. Stop codons are terminators, which indicate the end of a protein molecule. Think of it like a period or punctuation mark.

Quote:
For the second that was the whole question. Whats a template and coding strand exactly and how would the RNA differ?
Strap yourself in.

DNA as you know, is composed of two antiparallel strands. During Transcription, only ONE strand directs the synthesis of mRNA. That is because the different strands code for different genes.

So yoy have two strands. Here is an example. I have designated which strands are which.

3' - CTT GGC GTT TTC GGA - 5' (Template)
5' - GAA CCG CAA AAG CCT - 3' (Coding)

During Transcription (which in my example will proceed left to right), the Template Strand is used as the template for RNA synthesis. Remember, Transcription ALWAYS goes from 5' to 3'.

Look at the Template strand, it starts with a 3' end. RNA polymerase attaches to the 3' end, and TRANSCIBES the mRNA 5' to 3'. That is critically important to remember.

Remember, when things base pair, A's pair with T's, and G's pair with C's. Except, in mRNA it is going to be U instead of T.

Summary: Think of it like this
The template strand is going to have the opposite pairs from the mRNA transcibed.
The coding strand is going to be essentially identical to the mRNA, except with U's instead of T's.

Got it?

Quote:
And bonus question:

Sandra discovered a tRNA with a mutation in DNA that encodes for the anticodon UAA instead of AUU. In cells with the mutated tRNA, what will the effect be on protein synthesis. (Show work)

I'm completely unsure if this question refers to any previous codons, its confusing.
This question is much harder.

A sequence of 3 bases is a codon. For example, AUG is a codon, specifically Met (Start Codon).

tRNA has anticodons, which are opposite base pairs from the codons. The anticodon for AUG would be UAC for example.

Anticodons pair with codons during the translation process, it helps form the proteins.

If there is a problem with the DNA that encodes for the anticodon AUU, than the codon UAA won't have an anticodon to pair with it, because all the AUU's anticodons will be UAA.

The Codon UAA encodes for a Stop codon. Without the Anticodon, the ribosome probably won't be able to read the stop codon, so the finished protein will have problems releasing from the P site.
Insin is offline   Reply With Quote
Reply