Find more Network And System Administration Remote Jobs posted recently Worldwide

Required software development freelancer for Implement an abstract class of geometric shapes Equation; job

Posted at - Jul 17, 2021

Toogit Instant Connect Enabled


Implement an abstract class of geometric shapes Equation;
Define in it a purely virtual function double solve () - finding the root of the equation.
Create on its basis 2 derivatives of the Linear and Trigonometric classes - for linear equations of the form and equations of the form.
For each of these classes, implement the solve function.
Create an array of Equations pointers to Equation.
As a demo, write a program that reads from file N
different equations, creating the corresponding objects and filling them with an array
Equations.
Then calculate the sum of the roots of all the equations.
Input data:
The first line of the input file contains the number N.
The next N lines contain figures.
The first character in the line determines the type of shape (L or T), then the coefficients follow (for linear
equations a, then b).
Output:
In the output file write the sum of the roots up to two decimal places

About the recuiterMember since May 20, 2018 Surya S
from Baden-Wurttemberg, Germany

Skills & Expertise Required

software development 

Candidate shortlisted and hiredHiring open till - Jul 17, 2022

Work from Anywhere
40 hrs / week
Hourly Type
Remote Job
$3.48
Cost

Looking for help? Checkout our video tutorial
How to search and apply for jobs

How to apply? Do you have more questions about the Job?
See frequently asked questions


Apply on more work from home jobs posted in Network And System Administration category.