Forum Rules Notice

Due to inappropriate SPAM postings, our forums are now being monitored for inappropriate content. This will cause your post to not appear publicly until it has been approved by a forum moderator. We apologize for the delay this may cause in your response, but have found it the best way to control inappropriate posts.


  Reply to this topicStart new topicStart Poll

> Fractions In Equation Editor Of Exam View
TeKo
Posted: Mar 12 2009, 05:40 AM




I am using Dynamic Content/Algorithms when creating math questions. However, whenever I use the function fracs in Equation Editor, it does not stack the fraction vertically but rather horizontally. Is there another function to use instead? Is there another way to do this?

For example,

For 2/3: I get "2/3" in Equation Editor instead of having a vertically stack 2 over 3 answer like it is outside Equation Editor.

Thanks,
Steve
PMEmail Poster
Top
bdmosky
Posted: Jun 22 2009, 07:10 PM




Same problem here. Is there another way around this? At first it wasn't a big deal to me as I could exclude the fraction from the equation editor, for instance an equation in slope intercept form:

"y=" fracs(whatever, whatever) "x + b"

This shows up just fine if the quoted parts are inside of the equation editor.

Recently though I haven't been able to circumvent this. I'm trying to place a reduced fraction within parentheses for a point, but of course I can't do that without it outputting 2/3 instead of vertically 2 over 3 and if I exclude it from the equation editor, of course the parenteses don't resize.
PMEmail Poster
Top
p_e_barnes
Posted: Jul 1 2009, 06:13 PM




It was brought to my attention that I had typed the same definition for Denom as for Num. Sorry for any problems.

The key to putting a fraction in the equation editor is changing the numerator and denominator from strings to numbers. The following takes a random decimal from 0.01 to 0.99 and converts it to a fraction (string). It then converts the numerator (Num) and denominator (Denom) to numbers which can be placed in the equation editor. This should allow you to use fractions with the equation editor.

Decimal = range(.01,.99,.01)
Fraction = fracs(Decimal*100,100)
Where = instr(Fraction,"/")
Length = len(Fraction)
Num = val(left(Fraction,where-1))
Denom= val(right(fraction,length-where))

This post has been edited by p_e_barnes on Aug 10 2009, 05:43 PM
PMUsers Website
Top
McGarrett
Posted: Dec 30 2009, 01:33 PM




This is a very nice technique that works (of course) with both small and regular stacked fractions. This takes me back to programming many years ago.

I, too, was doing exactly what bdmosky was doing in order to get the cleaner, stacked fractions.
PMEmail Poster
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Reply to this topic Start new topicStart Poll

 


Copyright 1998-2008 eInstruction Corp. All rights reserved.