Calculations beyond simple arithmetic

Mar 12, 2014

I know how to build calculators that use addition, subtraction, multiplication and division. See attached Doppler Effect calculator.

However, as a science/maths teacher, I have always have had a need to be able to also include "squared, square root, cubic root and logarithm operations within my equations.

Is there anyone out there who can help. Does the solution lie in Javascript? Or must I resort to expanding all the functions I need into long laborious Taylor series and proceed from there? 

Thanx

Alphonso

10 Replies
Alphonso Hendricks

Alex, thank you for your quick response. I forgot to add that I want to use Storyline to build my physics calculators. I only loaded one example of my work and see now that I assumed that using Storyline to do the calculations was implicit.

Let me try to explain my problem once more. 

Let's say I want my students to be able to calculate the period of a pendulum i.e. T = 2*pi*SQRT(L/g)

I provide value of g = 9.82 and pi = 3.142.

All my students have to do is to enter the value of L (length of pendulum) and calculator should work out value for T (the period).

To date, I cannot get Storyline to process variables to do this simple calculation because it only caters for addition, subtraction, multiplication and division - basic arithmetic. It does not allow me to process the SQRT (square root) function part of the equation.

ARTICULATE simply advises one to send in a feature request but I'm afraid not enough science people are using ARTICULATE and hence too the feature request is never prioritized.

What I'm looking for is some whiz out there that knows how to tweek the software in order for me to move forward. 

Ashley Terwilliger-Pollard

Hi Alphonso,

I can't help with modifying the Storyline code, nor am I a Javascript expert, but have you looked into including a calculator as a web object or a Flash file like the one in this thread? That way the students could conduct the calculations and then maybe would have a numeric entry box to place their answers in? 

Alphonso Hendricks

Hi Ashley

to clarify, when I say calculator, I am not referring to a scientific calculator or a simple calculator that one could buy in a shop (or find on the web). I am referring to a specific physics calculator that a teacher sets up to calculate (i) the magnitude and direction of adding six vectors or (ii) the missing variable in the doppler equation - as the one I attached or (iii) or to calculate displacement using the motion equations etc etc.

Basically it involves the manipulation of variables, which Storyline allows. Except that Storyline stops short of us science teachers accessing the standard functions sin(x) or log(x) or 6! or x^1/2 or x^2. Now the x^2 is easy to overcome since it is numerically equal to x times x and Storyline caters for times, add, subtract and divide. The 6! is also easy to jippo since it is simply 1*2*3*4*5*6 etc But its the other basic maths functions that it does not yet cater for.

The sin(x) can be approximated by x - (x*x*x)/(1*2*3) + (x*x*x*x*x)/(1*2*3*4*5).......a linear combination of simple arithmetic computations, but you would agree that it is time consuming to program the long series in Storyline instead of just being able to use the function sin(x) every time I wanted to compute the sin of an angle.

Hope this clarifies things a bit more. (Or not)  

So in answer to your suggestion. No! I want my students to use the science calculators that i set up, not the calculators that one finds in this thread. 

Fabien Bonfils

Hello Phil,

In fact two years... hope you will read this post.

My formula is this one where var1 is a variable and var2 an other...

[var1/(0.522+(0.419*exp(-0.055*var2)))+(0.033*var2*var1)+var1]/2

Could you (when you have time) explain me how to make a slides with variables above or maybe a cool javascript (i don't know the language).

Thanks a lot in advance

Fabien

www.educationphysiqueetsportive.fr

 

This discussion is closed. You can start a new discussion or contact Articulate Support.