Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
GoogleCodeExporter opened this issue Dec 6, 2015 · 4 comments
Closed

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

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

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

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

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant