Added files of Inlab and Outlab 1

parents
Group No 36
Contributions:
Harsha 150050073 - 100%
Akshith 150050074 - 100%
Yashasvi 150050080 - 100%
Citations ::
using fzero function {
http://stackoverflow.com/questions/20402725/solving-nonlinear-equations-in-octave
}
reading and writing files{
http://in.mathworks.com/help/matlab/ref/fscanf.html
http://in.mathworks.com/help/matlab/ref/fprintf.html
}
accessing elements of matrix{
http://in.mathworks.com/company/newsletters/articles/matrix-indexing-in-matlab.html
}
We have used few references as mentioned above for syntax purposes and usage
We have not used any other groups help
We didnot take code from others in lab
\ No newline at end of file
inputFile = fopen('input_inlab_task_A1.txt','r');
format = '%f';
% inputFile is opened
etaValues = fscanf(inputFile,format);
fclose(inputFile);
% etaValues are taken and inputFile is closed
% calculating incident angle in the below range
rootNearTo = [0.0001 , pi/2];
f = @(x) (etaValues(1)*cos(x) + etaValues(2)*sin(x))*sin(x/3) - sin(x);
incidentAngle = fzero(f,rootNearTo);
% finding root using fzero
root = [incidentAngle];
% writing it into output file
outputFile = fopen('output_inlab_task_01.txt','w');
fprintf(outputFile,format,root);
fclose(outputFile);
%closing the output file
\ No newline at end of file
function finalState = final_state_3( initial , action )
% initial and action are 3 x 3 matrices
% finalState is also a 3 x 3 matrix
finalState = initial;
% preparing a 3 x 3 cell to accomodate all the response matrices
actionResponse = cell(3 ,3);
actionResponse(1 , 1) = [ 1 1 0 ; 1 0 0 ; 0 0 0 ];
actionResponse(1 , 2) = [ 1 1 1 ; 0 1 0 ; 0 0 0 ];
actionResponse(1 , 3) = [ 0 1 1 ; 0 0 1 ; 0 0 0 ];
actionResponse(2 , 1) = [ 1 0 0 ; 1 1 0 ; 1 0 0 ];
actionResponse(2 , 2) = [ 0 1 0 ; 1 1 1 ; 0 1 0 ];
actionResponse(2 , 3) = [ 0 0 1 ; 0 1 1 ; 0 0 1 ];
actionResponse(3 , 1) = [ 0 0 0 ; 1 0 0 ; 1 1 0 ];
actionResponse(3 , 2) = [ 0 0 0 ; 0 1 0 ; 1 1 1 ];
actionResponse(3 , 3) = [ 0 0 0 ; 0 0 1 ; 0 1 1 ];
for _row = 1:1:3
for _column = 1:1:3
finalState = finalState + actionResponse{_row , _column} .* action( _row , _column ) ;
end
end
finalState = rem(finalState , 2);
\ No newline at end of file
function solution = lookup_solve_3( initial )
underSolving = initial;
% preparing a 3 x 3 cell to accomodate all the response matrices
actionResponse = cell(3 ,3);
actionResponse(1 , 1) = [ 1 1 0 ; 1 0 0 ; 0 0 0 ];
actionResponse(1 , 2) = [ 1 1 1 ; 0 1 0 ; 0 0 0 ];
actionResponse(1 , 3) = [ 0 1 1 ; 0 0 1 ; 0 0 0 ];
actionResponse(2 , 1) = [ 1 0 0 ; 1 1 0 ; 1 0 0 ];
actionResponse(2 , 2) = [ 0 1 0 ; 1 1 1 ; 0 1 0 ];
actionResponse(2 , 3) = [ 0 0 1 ; 0 1 1 ; 0 0 1 ];
actionResponse(3 , 1) = [ 0 0 0 ; 1 0 0 ; 1 1 0 ];
actionResponse(3 , 2) = [ 0 0 0 ; 0 1 0 ; 1 1 1 ];
actionResponse(3 , 3) = [ 0 0 0 ; 0 0 1 ; 0 1 1 ];
% table given for applying move on the top row
bottomRowKey = cell(8 , 1);
keyValuePair = [ [ 0 0 0 ] ; [ 0 0 0 ] ];
bottomRowKey(1 , 1) = keyValuePair ;
keyValuePair = [ [ 0 0 1 ] ; [ 0 1 1 ] ];
bottomRowKey(2 , 1) = keyValuePair ;
keyValuePair = [ [ 0 1 0 ] ; [ 1 1 1 ] ];
bottomRowKey(3 , 1) = keyValuePair ;
keyValuePair = [ [ 0 1 1 ] ; [ 1 0 0 ] ];
bottomRowKey(4 , 1) = keyValuePair ;
keyValuePair = [ [ 1 0 0 ] ; [ 1 1 0 ] ];
bottomRowKey(5 , 1) = keyValuePair ;
keyValuePair = [ [ 1 0 1 ] ; [ 1 0 1 ] ];
bottomRowKey(6 , 1) = keyValuePair ;
keyValuePair = [ [ 1 1 0 ] ; [ 0 0 1] ];
bottomRowKey(7 , 1) = keyValuePair ;
keyValuePair = [ [ 1 1 1 ] ; [ 0 1 0 ] ];
bottomRowKey(8 , 1) = keyValuePair ;
solution = [ 0 0 0 ; 0 0 0 ; 0 0 0 ];
% first step
for _row = 1:1:2
for _column = 1:1:3
% updating solution and 'pressing the appropriate buttons'
solution(_row + 1 , _column) = solution(_row + 1 , _column) + 1 * underSolving(_row , _column) ;
underSolving = underSolving + actionResponse{_row + 1 , _column} .* underSolving(_row , _column) ;
end
end
% mod 2
underSolving = rem(underSolving , 2);
solution = rem(solution , 2);
% mod 2
% first step
temp = bottomRowKey{1 , 1};
if(underSolving(3 , :) == temp(1 , :))
% solved
return;
else
% leave
end
% second step
for _reference = 2:1:8
temp = bottomRowKey{_reference , 1};
temp1 = temp(1 , :);
temp2 = temp(2 , :);
if(underSolving(3 , :) == temp1)
% press accordingly in top row
% updating solution and 'pressing the appropriate buttons'
solution(1 , :) = temp2;
underSolving = underSolving + actionResponse{1 , 1} .* temp2(1) ...
+ actionResponse{1 , 2} .* temp2(2) ...
+ actionResponse{1 , 3} .* temp2(3);
else
% leave
end
end
% second step
% third step
for _row = 1:1:2
for _column = 1:1:3
% updating solution and 'pressing the appropriate buttons'
solution(_row + 1 , _column) = solution(_row + 1 , _column) + 1 * underSolving(_row , _column) ;
underSolving = underSolving + actionResponse{_row + 1 , _column} .* underSolving(_row , _column) ;
end
end
% mod 2
underSolving = rem(underSolving , 2);
solution = rem(solution , 2);
% mod 2
% third step
\ No newline at end of file
GROUP Name TRIANGLE ▲
▲▼▲
GROUP No. 36
PERCENTAGE CONTRIBUTION :
Harshavardhan , 150050073 == 100%
Akshith Reddy , 150050074 == 100%
Yashasvi Sriram,150050080 == 100%
ABOUT THIS ASSIGNMENT (REFLECTION ESSAY) Æ :
Coding this we learnt about basics of octave . We got a sense of this interpreted language.
The central functions in our code are ...
fzero , cell , fopen , fprintf , fclose
We came to know sevaral basic arithmetic operators like + - * / .* ./ etc.. for matrices .
There were places where we were stuck for some time ... We learnt a few things from those .
1. As this language is interpreted and not compiled we must write every statement in a single line without
hitting enter (like this line) , To do so we need to put ... at the end
2. To make an empty matrix which contains matrices as its elements , we can use cell function and insert matrices into it later.
Though we were frustrated by the quality of the editor the Octave provides it was fun to code it
REFERENCES AND CITATIONS ♦♦♦ :
Octave Tutorial by Paul Nissenson youtube
about rem - http://in.mathworks.com/help/matlab/ref/rem.html?requestedDomain=www.mathworks.com
about cell - https://www.gnu.org/software/octave/doc/v4.0.1/Indexing-Cell-Arrays.html
about cell - https://www.gnu.org/software/octave/doc/v4.0.0/Creating-Cell-Arrays.html#XREFnum2cell
_/\_ HONOR CODE :
We have honestly done the assignment and have not used any unauthorized sources
Everything written is True ®.
\ No newline at end of file
function solution = backward_solve(initial)
dimOfInitial=size(initial);
noRow = dimOfInitial(1); % found the number of rows of Initial Matrix
noCol = dimOfInitial(2); % found number of coloums of Initial Matrix
dimCoeffM = noRow * noCol; % found the dimension of coeff Matrix
coeffM = zeros(dimCoeffM); % coeff Matrix is declared sort of..
rowNoInCoeffM = 1; % for keeping track of row no of coeff M in the below nested for loops
for _row = 1:noRow
for _col = 1:noCol
coeffM(rowNoInCoeffM , rowNoInCoeffM) = 1;
try
% check place in given matrix
initial(_row , _col + 1);
% putting 1 in that place
coeffM(rowNoInCoeffM , rowNoInCoeffM + 1) = 1;
catch
% out of bound so skip
end
try
% check place in given matrix
initial(_row , _col - 1);
% putting 1 in that place
coeffM(rowNoInCoeffM , rowNoInCoeffM - 1) = 1;
catch
% out of bound so skip
end
try
% check place in given matrix
initial(_row + 1 , _col );
% putting 1 in that place
coeffM(rowNoInCoeffM , rowNoInCoeffM + noCol) = 1;
catch
% out of bound so skip
end
try
% check place in given matrix
initial(_row - 1, _col);
% putting 1 in that place
coeffM(rowNoInCoeffM , rowNoInCoeffM - noCol) = 1;
catch
% out of bound so skip
end
rowNoInCoeffM = rowNoInCoeffM + 1;
end
end
%created the matrix A in Ax=B;
iniState = zeros(dimCoeffM,1);
for pos=1:1:dimCoeffM
z=ceil(pos/noCol);
iniState(pos,1)=initial(z,pos-(z-1)*noCol);
end
%created the matrix B in Ax=B
q=det(coeffM);
randSolution = coeffM\(iniState.*q);
sol = rem(abs(round(randSolution)),2);
% finding the solution x in Ax=B by matrix inversion multiplied by det to amke ensure sol has integer entries
% the operations rem, abs , round assure final entries in matrix are either 0 or 1;
solution=zeros(noRow,noCol);
for iter=1:1:noRow
solution(iter,:) = sol((iter-1)*noCol+1:iter*noCol).';
end;
%writing the solution in matrix form m x n
function solution = backward_solve_3(initial)
actionMatrix = [ 1 , 1 , 0 , 1 , 0 , 0 , 0 , 0 ,0;
1 , 1 , 1 , 0 , 1 , 0 , 0 , 0 ,0;
0 , 1 , 1 , 0 , 0 , 1 , 0 , 0 ,0;
1 , 0 , 0 , 1 , 1 , 0 , 1 , 0 ,0;
0 , 1 , 0 , 1 , 1 , 1 , 0 , 1 ,0;
0 , 0 , 1 , 0 , 1 , 1 , 0 , 0 ,1;
0 , 0 , 0 , 1 , 0 , 0 , 1 , 1 ,0;
0 , 0 , 0 , 0 , 1 , 0 , 1 , 1 ,1;
0 , 0 , 0 , 0 , 0 , 1 , 0 , 1 ,1;
];
%create a 9 x 9 actionMatrix (matrix A in Ax=b)
inState = [ initial(1,1);initial(1,2);initial(1,3);initial(2,1);initial(2,2);initial(2,3);initial(3,1);initial(3,2);initial(3,3); ];
%create a 9 x 1 initial state matrix (matrix B in Ax=b)
p=det(actionMatrix);
ranSolution = actionMatrix\(inState.*p);
solut = rem(abs(round(ranSolution)),2);
% used matrix inversion to find solut
% the operations rem, abs , round assure final entries in matrix are either 0 or 1
solution=[solut(1:3).'; solut(4:6).'; solut(7:9).';];
% final solution in 3 x 3 matrix
\ No newline at end of file
inputFile = fopen('input_outlab_task_A1.txt','r');
format = '%f';
% inputFile is opened
params = fscanf(inputFile,format);
fclose(inputFile);
% input is taken into params and inputFile is closed
x1 = params(1);
y1 = params(2);
d = params(3);
w = params(4);
eta = params(5);
#{
x1,y1 : Position of X-wing co-ordinates
d : Distance
w : Width of smoke screen
eta : RefractiveIndex
#}
% calculating target angle in the below range
rootNearTo = [0, 89.99];
f = @(x) (y1-w)*tand(x) + w*sind(x)/(sqrt(eta^2-(sind(x)^2))) - x1;
targetAngle = fzero(f,rootNearTo);
% finding root using fzero
root = [targetAngle];
% writing it into output file
outputFile = fopen('output_outlab_task_A1.txt','w');
fprintf(outputFile,format,root);
fclose(outputFile);
%closing the output file
%the equation in fsolve is obtained by equating x co-ordinate with the trignometic projections of lazer ray using y and targetAngle
inputFile = fopen('input_outlab_task_A2.txt','r');
format = '%f';
% inputFile is opened
givenData = fscanf(inputFile,format);
fclose(inputFile);
% input is taken into givenData and inputFile is closed
xT = givenData(1);
yT = givenData(2);
xI = givenData(3);
yI = givenData(4);
v2 = givenData(5);
vl = givenData(6);
d = givenData(7);
w = givenData(8);
eta = givenData(9);
t1 = givenData(10);
#{
xT,yT : Initial Position of TIE co-ordinates
xI,yI : Initial Position of X-wing co-ordinates
v2 : relative velocity of X-wing w.r.t TIE
vl : veocity of laser
d : Distance
w : Width of smoke screen
eta : RefractiveIndex
t1 : minimum time interval between two hits
xF,yF : Final Position of X-wing co-ordinates
#}
% calculating target angle in the below range
rootNearTo = [0.001,60];
f = @(x) (yI-w+ v2*( t1 + ( (( v2*t1 + yI - w )*secd(x) + ((eta^2)*w)/(sqrt(eta^2-(sind(x)^2))))/(vl - v2*secd(x)) )) )*tand(x) + w*sind(x)/(sqrt(eta^2-(sind(x)^2))) - xI;
targetAngle = fzero(f,rootNearTo);
xF = xI;
yF = yI + v2*( t1 + ( (( v2*t1 + yI - w )*secd(targetAngle) + ((eta^2)*w)/(sqrt(eta^2-(sind(targetAngle)^2))))/(vl - v2*secd(targetAngle)) ));
stringWrite = [num2str(targetAngle) " " num2str(xF) " " num2str(yF)];
% finding root using fzero
%writing answer into output file
outputFile = fopen('output_outlab_task_A2.txt','w');
Oformat = '%s';
fprintf(outputFile,Oformat, stringWrite);
fclose(outputFile);
%closing the output file
#{
special comment
t_taken=(( v2*t1 + yI - w )*secd(x) + ((eta^2)*w)/(sqrt(eta^2-(sind(x)^2))))/(vrel - v2*secd(x))
this is the time taken by the second bullet to hit since it's release
this is the value used in targetAngle and yF expressions
essentially yF = yI + v2*(t1 + t_taken)
and target angle and yF calculated using this yF expression
#}
GROUP Name TRIANGLE ▲
▲▼▲
GROUP No. 36
PERCENTAGE CONTRIBUTION :
Harshavardhan , 150050073 == 100%
Akshith Reddy , 150050074 == 100%
Yashasvi Sriram,150050080 == 100%
ABOUT THIS ASSIGNMENT (REFLECTION ESSAY) Æ :
This assignment was the first outlab for us . This has a problem about starwars and a famous puzzle called lights out .
Technical Points:
Usage of : operator
Usage of try catch blocks
Formats of input and output
Usage of fzero
Usage of Inverse of Matrix and system of linear equation solutions
Stuck At :
Writing space to a file :: Should take care of format used in fprintf (here used %s - string)
and accordingly convert numbers to strings
Understanding the question and Writing function for fzero in A2 part
REFERENCES AND CITATIONS ♦♦♦ :
http://in.mathworks.com/help/matlab/ref/strcat.html
http://in.mathworks.com/help/matlab/ref/num2str.html
http://stackoverflow.com/questions/8420147/how-to-concat-string-i
http://in.mathworks.com/help/matlab/ref/fprintf.html
http://in.mathworks.com/he+6
3lp/matlab/matlab_prog/formatting-strings.html
_/\_ HONOR CODE :
I pledge on my honour that I have not given or received any unauthorized assistance on this assignment or any previous task.
Everything written is True ®.
<component name="CopyrightManager">
<settings default="" />
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
<OptionsSetting value="true" id="Add" />
<OptionsSetting value="true" id="Remove" />
<OptionsSetting value="true" id="Checkout" />
<OptionsSetting value="true" id="Update" />
<OptionsSetting value="true" id="Status" />
<OptionsSetting value="true" id="Edit" />
<ConfirmationsSetting value="0" id="Add" />
<ConfirmationsSetting value="0" id="Remove" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/readme.iml" filepath="$PROJECT_DIR$/.idea/readme.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="73f3b9a0-2ac6-4617-831f-4008452187aa" name="Default" comment="" />
<ignored path="readme.iws" />
<ignored path=".idea/workspace.xml" />
<ignored path=".idea/dataSources.local.xml" />
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="TRACKING_ENABLED" value="true" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="CreatePatchCommitExecutor">
<option name="PATCH_PATH" value="" />
</component>
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
<component name="FavoritesManager">
<favorites_list name="readme" />
</component>
<component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file leaf-file-name="readme.html" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/readme.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="564">
<caret line="130" column="0" selection-start-line="130" selection-start-column="0" selection-end-line="130" selection-end-column="0" />
<folding>
<element signature="n#style#0;n#a#0;n#h3#0;n#div#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#h3#1;n#div#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#span#0;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#h2#0;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#span#1;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#span#2;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#blockquote#1;n#div#1;n#div#1;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#h4#0;n#div#2;n#div#1;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#2;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
</leaf>
</component>
<component name="FileTemplateManagerImpl">
<option name="RECENT_TEMPLATES">
<list>
<option value="HTML File" />
</list>
</option>
</component>
<component name="IdeDocumentHistory">
<option name="CHANGED_PATHS">
<list>
<option value="$PROJECT_DIR$/readme.html" />
</list>
</option>
</component>
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
<component name="JsGulpfileManager">
<detection-done>true</detection-done>
<sorting>DEFINITION_ORDER</sorting>
</component>
<component name="PhpServers">
<servers />
</component>
<component name="PhpWorkspaceProjectConfiguration" backward_compatibility_performed="true" />
<component name="ProjectFrameBounds">
<option name="x" value="65" />
<option name="y" value="-4" />
<option name="width" value="1855" />
<option name="height" value="1084" />
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
<OptionsSetting value="true" id="Add" />
<OptionsSetting value="true" id="Remove" />
<OptionsSetting value="true" id="Checkout" />
<OptionsSetting value="true" id="Update" />
<OptionsSetting value="true" id="Status" />
<OptionsSetting value="true" id="Edit" />
<ConfirmationsSetting value="0" id="Add" />
<ConfirmationsSetting value="0" id="Remove" />
</component>
<component name="ProjectView">
<navigator currentView="ProjectPane" proportions="" version="1">
<flattenPackages />
<showMembers />
<showModules />
<showLibraryContents />
<hideEmptyPackages />
<abbreviatePackageNames />
<autoscrollToSource />
<autoscrollFromSource />
<sortByType />
<manualOrder />
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="ProjectPane">
<subPane>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="readme" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="readme" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="readme" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
</PATH>
</subPane>
</pane>
<pane id="Scratches" />
<pane id="Scope" />
</panes>
</component>
<component name="PropertiesComponent">
<property name="settings.editor.selected.configurable" value="configurable.group.appearance" />
<property name="settings.editor.splitter.proportion" value="0.2" />
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="DefaultHtmlFileTemplate" value="HTML File" />
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
</component>
<component name="RunManager">
<configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
<method />
</configuration>
<configuration default="true" type="NodeJSConfigurationType" factoryName="Node.js" path-to-node="project" working-dir="">
<method />
</configuration>
<configuration default="true" type="PHPUnitRunConfigurationType" factoryName="PHPUnit">
<TestRunner />
<method />
</configuration>
<configuration default="true" type="PhpBehatConfigurationType" factoryName="Behat">
<BehatRunner />
<method />
</configuration>
<configuration default="true" type="PhpLocalRunConfigurationType" factoryName="PHP Console">
<method />
</configuration>
<configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
<node-interpreter>project</node-interpreter>
<node-options />
<gulpfile />
<tasks />
<arguments />
<envs />
<method />
</configuration>
<configuration default="true" type="js.build_tools.npm" factoryName="npm">
<command value="run-script" />
<scripts />
<node-interpreter value="project" />
<envs />
<method />
</configuration>
<configuration default="true" type="mocha-javascript-test-runner" factoryName="Mocha">
<node-interpreter>project</node-interpreter>
<node-options />
<working-directory />
<pass-parent-env>true</pass-parent-env>
<envs />
<ui />
<extra-mocha-options />
<test-kind>DIRECTORY</test-kind>
<test-directory />
<recursive>false</recursive>
<method />
</configuration>
</component>
<component name="ShelveChangesManager" show_recycled="false">
<option name="remove_strategy" value="false" />
</component>
<component name="SvnConfiguration">
<configuration />
</component>
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="73f3b9a0-2ac6-4617-831f-4008452187aa" name="Default" comment="" />
<created>1469829832578</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1469829832578</updated>
<workItem from="1469829833836" duration="5095000" />
<workItem from="1469835897913" duration="356000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="5451000" />
</component>
<component name="ToolWindowManager">
<frame x="65" y="-4" width="1855" height="1084" extended-state="6" />
<editor active="true" />
<layout>
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24959569" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
</layout>
</component>
<component name="Vcs.Log.UiProperties">
<option name="RECENTLY_FILTERED_USER_GROUPS">
<collection />
</option>
<option name="RECENTLY_FILTERED_BRANCH_GROUPS">
<collection />
</option>
</component>
<component name="VcsContentAnnotationSettings">
<option name="myLimit" value="2678400000" />
</component>
<component name="XDebuggerManager">
<breakpoint-manager />
<watches-manager />
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/readme.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding>
<element signature="n#style#0;n#a#0;n#h3#0;n#div#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#h3#1;n#div#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#span#0;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#h2#0;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#span#1;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#span#2;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#blockquote#1;n#div#1;n#div#1;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#h4#0;n#div#2;n#div#1;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#2;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/readme.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="564">
<caret line="130" column="0" selection-start-line="130" selection-start-column="0" selection-end-line="130" selection-end-column="0" />
<folding>
<element signature="n#style#0;n#a#0;n#h3#0;n#div#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#h3#1;n#div#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#span#0;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#h2#0;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#span#1;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#span#2;n#div#2;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#blockquote#1;n#div#1;n#div#1;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#h4#0;n#div#2;n#div#1;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#2;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
</component>
</project>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>readme</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Latest compiled JavaScript -->
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<link rel="shortcut icon" href="Images/logo.png">
<script>
$(document).ready(function(){
});
</script>
<style>
.names {
font-size: larger;
text-decoration: blink;
}
.citations{
font-size: xx-large;
padding-left: 50px;
}
blockquote{
opacity: 0.8;
background: #337ab7;
color: white;
}
blockquote:hover{
opacity: 1;
}
#reflection{
color: white;
}
</style>
</head>
<body>
<div class="container-fluid">
<div id="head" class="row jumbotron">
<div class="col-xs-4">
<h1>The Triangle</h1>
<h3><a style="margin-left: 100px;" href="https://www.reference.com/math/triangles-strong-7ae25bf47214a972">The
Strongest structure ... </a></h3>
<h3 style="margin-left: 100px;">is made by three singularities</h3>
</div>
<div class="col-lg-6">
<img src="Images/200_s.gif" alt="▲" >
</div>
<div class="col-xs-2">
<span class="names" style="margin-left: 50px">Yashasvi Sriram</span>
<h2 id="groupNo" style="margin-left: 90px">36</h2>
<span class="names" style="margin-left: -10px">Harshavardhan</span>
<span class="names" style="margin-left: 50px">Akshith</span>
</div>
</div>
<div id="middle" class="row">
<div class="citations col-lg-3">
<blockquote>Citation & Links</blockquote>
<hr>
<!--INSERT-->
<a href="#"><span class="glyphicon-link"></span> link</a><br>
<a href="#"><span class="glyphicon-link"></span> link</a><br>
<a href="#"><span class="glyphicon-link"></span> link</a><br>
<a href="#"><span class="glyphicon-link"></span> link</a><br>
<hr>
<h4>
<!--INSERT-->
Also We took reference from this books
</h4>
<hr>
</div>
<div class="col-lg-6">
<blockquote>Contributions</blockquote>
<hr>
<!--INSERT-->
<table class="table table-hover">
<thead>
<tr>
<th>Name</th>
<th>Roll No.</th>
<th>Contribution (%)</th>
</tr>
</thead>
<tbody>
<tr>
<td>Yashasvi Sriram</td>
<td>150050080</td>
<td>100</td>
</tr>
<tr>
<td>Harshavardhan</td>
<td>150050073</td>
<td>100</td>
</tr>
<tr>
<td>Akshith</td>
<td>150050074</td>
<td>100</td>
</tr>
</tbody>
</table>
<blockquote style="margin-top: 50px;" data-toggle="modal" data-target="#myModal"><a id="reflection" href="#">Reflection on this Assignment</a></blockquote>
<p data-toggle="modal" data-target="#myModal" >We had fun while coding this , for more details tap on </p>
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h4 class="modal-title">What we learned</h4>
</div>
<div class="modal-body">
<p>
<!--INSERT-->
Insert Here
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-3">
<blockquote>Honour Code</blockquote>
<hr>
<h4 class="text-info" style="padding: 20px;">I pledge on my honour that I have not given or received
any unauthorized assistance
on this assignment or any previous task.</h4>
</div>
</div>
<div id="bottom" class="row" style="font-size: large;margin-top: 100px">
<div class="col-xs-8">
</div>
<div class="col-lg-4">
Everything written is True ®.
</div>
</div>
</div>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment