Meerdere berekeningen maken in javascript windows 8 ie 10

Status
Niet open voor verdere reacties.

clos123456789

Gebruiker
Lid geworden
6 mei 2013
Berichten
53
Mijne Dames,Heren,

Wie kan mij helpen met een gedeelte javascript voor een website weldingonline.nl(Ce Pcm etc.)
Een rekensom maken werkt bij mij prima.(zie Ce 1)
Ik krijg niet voor elkaar om drie rekensommen te maken.Ce1,Ce2,Ce3)
Zoals je ziet moeten er 38 rekensommen gemaakt worden,maar als er 3 werken kan ik zelf de rest aanpassen.

Wat moet er gewijzigd/aangevuld worden in descript regel 449,476,504?
 
a) wat een onoverzichtelijke site qua kleurgebruik, lettertype grootte etc...
b) ik heb willekeurig wat ingevuld en zie dat ce1 veranderd maar als dat lukt kun je de rest toch ook aanpassen?

Het zou helpen als je ipv een link geeft een stukje code wat je hebt gemaakt met daarbij concreet een vraag.

En dan niet in de vorm van:
Wat moet er gewijzigd/aangevuld worden in descript regel 449,476,504?
Als ik jou vraag goed begrijp wil je als je op "calculate" drukt alle 38 velden berekenen en bijwerken?

Je hebt nu een functie gemaakt voor CE1. Als je vervolgens een functie maakt voor CE2 t/m 38 ben je toch klaar?

Code:
function calculate(){
     updateCE1();
     updateCE2();
}

function updateCE1(){
     document.getElementById('target').value(1 + 1);
}

function updateCE2(){
     document.getElementById('target2').value(1 + 1);
}
.. etc.

Het kan nog mooier met een loop en dergelijke maar daarvoor heb je te weinig informatie gegeven.
Als je bijvoorbeeld een lijst met de betreffende berekeningen hebt kun je hier doorheen lopen en zo dynamisch alle velden bijwerken.

Ik denk echter dat ipv deze berekeningen het een wijze stap is om eerst je CSS bestand even bij te werken om die site een beetje leesbaar te krijgen.
 
Zie hier de complete javascript waarbij ik drie berekeningen tracht te maken.



HTML:
<!-- saved from url=(0022)[url]http://internet.e-mail[/url] -->
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
		<meta name="GENERATOR" content="Mozilla/4.7 [en] (Win98; I) [Netscape]">
		<title>CE Pcm etc.</title>
		<!-- saved from url=(0022)[url]http://internet.e-mail[/url] -->
	</head>
	<body text="#000000" bgcolor="#FFFF00">

		<center>

			<table BORDER CELLPADDING=3 WIDTH="700" HEIGHT="100%" bordercolor="red"   >

				<tr VALIGN=BOTTOM>
					<td WIDTH="1%" no value><b><font face=""><font color="#000000"><font size=-2>CE 1</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%"><font face=""><font size=-2>IIW C >.17</font></font></td>

					<td ALIGN=LEFT WIDTH="100%"><b><font face=""><font size=-2>C+ Mn/6+ (Cr+Mo+V)/5+(Cu+Ni)/15</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%"><a NAME="result"></a>
					<form name="equivalent_result">
						<input type="text"  name="resultaat"     size="3"   maxlength="4">
					</form></td>
				</tr>

				<tr VALIGN=BOTTOM>
					<td WIDTH="1%" no value><b><font face=""><font color="#000000"><font size=-2>CE 2</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%"><font face=""><font size=-2>&nbsp;</font></font></td>

					<td ALIGN=LEFT WIDTH="100%"><b><font face=""><font size=-2>C+Mn/6+(Cr+Mo+V)/5+(Cu+Ni)/15+Si/24</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%"><a NAME="result"></a>
					<form name="equivalent_result">
						<input type="text"  name="resultaat"     size="3"   maxlength="4">
					</form></td>
				</tr>

				<tr VALIGN=BOTTOM>
					<td WIDTH="1%" na value><b><font face=""><font color="#000000"><font size=-2>CE 3</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%"><font face=""><font size=-2>&nbsp;</font></font></td>

					<td ALIGN=LEFT WIDTH="100%"><b><font face=""><font size=-2>C+ (Mn+Si)/6+(Cr+Mo+V)/5+(Cu+Ni)/15</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%"><a NAME="result"></a>
					<form name="equivalent_result">
						<input type="text"  name="resultaat"     size="3"   maxlength="4">
					</form></td>
				</tr>

				<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>CE 4</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%"><font face=""><font size=-2>&nbsp;</font></font></td>

					<td ALIGN=LEFT WIDTH="100%"><b><font face=""><font size=-2>C+ Mn/6+ 0.04</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" "><b><font face=""><font size=-2>0,04&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>CE 5</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%"><font face=""><font size=-2>wes</font></font></td>

					<td ALIGN=LEFT WIDTH="100%"><b><font face=""><font size=-2>C+Si/24+Mn/6+Ni/40+Cr/5+Mo/4+V/14</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>CE 6</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>stout
					2</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>C+
					Mn/6+ Cu/40+Ni/20+ Cr/10+ Mo/10</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>CE 7</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>stout
					1</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>1000*C*(Mn/6+(Cr+Mo)/10+Ni/20+Cu/40)</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>CE 8</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>graville</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>C+Mn/16-Ni/50+Cr/23+Mo/7+Nb/8+V/9</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>CE 9</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>duren</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>C+
					Si/25+ Mn/16+ Cu/16+Ni/60+Cr/20+Mo/40+ V/15</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td VALIGN=TOP WIDTH="1%" style="vnd.ms-excel.numberformat:0_)" true><b><font face=""><font color="#000000"><font size=-2>CE10</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>&nbsp;</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>C
					+ Ni/28 + Mn/110 + Cu/83 - Si/15 - Mo/21 - Cr/76</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>CE11</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>&nbsp;</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>C
					+ Mn/6 + Cr/5 + Mo/4 + V/4</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>CE12</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>casting
					zdas</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>C
					+ Mn/6 + Si/24 + Cr/5 + Ni/40+Mo/4</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>CEN</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>yurioka
					C all</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>C+A(C)*(Si/24+Mn/6+Cu/15+Ni/20+
					(Cr+Mo+Nb+V)/5+5B)</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>CET</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="22%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>thyssen</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>C + (( Mn + Mo ) / 10 ) + (( Cr + Cu ) / 20 ) + ( Ni / 40 )</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>CEW</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="22%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>.   </font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>C + 0.378 * Mn + 0.145 * Ni + 0.468 * Cr + 0.298 * Mo</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>CEC</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="22%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>chakravarti</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>C + 0.16 * Si + 0.07 * Mn + 0.22 * Cr + 0.03 * Ni - 0.27 * Cu</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>CEZ</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="22%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>CEZ=Zinc C<0.12 JIS norm</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>C + Si/17 + Mn/7.5 + Cr/4.5 + Cu/13 + Ni/17 + Mo/3.0 + V/1.5 + Nb/2 + Ti/4.5 + 420B === <0.44</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>Pcm</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="22%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>ito-bessyo
					C&lt;.18</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>C+Si/30+Mn/20+Cu/20+Ni/60+Cr/20+
					Mo/15+V/10+5B&nbsp;</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" BGCOLOR="#FFCC66" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>Ni.eq1</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="22%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>scheaffler
					delong</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>Ni
					+ 30%C+ 0.5%Mn</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>Ni.eq2</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="22%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>de
					long&nbsp;</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>Ni
					+ 30%C+ 0.5%Mn+ 30%N</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>Ni.eq3</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>wrc
					1992</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>Ni
					+ 35%C + 20%N + 0.25%Cu</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>Ni.eq4</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>&nbsp;</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>Ni
					+ 35%C + 20%N&nbsp;</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>Ni.eq5</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>hammer
					svensson</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>Ni
					+ 22%C + 14,2%N + 1,31%Mn + Cu</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>Cr.eq1</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%" <font face=""><font size=-2>scheaffler
					delong</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" <b><font face=""><font size=-2>Cr
					+ Mo + 1.5 Si+ 0.5 Nb</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>Cr.eq2</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>&nbsp;</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>Cr+6%Si+4%Mo+1,5%W+11%V+5%Nb+
					8%Ti+12%Al-40%C -30%N-4%Ni-2%Mn-Cu-2%Co</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>Cr.eq3&nbsp;</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>wrc
					1992</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>Cr
					+ Mo + 0.7%Nb</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>Cr.eq4&nbsp;</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>hammer
					svensson</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>Cr
					+ 1,37%Mo + 1,5%Si + 2%Nb + 3%Ti</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>Pre
					1</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>matthews</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>Cr
					+ 3.3%Mo + 16%N</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>Pre
					2</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>&nbsp;</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>Cr
					+ 3.3%Mo + 30%N</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>Prew</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>&nbsp;</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>Cr
					+ 3.3 (Mo + 0.5 W) + 16%N</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>Pren</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>&nbsp;</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>Cr
					+ 3.3 (Mo + 0.5 W) + 30%N</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>Vcr</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>&nbsp;</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>19
					- 42C - 411S - 3.3Si + 5.6Mn+6.7Mo</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>19,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>UCS1</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>&nbsp;</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>230C+190S+75P+45Nb-12.3Si-5.4Mn-1</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>-1,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>UCS2</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>&nbsp;</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>230C+190S+75P+45Nb-12.3Si-5.4Mn-14Al-1</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>-1,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>CPT</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>critical
					pitting</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>2.5
					Cr + 7.6 Mo + 31.9 N + 232</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>232,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>CCT</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>critical
					crevice&nbsp;</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>3.3
					Cr + 7.6 Mo + 10.5 N + 192</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>192,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN=BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>GCI</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>general corr.index</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>Cr
					+ 0.75 Ni - 12 C + 10 N</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>0,00&nbsp;</font></font></b></td>
					</tr>

					<tr VALIGN BOTTOM>
					<td WIDTH="1%" true><b><font face=""><font color="#000000"><font size=-2>....</font></font></font></b></td>

					<td ALIGN=LEFT WIDTH="16%" style="vnd.ms-excel.numberformat:0_)"><font face=""><font size=-2>ferrite astmA800</font></font></td>

					<td ALIGN=LEFT WIDTH="100%" style="vnd.ms-excel.numberformat:0_)"><b><font face=""><font size=-2>(Cr
					+1.5Si&nbsp; + 1.4Mo +Cb - 4.99) /&nbsp; (Ni + 30C + 0.5 Mn&nbsp; + 26
					( N -0.02 ) + 2.77&nbsp;</font></font></b></td>

					<td ALIGN=RIGHT WIDTH="100%" style="vnd.ms-excel.numberformat:0.00_)"><b><font face=""><font size=-2>-2,22&nbsp;</font></font></b></td>
					</tr>
					</table>
					</center>

					<script language="JavaScript">
					<!--
					function round(number,decimals)
					{
					return Math.round(number*Math.pow(10,decimals))/Math.pow(10,decimals);
					}
					function Equivalentwaarde (C,Mn,Cr,Mo,V,Cu,Ni)
					{
					var equivalent = C + (Mn / 6 ) + (( Cr + Mo +V ) / 5)  +  (( Cu + Ni ) / 15);
					var afgerond_equiv = round(equivalent,2);
					return afgerond_equiv;
					};
					function Rekenen (form)
					{
					var Ckoolstof 	    	= parseFloat(form.C.value);
					var Mnmangaan 		= parseFloat(form.Mn.value);
					var Crchroom 	    	= parseFloat(form.Cr.value);
					var Momolybdeen 	= parseFloat(form.Mo.value);
					var Vvanadium 		    = parseFloat(form.V.value);
					var Cukoper 		        = parseFloat(form.Cu.value);
					var Ninikkel 		        = parseFloat(form.Ni.value);
					var equivalentwaarde= Equivalentwaarde( Ckoolstof,Mnmangaan ,Crchroom,Momolybdeen, Vvanadium,Cukoper,Ninikkel);
					equivalent_result.resultaat.value = equivalentwaarde;
					};
					//-->
					</script>

					<script language="JavaScript">
					<!--
					function round(number,decimals)
					{
					return Math.round(number*Math.pow(10,decimals))/Math.pow(10,decimals);
					}
					function Equivalentwaarde (C,Mn,Cr,Mo,V,Cu,Ni)
					{
					var equivalent  = C + (Mn / 6) + (( Cr + Mo +V ) / 5)  +  (( Cu + Ni ) / 15)  + ( Si/ 24 );
					var afgerond_equiv = round(equivalent,2);
					return afgerond_equiv;
					};
					function Rekenen (form)
					{
					var Ckoolstof              = parseFloat(form.C.value);
					var Mnmangaan        = parseFloat(form.Mn.value);
					var Crchroom              = parseFloat(form.Cr.value);
					var Momolybdeen     = parseFloat(form.Mo.value);
					var Vvanadium           = parseFloat(form.V.value);
					var Cukoper                = parseFloat(form.Cu.value);
					var Ninikkel                = parseFloat(form.Ni.value);
					var Sisilicon                =parseFloat(form,Si,value);
					var equivalentwaarde = Equivalentwaarde( Ckoolstof,Mnmangaan ,Crchroom,Momolybdeen, Vvanadium,Cukoper,Ninikkel,Sisilicon);
					equivalent_result.resultaat.value = equivalentwaarde;
					};
					//-->
					</script>

					<script language="JavaScript">
					<!--
					function round(number,decimals)
					{
					return Math.round(number*Math.pow(10,decimals))/Math.pow(10,decimals);
					}
					function Equivalentwaarde (C,Mn,Cr,Mo,V,Cu,Ni,Si)
					{
					var equivalent  = C + ((Mn + Si  ) / 6  ) + (( Cr + Mo +V ) / 5)  +  (( Cu + Ni ) / 15) ;
					var afgerond_equiv = round(equivalent,2);
					return afgerond_equiv;
					};
					function Rekenen (form)
					{
					var Ckoolstof              = parseFloat(form.C.value);
					var Mnmangaan        = parseFloat(form.Mn.value);
					var Sisilicon                =parseFloat(form,Si,value);
					var Crchroom              = parseFloat(form.Cr.value);
					var Momolybdeen     = parseFloat(form.Mo.value);
					var Vvanadium           = parseFloat(form.V.value);
					var Cukoper                = parseFloat(form.Cu.value);
					var Ninikkel                = parseFloat(form.Ni.value);
					var Sisilicon               =parseFloat(form,Si,value);
					var equivalentwaarde = Equivalentwaarde( Ckoolstof,Mnmangaan , Sisilicon,Crchroom,Momolybdeen, Vvanadium,Cukoper,Ninikkel,);
					equivalent_result.resultaat.value = equivalentwaarde;
					};
					//-->
					</script>

					<form name="equivalent">
					<center>
					<b><tt>Material-------------</tt></b>
					<input type="text"size="12">
					<br>
					<b><tt>Heatnummer-----------</tt></b>
					<input type="text"size="12">
					<br>
					<b><tt>C----carbon------
					<input type="text" name="C"  size="5" maxlength="5">
					Mn---mangane------</tt></b>
					<input type="text" name="Mn" size="5" maxlength="5">
					<br>
					<b><tt>Cr---chromium----
					<input type="text" name="Cr" size="5" maxlength="5">
					S----sulphur------</tt></b>
					<input type="text" name="S"  size="5" maxlength="5">
					<br>
					<b><tt>Mo---molybdenum--
					<input type="text" name="Mo" size="5" maxlength="5">
					V----vanadium-----</tt></b>
					<input type="text" name="V"  size="5" maxlength="5">
					<br>
					<b><tt>Cu---copper------
					<input type="text" name="Cu" size="5" maxlength="5">
					P----phosphorous--</tt></b>
					<input type="text" name="P"  size="5" maxlength="5">
					<br>
					<b><tt>Ni---nickel------
					<input type="text" name="Ni" size="5" maxlength="5">
					Si---silicon------</tt></b>
					<input type="text" name="Si" size="5" maxlength="5">
					<br>
					<b><tt>Nb---niobium-----
					<input type="text" name="Nb" size="5" maxlength="5">
					N----nitrogen-----</tt></b>
					<input type="text" name="N"  size="5" maxlength="5">
					<br>
					<b><tt>B----boron-------
					<input type="text" name="B"  size="5" maxlength="5">
					...--cen A--------</tt></b>
					<input type="text" name=".." size="5" maxlength="5">
					<br>
					<b><tt>Al---aluminium---
					<input type="text" name="Al" size="5" maxlength="5">
					W----wolfram------</tt></b>
					<input type="text" name="W"  size="5" maxlength="5">
					<br>
					<b><tt>Ti---titaan------
					<input type="text" name="Ti" size="5" maxlength="5">
					Co---cobalt-------</tt></b>
					<input type="text" name="Co" size="5" maxlength="5">
					<br>
					<b><tt>Cb---columbium---</tt></b>
					<input type="text" name="Cb" size="5" maxlength="5">
					<br>
					<input type="button" value="Calculating" onclick="Rekenen(equivalent)">
					<br>
					<input type="reset" value="Starting again">
					</center>
					</form>

					<font size=-1>UCS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;10 no crack&nbsp;&nbsp;
					>30 crack&nbsp; in weld by  I  groove single side weld SAW
					<br>
					C&nbsp; = 0.03-0.08 = 0.08&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					UCS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; >30&nbsp;&nbsp;&nbsp; bad resistance&nbsp;&nbsp;&nbsp;
					to heat cracking,</font>
					<br>
					<font size=-1>C&nbsp; =0.08-0.23&nbsp; =&nbsp; C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						UCS&nbsp;&nbsp;&nbsp;&nbsp; &lt;10&nbsp;&nbsp;&nbsp; good resistance to
						heat cracking</font>
					<br>
					<font size=-1>cen A:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						=&nbsp;&nbsp;&nbsp; .08&nbsp;&nbsp;&nbsp;&nbsp; .09&nbsp;&nbsp;&nbsp; .10&nbsp;&nbsp;&nbsp;
						.11&nbsp;&nbsp;&nbsp; .12&nbsp;&nbsp;&nbsp;&nbsp; .13&nbsp;&nbsp; .14&nbsp;&nbsp;&nbsp;&nbsp;
						.15&nbsp;&nbsp; .16&nbsp;&nbsp;&nbsp; .17&nbsp;&nbsp; .18&nbsp;&nbsp;&nbsp;
						.19&nbsp;&nbsp; .20&nbsp;&nbsp;&nbsp;&nbsp; .21</font>
					<br>
					<font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						A(C)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&nbsp;&nbsp; .854&nbsp; .615&nbsp;
						.655&nbsp; .700&nbsp; .750&nbsp; .799 .844&nbsp; .884 .916 .940 .958 .971
						.980&nbsp;&nbsp; .986</font>

					<br>
					<br>
					<center>
						<font size=-2><a href="javascript:window.print ()">print this page.</a></font>
						<br>
						<br>
						<br>
	  <font face="Variable Width" size="-3" color="red">
      <SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript">
<!--
function initArray()   {
this.length = initArray.arguments.length;
for (var i = 0; i < this.length; i++)
this[i+1] = initArray.arguments[i];
}
var dagArray = new initArray( "sunday","monday","tuesday","wednesday","thursday","friday","saturday");
var maandArray = new initArray( "january","february","march","april","may","june","july","august","september", "oktober","november","december");
var nu = new Date();
var dagtekst = dagArray[(nu.getDay()+1)];
var dag = nu.getDate();
var maandtekst = maandArray[(nu.getMonth()+1)];
var jaar = nu.getYear();
var jaar4 = ((jaar < 1900) ? (jaar + 1900) : (jaar));
var datumweergave = dagtekst + " " + dag + " " + maandtekst + " " + jaar4;
document.write(datumweergave);
//-->
							</SCRIPT> </font></font>
						<br>
						<br>
						<br>
						<hr width="90%" size="10" noshade/>
						<font face="Variable Width"><font color="#FF0000"><font size=-2>welding.chr.los&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
									PcmCe etc.equivalent&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
									dec.2001</font></font></font></small>
					</center>
	</body>
</html>
 
Laatst bewerkt door een moderator:
Goedenavond "gast0195",

Waar moet ik dit plaatsen,bij mij wilt het niet werken.

Moet er bij de drie scripts niet iets gewijzigd worden,daar dit drie verschillende rekensommen zijn.(Ce1,Ce2,Ce3)

var equivalent = C + (Mn / 6 ) + (( Cr + Mo +V ) / 5) + (( Cu + Ni ) / 15);

var equivalent = C + (Mn / 6) + (( Cr + Mo +V ) / 5) + (( Cu + Ni ) / 15) + ( Si/ 24 );

var equivalent = C + ((Mn + Si ) / 6 ) + (( Cr + Mo +V ) / 5) + (( Cu + Ni ) / 15) ;
 
Laatst bewerkt door een moderator:
@arjan96s: Gebruik in het vervolg de knop "Meld misbruik" om te melden dat er bepaalde tags ontbreken, dan hoef je de vraag niet van een nutteloze opmerking te voorzien. Die is dan ook bij deze verwijderd (+ de reacties er op)

Verder heb ik een aantal berichten van @clos123456789 samengevoegd.

De reden dat er waarschijnlijk niemand op reageert is omdat de vraag als "Opgelost" is aangemerkt, wanneer dit niet het geval is zou ik adviseren om bij je eerste bericht op "Zet status niet opgelost" klikken.
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan