Update of /cvsroot/stack/stack-1-0/lang/en/doc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26368/lang/en/doc
Modified Files:
author_commonsyntax.php author_gettingstarted.php en_doc.php
Log Message:
Index: author_commonsyntax.php
===================================================================
RCS file: /cvsroot/stack/stack-1-0/lang/en/doc/author_commonsyntax.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** author_commonsyntax.php 14 Jul 2005 18:05:04 -0000 1.3
--- author_commonsyntax.php 12 Sep 2005 08:07:47 -0000 1.4
***************
*** 9,12 ****
--- 9,14 ----
*/
+ include_once("$stack_root/scripts/stackDoc.php");
+
?>
***************
*** 36,39 ****
--- 38,43 ----
*/
include($stack_root.'/scripts/maxima/stackfun.php');
+ include($stack_root.'/scripts/stackAuthor.php');
+
/**
***************
*** 129,134 ****
<pre>@plot(x^2,[x,-1,1])@</pre>
! To get many plots in one window, we need to define a list of functions, perhaps with Maxima's
! <a href='maximadocs/maxdoc/maxima_38.html#IDX948'>MAKELIST</a> command.
<pre>@(p(k):=x^k,pl:makelist(p(k),k,1,5),plot(pl,[x,-1,1]))@</pre>
--- 133,147 ----
<pre>@plot(x^2,[x,-1,1])@</pre>
! You can add a second variable to control the axes.
!
! <pre>@plot(x^2,[x,-1,1],[y,0,2])@</pre>
+ However, Maxima will not always allow you to get the axes you want. This is on the to-do list for STACK.
+
+ To get many plots in one window, we need to define a list of functions.
+
+ <pre>@plot([x^2,sin(x)],[x,-1,1])@</pre>
+
+ This can be done with Maxima's
+ <a href='maximadocs/maxdoc/maxima_38.html#IDX948'>MAKELIST</a> command
<pre>@(p(k):=x^k,pl:makelist(p(k),k,1,5),plot(pl,[x,-1,1]))@</pre>
Index: author_gettingstarted.php
===================================================================
RCS file: /cvsroot/stack/stack-1-0/lang/en/doc/author_gettingstarted.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** author_gettingstarted.php 25 Aug 2005 16:06:17 -0000 1.5
--- author_gettingstarted.php 12 Sep 2005 08:07:47 -0000 1.6
***************
*** 1,1020 ****
<?php
-
/**
-
* An authoring guide for STACK questions.
-
*
-
* @package documentation
-
[...1443 lines suppressed...]
<pre>
m = rand([y,x,t])
p = rand(7)+1
q = 0
dum1 = block(for i:1 while i<=p do (q:q+rand(9)*m^p,p:p-1),return(q))
r = int(q,m)
</pre>
<p>It is also possible to define functions within the Question
Variables for use within a question. This is not recommended,
and has not been widely tested. For example
<pre>dum1 = f(x) := x^2
n = f(4)</pre> Again, the syntax requires this to be of the form
<tt>key = value</tt>, so that another dummy assignment has taken
place. Please look at Maxima's documentation for <?php
$url = $stack_web_url."maximadocs/maxdoc/maxima_39.html#SEC120";
echo " <a href='$url'>functions</a>.</p> ";
?>
Index: en_doc.php
===================================================================
RCS file: /cvsroot/stack/stack-1-0/lang/en/doc/en_doc.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** en_doc.php 25 Aug 2005 16:25:41 -0000 1.8
--- en_doc.php 12 Sep 2005 08:07:47 -0000 1.9
***************
*** 1,842 ****
<?php
-
/**
-
* Describes the data structure stackQuestion
-
*
-
* - Preliminary stackQuestion metadata documentation
-
[...1242 lines suppressed...]
//Learning context
$stackQuiz['quizLearningContext']['doc']="Describes the educational context of the intended target audience of the resource. User defined list type";
//Difficulty
$stackQuiz['quizDifficulty']['doc']="How difficult it is to work through the resource for the given target audience. Percieved difficulty, user defined list type";
//Competency
$stackQuiz['quizCompetency']['doc']="Mathematical competancies a resource trains. User defined, list type";
//CompetencyLevel
$stackQuiz['quizCompetencyLevel']['doc']="Mathematical skills a resource requires/trains. User defined, list type";
//Time to allocate
$stackQuiz['quizTimeAllocated']['doc']="An approximate time it takes to work with the resource. User defined, list type";
//Type of question
$stackQuiz['quizExcerciseType']['doc']="Type of interactive elements used in the context of the excercise. User defined, list type";
?>
|