Question
Using Dr Racket IDE, BSL (@problem 1) Write the BSL expression that most clearly represents the following ;; arithmetic expression ((4 * 6) / 8
Using Dr Racket IDE, BSL
(@problem 1)
Write the BSL expression that most clearly represents the following ;; arithmetic expression ((4 * 6) / 8 + 7) * (6 - 1) which equals 50. We have a single answer in mind that both produces the correct result and most closely matches the structure of the equation. So while just 50 is an expression that evaluates to 50, that is not the answer we are looking for, because it doesn't show the structure of the expression above. Your answer should follow the line with the @problem tag below.
I put (* (/ (* 4 6) (+ 8 7)) (- 6 1)) which equals 8 though. I tried writing different numbers so it would equal 50, but when put into the autograder, it gave me 0. So I assume something is wrong with my arithmetic.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started