CSE 432 Fall 2019 Lab 2

September 26, 2019

Task 1 Introduction to for loop %Use of for loop close all clear clc n=input(‘Number of inputs= ‘); if (n>0) for i=1:n r=input(‘radius= ‘); area=pi*r*r; circ=2*pi*r; fprintf(‘Radius= %g\tArea= %g\tCircumference= %g\n’, r, area, circ) end else fprintf(‘ERR:Number must be Positive\n’); end %Task for students %Change the code such that if the radius is negative, it will

Continue Reading

CHE 101 Summer 2019 Tutorial 1 Marks

Section A Reg Name Test 1 190103020001 Syed Md. Afsani 5.5 190103020005 Nadira Ferdous 0 190103020007 Biprojit Bhattacharjee 6 190103020009 Maidul Islam 5.5 190103020011 Marwanur Rashid Shafe 3 190103020013 Sajib Sutradhar A 190103020015 Jeni Begum 5 190103020017 Marufa Akter Sweety 3 190103020019 MD.Fahin Miah 3 190103020021 Abida Khanom 7.5 190103020023 Aysha Akter 8 190103020025 Md.

Continue Reading