-
Notifications
You must be signed in to change notification settings - Fork 0
/
index_tr.html
475 lines (407 loc) · 18.2 KB
/
index_tr.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
<html lang="tr">
<head>
<meta charset="utf-8">
<title>
Cramer's Rule 3 x 3 Calculate - ozgurseng
</title>
<meta name="keywords" content="Software Engineer - SENG - HTML, CSS, JavaScript">
<meta name="author" content="Kelleci">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- CSS only -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
<script src="js/cramer_3x3.js"></script>
<style>
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
/* Firefox */
input[type=number] {
-moz-appearance: textfield;
}
</style>
</head>
<body class="d-flex h-100 text-center text-bg-dark">
<!-- Navbar Basladim -->
<div class="cover-container d-flex w-100 h-100 p-3 mx-auto flex-column">
<header class="mb-auto">
<div>
<h3 class="float-md-start mb-0"><a href="https://github.com/ozgurseng"
class="btn btn-default text-white">ozgurseng</a></h3>
<nav class="nav nav-masthead justify-content-center float-md-end">
<a class="btn btn-lg btn-danger m-1 fw-bold py-1 px-0" href="index.html">EN</a>
<a class="btn btn-lg btn-success m-1 fw-bold py-1 px-0" href="https://github.com/ozgurseng/cramers_rule">Repo</a>
</nav>
</div>
</header>
<!-- Main Content Basladim -->
<main class="px-3">
<h1>Cramer's Rule (3x3) </h1>
<p class="lead">Türkçe bildiğimiz adıyla Cramer Kuralı ya da Cramel methodu. Bu program, 3 bilinmeyenli denklemi,
cramer methodu ile otomatik olarak hesaplayabilmek için hazırlanmıştır.</p>
<p class="lead mb-5">
</p>
<form action="" id="ozgursengCramer3" class="">
<div class="container">
<div class="row">
<div class="col-md-2">
<span class="m-1">1.Denklem</span>
</div>
<div class="col-md-8">
<div class="input-group">
<input type="number" class="form-control text-center" id="x1" aria-label="" placeholder="0" size="2"
oninput="ozgurCalculate()" required>
<span class="input-group-text">x</span>
<span class="m-1"></span>
<input type="number" class="form-control" id="y1" aria-label="" placeholder="0"
oninput="ozgurCalculate()" required>
<span class="input-group-text">y</span>
<span class="m-1"></span>
<input type="number" class="form-control" id="z1" aria-label="" placeholder="0"
oninput="ozgurCalculate()" required>
<span class="input-group-text">z</span>
<span class="m-1"></span>
<span class="input-group-text">=</span>
<input type="number" class="form-control" id="s1" aria-label="" placeholder="0"
oninput="ozgurCalculate()" required>
</div>
</div>
</div>
</div>
<div class="container mt-2">
<div class="row">
<div class="col-md-2">
<span class="m-1">2.Denklem</span>
</div>
<div class="col-md-8">
<div class="input-group">
<input type="number" class="form-control text-center" id="x2" aria-label="" placeholder="0" size="2"
oninput="ozgurCalculate()" required>
<span class="input-group-text">x</span>
<span class="m-1"></span>
<input type="number" class="form-control" id="y2" aria-label="" placeholder="0"
oninput="ozgurCalculate()" required>
<span class="input-group-text">y</span>
<span class="m-1"></span>
<input type="number" class="form-control" id="z2" aria-label="" placeholder="0"
oninput="ozgurCalculate()" required>
<span class="input-group-text">z</span>
<span class="m-1"></span>
<span class="input-group-text">=</span>
<input type="number" class="form-control" id="s2" aria-label="" placeholder="0"
oninput="ozgurCalculate()" required>
</div>
</div>
</div>
</div>
<div class="container mt-2">
<div class="row">
<div class="col-md-2">
<span class="m-1">3.Denklem</span>
</div>
<div class="col-md-8">
<div class="input-group">
<input type="number" class="form-control text-center" id="x3" aria-label="" placeholder="0" size="2"
oninput="ozgurCalculate()" required>
<span class="input-group-text">x</span>
<span class="m-1"></span>
<input type="number" class="form-control" id="y3" aria-label="" placeholder="0"
oninput="ozgurCalculate()" required>
<span class="input-group-text">y</span>
<span class="m-1"></span>
<input type="number" class="form-control" id="z3" aria-label="" placeholder="0"
oninput="ozgurCalculate()" required>
<span class="input-group-text">z</span>
<span class="m-1"></span>
<span class="input-group-text">=</span>
<input type="number" class="form-control" id="s3" aria-label="" placeholder="0"
oninput="ozgurCalculate()" required>
</div>
</div>
</div>
</div>
</form>
<!-- === Start Bidibidi CMS 3 DIV === -->
<div class="container-fluid">
<div class="row">
<div class="col-md-4">
<div class="card text-start">
<div class="card-body">
<h4 class="card-title text-bg-dark text-center"> Denklemimiz</h4>
<p id="denklem1" class="m-1 fs-5 card-text text-dark"></p>
<p id="denklem2" class="m-1 fs-5 card-text text-dark"></p>
<p id="denklem3" class="m-1 fs-5 card-text text-dark"></p>
</div>
</div>
</div>
<div class="col-md-8">
<div class="card text-start m-1">
<div class="card-body">
<h4 class="card-title text-bg-dark text-center"> Matrisimiz</h4>
<p class="card-text text-dark">
<div class="table-responsive">
<table class="table table-light">
<thead>
<tr>
<th scope="col">A</th>
<th scope="col">Denklem</th>
<th scope="col">Sonuç</th>
</tr>
</thead>
<tbody>
<tr class="">
<td scope="row">
<span id="x1_" class="m-1 fs-5"></span>
<span id="y1_" class="m-1 fs-5"></span>
<span id="z1_" class="m-1 fs-5"></span>
</td>
<td>x</td>
<td><span id="s1_" class="m-1 fs-5"></span></td>
</tr>
<tr class="">
<td scope="row">
<span id="x2_" class="m-1 fs-5"></span>
<span id="y2_" class="m-1 fs-5"></span>
<span id="z2_" class="m-1 fs-5"></span>
</td>
<td>y</td>
<td><span id="s2_" class="m-1 fs-5"></span></td>
</tr>
<tr class="">
<td scope="row">
<span id="x3_" class="m-1 fs-5"></span>
<span id="y3_" class="m-1 fs-5"></span>
<span id="z3_" class="m-1 fs-5"></span>
</td>
<td>z</td>
<td><span id="s3_" class="m-1 fs-5"></span></td>
</tr>
</tbody>
</table>
</div>
</p>
</div>
</div>
</div>
</div>
</div>
<!-- === End Section 3 DIV === -->
<div class="card text-start mt-3">
<div class="card-body text-center">
<h4 class="card-title bg-primary text-white text-center h3"> Formülümüzü hatırlayalım</h4>
<p class="m-1 fs-5 card-text text-dark">x = [x] / [A]</p>
<p class="m-1 fs-5 card-text text-dark">y = [y] / [A]</p>
<p class="m-1 fs-5 card-text text-dark">z = [z] / [A]</p>
</div>
</div>
<div class="card text-start mt-3">
<div class="card-body">
<h4 class="card-title text-bg-dark text-left"> detA [A] Hesaplayalım</h4>
<p class="m-1 fs-5 card-text text-dark"></p>
<p id="detA_yaz_1" class="m-1 fs-5 card-text text-dark"></p>
<p id="detA_yaz" class="m-1 fs-5 card-text text-dark"></p>
</div>
</div>
<div class="card text-start mt-3">
<div class="card-body ">
<h4 class="card-title text-bg-dark text-left"> X i bulalım</h4>
<!-- === Start Bidibidi CMS 3 DIV === -->
<div class="row">
<div class="col-md-3">
<div class="table-responsive">
<table class="table table-light text-center">
<thead>
<tr>
<th scope="col">X Matris</th>
</tr>
</thead>
<tbody>
<tr class="">
<td scope="row">
<span id="x_x1_" class="m-1 fs-5"></span>
<span id="x_y1_" class="m-1 fs-5"></span>
<span id="x_z1_" class="m-1 fs-5"></span>
</td>
</tr>
<tr class="">
<td scope="row">
<span id="x_x2_" class="m-1 fs-5"></span>
<span id="x_y2_" class="m-1 fs-5"></span>
<span id="x_z2_" class="m-1 fs-5"></span>
</td>
</tr>
<tr class="">
<td scope="row">
<span id="x_x3_" class="m-1 fs-5"></span>
<span id="x_y3_" class="m-1 fs-5"></span>
<span id="x_z3_" class="m-1 fs-5"></span>
</td>
</tr>
</tbody>
</table>
</div>
<p id="X_yaz_1" class="m-1 fs-5 card-text text-dark"></p>
<p id="detA_yaz" class="m-1 fs-5 card-text text-dark"></p>
</div>
<div class="col-md-9">
<p class="m-1 fs-5 card-text text-dark fw-bold">detX = [x]</p>
<p id="detX_yaz_1" class="m-1 fs-5 card-text text-dark"></p>
<p id="detX_yaz" class="m-1 fs-5 card-text text-dark"></p>
<hr class="border border-primary border-2 opacity-50">
<p id="x_yaz" class="m-1 fs-5 card-text text-success fw-bold">x = </p>
</div>
</div>
</div>
<!-- === End Section 3 DIV === -->
</div>
<div class="card text-start mt-3">
<div class="card-body ">
<h4 class="card-title text-bg-dark text-left"> Y i bulalım</h4>
<!-- === Start Bidibidi CMS 3 DIV === -->
<div class="row">
<div class="col-md-3">
<div class="table-responsive">
<table class="table table-light text-center">
<thead>
<tr>
<th scope="col">Y Matris</th>
</tr>
</thead>
<tbody>
<tr class="">
<td scope="row">
<span id="y_x1_" class="m-1 fs-5"></span>
<span id="y_y1_" class="m-1 fs-5"></span>
<span id="y_z1_" class="m-1 fs-5"></span>
</td>
</tr>
<tr class="">
<td scope="row">
<span id="y_x2_" class="m-1 fs-5"></span>
<span id="y_y2_" class="m-1 fs-5"></span>
<span id="y_z2_" class="m-1 fs-5"></span>
</td>
</tr>
<tr class="">
<td scope="row">
<span id="y_x3_" class="m-1 fs-5"></span>
<span id="y_y3_" class="m-1 fs-5"></span>
<span id="y_z3_" class="m-1 fs-5"></span>
</td>
</tr>
</tbody>
</table>
</div>
<p id="Y_yaz_1" class="m-1 fs-5 card-text text-dark"></p>
</div>
<div class="col-md-9">
<p class="m-1 fs-5 card-text text-dark fw-bold">detY = [y]</p>
<p id="detY_yaz_1" class="m-1 fs-5 card-text text-dark"></p>
<p id="detY_yaz" class="m-1 fs-5 card-text text-dark"></p>
<hr class="border border-primary border-2 opacity-50">
<p id="y_yaz" class="m-1 fs-5 card-text text-success fw-bold">y = </p>
</div>
</div>
</div>
<!-- === End Section 3 DIV === -->
</div>
<div class="card text-start mt-3">
<div class="card-body ">
<h4 class="card-title text-bg-dark text-left"> Z yi bulalım</h4>
<!-- === Start Bidibidi CMS 3 DIV === -->
<div class="row">
<div class="col-md-3">
<div class="table-responsive">
<table class="table table-light text-center">
<thead>
<tr>
<th scope="col">Z Matris</th>
</tr>
</thead>
<tbody>
<tr class="">
<td scope="row">
<span id="z_x1_" class="m-1 fs-5"></span>
<span id="z_y1_" class="m-1 fs-5"></span>
<span id="z_z1_" class="m-1 fs-5"></span>
</td>
</tr>
<tr class="">
<td scope="row">
<span id="z_x2_" class="m-1 fs-5"></span>
<span id="z_y2_" class="m-1 fs-5"></span>
<span id="z_z2_" class="m-1 fs-5"></span>
</td>
</tr>
<tr class="">
<td scope="row">
<span id="z_x3_" class="m-1 fs-5"></span>
<span id="z_y3_" class="m-1 fs-5"></span>
<span id="z_z3_" class="m-1 fs-5"></span>
</td>
</tr>
</tbody>
</table>
</div>
<p id="Y_yaz_1" class="m-1 fs-5 card-text text-dark"></p>
</div>
<div class="col-md-9">
<p class="m-1 fs-5 card-text text-dark fw-bold">detZ = [z]</p>
<p id="detZ_yaz_1" class="m-1 fs-5 card-text text-dark"></p>
<p id="detZ_yaz" class="m-1 fs-5 card-text text-dark"></p>
<hr class="border border-primary border-2 opacity-50">
<p id="z_yaz" class="m-1 fs-5 card-text text-success fw-bold">z = </p>
</div>
</div>
</div>
<!-- === End Section 3 DIV === -->
</div>
<div class="card text-start mt-3">
<div class="card-body">
<h4 class="card-title text-bg-warning text-center"> Matlab için kod hazırlayalım</h4>
<code class="m-1 fs-5 card-text text-dark">
<br>A= <span id="matlabA" class="text-dark"></span>
<br>detA = det(A)
<br><br>
<br>x = <span id="matlabX" class="text-dark"></span>
<br>detx = det(x)
<br>xResult = detx/detA
<br><br>
<br>y = <span id="matlabY" class="text-dark"></span>
<br>dety = det(y)
<br> yResult = dety/detA
<br><br>
<br>z = <span id="matlabZ" class="text-dark"></span>
<br> detz = det(z)
<br>zResult = detz/detA
<br><br>
<br> ozgur_result_x_y_z = [xResult,yResult,zResult]
</code>
</div>
</div>
<div class="alert alert-info mt-1" role="alert">
<strong>MATLAB</strong> Kodu bu adresten deneyebilirsiniz. <a href="https://octave-online.net" target="_blank"
rel="noopener noreferrer">https://octave-online.net/</a>
</div>
</main>
<!-- Footer Basladim -->
<footer class="mt-auto text-white-50">
<p>Bu proje ozgur tarafından geliştirilmiştir. Daha fazlası için <a href="https://github.com/ozgurseng"
class="text-white">ozgurseng</a>.</p>
</footer>
</div>
<!-- JS, Popper.js, and jQuery -->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"
integrity="sha384-oBqDVmMz9ATKxIep9tiCxS/Z9fNfEXiDAYTujMAeBAsjFuCZSmKbSSUnQlmh/jp3"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-mQ93GR66B00ZXjt0YO5KlohRA5SY2XofN4zfuZxLkoj1gXtW8ANNCe9d5Y3eG5eD"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN"
crossorigin="anonymous"></script>
</body>
</html>