Ramakrishnan

Ramakrishnan Vaidyanathan

389 Reputation

12 Badges

7 years, 245 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. Published XII Mathematics books.

MaplePrimes Activity


These are questions asked by Ramakrishnan

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

Thanks to the answers received by mapleprime friends, I have made 2 documents. In both documents, i want the expression to be modified and shown in mathcontainer. In my earlier question  "Slider Commands - "value" or value or both are ok" ,   the command " SetProperty (MathContainer0, value,sin(x)" it worked. In the attached doc, it does not work. The same command in updateplot procedure, works, but incorrectly.

Thanks for clarification.

Ramakrishnan V
 

restart

NULL

Function: Examples: "y = a+b*x+c*x^(2)+...; y = a^(x); y = a sin(bx+c)+d;  y = a f(bx+c) + d"

All valid input values for the function ( i.e. for x value, function exists) is domain. This can be visualized by a point in graph (x,y)

restart

 

               

 

 

               

    
                      

 

                

 

 

                 

 

                             

``

``a

a

(1)

b

b

(2)

c

c

(3)

d

d

(4)

NULL

 

 

           

NULL


 

Download doubt2_MathContainer.mw

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