FAQ | Contact Us  |  Register  |  Login


UC Davis Center for Integrated Computing and STEM Education (C-STEM) --- Research and Outreach

Algebra – Solution for Problem 2 is not registering as correct

Home Forums Community Forum RoboBlockly Algebra – Solution for Problem 2 is not registering as correct

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9525
    cwestcott
    Member

    I believe this is the solution, but does not register as correct. Maybe I am missing something here. Please help. Also, the possible solution does not include the distance traveled for 32 forward, just backward -10.

    Attachments:
    You must be logged in to view attached files.
    #9532
    ramangan
    Participant

    Mathematically, your solution is correct. I believe it’s coming up as a wrong solution because the problem asks the user to move the robot back 10 units then 32 forward using the driveTime() function (in that order).

    robot.driveDistance(-10, radius);
    robot.setSpeed(4, radius);
    robot.driveTime(8);

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.