Ramakrishnan

Dr. Ramakrishnan Vaidyanathan

279 Reputation

5 Badges

5 years, 50 days

Social Networks and Content at Maplesoft.com

I have retired as Professor-Mechanical in Sri Venkateswara College of Engineering and Technology under Anna University affiliated colleges in Tamil Nadu, India. I have 19 years of Industrial and 20 years of teaching experience. I am learning Maple for the past four and half years hoping to make at least one appreciable maple presentation.

MaplePrimes Activity


These are questions asked by Ramakrishnan

There  are commands tic and toc in matlab program.

tic

toc

toc - tic 

This gives the run time for the program.

Even in excel, we can find the difference between clock times at the start and end using NOW commands.

Is there a similar way to use maple commands to find the running time of a program.

 I want to find the time taken by the student to solve the quiz questions in the enclosed doc.

Could anyone help please?
 

restart

Chapter 1 -  SubChapter 1 - Precalculus - Quiz 1 (15 questions - Duration - 1 hour)

 

                Factor 3*x^2-10*x-8

(3x + 2)(x - 4)

NULL

NULL

NULL

NULL

NULL

Press your option above for Answer

 

 

``

 

              Solve "x^(2) - 4 x - 5 = 0 by factoring"

``

``

-1, 5

``

``

Press your option above for Answer

 

 

``

 

                Roots of the equation x^2-8*x-20 = 0*are

 

``

- 2, 10

``

``

``

``

Press your option above for Answer

 

 

``

 

Correct Answer

``

``

``

``

``

Press your option above for Answer

 

 

NULL

 

NULL

NULL

Correct Answer

NULL

NULL

Press your option above for Answer

 

 

NULL

 

NULL

Correct Answer

NULL

NULL

NULL

NULL

Press your option above for Answer

 

 

``

 

Correct Answer

``

``

``

``

``

Press your option above for Answer

 

 

NULL

 

NULL

NULL

Correct Answer

NULL

NULL

Press your option above for Answer

 

 

NULL

 

NULL

Correct Answer

NULL

NULL

NULL

NULL

Press your option above for Answer

 

 

``

 

Correct Answer

``

``

``

``

``

Press your option above for Answer

 

 

NULL

 

NULL

NULL

Correct Answer

NULL

NULL

Press your option above for Answer

 

 

NULL

 

NULL

Correct Answer

NULL

NULL

NULL

NULL

Press your option above for Answer

 

 

``

 

Correct Answer

``

``

``

``

``

Press your option above for Answer

 

 

NULL

 

NULL

NULL

Correct Answer

NULL

NULL

Press your option above for Answer

 

 

NULL

 

NULL

NULL

NULL

Correct Answer

NULL

Press your option above for Answer

 

 

QuizNULL

Go to Chapter1 - SubChapter 2

Home

 

NULL


 

Download Commands_for_Time_Taken_to_Answer_Please.mw

Thanks.

Dear friends, I have made a doc using embedded components to plot a curve. What commands should I do to animate (and pause and play using a custom play/pause button inserted in the table) the plot. Normally I have to use explore animate command, but it requires the user to use animation tools. There must be a way to do the same using play = true; loop = true commands. I donot know its use. Can any one help. Thanks. 

 

use DocumentTools in

Do(q = %MathContainer0);
Do(p = eval(q));
# Do(%Plot0 = plot(p, x = 0..2*Pi));
Do(%Plot0 = plot(p, x = 0..10));
end use;


 

 

 Write the expression in textarea and click the button to see the plot in plot area and expression in math container

      NULL

 

 

``

NULL


Thanks for helping out. Ramakrishnan V

Download animation_CommandPlease.mw

eval(sin(x), x = .2) is evaluated, eval(sin(x), x = 4) is not evaluated. Why? What should we do to get the answer. x-2n k (pi) can be obtained and evaluated. Why Maplesoft does not simplify and evaluate?

Is there a way out to give proper command for Maple soft to know what to do?

Thanks for answer.

Ramakrishnan V
 

eval(sin(x), x = .2)``

.1986693308

(1)

eval(sin(x), x = 4)

sin(4)

(2)

``


 

Download evalDoubtSinx.mw

Can any one do the addition of values (in string format) x in textarea0, y in textarea1 and get the mathcontainer result in the text box2.

Thanks

Ramakrishnan V


y := GetProperty(TextArea1,value);
Do(%TextArea2 = Do(%MathContainer0,x=%TextArea0,y=%TextArea1));

``

``

``

NULL


howTogetNumericAnswerinTextArea.mw

Download howTogetNumericAnswerinTextArea.mw

 

Dear users,

Can any one give a correct model statement (if what I have suggested is incorrect) for each one of the following in a module:

module() export eseq;  local lseq;  global gseq;  option optseq; 

 description dseq;  uses usesSequence;  statementSequence   end

My model statements:

export x1, y1;

# x1 and y1 are variables calculated here and sent to main document

 local a, b;  

# a and b are local constants are variables used here inside module only


global z1; 

# z1 is a constant or variable used all over the document can be read from and exported to main document and used in manipulation anywhere in the main document as well as inside the module.

option if x1 = .. else... end; 

 description dseq;

# Statements for self use and understanding the commands during execution

 usesSequence;

uses DocumentTools;

# Packages used in module like DocumentTools, Students Calculus

Statement Sequence

valid executable maple command  1

valid executable maple command  last

 

I want to understand the basic usage of  a module and procedure with a simple document.  

I am also confused over the following.


1) Is there any use of a module with zero statement (as given below) in it?

 module ()

end module

2) What is the major difference between module and procedure?

3) What is in module that is not possible in procedure?
I believe that procedure is like a function [for call from script(internally or eternally) or command window] in MATLAB and subroutine in FORTRAN or BASIC etc. What is module like in other programme siftwares?

Thanks for helping.

Ramakrishnan V


 

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