Ramakrishnan

Ramakrishnan Vaidyanathan

279 Reputation

5 Badges

5 years, 88 days

Social Networks and Content at Maplesoft.com

With twenty years of Industrial experience and twenty years of teaching experience, I am now as retired Professor, using Maple to teach mathematics subject for students studying X to XII standards.

MaplePrimes Activity


These are questions asked by Ramakrishnan

I have made a document to give the results for a problem in table form and graph form.

The tables work out well. The graph results also come out well when I have that section alone in the document. But it does not give the updated curve here. Please correct me where I made mistake.
 

``

 

 

restart

 

Cost in $:     

Present Value:   

Interest in % per year:         ``

``

 Period in years:  

````

``

Additional Months

``

 

 

NULL

NULL

 

Principal $

NULL

Interest % per year

NULL

Year

Present value at the year end

0

``

1

``

2

``

3

``

4

``

5

``

 

 

 

UpdateExpr procedure does not update equation, instead turns out a value on LHS

 

 

Cost:  

Interest % per year (float)  

``

``

 

 

 

``

NULL


Startup Code Region contains all the codes.

Download Doubt_x_symbolic_required.mw

Thanks.

Dear members,

Having learnt the use of parse, I tried making a document with module. The document works fine. But I could not not take the codes inside the ComboBoxes inside module UpdateExpr().

Also initialisation does not work since parse command is not allowed by maple here as can be seen by the output in MathContainer_fplusx below.

The document works fine after executing !!!.

Can any one help me avoid all the codes inside combobox except the UpdateExpr() code, please? Thanks.

Ramki.

restart

Composition of Functions

 

 

Select f(x) and g(x)

 f(x)*is        

  g(x)*is     

NULL

NULL

NULL

(f+g)(x)

NULL

 

 

 

NULL

NULL


 

Download Composition_of_Functions_Doubt.mw

Dear members,

I have made a simple document with 3 components ComboBox, TextArea and MathContainer.

A selection from ComboBox gets entered into TextArea, but not in MathContainer. I tried all codes with and without quotes, expression, value, "value" etc.

Any simple code I missed, please let me know.

Thanks.

Ramki
 

``This is a comboBox to select an expression for entry into TextArea0 and MathContainer0

 

 

 

``

TextArea0            This is MathContainer0

   

 

 

 

 

Codes in ComboBox EditSelectCode

use DocumentTools in
s:=GetProperty("ComboBox0","value");
SetProperty("TextArea0","value",s);
SetProperty("MathContainer0","expression",GetProperty("TextArea0","value"));
end use;

NULL


 

Download MathContainerEntry_Doubt.mw

I have made a document with mathContainer, plot component and sliders, which works fine, but needs the startup code to be run manually, everytime to remove the plot error message, popping out in the first instance.

              unrecognized function "inequal" where PLOT DAG expected

I donot know the mistake I have made. 

Thanks for any suggestion. 

Ramki.
 

restart

 

a:

b:

 

NULL


 

Download Doubt_on_inequalCommand.mw

I find different commands for for different math expressions from mathContainer to be plotted in a plot component.

In the enclosed document, the mathcontainer expression plots outside, but not inside the plot component. What is the mistake, can any one tell me?

Thanks.
 

restart; with(plots)

inequal(`or`(`and`(`and`(3 <= y, x < 2*y+8), 2*y-6 < x), `and`(`and`(`and`(-5/3 < y, y < 3), x < 2*y+8), -y+3 < x)), x = -2 .. 15, y = -4 .. 11, optionsfeasible = [[color = "black"], [color = "red"]])

 

"In the following empedded plot componenet, it is not plotted. What is the mistake I am making"? Can anyone help?""

 

``       

Code inside Click to Plot Button -  Edit Click Code

use DocumentTools in
with(plots):
plt:= GetProperty("MathContainer0",expression);
SetProperty("Plot0",value,plt);
end use;

 

``In the plot component "Plot0" it is not plotting!!

 

 

``


 

Download Doubt4thMar2019_Plot_inequalexpressions.mw

1 2 3 4 5 6 7 Last Page 1 of 11