'
}
}
]
});
pp.show();
}
function createAboutWindow()
{
var pp = Ext.create('Ext.Window',
{
layout : 'absolute',
width : 505,
height : 300,
title: 'Mathstools',
id: 'panelHelp',
animCollapse : true,
collapsible : true,
closable : true,
hidden: false,
renderTo: Ext.getBody(),
bodyStyle: 'padding: 8px; overflow: auto; width: 480px; ',
items: [
{
xtype: 'box',
id: 'helpContainer',
autoEl: {
tag: 'div',
style: 'text-align: center; color: darkRed; font-weight: bold;',
html: 'Mathstools About us'
}
}
]
, listeners: {
'render': function(panel) {
var url = '/index.php/section/crud?crudid=67';
$('#helpContainer').load(url, null ,
function (responseText, textStatus, XMLHttpRequest)
{
});
}
}
});
pp.show();
}
function createHelpWindow(idParent, ttt, uuu, isHelp)
{
var pp = Ext.create('Ext.Window',
{
layout : 'absolute',
width : 890,
height : 550,
title: ttt,
id: 'panelHelp',
animCollapse : true,
collapsible : true,
closable : true,
hidden: false,
renderTo: Ext.getBody(),
bodyStyle: 'padding: 8px; overflow: auto;',
items: [
{
xtype: 'box',
id: 'helpContainer1',
autoEl: {
tag: 'div',
style: 'text-align: center; color: darkRed; font-weight: bold;',
html: '
'
}
},
{
xtype: 'box',
id: 'helpContainer',
autoEl: {
tag: 'div',
style: 'top: 100px; border: 2px solid #000000; border-radius: 15px 15px 15px 15px; position: relative !important; text-align: left; font-weight: bold; padding-right: 10px;',
styleCls: 'definitionDiv',
styleClass: 'definitionDiv',
html: ttt
}
}
]
, listeners: {
'render': function(panel) {
var url =uuu;
$('#helpContainer').load(url, null ,
function (responseText, textStatus, XMLHttpRequest)
{
/*alert('statuys' + textStatus);*/
});
}
}
});
pp.show();
}
function addFeedbackPanel(panel, app)
{
var pp = Ext.create('Ext.panel.Panel',
{
width: 485,
title: 'Send us your Feedback',
id: 'panelFeedback',
bodyStyle: 'padding: 8px;',
x: 200,
y: 0,
items: [
{
xtype: 'box',
autoEl: {
tag: 'div',
style: 'text-align: center; color: darkRed; font-weight: bold;',
html: 'Yours feedbacks are wellcome'
}
},
{
xtype: 'box',
autoEl: {
tag: 'div',
style: 'text-align: left; padding: 5px; padding-top: 10px; padding-bottom: 10px; line-height: 17px',
html: "Did you like our applications?Have any suggestions?Got some text that you would like post it on www.mathstools.com? "
}
},
{
xtype: 'box',
autoEl: {
tag: 'div',
style: 'text-align: left; padding: 5px; padding-top: 10px; padding-bottom: 10px; line-height: 17px',
//html: 'Still not registered?
Register here'
html: 'Hate messages or messages that do not contribute anything will not be published and nor answered. Check our
Policy here'
}
},
{
xtype: 'textfield',
width: 570,
heigth: 190,
fieldLabel: 'Name',
labelWidth: 100,
value: '',
x: 5,
y: 10,
inputId: 'name'
},
{
xtype: 'splitter' // A splitter between the two child items
},
{
xtype: 'textfield',
width: 570,
heigth: 190,
fieldLabel: 'Email',
labelWidth: 100,
value: '',
x: 5,
y: -2,
inputId: 'email'
},
{
xtype: 'splitter' // A splitter between the two child items
},
{
xtype: 'textarea',
heigth: 150,
fieldLabel: 'Your Text here',
labelWidth: 100,
width: 570,
rows: 7,
value: '',
x: 5,
y: -2,
inputId: 'text'
},
{
xtype: 'button',
text: 'Clear Form',
style: {'float': 'left', 'margin-left': '20px;'},
handler: function(){
cleanForm();
}
},
{
xtype: 'button',
styleHtmlCls: 'button',
text: 'Send',
style: {'float': 'right', 'margin-right': '20px;'},
handler: function(){
sendFeedBack(app);
}
}
/*
,
{
xtype: 'button',
styleHtmlCls: 'button',
text: 'Register here',
style: {'float': 'right', 'margin-right': '20px;'},
handler: function(){
goTo('/section/forum/L2ZvcnVtL3VjcC5waHAXXXbW9kZT1yZWdpc3Rlcg%3D%3D');
}
}
*/
]
});
panel.add(pp);
}
function generateSolutionImg(result, title)
{
$('#panelWidget').remove();
var pp = Ext.create('Ext.Window',
{
layout : 'absolute',
width : 505,
height : 300,
title: title,
id: 'panelWidget',
animCollapse : true,
collapsible : true,
closable : true,
hidden: false,
renderTo: Ext.getBody(),
bodyStyle: 'padding: 8px; overflow: auto;',
items: [
{
xtype: 'box',
style: 'text-align: center;',
autoEl: {
tag: 'div',
style: 'display: block; float: none; text-align: center ! important; width: 100%; clear: both;',
html: '
'
}
},
{
xtype: 'box',
id: 'widgetHelpContainer',
autoEl: {
tag: 'div',
style: 'text-align: left; width: 100%; float: none; clear: both; margin-top: 30px;',
html: result
}
}
]
});
pp.show();
}
//-->
Functions 3D Plotter and Analytic double integrator
Functions 3D Plotter is an on line app to plotting two-variabled real functions, ie functions of type f(x,y) or with more precision
\( \begin{matrix} f:\mathbb{R}^2 \mapsto \mathbb{R} \\ \;\;\;\;\;\;\;\;\;\;\;\;\; (x,y) \mapsto z=f(x,y) \end{matrix} \)
3D Functions Plotter calculates double integrals in analytic or numeric form.
3D Functions Plotter also calculates partial derivatives \( \frac{\partial f}{\partial x}, \frac{\partial f}{\partial y} \).
Inputs
Simply enter the items:
1) xMin: Minimum value of x
2) xMax: Maximum value of x
3) yMin: Minimum value of y
4) yMax: Maximum value of y
5) Function: the function of xy variables, for example x^2-y^2, e^(-x+y), etc ...
Outputs
To begin the calculations simply click "Show Graph": After a few seconds, a window will open with the graph of the function in the intervals introduced
To calculate double integral simply by clicking "Double integration Tool" and a form with double integrating tool will be shown.
Final comments
Functions 3D Plotter does not require installation of any kind, just a browser with javascript support
if (!function_exists("utf8_encode")){
function utf8_encode($var){
return is_null($var) ? false : $var;
}
}
?>