Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Code using Matlab Sometimes we need an extra push to work diligently. One such parenting tech- nique is positive reinforcement based on grades. One suggestion

Code using Matlab

image text in transcribed

Sometimes we need an extra push to work diligently. One such parenting tech- nique is positive reinforcement based on grades. One suggestion is giving money based on grades one receives in a semester or year. We will see whether or not a program is actually a true incentive for doing well in school. Your goal for this project is to create a program which receives the following information: number of courses (between 5 and 15 would be appropriate to pre vent run time errors), dollar amounts for each letter grade, and the probability for completing each letter grade. Appropriate error messages should occur for the given prompts. The following outputs should occur: a) Quantity of Each Letter Grade AIUTni iven for Combination c) Expected Probability for entire problem Your code should include methods for handling nonnegative dollar amounts for grades: parents can opt to give no money or ask for money in return should a D or Fbe received. Parents should also be able to suggest if an F is received, no money at all is given Provide outputs for the following: a) 5 classes. Cash: 10 for A, 3 for B, 1 for C, 0 for D/F. Probabilities: 1/3 1/4, 1/5, 1/6, 1/20. Do both the case where you can still earn money despite an F and the case where you cannot earn money if you received an F, but you can despite a D b) 12 classes. Cash: 20 for A, 5 for B, 2 for C, 0 for D, -10 for F. Probabili ties: 1/2, 1/4, 1/5, 1/25, 1/100 If a student were able to calculate these probabilities on their own, would there be actual incentive to obtain all A's? Does the amount of classes or the dollar amounts greatly affect the incentive? Based on these questions, should such an incentive method actually be used? Explain your conclusions Sometimes we need an extra push to work diligently. One such parenting tech- nique is positive reinforcement based on grades. One suggestion is giving money based on grades one receives in a semester or year. We will see whether or not a program is actually a true incentive for doing well in school. Your goal for this project is to create a program which receives the following information: number of courses (between 5 and 15 would be appropriate to pre vent run time errors), dollar amounts for each letter grade, and the probability for completing each letter grade. Appropriate error messages should occur for the given prompts. The following outputs should occur: a) Quantity of Each Letter Grade AIUTni iven for Combination c) Expected Probability for entire problem Your code should include methods for handling nonnegative dollar amounts for grades: parents can opt to give no money or ask for money in return should a D or Fbe received. Parents should also be able to suggest if an F is received, no money at all is given Provide outputs for the following: a) 5 classes. Cash: 10 for A, 3 for B, 1 for C, 0 for D/F. Probabilities: 1/3 1/4, 1/5, 1/6, 1/20. Do both the case where you can still earn money despite an F and the case where you cannot earn money if you received an F, but you can despite a D b) 12 classes. Cash: 20 for A, 5 for B, 2 for C, 0 for D, -10 for F. Probabili ties: 1/2, 1/4, 1/5, 1/25, 1/100 If a student were able to calculate these probabilities on their own, would there be actual incentive to obtain all A's? Does the amount of classes or the dollar amounts greatly affect the incentive? Based on these questions, should such an incentive method actually be used? Explain your conclusions

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

Put Your Data To Work 52 Tips And Techniques For Effectively Managing Your Database

Authors: Wes Trochlil

1st Edition

0880343079, 978-0880343077

More Books

Students also viewed these Databases questions