CPAN112_Lab01_Tyler_Escobar

docx

School

Humber College *

*We aren’t endorsed by this school

Course

112

Subject

Computer Science

Date

Feb 20, 2024

Type

docx

Pages

5

Uploaded by EarlPantherMaster1046

Report
Fundamentals of Numeric Computing CPAN 112 Lab 01 Please read the following instruction very carefully before answering any questions: Please read all the questions very carefully. Please provide your answers in the boxes below each question, and do not change the text colour. Your answer MUST show the solution procedure. There is no credit if you only state the final answer. Please underline your final answer to each question. Please keep the naming conventions requested in this lab and each question. Once you complete your lab, rename your word document file to the ( CPAN112_LabXX_FirstName_LastName ). Replace XX with the lab number (e.g. 01). Replace FirstName and LastName with your first name and last name, respectively. It will be a 10% mark deduction if you do not follow the guidelines mentioned above.
1) Simplify: a. 9a + 3a + 7a ( here is a sample solution ) 9a + 3a + 7a = 12a + 7a = 19a OR b. -(4 - 5a) - (-2 + 3a) = (-4 + 5a) - (-2 + 3a) = -4 + 2 + 5a – 3a = -2 + 2a c. (-a 3 - 4a 2 - 3a) ÷ (-a) = ( -a 3 /-a - 4a 2 /-a - 3a/-a) = (a 2 + 4a + 3) 2) Evaluate the following for the values given. FV(l- rt) for FV = $1200, r = 0.175, t = 256 / 365 = 1200(l - (0.175 x 256/365) = 1200(l – 0.122739726) = 1200 – 147.29 = 1052.71 3) Evaluate the following. 1.07 15 – 1/0.07 1.07 15 - 14.28571429 = 2.759031541- 14.28571429 = -11.53 4) Simplify. 5 2 ÷ 5 -3 = 5 2-(-3)
= 5 5 = 3125 5) Evaluate the value of i. 112.55 = 100.00(1 + i) 4 = 112.55/100.00 = 100.00(1 + i) 4 /100.00 = 4 1.1255 = 4 (1 + i) 4 = 1.029997984 - 1= 1-1 + i = 0.03 = i 6) Express the following in logarithmic form. 5 -3 = 1 / 125 = log 5 (1/125) = -3 7) Write the following in exponential form. log 2 32 = 5 = 2 5 = 32 8) Solve each of the following equations and check your solution. a. x + 0.6x = 32 x + 0.6x =32 1.6x = 32 1.6x/1.6 = 32/1.6 X = 20 b. -3 + 2x + 5 = 5x - 36 + 14 = -3 + 5 – 14 + 36 = 5x – 2x = 24 = 3x = 24/3 = 3x/3 = 8 = x
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
9) Danielle invests part of her $3000 savings into a savings account at 3% and part into a GIC at 4.5% simple interest. If she earns $128.25 in interest from her two investments, calculate how much she invested at each rate. $1000 in an account with 5% interest: earning = $1000 * 5% = ? 3% = 0.03, 4.5% = 0.045 128.25 = (0.045 * x) + (0.03 * y) (128.25 = 0.045x + 0.03y) x -100 (3000 = x + y) x 3 9000 – 12825 = 3y-3y-4.5x+3x -3825/-1.5 = -1.5x/-1.5 2550 = x 3000-2550 = y y = 450 10) Write a simple Python program for question (9) to calculate and display how much Danielle invested at each rate. Copy and paste your Python code here: yPer = float ( 0.03 ) xPer = float ( 0.045 ) Origin = int ( 3000 ) x = int (Origin - 450 ) x = float (x * xPer) y = int (Origin - 2550 ) y = float (y * yPer) total = float (x + y) print( 'The amount she put in the 4.5% rate was' ) print(x) print( 'while in the 3% rate she put' ) print(y) print( 'making her total earnings' ) print(total) Deliverables :
The word document file (CPAN112_LabXX_FirstName_LastName) contains your solution.