Bilingual edition: English is preserved and Chinese follows each unit. Terminology uses the confirmed v20260916 glossary; automated semantic review remains traceable.
中英双语版:英文原文完整保留,中文紧随对应单元;术语采用 v20260916 确认表,自动语义审校结果可追溯。

Doing It by the Numbers: Javascript Calculations in Web-Based Instructional Material

用数字来实现:网页基于的教学材料中的JavaScript计算

Carl Rod Nave, AAPT Summer Meeting, Guelph, Ontario, Aug 2, 2000

卡尔·罗德·纳夫,AAPT夏季会议,安大略省古尔夫,2000年8月2日

Page 1

第1页

The building of the web-based physics exploration environment which I call HyperPhysics was undertaken originally to provide a continuing resource for the science teachers which I have taught at Georgia State University. It has had a much wider impact than that, with over two million hits for the year 2000 through July. From the beginning, part of the strategy of that exploration environment was to lead users finally to a quantitative application of the concepts; a place where they could plug in the numbers and explore the results.

我最初建立的基于网络的物理探索环境,我称之为HyperPhysics,是为了为我在佐治亚州立大学任教的科学教师提供一个持续的资源。其影响远比这要广泛,2000年7月为止,该网站的访问量已超过两百万次。从一开始,该探索环境的一部分策略就是引导用户最终将概念应用于定量的场景;一个他们可以输入数值并探索结果的地方。

Given its original target audience, the design has been to approach any subject with illustration and qualitative discussion first, with links provided for a deeper exploration which includes the mathematics and finally an active routine in which the user could explore the concept numerically. Toward that numerical end, Javascript has proved to be an essential tool. Javascript is by all accounts a messy, unstructured language which has no graphical capability, but it has the very powerful characteristic of functioning smoothly over the web. You can post a Javascript routine for solving a specific problem on the web, and know that anywhere in the world a user can numerically solve the problem on their own computer. This is a very powerful teaching resource. I will give a number of examples of the use of Javascript in specific physical contexts.

鉴于其最初的受众,设计目标是首先通过示例和定性讨论来接近任何主题,提供链接以进行更深入的探索,其中包括数学内容,最后让用户能够通过数值方式探索概念。为了实现这一数值目标,JavaScript 已被证明是必不可少的工具。JavaScript 从各方面来看都是一种混乱且无结构的语言,它没有图形能力,但它具有非常强大的特点,即在网页上流畅运行。你可以将一个用于解决特定问题的 JavaScript 程序发布到网络上,知道世界各地的用户都可以在自己的电脑上数值地解决这个问题。这是一种非常强大的教学资源。我将给出一些 JavaScript 在特定物理情境中使用的具体例子。

To start with the simplest kind of application, here is an application to the concept of weight. The strategy here is simply one of illustration and a set of input/output boxes. The Javascript routines are initiated by simply entering a number in one of the boxes; the calculation is initiated by an "onchange()" command and will calculate the consistent values and place them in the other boxes.

首先,从最简单的应用开始,这里是一个关于“重量”概念的应用。这里的策略仅仅是示例和一组输入/输出框。JavaScript程序 simply 通过在其中一个框中输入一个数字来启动,计算则由“onchange()”命令触发,并会计算出一致的值并将其放在其他框中。
Click on the graphic to go to the calculation
点击图形跳转到计算

This illustrates one of the strategies used in the Javascript calculations, that of providing both the input and output in various unit systems. That has raised protests from SI purists, but in the U.S. we are still struggling to get our introductory students into SI, and I believe the instant visible display of the comparisons of the SI with US common units can help them make the transition.

这展示了JavaScript计算中采用的一种策略,即同时提供输入和输出的不同单位系统。这引发了SI制的忠实支持者的抗议,但在美国,我们仍在努力让入门学生掌握SI单位制,我认为即时显示SI单位与美国常用单位的对比,可以帮助他们顺利过渡。
Continue to page 2
继续查看第2页
Index

AAPT Guelph Paper Outline
索引 AAPT 格陵布纸纲要
 
HyperPhysicsR Nave
Go Back
返回