Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Internals A Deep Dive Into How Distributed Data Systems Work

Authors: Alex Petrov

1st Edition

1492040347, 978-1492040347

More Books

Students also viewed these Databases questions

Question

Are Ada tasks created statically or dynamically?

Answered: 1 week ago