问题产生器 [英] Problem generator for diffrentation

查看:106
本文介绍了问题产生器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我想写一个用于区分问题的问题发生器,基本上应该能够随机产生问题,例如d/dx(10 sech(x)+10 log(x)cosh ^(-1)(sin(x)))我产生?您能帮我怎么做.
在此先感谢

Hello

I want to write a problem generator for differentiation.Basically that should be able to generate questions randomly like d/dx(10 sech(x)+10 log(x) cosh^(-1)(sin(x)))how can I generate? Could you please help me how should I proceed .
Thanks in advance

推荐答案

合一?搜索代码项目以查看是否有关于此主题的文章?搜索Google以查看是否可以找到一些代码?你的问题是什么?您将需要更加具体.

在最高级别,您可以保留一组运算符,并将它们与随机选择的数字组合.随机选择要合并的运算符和数量.如果要使用括号,则可能需要进行一些递归.这将产生各种问题,您可以加以区分.
Make one? Search Code Project to see if there is an article on this subject? Search Google to see if you can find some code? What is your question? You''re going to have to be a little more specific.

At the highest level, you can keep an array of operators and combine them with randomly chosen numbers. Randomly choose which operators and the number of operators to combine. You might want to throw in some recursion if you want to use parentheses. That will generate various problems which you can differentiate.


这篇关于问题产生器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆