User Tag List

Results 1 to 3 of 3

Thread: Expression Calcualtion Help with Alterable Values?

  1. #1
    Clicker Fusion 2.5 (Steam)

    Join Date
    May 2015
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Expression Calcualtion Help with Alterable Values?

    So, I'm making a universal law of gravity lab for a Physics project. The person inputs the mass of the object and its height off the ground into Edit Boxes, and a counter spits out the weight in Newtons. The contents of the edit boxes become alterable values, which are fed into the universal law of gravitation formula. The problem is that for some reason, the counter displays a number that can't possibly be right. I have a feeling it has something to do with an overflow error, since the mass and radius of the Earth are in the equation as well. Does anyone know what's up?

    gravity.mfa

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,155
    Mentioned
    27 Post(s)
    Tagged
    1 Thread(s)
    This actually works better:
    ( 6.67e-011 * Mass( "Object" ) * 5.9736e+024 ) / ( ( Hite( "Object" ) + 6371000 ) pow 2 )

    than:
    ( 6.67e-011 * Mass( "Object" ) * 5.9736e+024 ) / ( ( Hite( "Object" ) + 6371000 ) * ( Hite( "Object" ) + 6371000 ) )

    for obscure reasons that go beyond my nightly comprehension

  3. #3
    Clicker Fusion 2.5 (Steam)

    Join Date
    May 2015
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, schrodinger. I had that before, but I had changed it while trying to fix the problem :P

    Now I'm just curious why it didn't work...

Similar Threads

  1. Global Values & Alterable Values with same names
    By Gustav in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 7th November 2012, 06:15 PM
  2. Alterable Strings as Alterable Values?
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 27th March 2012, 07:14 PM
  3. Display values on screen from Alterable Values
    By mikeh in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 13th May 2008, 01:59 PM
  4. Get Any Alterable Value with an Expression
    By thewreck in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 13th April 2008, 11:15 AM
  5. Alterable Strings and Alterable Values limit :(
    By Pedro Almeida in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 13th October 2006, 06:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •