Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
efdcf709
Commit
efdcf709
authored
Jun 02, 2012
by
ichuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
symbolicresponse.xml test file
parent
164e17a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
djangoapps/courseware/test_files/symbolicresponse.xml
+29
-0
No files found.
djangoapps/courseware/test_files/symbolicresponse.xml
0 → 100644
View file @
efdcf709
<problem>
<text>
<h2>
Example: Symbolic Math Response Problem
</h2>
<p>
A symbolic math response problem presents one or more symbolic math
input fields for input. Correctness of input is evaluated based on
the symbolic properties of the expression entered. The student enters
text, but sees a proper symbolic rendition of the entered formula, in
real time, next to the input box.
</p>
<p>
This is a correct answer which may be entered below:
</p>
<p><tt>
cos(theta)*[[1,0],[0,1]] + i*sin(theta)*[[0,1],[1,0]]
</tt></p>
<script>
from symmath import *
</script>
<text>
Compute [mathjax] U = \exp\left( i \theta \left[ \begin{matrix} 0
&
1 \\ 1
&
0 \end{matrix} \right] \right) [/mathjax]
and give the resulting \(2 \times 2\) matrix.
<br/>
Your input should be typed in as a list of lists, eg
<tt>
[[1,2],[3,4]]
</tt>
.
<br/>
[mathjax]U=[/mathjax]
<symbolicresponse
cfn=
"symmath_check"
answer=
"[[cos(theta),I*sin(theta)],[I*sin(theta),cos(theta)]]"
options=
"matrix,imaginaryi"
id=
"filenamedogi0VpEBOWedxsymmathresponse_1"
state=
"unsubmitted"
>
<textline
size=
"80"
math=
"1"
response_id=
"2"
answer_id=
"1"
id=
"filenamedogi0VpEBOWedxsymmathresponse_2_1"
/>
</symbolicresponse>
<br/>
</text>
</text>
</problem>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment