Effacer les filtres
Effacer les filtres

Class project: simple calculator

3 vues (au cours des 30 derniers jours)
manuel Dossantos
manuel Dossantos le 10 Mai 2012
Commenté : Muhammad Abbas le 16 Oct 2018
CLASS PROJECT: SIMPLE CALCULATOR
I-design a simple calculator with the following options:
1- Rectangular/Polar conversion,
2- Polar/rectangular conversion,
3- Sine,
4- Cosine,
5- Tangent,
6- Arcsine,
7- Arccosine,
8- Arctangent,
9- Quit
II-additional requirements:
1-The program shall be in a repetitive loop with an option to quit, if desired.
2-the student is to develop a flow chart for the operation of the calculator.
3-From the flow chart, the student is to develop a Mat lab program. If programming errors are encountered, it is expected the the student shall debug the program prior to submittal
  2 commentaires
Walter Roberson
Walter Roberson le 10 Mai 2012
You somehow missed asking a MATLAB question ?
Muhammad Abbas
Muhammad Abbas le 16 Oct 2018
How to make calculator for only +,-,* ?

Connectez-vous pour commenter.

Réponse acceptée

Rick Rosson
Rick Rosson le 10 Mai 2012
>> doc input
>> doc fprintf
>> doc while
>> doc cart2pol
>> doc pol2cart
>> doc sin
>> doc cos
>> doc tan
>> doc asin
>> doc acos
>> doc atan
  3 commentaires
Daniel Shub
Daniel Shub le 11 Mai 2012
The documentation is pretty comprehensive. I doubt you have really absorbed it all in 18 hours.
Rick Rosson
Rick Rosson le 12 Mai 2012
Please ask a specific question.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by