Skip to content

Commit

Permalink
V3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaro2709 committed Oct 9, 2022
1 parent 1ec7811 commit 36d7d1a
Show file tree
Hide file tree
Showing 15 changed files with 507 additions and 5 deletions.
15 changes: 15 additions & 0 deletions css/bootstrap.min_4.6.0.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions css/prism.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html lang="ru"><head><meta charset="UTF-8"><title>Tutor</title><link rel="manifest" href="./manifest.json"><link rel="shortcut icon" href="./favicon.ico" type="image/x-icon"><meta http-equiv="content-type" content="text/html; charset=UTF-8"><link rel="stylesheet" type="text/css" href="css/bootstrap.min_4.6.0.css"><script type="text/javascript" src="scripts/jquery.js"></script><script type="text/javascript" src="scripts/jquery.ui.js"></script><script type="text/javascript" src="scripts/popper.min.js"></script><script type="text/javascript" src="scripts/bootstrap.min.js"></script><script src="scripts/mathjax/es5/tex-chtml.js" id="MathJax-script" async></script><script type="text/javascript" src="scripts/general.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"></head><body><nav class="navbar navbar-expand-md fixed-top bg-dark navbar-dark"><div class="container-xl"><a class="navbar-brand" href="#"><img class="d-inline-block align-text-top" src="./img/logo.png" alt="" width="30" height="30"><text>Tutor</text></a><button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample07XL" aria-controls="navbarsExample07XL" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button><div class="collapse navbar-collapse" id="navbarsExample07XL"><ul class="navbar-nav mr-auto"><li class="nav-item"> <a class="nav-link" href="./index.html">Меню</a></li><li class="nav-item"> <a class="nav-link" href="./contacts.html">Контакты</a></li></ul></div></div></nav><main class="container" role="main"><div class="row"><div class="col-md-12"> <div class="card mb-4 shadow-sm"><div class="card-body"><h4 class="card-title">Добро пожаловать в Tutor!</h4><p class="card-text overflow-auto"><h5>Горячие темы</h5><ul><li><a href="./tabularIntegrals.html">Табличные интегралы</a></li><li><a href="./tabularTrigonometry.html">Табличные значения тригонометрических углов</a></li><li><a href="./сastFormulas.html">Формулы приведения</a></li></ul></p></div></div></div></div></main></body><footer><div class="container"> <p class="float-right"> <a href="#">Наверх </a></p><p>© 2022 <a href="https://github.com/Yaro2709">github</a></p></div></footer></html>
<!DOCTYPE html><html lang="ru"><head><meta charset="UTF-8"><title>Tutor</title><link rel="manifest" href="./manifest.json"><link rel="shortcut icon" href="./favicon.ico" type="image/x-icon"><meta http-equiv="content-type" content="text/html; charset=UTF-8"><link rel="stylesheet" type="text/css" href="css/prism.css"><link rel="stylesheet" type="text/css" href="css/bootstrap.min_4.6.0.css"><script type="text/javascript" src="scripts/prism.js"></script><script type="text/javascript" src="scripts/jquery.js"></script><script type="text/javascript" src="scripts/jquery.ui.js"></script><script type="text/javascript" src="scripts/popper.min.js"></script><script type="text/javascript" src="scripts/bootstrap.min.js"></script><script src="scripts/mathjax/es5/tex-chtml.js" id="MathJax-script" async></script><script type="text/javascript" src="scripts/general.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"></head><body><nav class="navbar navbar-expand-md fixed-top bg-dark navbar-dark"><div class="container-xl"><a class="navbar-brand" href="#"><img class="d-inline-block align-text-top" src="./img/logo.png" alt="" width="30" height="30"><text>Tutor</text></a><button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample07XL" aria-controls="navbarsExample07XL" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button><div class="collapse navbar-collapse" id="navbarsExample07XL"><ul class="navbar-nav mr-auto"><li class="nav-item"> <a class="nav-link" href="./index.html">Меню</a></li><li class="nav-item"> <a class="nav-link" href="./contacts.html">Контакты</a></li></ul></div></div></nav><main class="container" role="main"><div class="row"><div class="col-md-12"> <div class="card mb-4 shadow-sm"><div class="card-body"><h4 class="card-title">Добро пожаловать в Tutor!</h4><p class="card-text overflow-auto"><h5>Тригонометрия</h5><ul><li><a href="./tabularTrigonometry.html">Табличные значения тригонометрических углов</a></li><li><a href="./сastFormulas.html">Формулы приведения</a></li></ul><h5>Дифференциальное исчисление</h5><ul><li><a href="./tabularIntegrals.html">Табличные интегралы</a></li><li><a href="./integralsTrigonometrySumProduct.html">Интегрирование триг. выражений: произведение в сумму</a></li><li><a href="./integrationTrigonometryExpressionsInPowers.html">Интегрирование триг. выражений в степени</a></li></ul></p></div></div></div></div></main></body><footer><div class="container"> <p class="float-right"> <a href="#">Наверх </a></p><p>© 2022 <a href="https://github.com/Yaro2709">github</a></p></div></footer></html>
1 change: 1 addition & 0 deletions integralsTrigonometrySumProduct.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!DOCTYPE html><html lang="ru"><head><meta charset="UTF-8"><title>Tutor</title><link rel="manifest" href="./manifest.json"><link rel="shortcut icon" href="./favicon.ico" type="image/x-icon"><meta http-equiv="content-type" content="text/html; charset=UTF-8"><link rel="stylesheet" type="text/css" href="css/prism.css"><link rel="stylesheet" type="text/css" href="css/bootstrap.min_4.6.0.css"><script type="text/javascript" src="scripts/prism.js"></script><script type="text/javascript" src="scripts/jquery.js"></script><script type="text/javascript" src="scripts/jquery.ui.js"></script><script type="text/javascript" src="scripts/popper.min.js"></script><script type="text/javascript" src="scripts/bootstrap.min.js"></script><script src="scripts/mathjax/es5/tex-chtml.js" id="MathJax-script" async></script><script type="text/javascript" src="scripts/general.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"></head><body><nav class="navbar navbar-expand-md fixed-top bg-dark navbar-dark"><div class="container-xl"><a class="navbar-brand" href="#"><img class="d-inline-block align-text-top" src="./img/logo.png" alt="" width="30" height="30"><text>Tutor</text></a><button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample07XL" aria-controls="navbarsExample07XL" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button><div class="collapse navbar-collapse" id="navbarsExample07XL"><ul class="navbar-nav mr-auto"><li class="nav-item"> <a class="nav-link" href="./index.html">Меню</a></li><li class="nav-item"> <a class="nav-link" href="./contacts.html">Контакты</a></li></ul></div></div></nav><main class="container" role="main"><div class="row"><div class="col-md-12"> <div class="card mb-4 shadow-sm"><div class="card-body"><h5 class="card-title">Интегрирование триг. выражений: произведение в сумму.</h5><p class="card-text overflow-auto"><module id="task"></module></p><p><button class="btn btn-success" type="button" data-toggle="collapse" data-target="#integralsTrigonometrySumProduct" aria-expanded="false" aria-controls="#integralsTrigonometrySumProduct">Ответ</button></p><div class="collapse" id="integralsTrigonometrySumProduct"><div class="card card-body"><result id="answer"></result></div></div></div></div></div></div></main><script type="text/javascript" src="scripts/BD/integralsTrigonometrySumProduct.js"></script></body><footer><div class="container"> <p class="float-right"> <a href="#">Наверх </a></p><p>© 2022 <a href="https://github.com/Yaro2709">github</a></p></div></footer></html>
1 change: 1 addition & 0 deletions integrationTrigonometryExpressionsInPowers.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!DOCTYPE html><html lang="ru"><head><meta charset="UTF-8"><title>Tutor</title><link rel="manifest" href="./manifest.json"><link rel="shortcut icon" href="./favicon.ico" type="image/x-icon"><meta http-equiv="content-type" content="text/html; charset=UTF-8"><link rel="stylesheet" type="text/css" href="css/prism.css"><link rel="stylesheet" type="text/css" href="css/bootstrap.min_4.6.0.css"><script type="text/javascript" src="scripts/prism.js"></script><script type="text/javascript" src="scripts/jquery.js"></script><script type="text/javascript" src="scripts/jquery.ui.js"></script><script type="text/javascript" src="scripts/popper.min.js"></script><script type="text/javascript" src="scripts/bootstrap.min.js"></script><script src="scripts/mathjax/es5/tex-chtml.js" id="MathJax-script" async></script><script type="text/javascript" src="scripts/general.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"></head><body><nav class="navbar navbar-expand-md fixed-top bg-dark navbar-dark"><div class="container-xl"><a class="navbar-brand" href="#"><img class="d-inline-block align-text-top" src="./img/logo.png" alt="" width="30" height="30"><text>Tutor</text></a><button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample07XL" aria-controls="navbarsExample07XL" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button><div class="collapse navbar-collapse" id="navbarsExample07XL"><ul class="navbar-nav mr-auto"><li class="nav-item"> <a class="nav-link" href="./index.html">Меню</a></li><li class="nav-item"> <a class="nav-link" href="./contacts.html">Контакты</a></li></ul></div></div></nav><main class="container" role="main"><div class="row"><div class="col-md-12"> <div class="card mb-4 shadow-sm"><div class="card-body"><h5 class="card-title">Интегрирование триг. выражений в степени</h5><p class="card-text overflow-auto"><module id="task"></module></p><p><button class="btn btn-success" type="button" data-toggle="collapse" data-target="#integrationTrigonometryExpressionsInPowers" aria-expanded="false" aria-controls="#integrationTrigonometryExpressionsInPowers">Ответ</button></p><div class="collapse" id="integrationTrigonometryExpressionsInPowers"><div class="card card-body"><result id="answer"></result></div></div></div></div></div></div></main><script type="text/javascript" src="scripts/BD/integrationTrigonometryExpressionsInPowers.js"></script></body><footer><div class="container"> <p class="float-right"> <a href="#">Наверх </a></p><p>© 2022 <a href="https://github.com/Yaro2709">github</a></p></div></footer></html>
42 changes: 42 additions & 0 deletions scripts/BD/integralsTrigonometrySumProduct.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
//Флаг шаблона
flag = module(1,3);
//Генератор u
var ArrayU = ['a', 'b', 'c', 'f', 'g', 'h', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'];
var rand = Math.floor(Math.random() * ArrayU.length); //Получаем случайный ключ массива
var VarU = ArrayU[rand];
//Генератор a
VarA = module(2,50);
//Шаблоны
switch (flag) {
//Основные формулы
case 1:
VarA = module(25,50);
VarB = module(2,24);
VarC = VarA - VarB;
VarD = VarA + VarB;
task = "$$\\displaylines{\\int \\cos("+VarA+""+VarU+") \\cos("+VarB+""+VarU+") d"+VarU+"}$$";
answer = "$$\\displaylines{\\int \\cos("+VarA+""+VarU+") \\cos("+VarB+""+VarU+") d"+VarU+" = \\\\ = \\int \\frac{1}{2} \\Big(\\cos("+VarA+""+VarU+"-"+VarB+""+VarU+") + \\cos("+VarA+""+VarU+"+"+VarB+""+VarU+") \\Big)d"+VarU+" = \\\\ = \\frac{1}{2} \\int \\Big(cos("+VarC+""+VarU+") + cos("+VarD+""+VarU+") \\Big)d"+VarU+" = \\\\ = \\frac{1}{2} \\cdot \\frac{1}{"+VarC+"} \\int cos("+VarC+""+VarU+") d("+VarC+""+VarU+") + \\frac{1}{2} \\cdot \\frac{1}{"+VarD+"} \\int cos("+VarD+""+VarU+")d("+VarD+""+VarU+") = \\\\ = \\frac{1}{"+2 * VarC+"} \\sin("+VarC+""+VarU+") + \\frac{1}{"+2 * VarD+"} \\sin("+VarD+""+VarU+") + C}$$";
break;
case 2:
VarA = module(25,50);
VarB = module(2,24);
VarC = VarA - VarB;
VarD = VarA + VarB;
task = "$$\\displaylines{\\int \\sin("+VarA+""+VarU+") \\sin("+VarB+""+VarU+") d"+VarU+"}$$";
answer = "$$\\displaylines{\\int \\sin("+VarA+""+VarU+") \\sin("+VarB+""+VarU+") d"+VarU+" = \\\\ = \\int \\frac{1}{2} \\Big(\\cos("+VarA+""+VarU+"-"+VarB+""+VarU+") - \\cos("+VarA+""+VarU+"+"+VarB+""+VarU+") \\Big)d"+VarU+" = \\\\ = \\frac{1}{2} \\int \\Big(cos("+VarC+""+VarU+") - cos("+VarD+""+VarU+") \\Big)d"+VarU+" = \\\\ = \\frac{1}{2} \\cdot \\frac{1}{"+VarC+"} \\int cos("+VarC+""+VarU+") d("+VarC+""+VarU+") - \\frac{1}{2} \\cdot \\frac{1}{"+VarD+"} \\int cos("+VarD+""+VarU+")d("+VarD+""+VarU+") = \\\\ = \\frac{1}{"+2 * VarC+"} \\sin("+VarC+""+VarU+") - \\frac{1}{"+2 * VarD+"} \\sin("+VarD+""+VarU+") + C}$$";
break;
case 3:
VarA = module(25,50);
VarB = module(2,24);
VarC = VarA + VarB;
VarD = VarA - VarB;
task = "$$\\displaylines{\\int \\sin("+VarA+""+VarU+") \\cos("+VarB+""+VarU+") d"+VarU+"}$$";
answer = "$$\\displaylines{\\int \\sin("+VarA+""+VarU+") \\cos("+VarB+""+VarU+") d"+VarU+" = \\\\ = \\int \\frac{1}{2} \\Big(\\sin("+VarA+""+VarU+"+"+VarB+""+VarU+") + \\sin("+VarA+""+VarU+"-"+VarB+""+VarU+") \\Big)d"+VarU+" = \\\\ = \\frac{1}{2} \\int \\Big(sin("+VarC+""+VarU+") + sin("+VarD+""+VarU+") \\Big)d"+VarU+" = \\\\ = \\frac{1}{2} \\cdot \\frac{1}{"+VarC+"} \\int sin("+VarC+""+VarU+") d("+VarC+""+VarU+") + \\frac{1}{2} \\cdot \\frac{1}{"+VarD+"} \\int sin("+VarD+""+VarU+")d("+VarD+""+VarU+") = \\\\ = - \\frac{1}{"+2 * VarC+"} \\cos("+VarC+""+VarU+") - \\frac{1}{"+2 * VarD+"} \\cos("+VarD+""+VarU+") + C}$$";
break;
//Дополнительные формулы
default:
alert( "400 Bad Request: value is undefined!" );
}
//Вывод
document.getElementById("task").innerHTML = task;
document.getElementById("answer").innerHTML = answer;
Loading

0 comments on commit 36d7d1a

Please sign in to comment.