[SOLVED] CSCI112 Lab 9- Symbolic Derivatives

25.00 $

Programming resource
Digital learning resource
Category:
✓ Practical programming resource
✓ Suitable for guided study and reference
✓ Tutor guidance available when needed

Description

5/5 - (1 vote)

File names: Names of files, functions, and variables, when specified, must be EXACTLY as specified. This includes simple mistakes such as capitalization.
Documentation: Each file should begin with a docstring that includes your name, the class number and name, the lab number, and a short description of the lab, as well as documentation pertinent to that particular file.
The project: Write a function that takes a parse tree for a mathematical expression and calculates the derivative of the expression with respect to some variable.
Symbolic derivatives: In calculus class we learned several rules for derivatives. For example, where A and B are arbitrary expressions involving x, and c is an arbitrary constant:

File names: Call your module derivative.py, your unit test module derivative_test.py, put them in a folder called csci112lab09yourname, zip and turn into canvas.
1

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.