
get computer info javascript image
christian
Hello I am in a computer programming course and I have been having a rough semester. Some family troubles, no internet service til yesterday, and a terrible TA. I have a huge project due in a couple days and no idea how to even get started. Any help, even just advice not the direct answer would be appreciated. Thanks! I'll trade math info if anyone needs it.
Answer
Code cuts off... Just go to the sources.
<!-- THREE STEPS TO INSTALL COMPOUND INTEREST:
1. Copy the coding into the HEAD of your HTML document
2. Add the onLoad event handler into the BODY tag
3. Put the last coding into the BODY of your HTML document -->
<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Paul Hartmann of http://www.guycroft.clara.net -->
<!-- Begin
<!--
var princ;
var ratepc;
var years;
function calcAmt(frm) {
princ = frm.pr.value;
ratepc = frm.rt.value;
years = frm.yr.value;
frm.amt.value = Math.round(princ*(Math.pow((1+ratepc/100),years))*100)/100;
frm.intr.value = Math.round((princ*(Math.pow((1+ratepc/100),years))-princ)*100)/100
}
function checkRate(frm) {
if (ratepc == 0 || ratepc > 30){
window.alert("Make sure that the Interest Rate really is " + ratepc +"%?")
}
}
function checkTerm(frm) {
if (years == 0 || years > 30){
window.alert("Make sure that the Term really is " + years + " years?")
}
}
// End -->
</script>
</HEAD>
<!-- STEP TWO: Insert the onLoad event handler into your BODY tag -->
<BODY onLoad="frm.pr.focus()">
<!-- STEP THREE: Copy this code into the BODY of your HTML document -->
<CENTER>
<FORM METHOD="GET" NAME="frm" onReset="frm.pr.focus()">
<TABLE BORDER=5 BGCOLOR=C0C0C0 CELLPADDING=2 WIDTH=>
<TR><TD COLSPAN=3 ALIGN="CENTER">
<B><FONT SIZE="5" COLOR="#0000FF">C<FONT SIZE="4">OMPOUND <FONT SIZE="5">I<FONT SIZE="4">NTEREST</FONT></B>
</TD></TR>
<TR><TD ALIGN="RIGHT">Principal</TD><TD>
<INPUT TYPE="TEXT" NAME="pr" VALUE="" SIZE="10" MAXLENGTH="10" onChange="calcAmt(this.form)"></TD>
<TD ROWSPAN="4" ALIGN="CENTER" BGCOLOR="#CBCBCB"><FONT SIZE="1">Months<BR> 1 = .08<BR> 2 = .17<BR> 3 = .25<BR> 4 = .33<BR> 5 = .42<BR> 6 = .50<BR> 7 = .58<BR> 8 = .67<BR> 9 = .75<BR>10 = .83<BR>11 = .92</FONT></TD></TR>
<TR><TD ALIGN="RIGHT">Rate</TD><TD>
<INPUT TYPE="TEXT" NAME="rt" VALUE="" SIZE="5" MAXLENGTH="6" onChange="calcAmt(this.form); checkRate(this.form)"></TD></TR>
<TR><TD ALIGN="RIGHT">Years</TD><TD>
<INPUT TYPE="TEXT" NAME="yr" VALUE="" SIZE="5" MAXLENGTH="6" onChange="calcAmt(this.form); checkTerm(this.form)"></TD></TR>
<TR><TD ALIGN="RIGHT">Amount</TD><TD>
<INPUT TYPE="TEXT" NAME="amt" VALUE="" SIZE="10"></TD></TR>
<TR><TD ALIGN="RIGHT">Interest</TD><TD>
<INPUT TYPE="TEXT" NAME="intr" VALUE="" SIZE="10"></TD><TD> </TD></TR>
<TR><TD>
<INPUT TYPE="BUTTON" NAME="calc" VALUE="Calculate" SIZE="10" onClick="calcAmt(this.form)"></TD><TD> </TD>
<TD>
<INPUT TYPE="RESET" NAME="clear" VALUE="Clear"></TD></TR>
</TABLE>
</FORM>
</CENTER>
<p><center>
<font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>
<!-- Script Size: 3.36 KB -->
Code cuts off... Just go to the sources.
<!-- THREE STEPS TO INSTALL COMPOUND INTEREST:
1. Copy the coding into the HEAD of your HTML document
2. Add the onLoad event handler into the BODY tag
3. Put the last coding into the BODY of your HTML document -->
<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Paul Hartmann of http://www.guycroft.clara.net -->
<!-- Begin
<!--
var princ;
var ratepc;
var years;
function calcAmt(frm) {
princ = frm.pr.value;
ratepc = frm.rt.value;
years = frm.yr.value;
frm.amt.value = Math.round(princ*(Math.pow((1+ratepc/100),years))*100)/100;
frm.intr.value = Math.round((princ*(Math.pow((1+ratepc/100),years))-princ)*100)/100
}
function checkRate(frm) {
if (ratepc == 0 || ratepc > 30){
window.alert("Make sure that the Interest Rate really is " + ratepc +"%?")
}
}
function checkTerm(frm) {
if (years == 0 || years > 30){
window.alert("Make sure that the Term really is " + years + " years?")
}
}
// End -->
</script>
</HEAD>
<!-- STEP TWO: Insert the onLoad event handler into your BODY tag -->
<BODY onLoad="frm.pr.focus()">
<!-- STEP THREE: Copy this code into the BODY of your HTML document -->
<CENTER>
<FORM METHOD="GET" NAME="frm" onReset="frm.pr.focus()">
<TABLE BORDER=5 BGCOLOR=C0C0C0 CELLPADDING=2 WIDTH=>
<TR><TD COLSPAN=3 ALIGN="CENTER">
<B><FONT SIZE="5" COLOR="#0000FF">C<FONT SIZE="4">OMPOUND <FONT SIZE="5">I<FONT SIZE="4">NTEREST</FONT></B>
</TD></TR>
<TR><TD ALIGN="RIGHT">Principal</TD><TD>
<INPUT TYPE="TEXT" NAME="pr" VALUE="" SIZE="10" MAXLENGTH="10" onChange="calcAmt(this.form)"></TD>
<TD ROWSPAN="4" ALIGN="CENTER" BGCOLOR="#CBCBCB"><FONT SIZE="1">Months<BR> 1 = .08<BR> 2 = .17<BR> 3 = .25<BR> 4 = .33<BR> 5 = .42<BR> 6 = .50<BR> 7 = .58<BR> 8 = .67<BR> 9 = .75<BR>10 = .83<BR>11 = .92</FONT></TD></TR>
<TR><TD ALIGN="RIGHT">Rate</TD><TD>
<INPUT TYPE="TEXT" NAME="rt" VALUE="" SIZE="5" MAXLENGTH="6" onChange="calcAmt(this.form); checkRate(this.form)"></TD></TR>
<TR><TD ALIGN="RIGHT">Years</TD><TD>
<INPUT TYPE="TEXT" NAME="yr" VALUE="" SIZE="5" MAXLENGTH="6" onChange="calcAmt(this.form); checkTerm(this.form)"></TD></TR>
<TR><TD ALIGN="RIGHT">Amount</TD><TD>
<INPUT TYPE="TEXT" NAME="amt" VALUE="" SIZE="10"></TD></TR>
<TR><TD ALIGN="RIGHT">Interest</TD><TD>
<INPUT TYPE="TEXT" NAME="intr" VALUE="" SIZE="10"></TD><TD> </TD></TR>
<TR><TD>
<INPUT TYPE="BUTTON" NAME="calc" VALUE="Calculate" SIZE="10" onClick="calcAmt(this.form)"></TD><TD> </TD>
<TD>
<INPUT TYPE="RESET" NAME="clear" VALUE="Clear"></TD></TR>
</TABLE>
</FORM>
</CENTER>
<p><center>
<font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>
<!-- Script Size: 3.36 KB -->
What programming field requires the least amount of math?
Jim Witche
I'm into my second year of college and told my advisor that I'd like to do computer science. I don't know what programming I want to do exactly yet. Now I'm on this course of calculus and I cannot pass Calc 2. Is there something more specific I can say that will not require past Calc 1? I'm thinking maybe web development if you do not need math for it, but what others are there?
Answer
Well, i wouldn't say to become a comedian. I think becoming a comedian would be more difficult than programming, to be honest. However, you must understand that programming is a venture that uses mathematics. If you have trouble in doing a math course, look up more info about it to try and understand where a common link is between it and your current understanding of mathematics. If you feel that your current understanding of mathematics isn't strong enough, then go back and work at it till you feel you have a better grasp of it.
Programming is all problem solving. If you don' feel that you're strong enough in this, but still wish to continue, then push yourself to become better at it.
Since you're asking this question to begin with, i have reason to suspect that you haven't attempted to learn programming yet. With that assumption in mind, i'd like to point out that it would be better to start learning a bit of programming to begin with. Not as a class, but on your own time. Just starting out and seeing what it's like would be better than to say you want to do it, but don't know where to start. If you start learning a programming language (C, C++, Java, Python, etc) you'll learn some concepts that may help you better in learning mathematics. You may have something to compare, and contrast to as a result and that could better help you understand the concepts as a whole.
If you want, try learning a bit of HTML, and then Javascript if you want to see how web development is. You can learn these things at any time you want really. No classes can really tell you to start or to finish, but rather the fact is that you choose when to start and finish. If you feel that you need a class to help encourage you to start, like say a reward like marks, then you can wait until then, but by prolonging it you won't know whether or not you want to do it until the time comes.
For those that wish to learn about some subjects, the Internet is a vast library that you can use to find what you're looking for. To find information, and learn about programming, is something that isn't too hard and a simple google search can yield many results.
Good luck,
~Barolb
Well, i wouldn't say to become a comedian. I think becoming a comedian would be more difficult than programming, to be honest. However, you must understand that programming is a venture that uses mathematics. If you have trouble in doing a math course, look up more info about it to try and understand where a common link is between it and your current understanding of mathematics. If you feel that your current understanding of mathematics isn't strong enough, then go back and work at it till you feel you have a better grasp of it.
Programming is all problem solving. If you don' feel that you're strong enough in this, but still wish to continue, then push yourself to become better at it.
Since you're asking this question to begin with, i have reason to suspect that you haven't attempted to learn programming yet. With that assumption in mind, i'd like to point out that it would be better to start learning a bit of programming to begin with. Not as a class, but on your own time. Just starting out and seeing what it's like would be better than to say you want to do it, but don't know where to start. If you start learning a programming language (C, C++, Java, Python, etc) you'll learn some concepts that may help you better in learning mathematics. You may have something to compare, and contrast to as a result and that could better help you understand the concepts as a whole.
If you want, try learning a bit of HTML, and then Javascript if you want to see how web development is. You can learn these things at any time you want really. No classes can really tell you to start or to finish, but rather the fact is that you choose when to start and finish. If you feel that you need a class to help encourage you to start, like say a reward like marks, then you can wait until then, but by prolonging it you won't know whether or not you want to do it until the time comes.
For those that wish to learn about some subjects, the Internet is a vast library that you can use to find what you're looking for. To find information, and learn about programming, is something that isn't too hard and a simple google search can yield many results.
Good luck,
~Barolb
Powered by Yahoo! Answers






Comments :
Post a Comment