Task 1 Algebra in MATLAB Solving single variable equation Solving multi variable equation Solving Simultaneous equation Using roots and polyval function Using expand function to expand algebraic expression Using simplify function to simplify algebraic expression Using factor function to factorize algebraic expression %Lab 6 Basig algebra using symbolic toolbox close all clear clc a=solve(‘x-5=0’); disp(a);

# Latest Posts

## CHE 101 Spring 2019 Tutorial 1 Question and Solution

Question Set A Draw the structure of Sodium Chloride crystal. [2] Explain why the emission spectra of hydrogen has only certain frequency of light.[2] Draw the structure of dxy and px.[1] Explain briefly the conclusions of Rutherfordâ€™s Alpha Scattering Experiment. [2] What will be the value of quantum numbers of an electron for which

## CSE 432 Spring 2019 Lab 5

Task 1 Complex numbers in matlab. Complex number mathematics (Addition Subtraction) in Matlab. %Lab 5 close all clear clc j=sqrt(-1); a=5; b=6; c=a+j*b; d=3+j*9; x=5*c+6*d; disp(real(x)); disp(imag(x)); disp(abs(x)); disp(angle(x)); Task 2 Sin and cosine component of a complex numbers. %Lab 5 close all clear clc j=sqrt(-1); f=1; w=2*pi*f; fs=100; t=0:1/fs:5; y=exp(j*w*t); figure plot(t,real(y)); title(‘real Part

## CHE 101 Spring 2019 Tutorial 1 Marks

Sec a Reg Name Test 1 170103020003 Mahin Ahmed Qureshi 2.5 170103020005 Tania Sultana 5 170103020007 Shoriful Islam Sayem 3 170103020009 Palash Barmon 5 170103020013 Syed JafrulHusen 5 170103020015 Ruhul Amin 4 170103020017 Md. Abu Shahan 3.5 170103020019 Shah Jahan Chowdhury A 170103020025 Sanjida Ahmed 4.5 170103020029 Guru Prashad Chanda Dip 4.5 170103020033 Md.

## CSE 432 Spring 2019 Lab 4

Task 1 Plotting a Unit Impulse Function % Unit Impulse function close all clear clc a=1; %Defining amplitude fs=1; t=-10:1/fs:10; impl=zeros(1,length(t)); for i=1:length(t) if t(i)==0 impl(i)=1; else impl(i)=0; end end figure ; stem(t,impl) Task 2 Plotting a Unit Ramp Function % Unit ramp function close all clear clc a=1; %Defining amplitude fs=1; t=-10:1/fs:10; rmp=zeros(1,length(t)); for

## CSE 432 Spring 2019 Lab 3

Task 1 Plotting a Sine Graph % Sine curve close all clear clc fs=20; %Sampling frequency in hz. Sampling time is 1/fs f=1; %frequency of sine wave is 30 hz phi=-pi/4; % initial phase w=2*pi*f; %Omega(angular velocity) a=2; %amplitude t=0:1/fs:2*pi; y=a*sin(w*t+phi); figure; plot(t,y); figure; stem(t,y); //Another way % Sine curve close all clear clc fs=1;

## CSE 432 Spring 2019 Lab 2

Task 1 String input output. Adding a variable in an array. %Task 1 clear; clc; var={}; n=input(‘Number of inputs: ‘); for i=1:n x=input(‘Enter String: ‘, ‘s’); var=[var x]; end for i=1:n fprintf(‘%s\n’, var{i}); end Task 2 Create a Matlab Script to find the cgpa of n subjects, where n will be taken as input. All

## CSE 432 Spring 2019 Lab 1

Task 1 Installation of MATLAB Task 2 Basic matlab instructions a=4; b=5; c=a+b; %difference between usiong a semicolon at the end of an instruction and not disp(c); c=a-b; c=a*b; c=a/b; %Matrix and vector a=[0 1 2] a=[0 1 2; 3 4 5] a=[0 1 2; 3 4 5;6 7 8] b=[1 2 3; 4 5

## CSE 322 Fall 2018 Lab 12

Simulation lab 2. Lab report has to be submitted. The list below shows the list of tasks and information to be submitted in the lab report. Task#1 Simulation of a 3-bit Flash ADC with a reference voltage of X Volt, where x is the last 2 digit of your registration number. Simulation of the circuit