Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to represent mathematical symbols and capture user input for the same

Tags:

html

jquery

math

  1. How do you capture user input related to mathematical fractions. Assuming I would like to present a simple square and ask the user to select 3/4ths of a square. What kind of UI control should we use to first all represent a square (with 4 equal blocks inside) and to have a mechanism to capture user input.

  2. Assuming you would like to draw a scale which is 1 meter long and and you have markings for every 10 cm (e.g. 10, 20, 30 ...90, 100). We would like the user to plot 40 cm on the scale. What kind of UI controls are available which will help us in drawing such inputs and capturing student response.

Are there any tools or libraries which we can use to build such solutions? Our environment is based on (java, richfaces, jquery ...)

like image 650
user339108 Avatar asked Aug 16 '10 05:08

user339108


People also ask

How do you insert mathematical symbols?

On the Insert tab, in the Symbols group, click the arrow under Equation, and then click Insert New Equation. Under Equation Tools, on the Design tab, in the Symbols group, click the More arrow. Click the arrow next to the name of the symbol set, and then select the symbol set that you want to display.

What does ∈ mean?

The symbol ∈ indicates set membership and means “is an element of” so that the statement x∈A means that x is an element of the set A. In other words, x is one of the objects in the collection of (possibly many) objects in the set A.

What is the mathematical symbol for difference?

The difference in math symbol is minus(-). Minuend is the first number in the subtraction sentence. Subtrahend is the second number in the subtraction sentence and the result that we get is the difference between the two numbers.


2 Answers

about question number 2

use jquery range slider plugin like :

http://jqueryui.com/demos/slider/#rangemax

like image 109
Haim Evgi Avatar answered Sep 20 '22 03:09

Haim Evgi


For question 1, you can explore the Interactions of jQuery UI for ideas, specifically, the Resizable, Selectable, and Sortable.

It really depends how you want to present the question. For example, you could make a Resizable control for a square, and make the width and height resizable proportionally. Or you could divide a square into several Seletable regions (e.g. smaller squares).

like image 24
William Niu Avatar answered Sep 19 '22 03:09

William Niu