renciso218 / blockly

Automatically exported from code.google.com/p/blockly
0 stars 0 forks source link

user reqeust: demo sandbox for solving/creating math problems #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
http://youtu.be/2g_BOmm2_wU

I would really like to see a demo on blockly to create / solve math problems. 
Most schools drill drill drill on math (which works) but the teachers rarely 
connect math to logic and even less so math to coding logic and algorithms. 
Blockly can fix the lack of tools issue.

Please consider making a demo for math problems... a couple of good reasons:
a)it will get more teachers to start using blockly in the classroom 
b) it will solidify the connection between math / logic/ coding 

further resources: khan academy 
and
codecademy 
example: 
http://www.codecademy.com/courses/functions-in-javascript-2-0/4#!/exercises/2

var power = function (base, exponent) {
  var result = 1;
  for (var i = 0; i < exponent; i++) {
    result = result * base;
  }
  return result;
};

power(prompt("Enter base"), prompt("Enter exponent"))

thank you
Dennis

Original issue reported on code.google.com by dennisgd...@gmail.com on 9 Jun 2012 at 10:16

GoogleCodeExporter commented 8 years ago
Dennis, 

I agree it would be nice to see a site with Blocky packaged with more 
math/logic problems (e.g. Project Euler), but you can use the "Code" demo for 
this already. See attached XML file for an example.

Adam

Original comment by afaulcon...@googlemail.com on 3 Aug 2012 at 1:59

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by neil.fra...@gmail.com on 30 Dec 2012 at 7:48

GoogleCodeExporter commented 8 years ago
If you have suggestions for particular math problems, we'd love to hear more. 
Currently we're looking to build a few educational/fun apps (and adding 
blocks). 

For now, this graphing calculator is perhaps along the line of your request: 
http://blockly-demo.appspot.com/static/apps/graph/index.html

(Note: We're still working on a more intelligent default x & y scale. Currently 
the domain is [-10, 10] and the range of f(x) is whatever that domain maps to.)

Here are some example graphs:
http://blockly-demo.appspot.com/static/apps/graph/index.html#bqaj7v
With some math operations not available in most graphing calculators out there:
http://blockly-demo.appspot.com/static/apps/graph/index.html#jqmast
http://blockly-demo.appspot.com/static/apps/graph/index.html#woie77

Adam, thanks for mentioning projects Euler. Just for fun, we solved the first 3:

http://blockly-demo.appspot.com/static/apps/code/en.html#tkn9ea

http://blockly-demo.appspot.com/static/apps/code/en.html#dvftra

http://blockly-demo.appspot.com/static/apps/code/en.html#r2jpkj (this can't run 
in Blockly yet but will soon. The JS code will run fine in a console. And this 
reminded me I'll need to add a block for "isPrime/isOdd/isEven...") 

Original comment by Q.Neut...@gmail.com on 3 Jan 2013 at 8:37

GoogleCodeExporter commented 8 years ago
https://blockly-demo.appspot.com/static/apps/code/index.html?lang=en#emafmg

Original comment by rand...@mason.ch on 19 Aug 2014 at 9:08