Software Requirements Specification (SRS) for FD (Fixed Deposit) Calculator
Introduction
Purpose:
The purpose of this document is to outline the requirements for the development of a Fixed Deposit (FD) Calculator application.
Scope:
The FD Calculator will allow users to estimate the maturity amount and interest earned on fixed deposits based on input parameters such as principal amount, tenure, and interest rate.
Definitions, Acronyms, and Abbreviations:
FD: Fixed Deposit
System Overview
System Description:
The FD Calculator will be a web-based application accessible through a browser. Users will input deposit details, and the system will calculate the maturity amount and interest earned.
System Architecture:
The application will have a client-server architecture, with the client being the web browser and the server handling the calculation logic.
Functional Requirements
Use Cases:
Calculate FD:
- Users can input the principal amount, tenure, and interest rate.
- The system will calculate and display the maturity amount and interest earned.
Functional Requirements:
Input:
The system shall accept the following input:
- Principal Amount (in INR)
- Tenure (in months or years)
- Interest Rate (in percentage)
Calculation:
The system shall calculate the maturity amount using the FD formula:
- ��������������=�×(1+�/�)��
- MaturityAmount=P×(1+r/n)
- nt
- The interest earned can be calculated as
- ��������������−���������������
- MaturityAmount−PrincipalAmount, where:
- �
- P is the Principal Amount
- �
- r is the annual interest rate divided by 100
- �
- n is the number of times interest is compounded per year
- �
- t is the tenure in years
Output:
- The system shall display the calculated maturity amount and interest earned to the user.
Non-Functional Requirements:
- The system should provide a response time of under 2 seconds.
- The application should be accessible on common web browsers (Chrome, Firefox, Safari).
External Interface Requirements
User Interfaces:
- The user interface shall include input fields for the principal amount, tenure, interest rate, along with a “Calculate” button.
- The calculated maturity amount and interest earned shall be displayed prominently.
Hardware Interfaces:
- The system should be compatible with standard computing hardware.
Software Interfaces:
- The application shall be developed using HTML, CSS, and JavaScript.
- The server-side logic can be implemented using a backend framework (e.g., Node.js, Django).
Communication Interfaces:
- The application will communicate with the server for the calculation and display of results.
Performance Requirements
Response Time:
The system should respond within 2 seconds for a typical user input.
Throughput:
The application should handle at least 100 simultaneous users.
System Constraints
Regulatory Requirements:
The application should comply with relevant financial regulations.
Hardware Limitations:
The system should be compatible with devices with standard web-browsing capabilities.
Security Requirements
Authentication:
The application may not require user authentication as it’s a public tool.
Data Protection:
The system should not store or retain any user input data after the calculation.
Quality Attributes
Reliability:
The application should produce accurate results based on the provided input.
Maintainability:
The code should be well-documented for ease of maintenance.
Usability:
The user interface should be intuitive, requiring minimal guidance.
Testing Requirements
Test Cases:
Test cases should cover various input scenarios to ensure accurate calculations.
Test Case 1:
- Inputs: Principal Amount = 50,000 INR, Tenure = 24 months, Interest Rate = 7.5% compounded quarterly.
- Expected Output: Maturity Amount ≈ 53,158.05 INR, Interest Earned ≈ 3,158.05 INR
Test Case 2:
- Inputs: Principal Amount = 1,00,000 INR, Tenure = 36 months, Interest Rate = 8% compounded half-yearly.
- Expected Output: Maturity Amount ≈ 1,24,924.06 INR, Interest Earned ≈ 24,924.06 INR
Test Case 3:
- Inputs: Principal Amount = 2,00,000 INR, Tenure = 48 months, Interest Rate = 9% compounded annually.
- Expected Output: Maturity Amount ≈ 2,70,772.84 INR, Interest Earned ≈ 70,772.84 INR
Acceptance Criteria:
- The application is considered successful if it produces correct maturity amounts and interest earned based on the standard FD calculation formula.
Project Timeline
Milestones:
Design, Development, Testing, Deployment.
Development Phases:
Frontend development, Backend development, Testing, Deployment.
Glossary
FD: Fixed Deposit
Database Structure
Tables:
FD_Calculations:
- CalculationID (Primary Key, Auto-increment)
- PrincipalAmount (Decimal)
- Tenure (Integer)
- InterestRate (Decimal)
- MaturityAmount (Decimal)
- InterestEarned (Decimal)
- CalculationDate (DateTime)
Conclusion
This extended SRS document provides a more detailed overview of the FD Calculator application, including the database structure and additional test cases. It should be reviewed and approved by relevant stakeholders before proceeding with the development phase.