检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:李莹[1]
出 处:《现代计算机》2012年第12期73-76,共4页Modern Computer
摘 要:通过编写程序输出数学曲线,具有一定的趣味性,可以开阔编程视野。只要具有初级程序设计能力,再结合有关数学知识就能实现。程序设计的思想是利用数学公式求得多个位置值,用Tab函数定位,用Print语句在这些位置上分别输出符号"*",从而得到由多个"*"组成的数学曲线,例如三角函数曲线、抛物线曲线、半圆曲线及概率曲线等。Programming by outputting mathematics curves is interesting and broadening our horizons, which could be achieved with primary programming ability and mathematical knowledge.The core of programming is to calculate position values using mathematical formula, and uses the Tab function to position, and then outputs "*" on these position by Print statement, and finally gets the mathematical curve by connecting these "*", such as trigonometric function curve, parabolic curve, the semi-circular curve and the probability curve.
分 类 号:TP311.11[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.7