Calculated Question: Exponents

Calculated Question: Exponents

by Daniel Hutchens -
Number of replies: 2

I am using Moodle 2.5.2+.

I am creating a quiz where I need to display numbers to students without exponents and have them convert them to engineering notation (milli, micro, etc.)  I created a question that would generate random values and it worked well until I wanted to give them something like this: 

Convert {={a}/1000000} s to nS.  (Where {a} is a number between 0.001 - 0.999). 

The question is previewed as: Convert 6.097E-7 s to ns.  I want the number displayed as 0.0000006097 

Is this possible?

Average of ratings: -
In reply to Daniel Hutchens

Re: Calculated Question: Exponents

by Pierre Pichet -

Hi Daniel,

Display nanoseconds as an integer value between 1 and 999 this way.

Convert 0.000000{=round({a},0)} s to nS.  (Where {a} is a number between 1000 - 9999).

This will show as

Convert 0.000000187 s to nS.  (Where 187 is a number between 1000 - 9999). 

Pierre 

 

Average of ratings: Useful (1)