blob_id
stringlengths 40
40
| directory_id
stringlengths 40
40
| path
stringlengths 4
214
| content_id
stringlengths 40
40
| detected_licenses
listlengths 0
50
| license_type
stringclasses 2
values | repo_name
stringlengths 6
115
| snapshot_id
stringlengths 40
40
| revision_id
stringlengths 40
40
| branch_name
stringclasses 21
values | visit_date
timestamp[us] | revision_date
timestamp[us] | committer_date
timestamp[us] | github_id
int64 141k
586M
⌀ | star_events_count
int64 0
30.4k
| fork_events_count
int64 0
9.67k
| gha_license_id
stringclasses 8
values | gha_event_created_at
timestamp[us] | gha_created_at
timestamp[us] | gha_language
stringclasses 50
values | src_encoding
stringclasses 23
values | language
stringclasses 1
value | is_vendor
bool 1
class | is_generated
bool 1
class | length_bytes
int64 5
10.4M
| extension
stringclasses 29
values | filename
stringlengths 2
96
| content
stringlengths 5
10.4M
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7c44b6e4e64b7cbf59f150cf7d4225d28acb2eac
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3647/CH6/EX6.4/Ex6_4.sce
|
34b0401d78d1ca21e09dd454de676cd693a23d2f
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 536
|
sce
|
Ex6_4.sce
|
//Solutions to Problems In applied mechanics
//A N Gobby
clear all;
clc
//initialisation of variables
g=2//in
t=0.002//in
l=7500//lbf
w=11000//lbf
p=1/4//in
//CALCULATIONS
W=1/2*l*t//in lbf
P=t*(w/l)//in
S=w/p//lbf/in^2
E=S*g/P//lbf/in^2
R=(1/2)*w*P//in lbf
//RESULTS
printf('The elongation at the elastic limit=% f in',P)
printf('The stress at the elastic limit=% f lbf/in^2',S)
printf('The modulus of elasticity E of the material is=% f lbf/in^2',E)
printf('The resilience and modulus of elasticity=% f in lbf',R)
|
c4fb57f30b6cdecc33d788d6250ebbdfce9bc35b
|
b9602336613b26d0b9c22a09d219c0ed8e158b4e
|
/Examples/Examples_MatFunc/prod.sce
|
228ba9666b5e7646517d949afbcd1c4bc58664d9
|
[
"BSD-2-Clause"
] |
permissive
|
CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox
|
d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd
|
70c97cda4e0dd54df0a638e9b99f380c09ffa37e
|
refs/heads/master
| 2022-12-11T01:28:28.742041
| 2020-08-26T12:24:27
| 2020-08-26T12:24:27
| 290,481,428
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 183
|
sce
|
prod.sce
|
// Function Name: prod
// Return the product of elements in each column
// Calculating the prod
inputMat = [ 1, 2, 3; 4, 5, 6; 7, 8, 10;]
result = armaMatFunc("prod",inputMat)
|
8890f1150fda4e69cffe93efde4742f16eac6ca7
|
06a62d768e69fd9dda11b30011c252807e301813
|
/lab/pgm1.sci
|
fb13f2b1559fa1a91dd7ea23e09e0ecdec0888a7
|
[] |
no_license
|
vikram-niit/matlab
|
36ce3d9539629128251eab060164ce81c03aa690
|
da8aeb4d727c47474d37676650664bd028d7e41d
|
refs/heads/master
| 2020-03-18T13:40:37.068765
| 2018-05-25T03:51:55
| 2018-05-25T03:51:55
| 134,800,217
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 555
|
sci
|
pgm1.sci
|
function pgm1(p0, TOL, N0)
//p0 = 0;
//TOL = 0.0000000001;
//N0=20;
i = 1;
while i<=N0
p = cos(p0);
//compute |p-p0|
error = p-p0;
//if(error<0)
// error = -1*error;
//end
// disp(['iteration step = ', num2str(i), ' pvalue = ', num2str(p0), ' g(p) = ', num2str(p), ' error = ', num2str(error)]);
if(abs(error) < TOL)
disp(p)
return
end
i = i+1;
p0 = p;
end
//disp(['The method failed after N0 iterations, N0=', num2str(N0)])
|
3f2bb8b9e5831fce4b9f5a1e0a16532979843c60
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1076/CH8/EX8.9/8_9.sce
|
bf30cec772c29f154cc23c2cb92f7308b120f11c
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 606
|
sce
|
8_9.sce
|
clear;
clc;
T2=65;
T1=20;
n=3;
restivity=.02826;
A=400;
R=restivity/A;
Eff_SnL=2/100;
Rdc20= (1+Eff_SnL)*(1+Eff_SnL)*R;
a=0.004
Rdc65=Rdc20 * (1+(a*(T2-T1)));
Eff_Skin_Prox=3.5/100;
Rac= (1+Eff_Skin_Prox)*(1+Eff_Skin_Prox)*Rdc65;
ti_core=2.7;
ti_belt=1.2;
tins=ti_belt+ti_core;
r=13;
ratio_tins_dia=tins/(2*r);
Gi3=.65;
Gi=Gi3/3;
R1=35.2e-3;
R2=40e-3;
h=.75
g1=5;
g2=1.5;
Gp=g1*log(R2/R1)/(2*%pi);
Gs=g2*log((2*h)/R2)/(2*%pi);
sheathlosses=.1;
I=((T2-T1)/(n* Rac * (Gi + ((1+sheathlosses)*(Gp+Gs)))))^.5
mprintf("Current Rating =%d Amperes",I);
|
d216416f5ddd6f31aad846d8d979783cf9f4a060
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1919/CH4/EX4.8/Ex4_8.sce
|
ee4634daa2a6dfb416402f07c610e3e86c3ce6d2
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 784
|
sce
|
Ex4_8.sce
|
// Theory and Problems of Thermodynamics
// Chapter 4
// Energy Analysis of Process
// Example 8
clear ;clc;
//Given data
T1 = 200 // entering Temperature in C
P1 = 0.5 // Entering steam Pressure in MPa
P2 = 0.1 // leaving steam Pressure in MPa
vel_1 = 1 // inlet velocity in m/s
m_f = 1 // mass flow rate
Q = -10 // Energy lost as heat in kJ/s
// from superheated steam tables at P = 0.5 MPa and T = 200
h1 = 2855.4 // units kJ/kg
// from saturated steam tables at P = 0.1 MPa
h2 = 2675.5 // units kJ/kg
// Calculation for Exit velocity of gas
V2 = sqrt(2*(Q+h1-h2)* 1e3 +1)
// Output Results
mprintf('Exit velocity of steam = %6.2f m/s',V2)
|
fab814cc460836d1b98e5f43508626c59ab65856
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2873/CH10/EX10.3/Ex10_3.sce
|
0531ca041810d0ab6b0fee19ee8afbf9e0669df8
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 661
|
sce
|
Ex10_3.sce
|
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 10 Example 3")
n=0.9;//mechanical efficiency of engine
BP=38;//brake power in KW
disp("indicated power(IP)=brake power/mechanical efficiency=BP/n in KW")
IP=BP/n
disp("frictional power loss(FP)=IP-BP in KW")
FP=IP-BP
disp("brake power at quater load(BPq)=0.25*BP in KW")
BPq=0.25*BP
disp("mechanical efficiency(n1)=BPq/IP")
IP=BPq+FP;
n1=BPq/IP
disp("in percentage")
n1=n1*100
disp("so indicated power=42.22 KW")
disp("frictional power loss=4.22 KW")
disp("mechanical efficiency=69.24%")
|
29309a924193a1b593c0cebe058e612c8d5cf820
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1223/CH14/EX14.5/Ex14_5.sce
|
e511c7aed2f9c7f935b41f520cf3eb0fdbc0b79b
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 178
|
sce
|
Ex14_5.sce
|
clear;
clc;
//Example 14.5
Ao=2*10^5;
fPD=5;
fT=fPD*Ao;
printf('\nunity gain bandwidth=%.e Hz\n',fT)
f3dB=20*10^3;
Acl=fT/f3dB;
printf('\nclosed loop gain=%.2f\n',Acl)
|
daa95559b100880b8703b175eb9abcb4461e6e32
|
18bf68cdf766092ccdcba8d231e8140063833a5a
|
/RampCT.sce
|
46db76e96f554b67d98ec6720f61ae9d0c796fcb
|
[] |
no_license
|
goodengineer/Scilab-Exercises
|
b51cc9a4c938f0289a32875d2d21eb9061d0e68e
|
3c268211fe48e7e4d0002e44757ea8b50cda10f9
|
refs/heads/master
| 2022-12-24T23:30:12.875423
| 2020-10-05T06:27:20
| 2020-10-05T06:27:20
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 692
|
sce
|
RampCT.sce
|
// program to plot the unit step function for the given advance / delay (Continuous Signal)
// Exercise 3
clear;
function y = ramp(t,a_d,m) // m is the slope of the ramp & a_d(+ve : advance / -ve : delay)
N = length(t); // calculates length of the time vector
y = zeros(1,N); // assign zeros to the vector y of length equal to length of time vector
for i =1:N
if t(i) >= -a_d
y(i) = m*(t(i) + a_d);
else
end
end
endfunction
clf;
dt = 0.01;
t = -5 : dt : 5;
ad = 1;
amp = 3;
y1 = ramp(t,ad,amp);
plot(t,y1,'m');
xlabel("t","fontsize",4);
ylabel("y1","fontsize",4);
title("Ramp Function (For Continuous Signal)","fontsize",4)
|
b7bcc63e73c5a870672df56c4f27ed6139c8b0d0
|
13c3ed7bef4d80dabd836219bbf4396f07cb934a
|
/dcmotor_demo2.sci
|
5d1505353f218c7c9ed285346b4b04ad824cad6e
|
[] |
no_license
|
Mushirahmed/scilab_workspace
|
99f489a110a5e295ce9fca9991122d14840018d3
|
f58b91b87bb0357fff82dcb97b05541e7e976eca
|
refs/heads/master
| 2021-01-10T15:48:40.576771
| 2016-02-10T10:32:46
| 2016-02-10T10:32:46
| 43,348,489
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 482
|
sci
|
dcmotor_demo2.sci
|
function dcmotor_demo2()
cmd_dcmotor_setup(1,3,1,9,10); //Setup DC motor of type 3 (L293D) ,motor 1, pin no. 9 and pin np. 10
for x = 1:4
cmd_dcmotor_run(1,1,100); //Motor 1 runs at PWM 100
sleep(3000); //wait for 3 seconds
cmd_dcmotor_run(1,1,0); //Halt the motor
sleep(2000); //wait for 2 seconds
cmd_dcmotor_run(1,1,-100); //Run it at PWM 100 in reverse direction
end
endfunction
|
d44dcbe0c446bc877cdcac449957dddd22eb65b3
|
852a887149cf08573ae15977b6bddfd7e4ad6b90
|
/projects/00/B2u.tst
|
87165a570b65c1ff66bca070c2a5551d7f749a4f
|
[] |
no_license
|
SamuelWiet/ElementsOfComputingSystemsProjects
|
0ecd3cc51a6495ed7fe145100d091d8ed9a1c502
|
06732828a214838934569cb5dd57d1e0b85220e5
|
refs/heads/master
| 2022-11-12T03:40:35.880347
| 2012-09-05T11:44:08
| 2012-09-05T11:44:08
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 181
|
tst
|
B2u.tst
|
// File name: projects/00/B2u.tst
load B2u.hdl,
output-file B2u.out,
compare-to B2u.cmp,
output-list in%B1.1.1 a%B1.1.1 b%B1.1.1;
set in 0,
eval,
output;
set in 1,
eval,
output;
|
c0b6b16c1315509046d879b4a894d892d83e96dc
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2642/CH3/EX3.12/Ex3_12.sce
|
6d743ace0cb2eff6218bce247838cc4acf544faf
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,708
|
sce
|
Ex3_12.sce
|
// FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 3 : TRANSFORMER AND PER UNIT SYSTEM
// Example : 3.12
clc;clear; // clears the console and command history
// Given data
kVA = 25 // kVA ratings of transformer
V1 = 2200 // primary side voltage in V
V2 = 220 // secondary side voltage in V
V_1 = 40 // voltage at high voltage side in V
I_1 = 5 // current at high voltage side in A
P = 150 // power at high voltage side in W
// caclulations
Z_01 = V_1/I_1 // reactance to primary sidec in ohm
R_01 = P/I_1^2 // resistance to primary side in ohm
phi = acosd(R_01/Z_01) // power factor angle
X_01 = Z_01*sind(phi) // impedance to primary side in ohm
a = V1/V2 // turn ratio
Z_02 = Z_01/a^2 // reactance to secondary side in ohm
R_02 = R_01/a^2 // resistance to secondary side in ohm
X_02 = X_01/a^2 // impedance to secondary side in ohm
I_2 = kVA*10^3/V2 // secondary side current in A
E_2 = V2+I_2*Z_02 // secondary induced voltage in V
VR = ((E_2-V2)/V2)*100 // voltage regulation
// display the result
disp("Example 3.12 solution");
printf(" \n Resistance to primary side \n Z_01 = %.2f ohm \n", Z_01);
printf(" \n Resistance to primary side \n R_01 = %.1f ohm \n", R_01);
printf(" \n Impedance to primary side \n X_01 = %.2f ohm \n", X_01);
printf(" \n Reactance to secondary side \n Z_02 = %.2f ohm \n", Z_02);
printf(" \n Resistance to secondary side \n R_02 = %.2f ohm \n", R_02);
printf(" \n Impedance to secondary side \n X_02 = %.3f ohm \n", X_02);
printf(" \n oltage regulation \n VR = %.0f percent \n", VR);
|
fa6166eeef81517691af7b96bb412405ae48ece1
|
786995be3311f963d1005b87d1f1f84548cce97e
|
/Raiz.sce
|
9dffbcd4c693d055bb406c34f859ca8a62d40c86
|
[] |
no_license
|
paez74/NumericMethods
|
914473a1aac1fee26c11f45b222c6250c15d90ad
|
d051a926931996d338d3df7b035e494a45c1d3e0
|
refs/heads/master
| 2020-05-18T18:34:08.886882
| 2019-05-06T14:07:56
| 2019-05-06T14:07:56
| 184,589,853
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 11,727
|
sce
|
Raiz.sce
|
// This GUI file is generated by guibuilder version 4.2.1
//
// Este programa aproxima el valor de una raiz de la funcion dada por el usuario
// El programa debe pedir "xL" , "xU" ,"Maximo Error Acumulado" y " "Numero de Iteraciones Maximo" , "Funcion "
// Gustavo Paez Villalobos A01039751
// Gabriel Santisteban A01194472
// Miguel Gonzalez A01566455
// 18/01/2018 version 1.0
//////////////////////////////////////////////////////
f=figure('figure_position',[390,24],'figure_size',[640,480],'auto_resize','on','background',[33],'figure_name','Graphic window number %d','dockable','off','infobar_visible','off','toolbar_visible','off','menubar_visible','off','default_axes','on','visible','off');
//////////
handles.dummy = 0;
handles.Encabezado=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.1987179,0.9,0.5032051,0.0954545],'Relief','default','SliderStep',[0.01,0.1],'String','METODO RAICES','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','Encabezado','Callback','')
handles.XL=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.1009615,0.7045455,0.0630128,0.0977273],'Relief','default','SliderStep',[0.01,0.1],'String','XL','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','XL','Callback','')
handles.XU=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.099359,0.5681818,0.0630128,0.0977273],'Relief','default','SliderStep',[0.01,0.1],'String','XU','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','XU','Callback','')
handles.QXl=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.2676282,0.7045455,0.1682692,0.0977273],'Relief','default','SliderStep',[0.01,0.1],'String','.','Style','edit','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','QXl','Callback','QXl_callback(handles)')
handles.QXU=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.2676282,0.5681818,0.1682692,0.0977273],'Relief','default','SliderStep',[0.01,0.1],'String','.','Style','edit','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','QXU','Callback','QXU_callback(handles)')
handles.#deTerminos=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.5,0.7045455,0.1346154,0.0977273],'Relief','default','SliderStep',[0.01,0.1],'String','# de terminos','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','#deTerminos','Callback','')
handles.Error=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.5,0.5681818,0.1346154,0.0977273],'Relief','default','SliderStep',[0.01,0.1],'String','Error','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','Error','Callback','Error_callback(handles)')
handles.Q#deTerminos=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.6955128,0.7045455,0.1682692,0.0977273],'Relief','default','SliderStep',[0.01,0.1],'String','.','Style','edit','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','Q#deTerminos','Callback','Q#deTerminos_callback(handles)')
handles.QError=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.6987179,0.5681818,0.1682692,0.0977273],'Relief','default','SliderStep',[0.01,0.1],'String','.','Style','edit','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','QError','Callback','')
handles.Y =uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.1009615,0.4477273,0.2980769,0.1],'Relief','default','SliderStep',[0.01,0.1],'String','Y =(utiliza x) ','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','Y','Callback','')
handles.QRespuesta=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.2676282,0.4477273,0.2980769,0.1],'Relief','default','SliderStep',[0.01,0.1],'String','x','Style','edit','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','QRespuesta','Callback','QRespuesta_callback(handles)')
handles.CalcularR=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.3028846,0.3077273,0.2980769,0.1],'Relief','default','SliderStep',[0.01,0.1],'String','Calcular','Style','pushbutton','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','CalcularR','Callback','CalcularR_callback(handles)')
handles.Answer =uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.0209615,0.1077273,0.9280769,0.16],'Relief','default','SliderStep',[0.01,0.1],'String','Ans:','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','','Callback','')
f.visible = "on";
//////////
// Callbacks are defined as below. Please do not delete the comments as it will be used in coming version
//////////
function QXl_callback(handles)
//Write your callback for QXl here
endfunction
function QXU_callback(handles)
//Write your callback for QXU here
endfunction
function Error_callback(handles)
//Write your callback for Error here
endfunction
function Q#deTerminos_callback(handles)
//Write your callback for Q#deTerminos here
endfunction
function QRespuesta_callback(handles)
//Write your callback for Q#deTerminos here
endfunction
function dY = F(dX)
dY = 1 - exp( -dX)
endfunction
// Esta funcion sirve para calcular leer las variables y desplegar la respuesta
//
// Parametros:
//....handles tiene toda la informacion del gui
// Regresa:
// handles.Answer.string despliega la respuesta
/////////////////////////////////////////////////////
function CalcularR_callback(handles)
xL = strtod(handles.QXl.string )
xU = strtod(handles.QXU.string)
Term = strtod(handles.Q#deTerminos.string)
Error = strtod(handles.QError.string)
if(xL > xU) handles.Answer.string = "Xl debe ser menor a Xu"
else if(Term < 0 || Error < 0) handles.Answer.string ="Tiene que ser un numero positivo de iteraciones y de error absoluto"
else
sfunction = string(handles.QRespuesta.string)
deff('dY = F(x)','dY='+ string(sfunction))
sAns = CalculaRaiz(xL,xU,Error,Term)
handles.Answer.string = sAns // escribo la respuesta en el gui
end
end
endfunction
// Esta funcion sirve para calcular el booleano que dira en que columna estan los numeros negativos
// dF simboliza cuantas iteraciones se deben de correr
//
// Parametros:
// dXL el limite inferior
// dXH el limite superior
// Regresa:
// dBool si es TRUE los negativos van del lado de dXL , si es falso los negativos van del lado de dXH
/////////////////////////////////////////////////////
function dBool = evaluarfunc(dXl,dXu)
dBool = %F
fxlEva= F(dXl)
fxuEva= F(dXu)
if(fxlEva<0) then dBool = %T
end
endfunction
// Esta funcion sirve para aproximar la raiz de una formula
//
//
//
// Funcion que calcula el factorial
//
// Parametros:
// dXL el limite inferior
// dXH el limite superior
// dEa el maximo Error Acumulado
// iIterator el maximo numero de iteraciones
// Regresa:
// dXr la aproximacion a la respuesta
function dXr = CalculaRaiz(dXL,dXU,dEa,iIterator)
dBool = evaluarfunc(dXL,dXU);
dEALocal = 100; // inicializo el error en 100 para que pase el primer while
iIteratorLocal = 0; // comienza en 0
dXrEvaluado = 100; // la funcion lo mas alejada del 0 posible para pasar el primer while
dXl = dXL
dXu = dXU
dXr = dXU;
dXrViejo = dXr;
while(dEALocal>dEa && iIteratorLocal < iIterator && dXrViejo ~= 0) // mientras no se cumpla ninguno de los requerimientos seguira corriendo
dXrEvaluado = F(dXr) // evaluo con dXr
if(dXrEvaluado < 0) then // en caso de que sea negativo
if(dBool == %T) then // si el booleano es true XL es la columna negativa
dXl = dXr;
else dXu = dXr;
end
else // en caso de que sea positivo
if(dBool == %T) then
dXu = dXr // si el booleano es true Xh es la columna positiva
else dXl = dXr
end
end
dXr = (dXl + dXu)/2; // calculo dXr
if(iIteratorLocal > 0) then dEALocal = (abs(dXr-dXrViejo) / dXr)*100 end // si ya paso la primera iteracion comienzo a calcular el Error Acumulado
iIteratorLocal = iIteratorLocal+1
dXrViejo = dXr
end
if(dXrEvaluado == 0) then dXr = ("La raiz encontrada es exacta"+ " : " + string(dXr)) +ascii(10) // en caso que la raiz evaluada fuera 0
elseif(iIteratorLocal == iIterator) then dXr = ("La raiz encontrada fue aproximada con el numero de iteraciones dado" +" : " +string(dXr)) +ascii(10) // iteracion fuera mayor
elseif(dEALocal < dEa) then dXr = ("La Raiz encontrada fue aproximada con el error absoluto porcentual" + " : " + string(dXr)) +ascii(10) end // caso que el Error Acumulado fuera menor al Error deseado
dXr = dXr + ascii(10) + ( " Error Acumulado : " + string(dEALocal) + "%")
endfunction
|
58fd26df3914320974f43bff39b30e85dba9d471
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3428/CH23/EX14.23.15/Ex14_23_15.sce
|
222d348aeb72bb134eaeb3cb80c34227dcc7592d
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 211
|
sce
|
Ex14_23_15.sce
|
//Section-14,Example-1,Page no.-PC.111
//To estimate fraction of Morphine protonated.
clc;
K_b=1.6*10^-6
B=0.010 //mol/L
F_pro=sqrt(K_b/B)
disp(F_pro,'Fraction of Morphine protonated')
|
1203cbe1b0ab98938d4d0c65026d5823c1f62537
|
8217f7986187902617ad1bf89cb789618a90dd0a
|
/browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/addf.man.tst
|
9ea48051146e225aba9fa1bc0ea8b84d349cc78f
|
[
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] |
permissive
|
clg55/Scilab-Workbench
|
4ebc01d2daea5026ad07fbfc53e16d4b29179502
|
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
|
refs/heads/master
| 2023-05-31T04:06:22.931111
| 2022-09-13T14:41:51
| 2022-09-13T14:41:51
| 258,270,193
| 0
| 1
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 66
|
tst
|
addf.man.tst
|
clear;lines(0);
addf('0','1')
addf('1','a')
addf('1','2')
'a'+'b'
|
487d4995117a21c6a63c094771683c1377bcdc5b
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1223/CH1/EX1.4/Ex1_4.sce
|
05f6395430f75a3357f756001c6d21ac0102499a
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 688
|
sce
|
Ex1_4.sce
|
clear;
clc;
//Example 1.4
T=300;//(°K)Given Temperature
Na=10^16;//(cm^-3)Acceptor concentration in p region
Nd=10^15;//(cm^-3)Donor concentration in n region
n_i=1.5*10^10;//(cm^-3)intrinsic carrier concentration
C_jo=0.5;//(pF)junction capacitance at zero applied voltage
V_T=0.026;//(Volt)terminal voltage
//built-in potential
V_bi=V_T*log(Na*Nd/(n_i)^2);
disp(V_bi,"the built-in potential(V)")
//the junction capacitance for
V_R=1;//(V)reverse bias voltage
Cj=C_jo*(1+V_R/V_bi)^(-1/2);
printf('\nthe junction capacitance for V_R=1V=%f pF\n',Cj)
V_R=5;//(V)reverse bias voltage
Cj=C_jo*(1+V_R/V_bi)^(-1/2);
printf('\nthe junction capacitance for V_R=5V =%f pF',Cj)
|
e9d3a1a46f78bb48ccb147ae47d75ebd3d6580b6
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/23/CH7/EX7.10/Example_7_10.sce
|
b2f87ef3b12d008f0fa97255d37bbba75d40de4e
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 877
|
sce
|
Example_7_10.sce
|
clear;
clc;
//To find Approx Value
function[A]=approx(V,n)
A=round(V*10^n)/10^n;//V-Value n-To what place
funcprot(0)
endfunction
//Example 7.10
//Caption : Program to Find Work,Temperature Change and Entropy Change in Pump
//Given Values
T1=318.15;//[K]
P1=10;//[KPa]
P2=8600;//[KPa]
eta=0.75;//Efficiency
//Properties of saturated liquid water @ 318.15K
V=1010;//[cm^3/Kg]
V=1010*10^-6;//[m^3/Kg]
Beta=425*10^-6;//[K^-1]
Cp=4.178;//[KJ/Kg/K]
//From Eqn(7.24)
Ws=V*(P2-P1);//[KPa m^3/Kg]
del_H=Ws;
//From Eqn(7.17)
del_H=del_H/eta;
Ws=approx(del_H,2);
//From Eqn(7.25)
del_T=approx((del_H-(V*(1-(Beta*T1))*(P2-P1)))/Cp,2);
//From Eqn(7.26)
T2=T1+del_T;
del_S=approx(Cp*log(T2/T1)-(Beta*V*(P2-P1)),3);
disp('KJ/Kg',Ws,'Work Done')
disp('K',del_T,'Change in Temperature')
disp('KJ/Kg/K',del_S,'Change in Entropy')
//End
|
950a88f4efd253faf5f8cd3e28835e46c0009c87
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/964/CH25/EX25.14/25_14.sce
|
66b236d3700fac0a0ba733c41dc6c34a4d5608d7
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 171
|
sce
|
25_14.sce
|
clc;
clear;
function yp=f(x,y)
yp=10*exp(-(x-2)^2/(2*(0.075^2)))-0.6*y
endfunction
x=0:0.1:4
y0=0.5;
sol=ode(y0,0,x,f);
plot(x,sol)
xtitle("y vs x","x","y")
|
77501441fa3a0a55b301ac4278a7aab2a4897ca5
|
491dfade9270403d35c94491116eb08a73209eab
|
/Quantification/Esperance_Expo.sci
|
943db1b4d0e04d9d568a68588b2ad50a7274c5e4
|
[] |
no_license
|
skad94/Quantification
|
9cfcbd490af4f718bbecd414b66fc8de48f0b78d
|
011f56ba3549d4d96c98090536d4109163c4525c
|
refs/heads/master
| 2021-01-21T13:17:30.662165
| 2016-04-21T13:08:12
| 2016-04-21T13:08:12
| 52,862,728
| 1
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 8,152
|
sci
|
Esperance_Expo.sci
|
function [res] = Esperance_Expo(intensite,sup,inf)
intensite = abs(intensite);
inf = max(inf,0);
sup = max(sup,0);
res = inf.*exp(-1*intensite*inf) + (exp(-1*intensite*inf))/(intensite) - sup.*exp(-1*intensite*sup) + (exp(-1*intensite*sup))/(intensite);
endfunction
function [res] = PHI_EXPO(intensite,x)
//[P,Q]=cdfgam("PQ",x,Shape,Rate)
p = length(x);
UN = ones(1,p);
res = cdfgam("PQ",x,UN,(1/intensite)*UN);
endfunction
function [res] = Esperance_Gauss(sup,inf)
res = (exp(-0.5.*inf.^2) - exp(-0.5.*sup.^2)) /(sqrt(%pi * 2));
endfunction
function [res] = PHI(x)// fonction de repartition
res = cdfnor("PQ",x,zeros(x),ones(x));
endfunction
function [res] = CallBS(grill,poid,S0,K,r,v,t)// fonction de repartition
tmp = S0*exp((r-v*v/2)*t + (v*sqrt(t))*grill) - K;
tmp = max(tmp,zeros(grill));
//disp(tmp)
res = tmp*poid';
res = exp(-r*t)*res;
endfunction
function [res] = PutBS(grill,poid,S0,K,r,v,t)
tmp = K - S0*exp((r-v*v/2)*t + (v*sqrt(t))*grill);
tmp = max(tmp,zeros(grill));
//disp(tmp)
res = tmp*poid';
res = exp(-r*t)*res;
endfunction
function [Grilles,Poids] = Lloyd_1d(nb_quant,init,nb_iter)
compteur = 0;
Grilles = init;
Poids = ones(1,nb_quant);
for compteur =1:nb_iter // || les centres ne bougent plus*/)
//disp('iteration numero '+string(compteur))
tmp_memoire = ( cat(2,Grilles,%inf) + cat(2,-%inf,Grilles) );
tmp_memoire = 0.5*tmp_memoire;// -inf;demi somme;+inf
tmp_memoirem = tmp_memoire(1:nb_quant);//x+1/2
tmp_memoirep = tmp_memoire(2:nb_quant+1);//x-1/2
espe = Esperance_Gauss(tmp_memoirep,tmp_memoirem);
Poids = PHI(tmp_memoirep) - PHI(tmp_memoirem);
Grilles = espe ./Poids;
end
Grilles = Grilles';
Poids = Poids';
plot(Grilles,Poids)
endfunction
function [res] = Distorsion(Grille,xpp,xmm)
K = length(xmm);
A = xmm.* exp(-xmm.*xmm/2) - xpp.* exp(-xpp.*xpp/2) + PHI(xpp) - PHI (xmm);
A(1) = - xpp(1)*exp(-xpp(1)*xpp(1)/2) + PHI(xpp(1));
A(K) = xmm(K)*exp(-xmm(K)*xmm(K)/2) + 1 - PHI(xmm(K));
//disp(A, "A")
B = 2*Grille.*(exp(-xpp.*xpp/2) - exp(-xmm.*xmm/2));
// disp(B , "B")
C = Grille.*Grille.*(PHI(xpp)-PHI(xmm))
// disp(C , "C")
tmp = (1/sqrt(2*%pi)) * (A + B + C);
res = sum(tmp);
endfunction
function [Grilles,Poids] = Lloyd_expo_1d(nb_quant,init,nb_iter,intensite)
compteur = 0;
Grilles = zeros(1,nb_quant);
Poids = zeros(1,nb_quant);
disp("debut dla boucle")
while compteur <= nb_iter // || les centres ne bougent plus*/)
//disp(compteur ,'iteration numero ')
tmp_memoire = 0.5*( cat(2,init,%inf) + cat(2,-%inf,init) );
tmp_memoirem = tmp_memoire(1:nb_quant);
tmp_memoirep = tmp_memoire(2:nb_quant+1);
disp(" tmp memore ")
espe = Esperance_Expo(intensite,tmp_memoirep,tmp_memoirem);
disp(" espe ")
Poids = diff(PHI_EXPO(intensite,tmp_memoire));
disp(" phi ")
// disp(length(Poids))
// disp(length(espe))
Grilles = espe ./Poids;
tmp_memoire = Grilles;
compteur = compteur + 1;
end
endfunction
function [Grilles,Poids] = Lloyd2BS(nb_quant,nb_step,nb_iter,Mu,Sigma,x0,init,T)
dt = T/nb_step;
tmp = ones(1,nb_quant);
Grilles = x0*ones(nb_step,nb_quant);
Poids = ones(nb_step,nb_quant);
for t=2:nb_step
tmp_memoire = 0.5*( cat(2,Grilles(t-1,:),%inf) + cat(2,-%inf,Grilles(t-1,:)) );
tmp_plus = tmp_memoire(1:nb_quant);
tmp_moins = tmp_memoire(2:nb_quant+1);
Xpp = (tmp_plus - M_k(Grilles(t-1,:),Mu,dt))./(Sigma*sqrt(dt));
Xmm = (tmp_moins - M_k(Grilles(t-1,:),Mu,dt))./(Sigma*sqrt(dt));
taille = PHI(Xpp) - PHI(Xmm);
Poids(t,:) = Poids(t,:)*taille;
//Grilles(1,1) = x0; // INITIALISATION seule une seule valeur est possible
// Poids(1,1) = 1; // Seul le poids de X0 est non nul et on garde bein la somme de la ligne vaut 1
[tmp,Poids(t,:)] = Lloyd_1d(nb_quant,init,nb_iter);
Grilles(t,:) = M_k(Grilles(t-1,:),Mu,dt) + S_k(Grilles(t-1,:),Sigma,dt).*tmp;
t = t+1;
//init = gsort(rand(1,nb_quant,"normal"),'g','i');
//init = Sigma(1)*sqrt(dt)*init + x0;
// disp('grill')
// disp(Grilles)
// disp('poid')
// disp(Poids)
// disp(' ')
// if t== 2 then
// plot(Grilles(t,:)',Poids(t,:)',"<")
// end
// plot(Grilles(t,:)',Poids(t,:)')
// if t== nb_step then
// plot(Grilles(t,:)',Poids(t,:)',"*")
end
//end
endfunction
function [G,P] = Newtonp2(nb_quant,nb_iter)
//nb_quant=513;
//nbre_iter=50;
stacksize(20000000);
rac2pi=1/(sqrt(%pi * 2));
a=-0.5; b=0.5;
grille = linspace(a,b,nb_iter)';
Moy=zeros(nb_iter,1); Var=ones(nb_iter,1);
Moy1=Moy(1:nb_iter-1); Var1=Var(1:nb_iter-1);
for i=1:nbre_iter;
C = 0.5*(grille(1:nb_iter-1)+grille(2:nb_iter));
P=cdfnor("PQ",grille,Moy,Var);
Q=cdfnor("PQ",C,Moy1,Var1);
expo=rac2pi.*exp(-0.5.*C.^2); expdiag=rac2pi.*exp(-0.5.*grille.^2);
grillem=grille(1:nb_iter-1) ; grillep=grille(2:nb_iter);
gradient=grille.*([Q;1]-[0;Q]) + [expo;0]-[0;expo];
D=-0.25.*(grille-[0;grillem]).*([0;expo])+ 0.25.*(grille-[grillep;0]).*([expo;0])+ [Q;1]-[0;Q]
D=diag(D);
V1=-0.25.*([0;expo]).*(grille-[0;grillem]);
U1=-0.25.*([expo;0]).*([grillep;0]-grille);
U=diag(U1)*diag(ones(nb_iter-1,1),1);
V=diag(V1)*diag(ones(nb_iter-1,1),-1);
hessien=U+D+V;
A=hessien\gradient;
grille=grille - A;
end
C = 0.5*(grille(1:nb_iter-1)+grille(2:nb_iter));
Q=cdfnor("PQ",C,Moy1,Var1);
expo=rac2pi.*exp(-0.5.*C.^2);
distor_local = ([0;expo]).*([0;C]-2*grille)+([expo;0]).*(-[C;0]+2*grille)+(1+grille.^2).*([Q;1]-[0;Q]);
disp(distor_local)
distor= sqrt(sum(distor_local));
//C = 0.5*(grille(1:nbre_point-1)+grille(2:nbre_point));
proba_cum=cdfnor("PQ",C,Moy1,Var1);
proba=[proba_cum(1);(proba_cum(2:nbre_point-1)-proba_cum(1:nbre_point-2));(1-proba_cum(nbre_point-1))];
grille(nbre_point+1)=0;
proba(nbre_point+1)=distor;
GP=[grille,proba];
endfunction
//////////////////////////////////////////////////////////////////:::CODE TROP COMMENTER
function [G_t,P_t] = Lloyd_RMQ(G_moins,P_moins,nb_iter,Mu,Sigma,dt)// Recursive Marginal Quantization
compteur = 0;
nb_quant = length(G_moins);
G_t = G_moins;
P_t = ones(1,nb_quant);
for compteur = 1:nb_iter
// disp("P_")
// disp(P_t)
//disp(sum(P_t))
// disp("gmoins")
// disp(G_moins)
tmp_memoire = cat(2,-%inf,G_moins,%inf);
//disp("tmp_memoire")
//disp(tmp_memoire)
tmp_memm = (G_t + tmp_memoire(1:nb_quant)); // Xj-1/2 ; au temps k+1;
//disp("tmp_memm")
//disp(tmp_memm)
tmp_memm = 0.5*tmp_memm;
// disp("tmp_memm")
//disp(tmp_memm)
//disp("tmp_memp")
tmp_memp = (G_t + tmp_memoire(3:nb_quant+2));// Xj+1/2 ; au temps k+1;
//disp(tmp_memp)
tmp_memp = 0.5*tmp_memp;
//disp("tmp_memp")
//disp(tmp_memp)
//-repmat((M_k(G_moins,Mu,dt))',1,nb_quant);// matrice nn des -M_k(Xi) constante sur une meme LIGNE!!!
Xmm = repmat(tmp_memm,nb_quant,1) - repmat((M_k(G_moins,Mu,dt))',1,nb_quant) // Xj-1/2 -M_k(Xi) matrice nn
//disp("m_k g moins")
//disp(repmat((M_k(G_moins,Mu,dt))',1,nb_quant))
Xpp = repmat(tmp_memp,nb_quant,1) - repmat((M_k(G_moins,Mu,dt))',1,nb_quant) // Xj+1/2 -M_k(Xi) matrice nn
//disp("xpp")
//disp(Xpp)
Xmm = Xmm/(Sigma*sqrt(dt)) // V(i)j-1/2 matrice nn
// disp("xmm")
//disp(Xmm)
Xpp = Xpp/(Sigma*sqrt(dt)) // V(i)j+1/2 matrice nn
//disp("xpp")
//disp(Xpp)
DPhi = PHI(Xpp) - PHI(Xmm) // taille des vj+1/2;i
//disp("dphi")
//disp(DPhi)
//disp(sum(DPhi,1))
P_t = P_moins*DPhi
//disp("Pt")
//disp(P_t)
A = P_moins.*M_k(G_moins,Mu,dt)*(PHI(Xpp) - PHI(Xmm));
B = P_moins*Esperance_Gauss(Xpp,Xmm);
B = Sigma*sqrt(dt)*B;
B = B.*G_moins;
G_t = A + B;
G_t = G_t./P_t;
//disp("grill")
//disp(G_t)
disp(compteur, " iteration ")
end
disp(G_t , P_t, "poids , grille")
G_t = G_t;
P_t = P_t;
endfunction
|
e66dfc92f99d03540ea9ea16e625087c04f14b6b
|
f542bc49c4d04b47d19c88e7c89d5db60922e34e
|
/PresentationFiles_Subjects/CONT/KU24TZH/ATWM1_Working_Memory_MEG_KU24TZH_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce
|
53439b897868296573a6b531e7bf47060052ff09
|
[] |
no_license
|
atwm1/Presentation
|
65c674180f731f050aad33beefffb9ba0caa6688
|
9732a004ca091b184b670c56c55f538ff6600c08
|
refs/heads/master
| 2020-04-15T14:04:41.900640
| 2020-02-14T16:10:11
| 2020-02-14T16:10:11
| 56,771,016
| 0
| 1
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 49,597
|
sce
|
ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce
|
# ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor_sounds = false;
active_buttons = 2;
response_matching = simple_matching;
button_codes = 10, 20;
default_font_size = 36;
default_font = "Arial";
default_background_color = 0 ,0 ,0 ;
write_codes=true; # for MEG only
begin;
#Picture definitions
box { height = 382; width = 382; color = 0, 0, 0;} frame1;
box { height = 369; width = 369; color = 255, 255, 255;} frame2;
box { height = 30; width = 4; color = 0, 0, 0;} fix1;
box { height = 4; width = 30; color = 0, 0, 0;} fix2;
box { height = 30; width = 4; color = 255, 0, 0;} fix3;
box { height = 4; width = 30; color = 255, 0, 0;} fix4;
box { height = 369; width = 369; color = 42, 42, 42;} background;
TEMPLATE "StimuliDeclaration.tem" {};
trial {
sound sound_incorrect;
time = 0;
duration = 1;
} wrong;
trial {
sound sound_correct;
time = 0;
duration = 1;
} right;
trial {
sound sound_no_response;
time = 0;
duration = 1;
} miss;
# Start of experiment (MEG only) - sync with CTF software
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
} expStart;
time = 0;
duration = 1000;
code = "ExpStart";
port_code = 80;
};
# baselinePre (at the beginning of the session)
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
}default;
time = 0;
duration = 10000;
#mri_pulse = 1;
code = "BaselinePre";
port_code = 91;
};
TEMPLATE "ATWM1_Working_Memory_MEG.tem" {
trigger_encoding trigger_retrieval cue_time preparation_time encoding_time single_stimulus_presentation_time delay_time retrieval_time intertrial_interval alerting_cross stim_enc1 stim_enc2 stim_enc3 stim_enc4 stim_enc_alt1 stim_enc_alt2 stim_enc_alt3 stim_enc_alt4 trial_code stim_retr1 stim_retr2 stim_retr3 stim_retr4 stim_cue1 stim_cue2 stim_cue3 stim_cue4 fixationcross_cued retr_code the_target_button posX1 posY1 posX2 posY2 posX3 posY3 posX4 posY4;
43 61 292 292 399 125 1742 2992 2542 fixation_cross gabor_131 gabor_167 gabor_089 gabor_113 gabor_131_alt gabor_167 gabor_089 gabor_113_alt "1_1_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2550_gabor_patch_orientation_131_167_089_113_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_041_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_1_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_041_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1992 2992 2342 fixation_cross gabor_130 gabor_084 gabor_025 gabor_053 gabor_130_alt gabor_084 gabor_025 gabor_053_alt "1_2_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2350_gabor_patch_orientation_130_084_025_053_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_025_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_2_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_025_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1992 2992 2292 fixation_cross gabor_175 gabor_095 gabor_117 gabor_009 gabor_175_alt gabor_095 gabor_117_alt gabor_009 "1_3_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2300_gabor_patch_orientation_175_095_117_009_target_position_2_4_retrieval_position_2" gabor_circ gabor_142_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_3_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_142_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 2092 2992 2442 fixation_cross gabor_110 gabor_139 gabor_060 gabor_079 gabor_110_alt gabor_139 gabor_060 gabor_079_alt "1_4_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2450_gabor_patch_orientation_110_139_060_079_target_position_2_3_retrieval_position_2" gabor_circ gabor_004_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_4_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_004_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1792 2992 1992 fixation_cross gabor_136 gabor_112 gabor_093 gabor_073 gabor_136 gabor_112 gabor_093_alt gabor_073_alt "1_5_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2000_gabor_patch_orientation_136_112_093_073_target_position_1_2_retrieval_position_2" gabor_circ gabor_112_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_5_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_112_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1742 2992 1892 fixation_cross gabor_012 gabor_169 gabor_119 gabor_135 gabor_012 gabor_169 gabor_119_alt gabor_135_alt "1_6_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_1900_gabor_patch_orientation_012_169_119_135_target_position_1_2_retrieval_position_1" gabor_152_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_6_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_152_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 64 292 292 399 125 2042 2992 2092 fixation_cross gabor_173 gabor_008 gabor_033 gabor_094 gabor_173 gabor_008_alt gabor_033_alt gabor_094 "1_7_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_2050_3000_2100_gabor_patch_orientation_173_008_033_094_target_position_1_4_retrieval_position_2" gabor_circ gabor_008_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_7_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_008_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1942 2992 1892 fixation_cross gabor_034 gabor_001 gabor_087 gabor_117 gabor_034 gabor_001_alt gabor_087_alt gabor_117 "1_8_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_1900_gabor_patch_orientation_034_001_087_117_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_163_framed blank blank blank blank fixation_cross_target_position_1_4 "1_8_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_163_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1942 2992 2042 fixation_cross gabor_178 gabor_029 gabor_135 gabor_152 gabor_178_alt gabor_029_alt gabor_135 gabor_152 "1_9_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_2050_gabor_patch_orientation_178_029_135_152_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_135_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_9_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_135_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1842 2992 2342 fixation_cross gabor_046 gabor_021 gabor_066 gabor_132 gabor_046_alt gabor_021 gabor_066_alt gabor_132 "1_10_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2350_gabor_patch_orientation_046_021_066_132_target_position_2_4_retrieval_position_2" gabor_circ gabor_156_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_10_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_156_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 2192 2992 2142 fixation_cross gabor_162 gabor_004 gabor_033 gabor_119 gabor_162_alt gabor_004 gabor_033 gabor_119_alt "1_11_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2150_gabor_patch_orientation_162_004_033_119_target_position_2_3_retrieval_position_2" gabor_circ gabor_004_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_11_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_004_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 64 292 292 399 125 2242 2992 2192 fixation_cross gabor_040 gabor_122 gabor_089 gabor_148 gabor_040 gabor_122_alt gabor_089_alt gabor_148 "1_12_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_2250_3000_2200_gabor_patch_orientation_040_122_089_148_target_position_1_4_retrieval_position_2" gabor_circ gabor_122_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_12_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_122_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1842 2992 2092 fixation_cross gabor_026 gabor_052 gabor_075 gabor_096 gabor_026_alt gabor_052 gabor_075_alt gabor_096 "1_13_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2100_gabor_patch_orientation_026_052_075_096_target_position_2_4_retrieval_position_2" gabor_circ gabor_006_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_13_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_006_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 2142 2992 2192 fixation_cross gabor_094 gabor_172 gabor_007 gabor_026 gabor_094 gabor_172_alt gabor_007_alt gabor_026 "1_14_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2200_gabor_patch_orientation_094_172_007_026_target_position_1_4_retrieval_position_1" gabor_094_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_14_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_094_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 2142 2992 2192 fixation_cross gabor_179 gabor_070 gabor_110 gabor_141 gabor_179 gabor_070 gabor_110_alt gabor_141_alt "1_15_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_2200_gabor_patch_orientation_179_070_110_141_target_position_1_2_retrieval_position_2" gabor_circ gabor_023_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_15_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_023_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 2242 2992 2592 fixation_cross gabor_147 gabor_130 gabor_115 gabor_095 gabor_147_alt gabor_130_alt gabor_115 gabor_095 "1_16_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2600_gabor_patch_orientation_147_130_115_095_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_115_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_16_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_115_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 63 292 292 399 125 2092 2992 2392 fixation_cross gabor_049 gabor_029 gabor_176 gabor_087 gabor_049_alt gabor_029 gabor_176_alt gabor_087 "1_17_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_2100_3000_2400_gabor_patch_orientation_049_029_176_087_target_position_2_4_retrieval_position_1" gabor_002_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_17_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_002_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1842 2992 2342 fixation_cross gabor_007 gabor_085 gabor_025 gabor_113 gabor_007 gabor_085 gabor_025_alt gabor_113_alt "1_18_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2350_gabor_patch_orientation_007_085_025_113_target_position_1_2_retrieval_position_2" gabor_circ gabor_085_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_18_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_085_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 2092 2992 2242 fixation_cross gabor_121 gabor_080 gabor_162 gabor_047 gabor_121_alt gabor_080 gabor_162_alt gabor_047 "1_19_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2250_gabor_patch_orientation_121_080_162_047_target_position_2_4_retrieval_position_2" gabor_circ gabor_080_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_19_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_080_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 2042 2992 2192 fixation_cross gabor_173 gabor_008 gabor_029 gabor_094 gabor_173_alt gabor_008_alt gabor_029 gabor_094 "1_20_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2200_gabor_patch_orientation_173_008_029_094_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_049_framed blank blank blank blank fixation_cross_target_position_3_4 "1_20_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_049_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1792 2992 2092 fixation_cross gabor_161 gabor_146 gabor_094 gabor_178 gabor_161 gabor_146 gabor_094_alt gabor_178_alt "1_21_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2100_gabor_patch_orientation_161_146_094_178_target_position_1_2_retrieval_position_2" gabor_circ gabor_008_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_21_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_008_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 64 292 292 399 125 2192 2992 1992 fixation_cross gabor_130 gabor_098 gabor_153 gabor_070 gabor_130_alt gabor_098 gabor_153_alt gabor_070 "1_22_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_2200_3000_2000_gabor_patch_orientation_130_098_153_070_target_position_2_4_retrieval_position_1" gabor_130_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_22_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_130_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 2092 2992 2592 fixation_cross gabor_040 gabor_084 gabor_016 gabor_166 gabor_040_alt gabor_084 gabor_016 gabor_166_alt "1_23_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2600_gabor_patch_orientation_040_084_016_166_target_position_2_3_retrieval_position_2" gabor_circ gabor_084_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_23_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_084_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1942 2992 2542 fixation_cross gabor_102 gabor_158 gabor_082 gabor_034 gabor_102 gabor_158 gabor_082_alt gabor_034_alt "1_24_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_2550_gabor_patch_orientation_102_158_082_034_target_position_1_2_retrieval_position_1" gabor_102_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_24_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_102_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 2242 2992 2142 fixation_cross gabor_087 gabor_123 gabor_174 gabor_140 gabor_087 gabor_123_alt gabor_174 gabor_140_alt "1_25_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2150_gabor_patch_orientation_087_123_174_140_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_174_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_25_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_174_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1842 2992 2392 fixation_cross gabor_002 gabor_054 gabor_160 gabor_075 gabor_002_alt gabor_054 gabor_160 gabor_075_alt "1_26_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2400_gabor_patch_orientation_002_054_160_075_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_024_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_26_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_024_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 63 292 292 399 125 1992 2992 2342 fixation_cross gabor_120 gabor_091 gabor_062 gabor_033 gabor_120 gabor_091_alt gabor_062 gabor_033_alt "1_27_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_2000_3000_2350_gabor_patch_orientation_120_091_062_033_target_position_1_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_168_framed blank blank blank blank fixation_cross_target_position_1_3 "1_27_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_168_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1992 2992 2042 fixation_cross gabor_024 gabor_135 gabor_007 gabor_160 gabor_024_alt gabor_135_alt gabor_007 gabor_160 "1_28_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2050_gabor_patch_orientation_024_135_007_160_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_160_framed blank blank blank blank fixation_cross_target_position_3_4 "1_28_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_160_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1892 2992 2442 fixation_cross gabor_143 gabor_121 gabor_176 gabor_093 gabor_143_alt gabor_121 gabor_176 gabor_093_alt "1_29_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2450_gabor_patch_orientation_143_121_176_093_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_037_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_29_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_037_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 2192 2992 2492 fixation_cross gabor_048 gabor_078 gabor_017 gabor_033 gabor_048 gabor_078_alt gabor_017_alt gabor_033 "1_30_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2500_gabor_patch_orientation_048_078_017_033_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_033_framed blank blank blank blank fixation_cross_target_position_1_4 "1_30_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_033_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1792 2992 1892 fixation_cross gabor_131 gabor_045 gabor_013 gabor_079 gabor_131_alt gabor_045 gabor_013_alt gabor_079 "1_31_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_1900_gabor_patch_orientation_131_045_013_079_target_position_2_4_retrieval_position_2" gabor_circ gabor_045_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_31_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_045_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 64 292 292 399 125 2242 2992 2242 fixation_cross gabor_114 gabor_090 gabor_180 gabor_070 gabor_114_alt gabor_090 gabor_180_alt gabor_070 "1_32_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_2250_3000_2250_gabor_patch_orientation_114_090_180_070_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_180_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_32_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_180_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 2242 2992 2242 fixation_cross gabor_091 gabor_114 gabor_137 gabor_058 gabor_091 gabor_114_alt gabor_137_alt gabor_058 "1_33_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2250_gabor_patch_orientation_091_114_137_058_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_008_framed blank blank blank blank fixation_cross_target_position_1_4 "1_33_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_008_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 2192 2992 2592 fixation_cross gabor_041 gabor_130 gabor_153 gabor_099 gabor_041_alt gabor_130 gabor_153 gabor_099_alt "1_34_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2600_gabor_patch_orientation_041_130_153_099_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_018_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_34_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_018_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1942 2992 2042 fixation_cross gabor_160 gabor_117 gabor_094 gabor_033 gabor_160 gabor_117 gabor_094_alt gabor_033_alt "1_35_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2050_gabor_patch_orientation_160_117_094_033_target_position_1_2_retrieval_position_2" gabor_circ gabor_072_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_35_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_072_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 2142 2992 1892 fixation_cross gabor_083 gabor_030 gabor_140 gabor_002 gabor_083_alt gabor_030 gabor_140_alt gabor_002 "1_36_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_1900_gabor_patch_orientation_083_030_140_002_target_position_2_4_retrieval_position_2" gabor_circ gabor_030_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_36_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_030_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1742 2992 2392 fixation_cross gabor_171 gabor_081 gabor_156 gabor_047 gabor_171_alt gabor_081 gabor_156 gabor_047_alt "1_37_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2400_gabor_patch_orientation_171_081_156_047_target_position_2_3_retrieval_position_2" gabor_circ gabor_126_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_37_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_126_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 63 292 292 399 125 2042 2992 2142 fixation_cross gabor_165 gabor_028 gabor_055 gabor_008 gabor_165_alt gabor_028 gabor_055_alt gabor_008 "1_38_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_2050_3000_2150_gabor_patch_orientation_165_028_055_008_target_position_2_4_retrieval_position_1" gabor_117_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_38_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_117_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1842 2992 2342 fixation_cross gabor_157 gabor_097 gabor_037 gabor_012 gabor_157_alt gabor_097_alt gabor_037 gabor_012 "1_39_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2350_gabor_patch_orientation_157_097_037_012_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_176_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_39_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_176_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 63 292 292 399 125 1742 2992 1992 fixation_cross gabor_150 gabor_135 gabor_167 gabor_013 gabor_150_alt gabor_135_alt gabor_167 gabor_013 "1_40_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_1750_3000_2000_gabor_patch_orientation_150_135_167_013_target_position_3_4_retrieval_position_2" gabor_circ gabor_086_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_40_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_086_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1742 2992 1942 fixation_cross gabor_021 gabor_058 gabor_174 gabor_145 gabor_021_alt gabor_058 gabor_174 gabor_145_alt "1_41_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_1950_gabor_patch_orientation_021_058_174_145_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_038_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_41_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_038_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1892 2992 2042 fixation_cross gabor_115 gabor_138 gabor_033 gabor_166 gabor_115_alt gabor_138 gabor_033 gabor_166_alt "1_42_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2050_gabor_patch_orientation_115_138_033_166_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_080_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_42_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_080_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1892 2992 2442 fixation_cross gabor_070 gabor_035 gabor_152 gabor_100 gabor_070 gabor_035 gabor_152_alt gabor_100_alt "1_43_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2450_gabor_patch_orientation_070_035_152_100_target_position_1_2_retrieval_position_1" gabor_070_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_43_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_070_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 2042 2992 2292 fixation_cross gabor_159 gabor_179 gabor_072 gabor_008 gabor_159_alt gabor_179 gabor_072_alt gabor_008 "1_44_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_2300_gabor_patch_orientation_159_179_072_008_target_position_2_4_retrieval_position_2" gabor_circ gabor_179_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_44_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_179_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1742 2992 2242 fixation_cross gabor_005 gabor_092 gabor_111 gabor_170 gabor_005 gabor_092_alt gabor_111_alt gabor_170 "1_45_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2250_gabor_patch_orientation_005_092_111_170_target_position_1_4_retrieval_position_1" gabor_005_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_45_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_005_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1892 2992 2142 fixation_cross gabor_099 gabor_159 gabor_040 gabor_016 gabor_099 gabor_159_alt gabor_040 gabor_016_alt "1_46_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2150_gabor_patch_orientation_099_159_040_016_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_040_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_46_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_040_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 64 292 292 399 125 1992 2992 2542 fixation_cross gabor_104 gabor_017 gabor_147 gabor_079 gabor_104_alt gabor_017_alt gabor_147 gabor_079 "1_47_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_2000_3000_2550_gabor_patch_orientation_104_017_147_079_target_position_3_4_retrieval_position_1" gabor_104_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_47_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_104_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 2092 2992 1892 fixation_cross gabor_109 gabor_053 gabor_124 gabor_175 gabor_109 gabor_053 gabor_124_alt gabor_175_alt "1_48_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_1900_gabor_patch_orientation_109_053_124_175_target_position_1_2_retrieval_position_2" gabor_circ gabor_053_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_48_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_053_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 64 292 292 399 125 2042 2992 2042 fixation_cross gabor_072 gabor_154 gabor_003 gabor_116 gabor_072_alt gabor_154 gabor_003_alt gabor_116 "1_49_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_2050_3000_2050_gabor_patch_orientation_072_154_003_116_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_003_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_49_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_003_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 2192 2992 2442 fixation_cross gabor_050 gabor_021 gabor_104 gabor_136 gabor_050_alt gabor_021_alt gabor_104 gabor_136 "1_50_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2450_gabor_patch_orientation_050_021_104_136_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_086_framed blank blank blank blank fixation_cross_target_position_3_4 "1_50_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_086_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1792 2992 2592 fixation_cross gabor_161 gabor_089 gabor_110 gabor_048 gabor_161_alt gabor_089 gabor_110_alt gabor_048 "1_51_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2600_gabor_patch_orientation_161_089_110_048_target_position_2_4_retrieval_position_2" gabor_circ gabor_089_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_51_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_089_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1892 2992 2392 fixation_cross gabor_027 gabor_064 gabor_109 gabor_047 gabor_027 gabor_064_alt gabor_109_alt gabor_047 "1_52_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2400_gabor_patch_orientation_027_064_109_047_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_092_framed blank blank blank blank fixation_cross_target_position_1_4 "1_52_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_092_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1792 2992 1942 fixation_cross gabor_178 gabor_063 gabor_099 gabor_034 gabor_178_alt gabor_063_alt gabor_099 gabor_034 "1_53_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_1950_gabor_patch_orientation_178_063_099_034_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_099_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_53_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_099_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1842 2992 2492 fixation_cross gabor_076 gabor_110 gabor_059 gabor_003 gabor_076 gabor_110_alt gabor_059_alt gabor_003 "1_54_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2500_gabor_patch_orientation_076_110_059_003_target_position_1_4_retrieval_position_1" gabor_076_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_54_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_076_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 63 292 292 399 125 1742 2992 2542 fixation_cross gabor_092 gabor_003 gabor_062 gabor_125 gabor_092_alt gabor_003 gabor_062_alt gabor_125 "1_55_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_1750_3000_2550_gabor_patch_orientation_092_003_062_125_target_position_2_4_retrieval_position_1" gabor_044_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_55_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_044_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 2142 2992 2192 fixation_cross gabor_090 gabor_036 gabor_121 gabor_063 gabor_090_alt gabor_036 gabor_121_alt gabor_063 "1_56_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_2200_gabor_patch_orientation_090_036_121_063_target_position_2_4_retrieval_position_2" gabor_circ gabor_176_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_56_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_176_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1892 2992 1992 fixation_cross gabor_080 gabor_061 gabor_166 gabor_095 gabor_080 gabor_061 gabor_166_alt gabor_095_alt "1_57_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2000_gabor_patch_orientation_080_061_166_095_target_position_1_2_retrieval_position_1" gabor_126_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_57_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_126_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 2092 2992 2292 fixation_cross gabor_094 gabor_061 gabor_146 gabor_175 gabor_094 gabor_061_alt gabor_146_alt gabor_175 "1_58_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2300_gabor_patch_orientation_094_061_146_175_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_175_framed blank blank blank blank fixation_cross_target_position_1_4 "1_58_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_175_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1892 2992 2242 fixation_cross gabor_104 gabor_080 gabor_015 gabor_126 gabor_104_alt gabor_080 gabor_015 gabor_126_alt "1_59_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2250_gabor_patch_orientation_104_080_015_126_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_154_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_59_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_154_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1942 2992 1942 fixation_cross gabor_049 gabor_064 gabor_170 gabor_086 gabor_049_alt gabor_064_alt gabor_170 gabor_086 "1_60_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_1950_gabor_patch_orientation_049_064_170_086_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_086_framed blank blank blank blank fixation_cross_target_position_3_4 "1_60_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_086_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1942 2992 2142 fixation_cross gabor_171 gabor_061 gabor_137 gabor_031 gabor_171_alt gabor_061 gabor_137 gabor_031_alt "1_61_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2150_gabor_patch_orientation_171_061_137_031_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_001_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_61_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_001_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1992 2992 2092 fixation_cross gabor_136 gabor_110 gabor_164 gabor_057 gabor_136 gabor_110 gabor_164_alt gabor_057_alt "1_62_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2100_gabor_patch_orientation_136_110_164_057_target_position_1_2_retrieval_position_1" gabor_001_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_62_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_001_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 64 292 292 399 125 1792 2992 2292 fixation_cross gabor_175 gabor_068 gabor_110 gabor_042 gabor_175 gabor_068_alt gabor_110 gabor_042_alt "1_63_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_1800_3000_2300_gabor_patch_orientation_175_068_110_042_target_position_1_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_042_framed blank blank blank blank fixation_cross_target_position_1_3 "1_63_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_042_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 2242 2992 2292 fixation_cross gabor_003 gabor_086 gabor_064 gabor_028 gabor_003 gabor_086_alt gabor_064 gabor_028_alt "1_64_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2300_gabor_patch_orientation_003_086_064_028_target_position_1_3_retrieval_position_1" gabor_138_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_64_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_138_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 63 292 292 399 125 2042 2992 2492 fixation_cross gabor_180 gabor_106 gabor_149 gabor_122 gabor_180_alt gabor_106_alt gabor_149 gabor_122 "1_65_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_2050_3000_2500_gabor_patch_orientation_180_106_149_122_target_position_3_4_retrieval_position_1" gabor_042_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_65_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_042_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 2142 2992 1942 fixation_cross gabor_021 gabor_036 gabor_091 gabor_152 gabor_021 gabor_036 gabor_091_alt gabor_152_alt "1_66_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_1950_gabor_patch_orientation_021_036_091_152_target_position_1_2_retrieval_position_1" gabor_021_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_66_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_021_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 2142 2992 2492 fixation_cross gabor_177 gabor_092 gabor_062 gabor_146 gabor_177_alt gabor_092 gabor_062_alt gabor_146 "1_67_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_2500_gabor_patch_orientation_177_092_062_146_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_010_framed blank blank blank blank fixation_cross_target_position_2_4 "1_67_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_010_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1842 2992 1992 fixation_cross gabor_061 gabor_175 gabor_017 gabor_125 gabor_061 gabor_175 gabor_017_alt gabor_125_alt "1_68_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2000_gabor_patch_orientation_061_175_017_125_target_position_1_2_retrieval_position_2" gabor_circ gabor_175_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_68_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_175_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1792 2992 2092 fixation_cross gabor_065 gabor_031 gabor_046 gabor_081 gabor_065_alt gabor_031 gabor_046_alt gabor_081 "1_69_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2100_gabor_patch_orientation_065_031_046_081_target_position_2_4_retrieval_position_2" gabor_circ gabor_031_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_69_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_031_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 63 292 292 399 125 2192 2992 1942 fixation_cross gabor_163 gabor_088 gabor_009 gabor_130 gabor_163_alt gabor_088_alt gabor_009 gabor_130 "1_70_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_2200_3000_1950_gabor_patch_orientation_163_088_009_130_target_position_3_4_retrieval_position_2" gabor_circ gabor_041_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_70_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_041_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
};
# baselinePost (at the end of the session)
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
};
time = 0;
duration = 5000;
code = "BaselinePost";
port_code = 92;
};
|
3833ecb156507842c61a0561dc9b06f507748695
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3434/CH8/EX8.3/Ex8_3.sce
|
63622ccce3e1fe9c1cabcd2066d6b026b649abc1
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 636
|
sce
|
Ex8_3.sce
|
clc
// given data
Voldaily=1200 // daily production in m^3/day
prodrate=Voldaily/24.0 // gas production rate per hour
consrate=Voldaily/6.0 //gas consumtion rate per hour
Vg1=(consrate-prodrate)*2 // gas holder size required for 2 hours in litres
Vg2=prodrate*9 // gas holder size for 9 hours without consumption in litres
if Vg1>Vg2
Vgmax=Vg1
else
Vgmax=Vg2
Vg=Vgmax*1.25 // required gas holder with 25 % safety margin in litres
printf("\n required gas holder size is %.2f litres",Vg)
Capacity=Vg/Voldaily // required gas holder capacity
printf("\n required gas holder capacity is %.2f %%",Capacity*100)
|
b4229e5c5b7d60b0ab6802b9a70fbc609441543f
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/866/CH7/EX7.4/7_4.sce
|
f12742068877f3e9098b053e2637a76f7a7d2a7c
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 271
|
sce
|
7_4.sce
|
clc
//initialisation of variables
mu= 0.3
E= 200000 //N/mm^2
R= 0.1*10^-2
//CALCULATIONS
K= E/(3*(1-2*mu))
sigma= R*K
linearstrain= R/3
//RESULTS
printf ('K= %.f N/mm^2',K)
printf (' \n sigma=%.f N/mm^2',sigma)
printf (' \n linearstarin=%.5f ',linearstrain)
|
850a4c219326065aed636d70bd08bd7d0a62aecb
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/446/CH15/EX15.1/15_1.sce
|
1a0baf8c22086858bb78dead03d6ee1a4be67f5f
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 480
|
sce
|
15_1.sce
|
clear
clc
disp('Ex-15.1');
w=121.5; //lambeda
G=6.67*10^-11; //Various given values and constants
M= 1.99*10^30;
R= 6.96*10^8;
c=3*10^8;
k= G*M/(R*c^2); //(delLambeda)/(lambeda)
delw=k*w; //del(lambeda)
printf('The change in wavelength due to gravitational shift is %.3f pm\n',delw*10^3);
k=5.5*10^-5;//due to thermal Doppler broadening effect
delw=k*w;
printf('The change in wavelength due to thermal Doppler broadening effect is %.1f pm',delw*10^3);
|
755ca2e7a38cc88d2156b83a132d0a0035ff76c5
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3557/CH6/EX6.5/Ex6_5.sce
|
8244baad5a16c5a227998cdd425f827e99438bba
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 270
|
sce
|
Ex6_5.sce
|
//Example 6.5//
L=50*10^-3;//m //Distance between support
m=404*10^3;//N/m //Initial slope of load-deflection curve
b=13*10^-3;//m //test piece geometry
h=7*10^-3;//m //test piece geometry
E=((L^3)*m)/(4*b*h^3)
mprintf("E = %e N/m^2 =2830MPa (As M= 10^6)",E)
|
eb2703b9e4ed1b60a9f219f8dc6a63a56014f4f8
|
663a41da33ae73bc548a643f2e82bad5d1b1e3c3
|
/Unit_Env_Test/MANAGER/basis.scr
|
4748d28e052cac725286499baf87bec6286c936e
|
[] |
no_license
|
VectorCAST/VectorCAST_Test
|
1d141e6e0a82755edc6c472e85787f512d985ced
|
0945afbec80f2b620fc2f739c0582071362c6ea8
|
refs/heads/master
| 2020-03-23T04:44:20.188894
| 2018-07-23T04:29:35
| 2018-07-23T04:29:35
| 141,102,633
| 1
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 533
|
scr
|
basis.scr
|
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:MIXED_CASE_NAMES
TEST.SCRIPT_FEATURE:STATIC_HEADER_FUNCS_IN_UUTS
--
------------------------------
TEST.UNIT: manager
TEST.SUBPROGRAM: Add
TEST.REPLACE
TEST.NAME:BASIS-PATH-001
TEST.BASIS_PATH:1 of 1
TEST.VALUE:manager.Add.a:<<MIN>>
TEST.VALUE:manager.Add.b:<<MIN>>
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.END
------------------------------
|
4251d1b0671e104a9d6d60f6c3e2a080c26a175e
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1151/CH2/EX2.17/example17.sce
|
b4536643c7863a2cdf2281542932b28d4f3f5667
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 538
|
sce
|
example17.sce
|
printf("closed loop transfer function =16/(s^2+(0.8+16K)*s+16");
printf("characterstic equation of this system is s^2+(0.8+16K)*s+16=0");
printf("compare it with the standard second order characterstic equation s^2+2*d*w*s+w^2=0");
w=sqrt(16);
d=0.5;
k=(2*w*d-0.8)/16;
rt=(%pi-atan(sqrt((1-d)/d)))/(w*sqrt(1-d^2));
pt1=%pi/(w*sqrt(1-d^2));
mo1=exp((-%pi*d)/sqrt(1-d^2))*100;
st1=4/(d*w);
disp(k," value of K is");
disp(pt1,"peak time (in sec) :");
disp(mo1,"mAXIMUM OVERSHOOT (in %) :");
disp(st1,"setlling time(in sec):");
|
7fe537fb52e6c86c4634acad0d8124b9aa1e2601
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3392/CH8/EX8.3/Ex8_3.sce
|
dd051e3a0cd16ae481e16f79f71e5e9146dc78fa
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 527
|
sce
|
Ex8_3.sce
|
clc
// initialization of variables
clear
t1=1 //mm
t2=2 //mm
oT=9.67 //mm distance between base and the centroid of each T-ection
y2_bar=100+10+1+oT //mm (follwos from the figure)
A1=400 //mm^2
y1_bar=100 //mm
A2=324 //mm^2
Ix=2*A1*y1_bar^2+2*A2*y2_bar^2
q1k=A2*y2_bar //q1=q1k*Vy/Ix
F1k=(oT+t1/2)*q1k // Fi=Fik*Vy/Ix
F2k=60*q1k
F3k=(10+t1/2)*q1k
q2k=q1k+(A1*y1_bar)
F4k=(10+t2/2)*q2k
F5k=200*q2k
V_pk=2*(F1k+2*F3k+F5k)/Ix // V_p=V_pk*Vy
e=(-2*F1k*71-2*F3k*11+F2k*221+F4k*200)/Ix
printf('e = %.2f mm',e)
|
1b7ff8874a59e02c96b1d641b6540594b46672ea
|
ab0891df3df62a84b3bc60ee178e2d84b0d692c5
|
/Geometry_Processing_Toolbox/macros/fit_rotations_mex.sci
|
d95b0aca141543153e6eb4d5b85ca8f589d49504
|
[
"MIT"
] |
permissive
|
sidgairo18/SCILAB_MEX_TOOLBOX
|
6b36c8b5dd21bb15d942a283ebfe2366a7ac02ec
|
fc679f6d226c03b992b632823a5e57abea05cefa
|
refs/heads/master
| 2020-03-19T04:03:55.721880
| 2018-08-14T11:22:24
| 2018-08-14T11:22:24
| 135,791,680
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 69
|
sci
|
fit_rotations_mex.sci
|
function mex_exists = fit_rotations_mex()
mex_exists = false;
end
|
f18822e6d3c9dfa8af46e6e25f2bf0f679c1f056
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2939/CH10/EX10.12/Ex10_12.sce
|
7b095802f5b8ea496d46d331883e91fc8c1ff441
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 489
|
sce
|
Ex10_12.sce
|
// Ex10_12
clc;
// Given:
vi=2.5;//titrant volume
V1=10; // vol of KBr in ml
N2=0.01;//normality of AgNO3
M1=119;// mol wt of KBr
// Solution:
ai=((12500/5)-10);
af=((6000/6)-10);
// deerease in activity due to addition of titrant 2.5ml
d=ai-af;
// volume corresponding to ai for AgNO3
V2=ai*vi/d;
N1=(N2*V2)/V1;// Normality of KBr solution
m=N1*M1/100;// mass of KBr in 10 ml solution
printf("\n The mass of potassium bromide in the original solution is = %f g",m)
|
deafc9a84b0e91eea8e2242a4fe14d1a9e7a5d24
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3755/CH8/EX8.4/Ex8_4.sce
|
71caa7329aa495a05ca2d57c3ab2bb6cec297ad3
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 351
|
sce
|
Ex8_4.sce
|
clear
//
//
//
//Variable declaration
kb=1.38*10^-23; //boltzmann constant
T=300; //temperature(K)
m=6;
Eg=0.7; //band gap(eV)
//Calculation
x=3*kb*T*log(m)/4;
EF=(Eg/2)+x; //position of Fermi level(eV)
//Result
printf("\n position of Fermi level is %0.3f eV",EF)
printf("\n answer in the book is wrong")
|
cad2aa1bab01caa38214f8b4f322598db5d8a07c
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1133/CH5/EX5.12/Example5_12.sce
|
79368ddee6a2428cc1e943be1ac23acf7d0ef6bb
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 524
|
sce
|
Example5_12.sce
|
//Example 5.12
clc
disp("The function has four variables. To implement this function we require 8 : 1 multiplexer. i.e., two 4 : 1 multiplexers. We have already seen how to construct 8 : 1 multiplexer using two 4 : 1 multiplexers. The same concept is used here to implement given Boolean function.")
disp("")
disp("Implementation table")
disp(" D0 D1 D2 D3 D4 D5 D6 D7")
disp("A'' 0 1 2 3 4 5 6 7")
disp("A 8 9 10 11 12 13 14 15")
disp(" A'' 1 A'' 0 1 0 1 0")
|
f6cb5e3a977515454774846d7597dc015af4387e
|
13c3ed7bef4d80dabd836219bbf4396f07cb934a
|
/sizedemo.sci
|
acdc641d2353a510ef3765d0f4de2d82d04cb131
|
[] |
no_license
|
Mushirahmed/scilab_workspace
|
99f489a110a5e295ce9fca9991122d14840018d3
|
f58b91b87bb0357fff82dcb97b05541e7e976eca
|
refs/heads/master
| 2021-01-10T15:48:40.576771
| 2016-02-10T10:32:46
| 2016-02-10T10:32:46
| 43,348,489
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 154
|
sci
|
sizedemo.sci
|
function sizedemo()
a = [1,2,3;6,7,10];
b = size(a);
c = size(a,'r');
d = size(a,'c');
disp(b);
disp(c);
disp(d);
endfunction
|
d7fe9e574ef0e7b6d9a2fbf6663c079f28f5e493
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2471/CH3/EX3.5/Ex3_5.sce
|
d1a2435d90bfe51aeb51c070b64e82f94735d892
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,261
|
sce
|
Ex3_5.sce
|
clear ;
clc;
// Example 3.5
printf('Example 3.5\n\n');
printf('Page No. 62\n\n');
// given
P = 40000;/// Principal Amount of boiler plant in Pound
nT = 10;// service life in years
S = 4000;// Salvage value
n = 6;// years after which Asset value has to be calculated
//(a) Straight line method
d = ((P-S)/nT);// Depreciation
Aa = (d*(nT-n)) + S;
printf('The Asset value at the end of six years using Straight line method is %.0f Pound\n',Aa)
// (b) Declining balance technique
f = 1-(S/P)^(1/nT);// Fixed fraction of the residual asset
Ab = P*(1-f)^n;
printf('The Asset value at the end of six years using Declining balance technique is %.0f Pound\n\n',Ab)
// (c) Sum of the years digit
sum_nT = (nT*(nT+1)/2);//sum of 10 years
sum_n = 45;//sum after 6 years
dc = ((sum_n/sum_nT)*(P-S));// Depreciation after 6 years
Ac = P-dc;
printf('The Asset value at the end of six years using Sum of the years digit is %.0f Pound\n',Ac)// Deviation in answer due to direct substitution
//(d) Sinking Fund Method
r_i = 0.06;// Rate of interest
Ad = P-((P-S)*(((1+r_i)^n-1)/((1+r_i)^nT-1)));
printf('The Asset value at the end of six years using Sinking Fund Method is %.0f Pound\n',Ad)// Deviation in answer due to direct substitution
|
2323cb765e11ad58e84884fe58a0897bdae4acae
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3257/CH12/EX12.2/Ex12_2.sce
|
0532aa291435a3752fa1dda874185132c089b9a4
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 387
|
sce
|
Ex12_2.sce
|
// current in shielded metal arc welding
clc
V = 20 // applied voltage in Volt
b = 10 // base in mm
h = 10 // height in mm
e = 0.75 // efficiency
u = 10.3 // specific energy in J/mm^3
v = 10 // weld speed in mm/sec
printf("\n Example 12.2")
A = 1/2*b*h // Area in mm^2
I = v*u*A/(e*V) // Current in Ampere
printf("\n Amount of current needed for welding is %d Ampere.",I)
|
1921d5fb671c4f34afbaf673a2a6079aa9de067d
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1709/CH14/EX14.3/14_3.sce
|
6654a2d557d4e5f53ad444f2fa49efe17b8b0911
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 493
|
sce
|
14_3.sce
|
clc
//Initialization of variables
phic=2.5 //V
phia=2 //V
phip=0.1//V
Th=2000 //K
Tc=1000 //K
eff=0.2
k=1.38*10^-23
e=1.6*10^-19
sigma=5.67*10^-12
//calculations
V=phic-phia-phip
Jc=1.2*10^6 *Th^2 *exp(-e*phic/(k*Th))
Ja=1.2*10^6 *Tc^2 *exp(-e*phia/(k*Tc))
J=Jc
Qc1=J*(phic + 2*k*Th/e) + eff*sigma*10^4 *(Th^4 - Tc^4)
eta1=J*0.4/Qc1
eta2=(Th-Tc)/Th
//results
printf("Efficiency of the device = %.1f percent",eta1*100)
printf("\n Carnot efficiency = %d percent",eta2*100)
|
985722ae4a92652cbf010cf16fdfbfe576c6dd8a
|
717ddeb7e700373742c617a95e25a2376565112c
|
/74/CH10/EX10.13/example13_sce.sce
|
8df9708fc57948e64c975dfd3e500b6519960a0f
|
[] |
no_license
|
appucrossroads/Scilab-TBC-Uploads
|
b7ce9a8665d6253926fa8cc0989cda3c0db8e63d
|
1d1c6f68fe7afb15ea12fd38492ec171491f8ce7
|
refs/heads/master
| 2021-01-22T04:15:15.512674
| 2017-09-19T11:51:56
| 2017-09-19T11:51:56
| 92,444,732
| 0
| 0
| null | 2017-05-25T21:09:20
| 2017-05-25T21:09:19
| null |
UTF-8
|
Scilab
| false
| false
| 333
|
sce
|
example13_sce.sce
|
//chapter 10
//example 10.13
//page 373
Vref=7;Vsense=.65;
Voutmin=9;Voutmax=12; I1=.5;Imax=150*10^-3;
R2=10*10^3;//let assume
//(R1+R2)/R2=Vout/Vref-----------eq(1)
R1min=2*R2/7;
disp(R1min)
Voutmax=12
R1max=5*R2/7;//using eq (1)
disp(R1max)
Rsc=Vsense/Il;
disp(Rsc)
R3=(R1max*R2)/(R1max+R2)
Bmin=Il/Imax;
disp(Bmin)
|
d6204140fc4481e5202e5e89c1d6df66b4c15aad
|
69147dbbf89bfbceb8875e0e1545e513ebfaf1be
|
/TopTracksPrimGenre_4.tst
|
c09ea81fd38376098d078e60e4bea67d27da1b85
|
[] |
no_license
|
Cbro/Oracle-scripts
|
225e7121f3e8b6d77d9da786ddbad58502486989
|
97769548e7a2794d6cc75a1ac46821f58d347dec
|
refs/heads/master
| 2020-12-24T14:36:20.643782
| 2011-05-07T18:55:51
| 2011-05-07T18:55:51
| 667,071
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,046
|
tst
|
TopTracksPrimGenre_4.tst
|
PL/SQL Developer Test script 3.0
38
-- Created on 11/04/2008 by MKAUL
declare
-- Local variables here
i integer;
vTrackID track.id%type;
vRankNum INTEGER;
begin
for x in (
-- Test statements here
select x.track_id,
x.rank_num
from
(
select /*+ FIRST_ROWS */ v.track_id track_id,
row_number() over ( order by v.play_count desc ) rank_num
from track t,
service_track st,
v_track_count_forever v
where t.id = v.track_id
and st.service_id = v.service_id
and st.track_id = t.id
and st.service_id = :sid
and v.primary_genre_id = :prim_gen_id
and (st.release_date is null or st.release_date < sysdate)
and (st.expiry_date is null or st.expiry_date > sysdate)
) x
where x.rank_num <= :topCount
) loop
dbms_output.put_line('Track ID : '|| x.track_id );
dbms_output.put_line('Rank : '|| x.rank_num );
end loop;
end;
3
sid
1
50
3
prim_gen_id
1
50
3
topCount
1
20
3
0
|
10ff3c0d27db30933ca00218bb5f8356e942d09a
|
b80969c9d72c732b0153d0de2b8fd28dc10d8a16
|
/Biologie/Site/sauvegarde/28.07.2016/www/Documents/simulation/initation_scilab/ex10.sci
|
65e0c6c4281420b848f78aba4c65ccb0ee95c283
|
[] |
no_license
|
adamdepossylux/stem_cells
|
6a2596a0734e3604b570cfdaa1e6cb798d13d7b7
|
e1ffdf24a223fea3a3606a0bd262067edc81f5b9
|
refs/heads/master
| 2020-04-01T17:26:21.772875
| 2017-05-10T15:15:09
| 2017-05-10T15:15:09
| 61,795,551
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 117
|
sci
|
ex10.sci
|
lpa1=linspace(1,12,12)
lpa2=linspace(1,11,6)
lpa3=linspace(6,1,6)
lpa4=linspace(-5,5,101) // delta=(xmax-xmin)/(n-1)
|
a27ff904ce894685e2f73d0fcbe1014d9f4788dc
|
8217f7986187902617ad1bf89cb789618a90dd0a
|
/source/2.5/macros/m2sci/sci_sign.sci
|
5b5c915cbfef89c8f5bae674087acbf3167faa50
|
[
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] |
permissive
|
clg55/Scilab-Workbench
|
4ebc01d2daea5026ad07fbfc53e16d4b29179502
|
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
|
refs/heads/master
| 2023-05-31T04:06:22.931111
| 2022-09-13T14:41:51
| 2022-09-13T14:41:51
| 258,270,193
| 0
| 1
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 130
|
sci
|
sci_sign.sci
|
function [stk,txt,top]=sci_sign()
// Copyright INRIA
txt=[]
stk=list('sign('+stk(top)(1)+')','0',stk(top)(3),stk(top)(4),'1')
|
92a477c41faf92377811ed97cc3a565c5f61179f
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3793/CH2/EX2.2/exp_2_2.sce
|
a185fff41b830c8f6d5e6dc372b144430d08f920
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 685
|
sce
|
exp_2_2.sce
|
clear;
clc;
function [r,th]=rect2pol(x,y)
//rectangle to polar coordinate conversion
r=sqrt(x^2+y^2);
th = atan(y,x)*180/%pi;
endfunction
// linear cominations
// 1 part (1+a)
a=complex((-0.5),0.866);
b=1+a;
[r,th]=rect2pol(real(b),imag(b));
mprintf("a) magnitude = %f, Angle = %f\n",r,th);
// 2 part (a^2 - 1)
c=((a^2)-1)
[r,th]=rect2pol(real(c),imag(c));
mprintf(" b) magnitude = %f, Angle = %f\n",r,th);
// 3 part (a^2 + a)
d=((a^2)+a)
[r,th]=rect2pol(real(d),imag(d));
mprintf(" c) magnitude = %f, Angle = %f\n",r,th);
// 4 part (a^2 + a + 1)
e=((a^2)+a+1)
[r,th]=rect2pol(real(e),imag(e));
mprintf(" d) magnitude = %f, Angle = %f",r,th);
|
fba5e14ce1dbe123ba3f911bca82598666f8bb3e
|
99b4e2e61348ee847a78faf6eee6d345fde36028
|
/Toolbox Test/falltime/falltime18.sce
|
07767621fd6000bad815ddfd7cbcc67655ef92f2
|
[] |
no_license
|
deecube/fosseetesting
|
ce66f691121021fa2f3474497397cded9d57658c
|
e353f1c03b0c0ef43abf44873e5e477b6adb6c7e
|
refs/heads/master
| 2021-01-20T11:34:43.535019
| 2016-09-27T05:12:48
| 2016-09-27T05:12:48
| 59,456,386
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 263
|
sce
|
falltime18.sce
|
//check o/p when no i/p args are passed to the function
y=falltime();
disp(y);
//output
// !--error 4
//Undefined variable: varargin
//at line 50 of function falltime called by :
//y=falltime();
//corresponding matab o/p
//Not enough input arguments.
|
a74d9ccce87df9006be333c1896a75b1ac3e8c3b
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1727/CH4/EX4.8/4_8.sce
|
263ba77a4065c25609cfe4c882cd5def1fa40bb9
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 255
|
sce
|
4_8.sce
|
clc
//Initialization of variables
g=9.81 //m/s^2
rho=10^3 //kg/m^3
d1=0.05 //m
d2=0.3 //m
N=1800 //rpm
Q=0.425/60 //m^3/s
//calculations
u1=%pi*d1*N/60
u2=%pi*d2*N/60
T=rho*Q*(d2*u2 - d1*u1)/2
//results
printf("Torque supplied = %.1f Nm",T)
|
0f25c152229be7b72499e9effc0d24d415747cc5
|
717ddeb7e700373742c617a95e25a2376565112c
|
/806/DEPENDENCIES/10_66.sci
|
973296f730ab911cc4b694a6d163c108198f82a4
|
[] |
no_license
|
appucrossroads/Scilab-TBC-Uploads
|
b7ce9a8665d6253926fa8cc0989cda3c0db8e63d
|
1d1c6f68fe7afb15ea12fd38492ec171491f8ce7
|
refs/heads/master
| 2021-01-22T04:15:15.512674
| 2017-09-19T11:51:56
| 2017-09-19T11:51:56
| 92,444,732
| 0
| 0
| null | 2017-05-25T21:09:20
| 2017-05-25T21:09:19
| null |
UTF-8
|
Scilab
| false
| false
| 99
|
sci
|
10_66.sci
|
d=0.05//m(Diameter)
q=7.68//L(Discharge)
H=3//m(Head)
g=9.81//m/s^2(Acceleration due to gravity)
|
20d155439aebbecb1a00c0219e6c084f7aa71f96
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/503/CH9/EX9.1/ch9_1.sci
|
ea35e96b99ac7580843cb97dcbc087a9f1b446db
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 396
|
sci
|
ch9_1.sci
|
// to campute cu loss in rotoe windings, input to the motor, efficiency
clc;
f_s=120/60; //cycles/min
f=50;
s=f_s/f;
n_s=1000;
n=(1-s)*n_s;
w=n*2*%pi/60;
T=160;
P=T*w;
T_L=10;
P_m=(T+T_L)*w;
cu=P_m*(s/(1-s)); disp(cu,'rotor cu loss(W)');
P_sl=800; //stator loss
P_in=P_m+cu+P_sl; disp(P_in,'power i/p to motor(W)');
eff=P/P_in;
disp(eff*100,'efficiency(%)');
|
c205fbeb60c728e1b7cd1086edf39f130fc48ecb
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2132/CH7/EX7.10/Example7_10.sce
|
c6824a027c58417fa426182ac16bfba67a669deb
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 349
|
sce
|
Example7_10.sce
|
////Example 7.10
clc;
clear;
close;
format('v',5);
//Given data :
g=9.81;//gravity constanty
L=3*1000;//meter
hf=20;//meter
Q=1;//m^3/sec
f=0.02;//coeff. of friction
//v=sqrt(hf*2*g/4/f/L/D);//it is v^2*D
D2v=Q/(%pi/4);//it is D^2*v
D=(Q/(%pi/4)/sqrt(hf*2*g/4/f/L))^(2/5);//meter
D=D*1000;//mm
disp(D,"Diameter of pipe in mm : ");
|
ea0bc1d23f0ab861579310b1c0774f60bdb7ee60
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/764/CH5/EX5.4.b/solution5_4.sce
|
f67ac464a760c949d0a307adc7ade1caf04910d9
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 852
|
sce
|
solution5_4.sce
|
//Obtain path of solution file
path = get_absolute_file_path('solution5_4.sce')
//Obtain path of data file
datapath = path + filesep() + 'data5_4.sci'
//Obtain path of function file
funcpath = path + filesep() + 'functions5_4.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
exec(funcpath,[-1])
//Call fluctuate
[Ka, Kb, Kc] = fluctuate(op, d, reliability)
//Calculate the endurance stress limit for rod Sdash (N/mm2)
Sdash = (50/100)*Sut
//Calculate Se (N/mm2)
Se = Ka * Kb * Kc * Sdash
Sea = 0.8 * Se
//Calculate the permissible stress amplitude from equation 5.30 sigma (N/mm2)
sigma = Sea/fs
//Calculate the rod diameter d (mm)
d = ((Pa * 1000 * 4)/(%pi * sigma))^(1/2)
//Print results
printf('\nDiameter of the rod(d) = %f mm\n',d)
printf('\nAnswer is slightly different because of use of equation 5.18\n')
|
18e986322e6c11df98f73c4a08c9af9bce62c32a
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1985/CH8/EX8.2/Chapter8_Example2.sce
|
fc926c6a07c261d5f9aaaeddc460415b98bb4c7a
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 427
|
sce
|
Chapter8_Example2.sce
|
clc
clear
//Input data
t=0.005//Length of the crystal in m
Y=(7.9*10^10)//Youngs modulus in N/m^2
d=2650//Density in kgm^3
//Calculations
f1=((1/(2*t))*sqrt(Y/d))/10^5//Fundamental vibration in Hz *10^5
f2=2*f1/10//Frequency of first overcome in Hz *10^6
//Output
printf('The frequency of the fundamental note is %3.2f *10^5 Hz \n The first overtone emitted by a piezoelectric crystal is %3.3f *10^6 Hz',f1,f2)
|
0ce635013780b48194e39c2206c2ce17e8600a6d
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1535/CH3/EX3.8/Ch03Ex8.sci
|
30238fef97d0ce36300f9d0a32e6f220cf2105d1
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 340
|
sci
|
Ch03Ex8.sci
|
// Scilab Code Ex3.8 : Page-73 (2010)
Dn = 0.30; // Diameter of nth dark ring with air film, cm
dn = 0.25; // Diameter of nth dark ring with liquid film, cm
mu = (Dn/dn)^2; // Refractive index of the liquid
printf("\nThe refractive index of the liquid = %4.2f", mu);
// Result
// The refractive index of the liquid = 1.44
|
0d756d8c4d3062910f176cf3f65ab5765a546a54
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3811/CH6/EX6.3/Ex6_3.sce
|
bc3be65070f08537e9896c0005ec0c015184623e
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,084
|
sce
|
Ex6_3.sce
|
//Book name: Fundamentals of electrical drives by Mohamad A. El- Sharkawi
//chapter 6
//example 6.3
//edition 1
//publisher and place:Nelson Engineering
clc;
clear;
Vs=150;//source voltage of DC shunt motor in volt
n1=1200;//synchronous speed in rpm
Ra=2;//armature resistance in ohm
Rf=150;//field resistance in ohm
I=10;//line current in ampere
If1=(Vs/Rf);//Field current before adding the resistance in ampere
//Assume the resistance added in the field circuit to reduce the field current by 20%
If2=.8;//Field current after adding the resistance in ampere
Ia1=I-If1;//Armature current before inserting the resistance in ampere
Ia2=(If1*Ia1)/If2;//Armature current after inserting the resistance in ampere
disp(Ia2,'The armature current after inserting the resistance in ampere is:')
Ea1=Vs-(Ia1*Ra);
Ea2=Vs-(Ia2*Ra);
n2=(If1*n1*Ea2)/(Ea1*If2);
disp(n2,'The motor speed in rpm is:')
Radd=(Vs-(If2*Rf))/If2;
disp(Radd,'The value of added resistance in ohm is:')
P=If2^(2)*Radd;
disp(P,'The extra field loss due to the addition of resistance in watt is:')
|
03ba58d71bf372771b547deffb77870923c48af1
|
8217f7986187902617ad1bf89cb789618a90dd0a
|
/browsable_source/2.4/Unix-Windows/scilab-2.4/macros/percent/%r_c_s.sci
|
40263ce1f91149ac0971a9290fee56caad0ecab4
|
[
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] |
permissive
|
clg55/Scilab-Workbench
|
4ebc01d2daea5026ad07fbfc53e16d4b29179502
|
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
|
refs/heads/master
| 2023-05-31T04:06:22.931111
| 2022-09-13T14:41:51
| 2022-09-13T14:41:51
| 258,270,193
| 0
| 1
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 152
|
sci
|
%r_c_s.sci
|
function f=%r_c_s(f,m)
// f=%r_c_s(r,m) <=> f=[r, m] [rational, constant]
//!
// Copyright INRIA
[p,q]=size(m)
f(2)=[f(2),m]
f(3)=[f(3),ones(p,q)]
|
82d842d4a6329ba57ad1c7133e7e0aba4d1b24cf
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1553/CH24/EX24.10/24Ex10.sce
|
90eaad16fe24a2a3d8904c434ccba2ca7a3290a6
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 147
|
sce
|
24Ex10.sce
|
//Chapter 24 Ex 10
clc;
clear;
close;
dia=3.8;
A=((dia)^2)/2;
mprintf("The area od the square whose diagonal is given is %.2f sq.meter",A);
|
6bd4da7e2f80ee5989fbdf5e08e2bbfe2bba5f0d
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1073/CH5/EX5.22/5_22.sce
|
e7c741b85d52404dd626034d262599230366b789
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,542
|
sce
|
5_22.sce
|
clc;
clear;
//Example 5.22
mh_dot=16.67; //Mass flow rate of hot fluid in [kg/s]
mc_dot=20; //Mass flow rate of cold fluid in [kg/s]
Cph=3.6; //Sp heat of hot fluid in [kJ/kg.K]
Cph=Cph*1000; //Sp heat of hot fluid in [J/kg.K]
Cpc=4.2; //Sp heat of cold fluid in [kJ/(kg.K)]
Cpc=Cpc*1000; //Sp heat of cold fluid in [J/(kg.K)]
U=400; //Overall heat transfer coefficient in [W/sq m.K]
A=100; //Surface area in [sq m]
mCp_h=mh_dot*Cph //[J/s] or [W/K]
mCp_c=mc_dot*Cpc //[J/s] or [W/K]
mCp_small=mCp_h //[W/K]
C=mCp_small/mCp_c //Capacity ratio
ntu=U*A/mCp_small //NTU
T1=973; //Hot fluid inlet temperature in [K]
t1=373; //Cold fluid inlet temperature in [K]
//Case 1:Countercurrent flow arrangement
E=(1-%e^(-(1-C)*ntu))/(1-C*%e^(-(1-C)*ntu)) //Effectiveness
//W=T1-T2/(T1-t1) therefore:
T2=T1-E*(T1-t1) //[K]
printf("\nExit temperature of hot fluid is %d K",round(T2));
t2=mCp_h*(T1-T2)/(mCp_c)+t1 //[From energy balance eqn in ][K]
printf("\nExit temperature of cold fluid is %d K(%d C)\n",round(t2),round(t2-273));
//Case 2:Parallel flow arrangement
E1=(1-%e^(-(1+C)*ntu))/(1+C)
//In the textbok here is a calculation mistake,and the value of E is takne as E=0.97
T2=T1-E1*(T1-t1) //[K]
t2=mCp_h*(T1-T2)/(mCp_c)+t1 //[From energy balance eqn in ][K]
printf("\nExit temperature of Hot water=%f K\n",T2);
printf("\nExit temperature of cold water=%f K\n",t2);
|
a0622161241950423a7d0dc7b3b32e56c6fe309f
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/752/CH12/EX12.4.1/12_4_1.sce
|
18a95e6098704fc1e2236c4093ecd1e9668579c7
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 261
|
sce
|
12_4_1.sce
|
clc;
//page no 419
// problem no 12.4.1
//a binary polar waveform with following specifications are given
Vs_Vn=4;//SNVR
a=erf(4/sqrt(2));
b=erfc(4/sqrt(2));
Pbe=1/2 * b;// bit error probability
disp(a);
disp(b);
disp(Pbe,'The bit error probability');
|
7bfd54c53495be4db90460a8de03e6cebd837ed5
|
df9b25ceab5916f0a9256bce2d326a82f8daa2b8
|
/app/public/views/components/student.sce
|
e3bc8bd739576f8cd94446ece3db5f94447c24f8
|
[] |
no_license
|
TheBrenny/SAD-assignment2
|
6625611ebde9619ca45bdb7996ef51a653868059
|
1f2b247c275b2d3327e58b8752d3e2e5a0cc5823
|
refs/heads/master
| 2023-01-21T16:46:45.535129
| 2020-11-02T01:22:18
| 2020-11-02T01:22:18
| 297,238,799
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 414
|
sce
|
student.sce
|
<div class="student card flex" target="[[ studentID ]]">
<div class="studentImage"><img src="/assets/img/profile.svg" alt="Student Image"></div>
<div class="studentName"><span style="font-size: 0.85em">[[ fname ]]</span> [[ lname ]]</div>
<div class="studentID">
[[?= studentID != "" ]]
<span style="font-size: 0.85em">StudentID:</span> [[ studentID ]]
[[?==]]
</div>
</div>
|
d2f245baff9ae336361ddd4220e28f3d6fb94783
|
6d976a524de332465dfaf499c4cdf8f09499f4fe
|
/xcos_blocks/ota.sci
|
6ca3ac9663141526d525ed7b4c00c0dce07f2fd4
|
[] |
no_license
|
skim819/rasp30
|
78b035fa0f1d5e94e434d26324d3238695b1908c
|
1efee4f95cda788c2a379cc95a22cee31683d429
|
refs/heads/master
| 2020-04-07T07:42:52.848775
| 2016-01-27T21:22:55
| 2016-01-27T21:22:55
| 50,114,407
| 0
| 0
| null | 2016-01-21T14:51:37
| 2016-01-21T14:51:36
| null |
UTF-8
|
Scilab
| false
| false
| 1,485
|
sci
|
ota.sci
|
function [x,y,typ]=ota(job,arg1,arg2)
// Copyright INRIA
x=[];y=[];typ=[];
select job
case 'plot' then
standard_draw(arg1)
case 'getinputs' then //** GET INPUTS
[x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then
[x,y,typ]=standard_outputs(arg1)
case 'getorigin' then
[x,y]=standard_origin(arg1)
case 'set' then
x=arg1;
graphics=arg1.graphics;exprs=graphics.exprs
model=arg1.model;
while %t do
[ok,ibias,linrge, exprs]=getvalue('Set OTA block parameters',..
['Ibias';'Linear Range'],list('vec',-1,'vec',-1),exprs)
if ~ok then break,end
if ok then
model.rpar=[ibias,linrge]
graphics.exprs=exprs;
x.graphics=graphics;x.model=model
break
end
end
case 'define' then
in=[2 1]
out=in
linrge=2
ibias=1e-6
model=scicos_model()
model.sim=list('ota_func',5)
model.in=-ones(2,1)
model.in2=-ones(2,1)
model.intyp=-ones(2,1)
model.out=-1
model.out2=-1
model.outtyp=-1
model.rpar=[ibias,linrge]
model.blocktype='c'
model.dep_ut=[%t %f]
exprs=[sci2exp(ibias);sci2exp(linrge)]
gr_i=['text=[''OTA''];';'xstringb(orig(1),orig(2),text,sz(1),sz(2),''fill'');']
x=standard_define([7 3],model,exprs,gr_i)
end
endfunction
|
361a27225e56af5e78f6239739ad01f4fbb9ab0c
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3886/CH3/EX3.4/Ex3_4.sce
|
18472dba7cc06cb0c4f79c92ae8c9aa72ea38d3c
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 409
|
sce
|
Ex3_4.sce
|
//Find resultant
Rx=60-100*cosd(60)-120*cosd(30) //kN (towards left)
Ry=-80+100*sind(60)-120*sind(30) //kN (downwards)
R=sqrt(Rx^2+Ry^2) //kN
alpha=atand(Ry/Rx) //degree (shown in fig. 3.13(b))
MA=(80*100*cosd(60)+60*100*sind(60)+120*100*sind(30)) //kN-mm
//intercept on x-axis is
x=MA/Ry //mm (as shown in fig. 3.13(a))
printf("R=%.0f kN is the resultant as shown in fig. 3.13 (a)",R)
|
d2a3f9de2e04151bee88e5802d9ca4cfc178195f
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3673/CH5/EX5.a.3/Example_a_5_3.sce
|
5b962e905d5e7744b7c2a32fe3f53fcd6967ba38
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,632
|
sce
|
Example_a_5_3.sce
|
//Example_a_5_3 page no:203
clc;
R1=100;
R2=500;
V1mag=23.1;
V1ang=19.71;
V1real=V1mag*cosd(V1ang);
V1imag=V1mag*sind(V1ang);
V100=30;
//calculating the required voltages
V100real=real(V100)-V1real;
V100imag=imag(V100)-V1imag;
V100mag=sqrt(V100real^2+V100imag^2);
V100ang=atand(V100imag/V100real);
disp(V100mag,"the magnitude of voltage across 100 ohm is(in V)");
disp(V100ang,"the angle of voltage across 100 ohm is(in degree)");
disp(V1mag,"the magnitude of voltage across branch element is (in V)");
disp(V1ang,"the angle of voltage across branch element is (in degree)");
//calculating the required current values
I100mag=V100mag/R1;
I100ang=V100ang;
disp(I100mag,"the magnitude of current passing through 100 ohm is(in A)");
disp(I100ang,"the angle of current passing through 100 ohm is(in degree)");
I500mag=V1mag/R2;
I500ang=V1ang;
disp(I500mag,"the magnitude of current passing through 500 ohm is(in A)");
disp(I500ang,"the angle of current passing through 500 ohm is(in degree)");
Il1mhmag=V1mag/314.1;
Il1mhang=V1ang-90;
disp(Il1mhmag,"the magnitude of current passing through 1 milli Henry inductor is (in A)");
disp(Il1mhang,"the angle of current passing through 1 milli Henry inductor is (in degree)");
Il3mhmag=V1mag/942.5;
Il3mhang=V1ang-90;
disp(Il3mhmag,"the magnitude of current passing through 3 milli Henry inductor is (in A)");
disp(Il3mhang,"the angle of current passing through 3 milli Henry inductor is (in degree)");
disp("the total current lags the circuit is predominantly inductive");
//values varies slightly with text book hence values are rounded off in text book
|
08c95c392cc828436e9dd9e578ea92af2c8f3bde
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2498/CH1/EX1.35/ex1_35.sce
|
87b843d9700a73298274d1783b63f56c4f8ce2cb
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 253
|
sce
|
ex1_35.sce
|
// Exa 1.35
clc;
clear;
close;
format('v',6)
// Given data
C_T1 = 15;// in pF
Vb1 = 8;// in V
Vb2 = 12;// in V
// C_T1/C_T2 = (Vb2/Vb1)^(1/2);
C_T2 = C_T1 * ((Vb1/Vb2)^(1/2));// in pF
disp(C_T2,"The value of C_T for reverse bias in pF is");
|
a57969fab61c6c9a55c46722446b0a5a885ad5cf
|
0592c9e4cfbb77a0755aff6f0c798d9fe31f6ff4
|
/scilab/CDO_Pricer/scilab/last_computation.sci
|
9efa30f8982519f6f8e5457cc25f3e4c3cf3ca55
|
[] |
no_license
|
FinancialEngineerLab/premia-13-cpp_FICC
|
e19caa6a9cadb4ad1361053efc0dfc9418071cf9
|
e271da627dbfc8c2c1f7e9f700766544f64c72b2
|
refs/heads/master
| 2023-03-16T11:11:26.830681
| 2016-04-19T05:58:16
| 2016-04-19T05:58:16
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 4,906
|
sci
|
last_computation.sci
|
//winId=progressionbar('Calcul en cours...');
printf("***************************************************\n");
print_product();
print_model();
print_method();
printf("***************************************************\n");
printf("Computing...\n");
select Method,
case 1 then
[price, dl, pl] = price_cdo(n_comp, nominal, dates, evstr(product(5)), intensity, taux(:,1), taux(:,2), evstr(model1(2)), evstr(model2(2)), evstr(model1(4)), evstr(model2(4)), method, evstr(params_method));
//winclose(winId);
if (method <= 2)
setmenu('CDO',5);
else
if (method <= 5)
setmenu('CDO',6);
end;
end;
nt=size(tranches,'*');
if (method <= 5)
// Affichage
for (i=1:nt-1),
printf("Tranche %i: %.2f\% - %.2f\% \n", i, tranches(i), tranches(i+1));
printf(" Price: %.5f \n", price(i));
printf(" Default Leg: %.5f \n", dl(i));
printf(" Payment Leg: %.5f \n\n", pl(i));
end;
printf("Results are in variables: price, dl, and pl.\n");
else
if(method==6)
// Affichage pour Monte-Carlo avec IC
for (i=1:nt-1),
printf("Tranche %i: %.2f\% - %.2f\% \n", i, tranches(i), tranches(i+1));
icpl = 1.96 * sqrt(pl(i+nt-1) / evstr(params_method(1)));
icdl = 1.96 * sqrt(dl(i+nt-1) / evstr(params_method(1)));
printf(" Price: %.5f \t[%.5f, %.5f]\n", price(i), ((dl(i)-icdl)/(pl(i)+icpl))*10000, ((dl(i)+icdl)/(pl(i)-icpl))*10000);
printf(" Default Leg: %.5f \t[%.5f, %.5f]\n", dl(i), dl(i)-icdl, dl(i)+icdl);
printf(" Payment Leg: %.5f \t[%.5f, %.5f]\n\n", pl(i), pl(i)-icpl, pl(i)+icpl);
end
else
if(method==7)
// Affichage pour Monte-Carlo avec IC
for (i=1:nt-1),
printf("Tranche %i: %.2f\% - %.2f\% \n", i, tranches(i), tranches(i+1));
icpl = 1.96 * sqrt(pl(i+nt-1) / evstr(params_method(1)));
icdl = 1.96 * sqrt(dl(i+nt-1) / evstr(params_method(1)));
printf(" Price: %.5f \t[%.5f, %.5f]\n", price(i), ((dl(i)-icdl)/(pl(i)+icpl))*10000, ((dl(i)+icdl)/(pl(i)-icpl))*10000);
printf(" Default Leg: %.5f \t[%.5f, %.5f]\n", dl(i), dl(i)-icdl, dl(i)+icdl);
printf(" Payment Leg: %.5f \t[%.5f, %.5f]\n\n", pl(i), pl(i)-icpl, pl(i)+icpl);
end;
else
if(method==8)
for (i=1:nt-1),
printf("Tranche %i: %.2f\% - %.2f\% \n", i, tranches(i), tranches(i+1));
printf(" Price: %.5f \n", price(i));
printf(" Default Leg: %.5f \n", dl(i));
printf(" Payment Leg: %.5f \n\n", pl(i));
end;
printf("Results are in variables: price, pl, and dl.\n");
end;
end;
end;
end;
mode(0);
case 2 then
select model1(4),
case 1 then
method=9;
[price, dl, pl] = price_cdo(n_comp, nominal, dates, evstr(product(5)), intensity, taux(:,1), taux(:,2), evstr(model1(2)), evstr(model2(2)), evstr(model1(4)), evstr(model2(4)), method, evstr(params_method));
//winclose(winId);
nt=size(tranches,'*');
x=ones(5,1);
y=ones(5,1);
for (i=1:1),
if(tranches(i+1)<=0.03) then
printf("Tranche %i: %.2f\% - %.2f\% \n", i, tranches(i), tranches(i+1));
printf(" Price: %.5f \n",100*(dl(i)-0.05*pl(i))/((tranches(i+1)-tranches(i))*n_comp*nominal));
printf(" Default Leg: %.5f \n", dl(i) );
printf(" Payment Leg: %.5f \n\n",pl(i) );
printf("spread is given in percent if detachment point is less than 0.03.\n");
else
printf("Tranche %i: %.2f\% - %.2f\% \n", i, tranches(i), tranches(i+1));
printf(" Price: %.5f \n", price(i));
printf(" Default Leg: %.5f \n", dl(i));
printf(" Payment Leg: %.5f \n\n", pl(i));
end;
end;
printf("***************************************************\n");
for(i=nt:nt+4),
printf(" Base_correlation: %.5f \n", pl(i));
end;
for(i=1:5),
x(i,1)=dl(nt+i-1);
y(i,1)=pl(nt+i-1);
end;
plot(x',y);
xtitle('Base correlation','att_det','correlation');
mode(0);
case 2 then
method=10;
[price, dl, pl] = price_cdo(n_comp, nominal, dates, evstr(product(5)), intensity, taux(:,1), taux(:,2), evstr(model1(2)), evstr(model2(2)), evstr(model1(4)), evstr(model2(4)), method, evstr(params_method));
//winclose(winId);
x=ones(50,1);
y=ones(50,1);
nt=size(tranches,'*');
for (i=1:nt-1),
if (tranches(i+1)<=0.03) then
printf("Tranche %i: %.2f\% - %.2f\% \n", i, tranches(i), tranches(i+1));
printf(" Price: %.5f \n", 100*(dl(i)-0.05*pl(i))/((tranches(i+1)-tranches(i))*n_comp*nominal));
printf(" Default Leg: %.5f \n", dl(i));
printf(" Payment Leg: %.5f \n\n",pl(i) );
printf("spread is given in percent if detachment point is less than 0.03.\n");
else
printf("Tranche %i: %.2f\% - %.2f\% \n", i, tranches(i), tranches(i+1));
printf(" Price: %.5f \n", price(i));
printf(" Default Leg: %.5f \n", dl(i));
printf(" Payment Leg: %.5f \n\n", pl(i));
end;
end;
for(i=1:50),
x(i,1)=dl(nt+i-1);
y(i,1)=pl(nt+i-1);
end;
plot(y',x);
xtitle('Implied intensity density curve ','X_axis','Y_axis');
mode(0);
end;
end;
|
0be5db5f7a67e7332578862ca60edc0b7647068a
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/629/CH13/EX13.9/example13_9.sce
|
d169454c0305939ea6f524c94f95ecb2fc992a5b
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 497
|
sce
|
example13_9.sce
|
clear
clc
//Example 13.9 COMPRESSIBLE FLOW
k=1.4;
p1=150000; //upstream pressure[Pa]
p2=100000; //throat pressure[Pa]
T1=300; //temperature[K]
R=287; //[J/Kg.K]
//Ideal gas law
rho1=p1/(R*T1) //[Kg/m^3]
D1=0.03; //[m]
D2=0.01; //[m]
A2=%pi*D2^2/4 //area[m^2]
Cd=1;
//Mass flow rate
m=Cd*A2*((p2/p1)^(1/k))*{([2*k/(k-1)]*p1*rho1*[1-(p2/p1)^((k-1)/k)])/(1-(p2/p1)^(2/k)*(D2/D1)^4)}^(1/2) //[Kg/s]
printf("\nThe mass flow rate of air flowing through a venturi meter = %.4f kg/s.\n",m)
|
272a195d6f0a1fb0e78014e8590a5e511a74f86a
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2666/CH5/EX5.1/5_1.sce
|
55de7532bb438a82cd05965fe99430f386e44fb5
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 237
|
sce
|
5_1.sce
|
clc
//initialisation of variables
h=1000//Btu
t1=70//F
t2=740//F
p=530//Btu
p1=1200//Btu
//CALCULATIONS
Q=h*(1-p/p1)//Btu
Q1=h*(p/p1)//Btu
//RESULTS
printf('the available energy and the unavailable energy equals=% f Btu',Q1)
|
4e78006e6ba860dced3abb505b75a8ecca1d1729
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2891/CH1/EX1.17/Ex1_17.sce
|
04ed17619627aca9294366c846b42456a766bdcf
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 147
|
sce
|
Ex1_17.sce
|
// Exa 1.17
clc;
clear;
close;
// given :
A_p=22 // power gain
A_p_dB=10*log10(A_p) // power gain in dB
disp(A_p_dB,"power gain in dB:")
|
e3e4f0f0d27a7d02317f0b41d702ac3e037cb24d
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3769/CH13/EX13.3/Ex13_3.sce
|
f1e39a37fdf0f5581e95b9aaa3c367eb1b66adc0
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 176
|
sce
|
Ex13_3.sce
|
clear
//Given
E=220 //V
//Calculation
//
E0=sqrt(2)*E
Emean=2*E0/%pi
//Result
printf("\n Average e.m.f during a positive half cycle is %0.0f V",Emean)
|
e6708bb1b72ca8fbd750cbcede30dae4e218ee14
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2093/CH7/EX3.b/exa_3_b.sce
|
1b5abef76cb1fad875092aa68e851615da068838
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 636
|
sce
|
exa_3_b.sce
|
// Exa 3.b
clc;
clear;
close;
// Given data
I_CQ= 10;// in mA
I_CQ= I_CQ*10^-3;// in A
V_CQ= 5;// in V
V_CC= 10;// in V
R_C= 0.4;// in kΩ
R_C= R_C*10^3;// in Ω
V_BE= 0.075;// in V
V_BB= 0.175;// in V
bita=100;
bita_max=120;
bita_min= 40;
// Applying KVL we get, V_CQ= V_CC-I_C*(R_C+R_E)
R_E= (V_CC-V_CQ)/I_CQ-R_C;// in Ω
disp(R_E,"The value of R_E in Ω is :")
I_B= I_CQ/bita;// in A
R_B= (V_BB-V_BE)/I_B;// in Ω
disp(R_B*10^-3,"The value of R_B in kΩ")
I_Cmax= bita_max*I_B;// in A
I_Cmin= bita_min*I_B;// in A
delta_I_CQ= I_Cmax-I_Cmin;// in A
disp(delta_I_CQ*10^3,"The value of delta_I_C in mA is : ")
|
0a50345a8be8016bfc44230cb62fb85089f3facb
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/527/CH6/EX6.2/6_2exam.sce
|
6c9273bb00315bd7f5ab604a902f71e7d2bf5e26
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 288
|
sce
|
6_2exam.sce
|
//Engineering and Chemical Thermodynamics
//Example 6.2
//Page no :261
clear ; clc ;
//Given
slop = -4222.1 ;
R = 8.314 ;
del_h_vap = -R * slop * 10^-3 ;
disp(" Example: 6.2 Page no : 261") ;
printf("\n Enthalpy of vapourisation of Ga(CH3)3 = %.1f kJ/mol",del_h_vap) ;
|
6b666dcc54b0cd7b8e0f09f4a2adbe39dba01f5a
|
99b4e2e61348ee847a78faf6eee6d345fde36028
|
/Toolbox Test/vco/vco11.sce
|
a00d2a5c857df2dd5536831526d4f92ec57370eb
|
[] |
no_license
|
deecube/fosseetesting
|
ce66f691121021fa2f3474497397cded9d57658c
|
e353f1c03b0c0ef43abf44873e5e477b6adb6c7e
|
refs/heads/master
| 2021-01-20T11:34:43.535019
| 2016-09-27T05:12:48
| 2016-09-27T05:12:48
| 59,456,386
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 300
|
sce
|
vco11.sce
|
//i/p vector contains elements of type char
x=['a' 'b' 'c' 'd'];
y=vco(x,150,500);
disp(y);
//output
// !--error 246
//Function not defined for given argument type(s),
// check arguments or define function %c_abs for overloading.
//at line 48 of function vco called by :
//y=vco(x,150,500);
|
374e7e00a9b24edf9949762c47ea77a1a5159e28
|
b29e9715ab76b6f89609c32edd36f81a0dcf6a39
|
/ketpic2escifiles6/Evlptablepara.sci
|
b9c86eefe8fc955c7ad74de352102de7e981767f
|
[] |
no_license
|
ketpic/ketcindy-scilab-support
|
e1646488aa840f86c198818ea518c24a66b71f81
|
3df21192d25809ce980cd036a5ef9f97b53aa918
|
refs/heads/master
| 2021-05-11T11:40:49.725978
| 2018-01-16T14:02:21
| 2018-01-16T14:02:21
| 117,643,554
| 1
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 2,201
|
sci
|
Evlptablepara.sci
|
// 08.09.10
// 13.10.21 ( __ added to varibles )
// 17.05.21 Mdv, Ndv changed to division number
function [Zval__,Xval__,Yval__]=Evlptablepara(MS__)
Nargs__=Mixlength(MS__);
Eps__=10^(-3);
Tmp__=Mixop(1,MS__);
FdL__=Fullformfunc(Tmp__);
Mdv=50;
Ndv__=50;
if Nargs__>=2
Tmp__=Mixop(2,MS__);
if Mixtype(Tmp__)~=1 Tmp__=Mixop(1,Tmp__); end;
if length(Tmp__)>1
Mdv__=Tmp__(1,1);
Ndv__=Tmp__(1,2);
else
Mdv__=Tmp__
if Nargs__==2
Ndv__=Mdv__
else
Tmp1__=Mixop(3,MS__);
if type(Tmp1__)==1 & length(Tmp1__)==1
Ndv__=Tmp1__;
else
Ndv__=Mdv__;
end
end
end
end;
Tmp__=Mixop(5,FdL__);
K__=mtlb_findstr(Tmp__,'=');
Uname__=part(Tmp__,1:K__-1);
Urange__=evstr(part(Tmp__,K__+1:length(Tmp__)));
Tmp__=Mixop(6,FdL__);
K__=mtlb_findstr(Tmp__,'=');
Vname__=part(Tmp__,1:K__-1);
Vrange__=evstr(part(Tmp__,K__+1:length(Tmp__)));
U1__=Urange__(1); U2__=Urange__(2);
V1__=Vrange__(1); V2__=Vrange__(2);
Du__=(U2__-U1__)/(Mdv__); //17.05.21
Dv__=(V2__-V1__)/(Ndv__); //17.05.21
Xyzstr__=[Mixop(2,FdL__),Mixop(3,FdL__),Mixop(4,FdL__)];
I__=1;
Zval__=[];
for v__=V1__:Dv__:V2__
v1__=v__-Eps__/2; v2__=v__+Eps__/2;
ZuL__=[];
for u__=U1__:Du__:U2__;
u1__=u__-Eps__/2; u2__=u__+Eps__/2;
Tmpv__=strsubst(Xyzstr__,Vname__,'v__');
Tmp__=strsubst(Tmpv__,Uname__,'u1__');
P1__=evstr(Tmp__);
Tmp__=strsubst(Tmpv__,Uname__,'u2__');
P2__=evstr(Tmp__);
Tmp1__=Parapt(P1__);
Tmp2__=Parapt(P2__);
Dxu__=(Tmp2__(1)-Tmp1__(1))/Eps__;
Dyu__=(Tmp2__(2)-Tmp1__(2))/Eps__;
u1__=u__-Eps__/2; u2__=u__+Eps__/2;
Tmpu__=strsubst(Xyzstr__,Uname__,'u__');
Tmp__=strsubst(Tmpu__,Vname__,'v1__');
P1__=evstr(Tmp__);
Tmp__=strsubst(Tmpu__,Vname__,'v2__');
P2__=evstr(Tmp__);
Tmp1__=Parapt(P1__);
Tmp2__=Parapt(P2__);
Dxv__=(Tmp2__(1)-Tmp1__(1))/Eps__;
Dyv__=(Tmp2__(2)-Tmp1__(2))/Eps__;
Tmp__=Dxu__*Dyv__-Dxv__*Dyu__;
ZuL__=[ZuL__,Tmp__];
end;
Zval__=[Zval__;ZuL__];
end;
Yval__=V1__:Dv__:V2__;
Xval__=U1__:Du__:U2__;
endfunction;
|
6533d0c763d5dcf26c5ee870d6f4c2d05ee8ef6b
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3720/CH12/EX12.4/Ex12_4.sce
|
75e0a1ee30a302f893de290306f585bf2f4421e1
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 462
|
sce
|
Ex12_4.sce
|
//Example 12_4
clc;clear;funcprot(0);
// Given values
T_0=473;// T_0=T_1 in K
P_0=1400;// P_0=P_1 in kPa
// Properties
k=1.289;//The specific heat ratio of carbon dioxide
//Calculation
//T_1=T_c/T_0
T_1=2/(k+1);
T_c=T_1*T_0;//The critical temperature in K
printf('The critical temperature T*=%0.0f K\n',T_c);
//P_1=P_c/P_0
P_1=(2/(k+1))^(k/(k-1));
P_c=P_1*P_0;//The critical pressure in KPa
printf('The critical pressure P*=%0.0f KPa\n',P_c);
|
c20d19a8c83cc59449aa663d28c56ca83e4dc531
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2735/CH16/EX16.14/Ex16_14.sce
|
be3dced6397be14d68b93fbbff32a4f949d3e418
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 220
|
sce
|
Ex16_14.sce
|
clc
clear
//Initialization of variables
dH=-2369859 //Btu
r=1.986 //Gas constant
dn=5.5 //Change in number of moles
T=536.7 //R
//calculations
dQ=dH+dn*r*T
//results
printf("Higher heating value = %d Btu",dQ)
|
b85fb8517ed21ea5ef002b4ff27c76828de0b670
|
e82d1909ffc4f200b5f6d16cffb9868f3b695f2a
|
/Lista 4/SecondQuestion.sce
|
e373f2c9554af22373c4baec3fba3acaeaadcf15
|
[] |
no_license
|
AugustoCam95/Computational-Linear-Algebra
|
eb14307dd3b45ccc79617efe74d1faca639c36c5
|
99b1a1f9499fbc4343bd5c878444e9e281952774
|
refs/heads/master
| 2020-03-30T22:26:23.790763
| 2018-10-05T03:34:06
| 2018-10-05T03:34:06
| 151,666,289
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,330
|
sce
|
SecondQuestion.sce
|
function SecondQuestion()
//Comandos para imprimir a imagem com o posto 1
stacksize('max');
A = fscanfMat('imagem.txt')
stacksize('max');
B= FirstQuestion(A,1)
f=gcf();
f.color_map=graycolormap(32);
Matplot(B)
xs2png(gcf(),"plot1.png");
//comando para limpar o valor de A
clear
//Comandos para imprimir a imagem com o posto 5
A = fscanfMat('imagem.txt')
stacksize('max');
B= FirstQuestion(A,5)
f=gcf();
f.color_map=graycolormap(32);
Matplot(B)
xs2png(gcf(),"plot5.png");
clear
//Comandos para imprimir a imagem com o posto 10
A = fscanfMat('imagem.txt')
stacksize('max');
B = FirstQuestion(A,10)
f=gcf();
f.color_map=graycolormap(32);
Matplot(B)
xs2png(gcf(),"plot10.png");
clear
//Comandos para imprimir a imagem com o posto 50
A = fscanfMat('imagem.txt')
stacksize('max');
B = FirstQuestion(A,50)
f=gcf();
f.color_map=graycolormap(32);
Matplot(B)
xs2png(gcf(),"plot50.png");
A = fscanfMat('imagem.txt')
stacksize('max');
B = FirstQuestion(A,5000)
f=gcf();
f.color_map=graycolormap(32);
Matplot(B)
xs2png(gcf(),"plot5000.png");
endfunction
|
3eacef19d4cbf432266dfc21b78bff168605d6a8
|
848985a0f79ca7b51ae07d2a69da499a3093257a
|
/Assignment-1/GaussJordanInverse.sce
|
fb9ec506b2f692047b4963e8f4ee8c145bc02f39
|
[] |
no_license
|
Gituser143/Linear-Alegebra-SciLab-Assignment
|
db69f6cf6a2431e553dbd1f067a329dcb7979f41
|
6eef13de5aa3b2f45b0faaff826648738985377a
|
refs/heads/master
| 2020-12-30T04:18:21.185190
| 2020-04-04T07:24:22
| 2020-04-04T07:24:22
| 238,857,772
| 2
| 1
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 393
|
sce
|
GaussJordanInverse.sce
|
clc;clear;
A=[1,1,1;1,2,2;1,2,3];
n=length(A(1,:));
Aug=[A, eye(n,n)];
//Forward Elimination
for j=1:n-1
for i=j+1:n
Aug(i, j:2*n)= Aug(i, j:2*n) - Aug(i,j)/Aug(j,j)*Aug(j,j:2*n);
end
end
// Backward Elimination
for j=n:-1:2
Aug(1: j-1,:)=Aug(1: j-1,:) - Aug(1:j-1, j)/Aug(j,j)*Aug(j,:);
end
for j=1:n
Aug(j,:)=Aug(j,:)/Aug(j,j);
end
B=Aug(:, n+1:2*n);
disp(B, 'The inverse of A is');
|
1581241d90f6f51045a1bff4adf24fde280b662b
|
8217f7986187902617ad1bf89cb789618a90dd0a
|
/browsable_source/2.4/Unix-Windows/scilab-2.4/examples/misc-examples/dasrt3.sce
|
a8f8a1a3b310778991d4739ee9ed50b893bbe97c
|
[
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] |
permissive
|
clg55/Scilab-Workbench
|
4ebc01d2daea5026ad07fbfc53e16d4b29179502
|
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
|
refs/heads/master
| 2023-05-31T04:06:22.931111
| 2022-09-13T14:41:51
| 2022-09-13T14:41:51
| 258,270,193
| 0
| 1
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 703
|
sce
|
dasrt3.sce
|
//Copyright INRIA
files=G_make(['/tmp/res22.o'],'res22.dll');
link(files,'res22');
files=G_make(['/tmp/jac22.o'],'jac22.dll');
link(files,'jac22');
files=G_make(['/tmp/gr22.o'],'gr22.dll');
link(files,'gr22');
//
rtol=[1.d-6;1.d-6];atol=[1.d-6;1.d-4];
//
t0=0;y0=[2;0];y0d=[0;-2];t=[20:20:200];ng=1;
//
info=list([],0,[],[],[],0,0);
//Calling the routines by dasrt
//
[yy,nn]=dasrt([y0,y0d],t0,t,atol,rtol,'res22','jac22',ng,'gr22',info);
// hot restart (uncomment)
//[yy,nn,hot]=dasrt([y0,y0d],t0,t,atol,rtol,'res22','jac22',ng,'gr22',info);
//t01=nn(1);t=100:20:200;[pp,qq]=size(yy);y01=yy(2:3,qq);y0d1=yy(3:4,qq);
//[yy,nn,hot]=dasrt([y01,y0d1],t01,t,atol,rtol,'res22','jac22',ng,'gr22',info,hot);
|
d6c73f057a718621d259e42a8d5208294e4561c7
|
c87a44be475d3008f7d0fcb8dd2eac3b2fa78e94
|
/Examples/Chapter_5/Ex5_5.sce
|
20aee033033608ed67cbdc47865d0a1d6afeb573
|
[] |
no_license
|
Echeban/icmd3e
|
6c766ffafab0137a64de46448879d8a9eed2903c
|
6ca0273e322fa390fcabc66669f3f56c9af5a563
|
refs/heads/master
| 2020-03-27T09:08:47.798549
| 2018-08-27T15:45:44
| 2018-08-27T15:45:44
| 146,316,991
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 412
|
sce
|
Ex5_5.sce
|
// Example 5.5
mode(0); //prints everything not suppressed with ;
exec('C:\Users\EJB\OneDrive\Scilab\CLT.sci',0); // include CLT.sci
theta = 26.57;
sigma_ = [400; 100; -200];// laminate c.s. [MPa]
FT = [1020; 40; 60];// strength of E-glass/Epoxy Table 1.1
T = transf(theta);
sigma = T*sigma_ // lamina c.s.
sigma(3) = abs(sigma(3));//shear strength independent of sign
R = FT./sigma;
R = min(R)
|
f36d8911ee9ff71938c826792904b8878a19cd4a
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2084/CH6/EX6.5w/6_5w.sce
|
11f0e550a662b642e62189664b2e88546cf4b947
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 639
|
sce
|
6_5w.sce
|
//developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 6.5w
//calculation of the coefficient of kinetic friction
//given data
theta=30//angle(in degree)f the incline
g=10//gravitational acceleration(in m/s^2) of the earth
//calculation
a=g/4//acceleration(in m/s^2) of the block.....given
//f=m*g/4................taking parallel components to the incline
//N=m*g*cosd(theta)......taking vertical components to the incline
//from above equations,we get
muk=1/(4*cosd(theta))// muk=f/N equation of static friction
printf('the coefficient of kinetic friction is %3.2f',muk)
|
693e01b761443d73fa398ebdaf35456bc433639a
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/443/DEPENDENCIES/3_5_data.sci
|
a6b4bb163b92bae734692eacda8d3a7ea8a2402b
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 247
|
sci
|
3_5_data.sci
|
//Diameter Of Cylinder (in cm)
d=20;
//Length Of Stroke(in cm)
L=25;
//Clearence Volume (in cc)
Vc = 1570;
//Specific Heat Of Gas at Constant Pressure (in kj/kg K)
Cp=1.004;
//Specific Heat Of Gas at Constant Volume (in kj/kg K)
Cv=0.717;
|
be24f0f9db54fc0fcc059da1996ea22f0180fac3
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/797/CH8/EX8.3.e/8_03_example.sci
|
7c78cba6038bf76b47d7e989db584cdeaa7e7248
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 340
|
sci
|
8_03_example.sci
|
//Example 8-03 Determining the Head Loss in Water pipe
rho = 999 //density of water [kg/m^3]
mu = 1.138 * 10**-3 //dynamic viscosity of water [kg/m.s]
D = 5 //diameter of pipe [cm]
Vdot = 0.006 //flow rate of water through pipe [m^3/s]
L = 60 //length of pipe for which head loss is to be determined[m]
g = 9.81 //gravitational acceleration
|
01a5761cd921dec7d7f82651b410c450547ab916
|
daf9a7434ea9996fc591a79030570f48e396cdc5
|
/Normal/N(mu,sigma^2)/Normal(mu, sigma^2) CDF.sce
|
e883cc0e2bd9efbce86b5dabd1a75bce84227868
|
[] |
no_license
|
isabelle-le/MonteCarloSimulation
|
c8dbfc2f5485f6dc6291654032ecad6c01cce401
|
f96e0a11569b3e4dade452d99e9c1bbd6c3efb81
|
refs/heads/master
| 2020-04-05T22:40:20.686962
| 2018-11-12T19:18:50
| 2018-11-12T19:18:50
| 157,263,752
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,063
|
sce
|
Normal(mu, sigma^2) CDF.sce
|
// SIMULATION OF STD GAUSSIAN AND GAUSSIAN DISTRIBUTION - CDF
// Le Thu Huong ADEO1
clc
N = 10000;
n = 40;
x0 = -10;
xmax = 15;
delx = 0.2;
x = [x0:delx:xmax];
mu = 3;
sigma = 0.6;
for k = 1:length(x)
c1 = 0;
c2 = 0;
for j = 1:N
ubar = 0;
alpha = 0;
for i = 1:n
u = rand();
ubar = ubar + u/n;
end
alpha = sqrt(12*n)*(ubar - 0.5); //it s X
normalOne = alpha;
if normalOne < x(k)+ delx then
c1 = c1 + 1;
end
zed = sigma* alpha + mu; // it is Z
normalTwo = zed
if normalTwo < x(k)+ delx then
c2 = c2 + 1;
end
end
ProbaOne(k)= c1/N; // normal
ProbaTwo(k)= c2/N; // gaussian
end
plot(x,ProbaOne,'dg')
plot(x,ProbaTwo,'dr')
title('SIMULATION OF STD GAUSSIAN AND GAUSSIAN DISTRIBUTION - CDF');
xlabel(' number of x');
ylabel ('F[x]');
|
6e7b7b4981baec87d667866d93113c7367daabb4
|
58e46e2399198997cdd50c661bd7c508d597bfa2
|
/decode.sce
|
1d954b4e0bf7418dd7e15fd8df60beb9c7dc1984
|
[] |
no_license
|
Mistgun-Dev/Steganography
|
14105009aa3fd232b7ef20bb375224ba53decb0e
|
0fc932789562e103a4184e4b8aa996cc9adb2880
|
refs/heads/master
| 2021-05-11T00:00:42.753010
| 2018-01-21T00:49:29
| 2018-01-21T00:49:29
| 118,293,222
| 1
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,774
|
sce
|
decode.sce
|
// Ce fichier contient la fonction de décodage du programme
// Elle parcoure l'image tout en reconstituant les octets du message dissimulé bit par bit
// Afin de récupérer le bit caché dans l'octet, il suffit d'analyser la valeur de l'octet.
// Si la valeur est paire, alors le bit caché est 0 sinon le bit caché est 1
// La fonction renvoie en sortie le message décodé sous forme de chaine de caractères
function res=decode(encoded_pics)
[h,w] = size(encoded_pics);
binary_byte = emptystr();
len_text = 0;
text = 0;
search_size = 1;
current_character = 1;
current_bit = 1;
for i=1:h
for j=1:w
rgb = 1;
while(rgb <= 3)
byte = encoded_pics(i,j,rgb);
if(modulo(uint8(byte),uint8(2)) == 0) then
binary_byte = '0'+ binary_byte;
else
binary_byte = '1' + binary_byte;
end
rgb = rgb+1;
current_bit = current_bit+1;
if(current_bit > 8) then
if(search_size == 1) then
len_text = bin2dec(binary_byte);
search_size = 0;
else
text($+1) = bin2dec(binary_byte);
current_character = current_character + 1;
end
binary_byte = emptystr();
current_bit = 1;
end
if(current_character > len_text & search_size == 0) then
text = ascii(text);
text = string(text);
res = text;
return;
end
end
end
end
endfunction
|
062df5606fdddddb972388f0e11d9e5ad1502333
|
08bfc8a1f8e44adc624d1f1c6250a3d9635f99de
|
/SDKs/swig/Examples/test-suite/scilab/apply_signed_char_runme.sci
|
a4ff23af13fdae5a84f25075000ccf656b512363
|
[] |
no_license
|
Personwithhat/CE_SDKs
|
cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02
|
7afbd2f7767c9c5e95912a1af42b37c24d57f0d4
|
refs/heads/master
| 2020-04-09T22:14:56.917176
| 2019-07-04T00:19:11
| 2019-07-04T00:19:11
| 160,623,495
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 129
|
sci
|
apply_signed_char_runme.sci
|
version https://git-lfs.github.com/spec/v1
oid sha256:4e6393ea6f9be9dd8db59d7102376aeaff7c33d78385210df91d1ae3bc2834c9
size 1303
|
9db43ee51d60f66dad6828944c908b0a0a61c624
|
87a680e33132e06e24a3e8c803e812694c056907
|
/Hybrid_FSM_Kalman - Only_Controller.sce
|
46e60fd0f1a5f90e1292bf88552016e3b0305159
|
[
"BSD-2-Clause"
] |
permissive
|
wangwanglianhe/Hybrid_Fuzzy_Kalman_Filter
|
a1e6f81a23e70bb40ba5422c2ae3d32b14bc3fa8
|
1737ccc868e995abbce869885f20d0f7b4aeea15
|
refs/heads/master
| 2023-03-21T08:22:16.298255
| 2020-04-20T12:15:31
| 2020-04-20T12:15:31
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 2,489
|
sce
|
Hybrid_FSM_Kalman - Only_Controller.sce
|
clc
clear
A=[-0.773996386153021,96.9795539479971,0,0,0,0;-96.4009703982576,-1.63547954896882,0,0,0,0;0,0,-2.34381015553514,467.827125148274,0,0;0,0,-467.843356672122,-2.35020309294106,0,0;0,0,0,0,-205.796226457431,502.302308896131;0,0,0,0,-502.497944160656,-205.977559293018];
dum1=size(A);
n=dum1(1,1);
B=[-0.230745598618469,-0.153904745996477;0.0612777559552695,0.0606173681667591;-25.0923163191213,13.5416143638357;4.01556833701487,-3.21559278869453;-4.90371370694887,20.5766878763535;-5.44248661253549,6.08611624326062];
dum2=size(B);
q=dum2(1,2);
C=[-23.1554338545303,9.56281796834669,0.435674513053965,-0.466194198179862,-0.575339270789856,-0.316369760481547];
dum3=size(C);
p=dum3(1,1);
H=[0.258916103898922;0.101956592759767;-1.80129126804772;-4.56185147008189;25.0926976512821;-19.7319673467244];
dum4=size(H);
s=dum4(1,2);
G1=H;
H1=ones(n,1)*1e-6;
dum5=size(H1);
r=dum5(1,2);
loadmatfile('Lk.mat');
loadmatfile('M_A.mat');
loadmatfile('N_A.mat');
loadmatfile('M_B.mat');
loadmatfile('N_B.mat');
loadmatfile('M_C.mat');
loadmatfile('N_C.mat');
dum6=sqrt(2e-2);
M_A=dum6*M_A;
M_B=dum6*M_B;
M_C=dum6*M_C;
N_A=dum6*N_A;
N_B=dum6*N_B;
N_C=dum6*N_C;
fm=1e-1;
//dum6=1e-3;
//M_A=[0.1,0,0,0.1,0,0]'*dum6;
//M_B=[0.1,0,0.1,0,0,0]'*dum6;
//M_C=0.1*dum6;
//N_A=[0,0,0.1,0,0,0.1];
//N_B=[0.1,0];
//N_C=[0,0,0.1,0,0,0.1];
Linf=C'*C*1e-3;
function [LME, LMI, OBJ]=HybridFSMKDRC(XLIST)
[X,Kh,eps6,eps7,eps8,eps9,gama_wc]= XLIST(:)
LME=list(X-X')
LMI=list(-([X*A'+A*X+B*Kh+Kh'*B'+eps6*fm^2*eye(n,n)+eps7*M_A*M_A'+eps8*M_B*M_B'+eps9*M_B*M_B'+Linf'*Linf,-B*Kh,G1,H1,X,X*N_A',Kh'*N_B',zeros(n,n);-Kh'*B',zeros(n,n+s+r+n+n+n),Kh'*N_B';G1',zeros(s,n),-gama_wc*eye(s,s),zeros(s,r+n+n+n+n);H1',zeros(r,n+s+r+n+n+n+n);X,zeros(n,n+s+r),-eps6*eye(n,n),zeros(n,n+n+n);N_A*X,zeros(n,n+s+r+n),-eps7*eye(n,n),zeros(n,n+n);N_B*Kh,zeros(n,n+s+r+n+n),-eps8*eye(n,n),zeros(n,n);zeros(n,n),N_B*Kh,zeros(n,s+r+n+n+n),-eps9*eye(n,n)]),X,eps6,eps7,eps8,eps9,-gama_wc+5e7)
OBJ=[]
endfunction
dum7=1e0;
X0=eye(n,n)*1e1;
Kh0=zeros(q,n);
eps6_0=1*dum7;
eps7_0=1*dum7;
eps8_0=1*dum7;
eps9_0=1*dum7;
gama_wc0=1e9;
Init_guess=list(X0,Kh0,eps6_0,eps7_0,eps8_0,eps9_0,gama_wc0);
Mbound=1e0;
abstol=5e-6;
nu=10;
maxiters=500;
reltol=1e-10;
options=[Mbound,abstol,nu,maxiters,reltol];
Ans_LMI=lmisolver(Init_guess,HybridFSMKDRC,options);
//Ans_LMI=lmisolver(Init_guess,HybridFSMKDRC);
X=Ans_LMI(1);
Kh=Ans_LMI(2);
eps6=Ans_LMI(3);
eps7=Ans_LMI(4);
eps8=Ans_LMI(5);
eps9=Ans_LMI(6);
gama_wc=Ans_LMI(7);
K=Kh*(X^-1);
|
24767a0d1a7ca4f4ade899523c368936e4c51c96
|
dbd504f73f233675d0c8c2c8c5730e866aabcd96
|
/codes/OFDM1.sce
|
0bb9b16587d2ce0c23cf55aa2cf3fff2d1381b23
|
[] |
no_license
|
surajdurgesht/Wireless-Communication-Lab
|
f5019be42d24fe6568e98d666efd901283a0c7a7
|
e8fac339daf91d24ee0dd9e22e9236fcbb68dac3
|
refs/heads/master
| 2020-06-04T19:07:54.824459
| 2019-06-16T06:30:21
| 2019-06-16T06:30:21
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 645
|
sce
|
OFDM1.sce
|
clc
clear all
ns=100;
nbit=52;
snr=-10:18;
for k=1:length(snr)
ber=0;
for i=1:ns
data=rand(1,nbit)>0.5;
mdata=2*data- 1 ;
ofdmin=[mdata zeros(1,12)];
ofdmsym=ifft(ofdmin);
sigpow=ofdmsym*ofdmsym';
noisepow(k)=sigpow/(10^(snr(k)/10));
noise=sqrt(noisepow(k))*(rand(1,64,"normal")+sqrt(-1)*rand(1,64,"normal"));
ofdmsym_rx=ofdmsym+noise;
rxdata=fft(ofdmsym_rx);
rxmdata=rxdata(1:52);
outdata=real(rxmdata)>0;
err(i)=sum(outdata~=data);
end
ber=mean(err)/52;
ber1(k)=ber;
end
figure(1)
plot(snr,ber1)
xlabel('SNR')
ylabel('BER')
title('BER cureve for OFDM system over AWGN channel')
|
44cb5fe7b9d038f6c1eb7eb2f0bd005741b1b9ab
|
1db0a7f58e484c067efa384b541cecee64d190ab
|
/macros/residued.sci
|
182b9ca5f8b706821c57281ed99c261a32c52712
|
[] |
no_license
|
sonusharma55/Signal-Toolbox
|
3eff678d177633ee8aadca7fb9782b8bd7c2f1ce
|
89bfeffefc89137fe3c266d3a3e746a749bbc1e9
|
refs/heads/master
| 2020-03-22T21:37:22.593805
| 2018-07-12T12:35:54
| 2018-07-12T12:35:54
| 140,701,211
| 2
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,014
|
sci
|
residued.sci
|
function [r,p,f,m]=residued(b,a)
// Finds the partial fraction expansion of filter H(z)= B(z)/A(z).
// Calling Sequence
// [r,p,f,m]=residued(b,a)
// Parameters
// b: Real or complex valued vector or matrix
// a: Real or complex valued vector or matrix
// Description
// This is an Octave function.
// Similar to the "residuez" function. The difference being in the function "residuez", the IIR part (poles p and residues r) is driven in parallel with the FIR part(f) whereas in the function "residued", the IIR part is driven by the output of the FIR part. In signal modeling applications, this structure can be more accurate.
// Examples
// 1. [a,b,c,d]=residued([1 i;3 -4],[1 2; 3 4])
// a = [ 0.19405 - 1.31377i; 0.08329 + 0.99163i; -0.27734 + 0.32215i]
// b = [ -0.10184 - 1.19167i; -0.10184 + 1.19167i; -2.79632 - 0.00000i]
// c = 1
// d = [ 1 ; 1 ; 1]
funcprot(0);
rhs=argn(2);
if (rhs<2) then
error ("Wrong number of input arguments.")
else [r,p,f,m]=callOctave("residued",b,a)
end
endfunction
|
d8b517aa929289f91d1702b0f76a13108e032c20
|
717ddeb7e700373742c617a95e25a2376565112c
|
/1445/CH8/EX8.17/Ex8_17.sce
|
6e4141500a342b2803a2060bdb2aa01ebcdcad7b
|
[] |
no_license
|
appucrossroads/Scilab-TBC-Uploads
|
b7ce9a8665d6253926fa8cc0989cda3c0db8e63d
|
1d1c6f68fe7afb15ea12fd38492ec171491f8ce7
|
refs/heads/master
| 2021-01-22T04:15:15.512674
| 2017-09-19T11:51:56
| 2017-09-19T11:51:56
| 92,444,732
| 0
| 0
| null | 2017-05-25T21:09:20
| 2017-05-25T21:09:19
| null |
UTF-8
|
Scilab
| false
| false
| 2,238
|
sce
|
Ex8_17.sce
|
//CHAPTER 8- DIRECT CURRENT MACHINES
//Example 17
disp("CHAPTER 8");
disp("EXAMPLE 17");
//200 V DC shunt motor of 1000 rpm
//VARIABLE INITIALIZATION
v_t=200; //in Volts
I_l=22; //line current in Amperes
N1=1000; //in rpm
r_a=0.1; //armature resistancein Ohms
r_f=100; //field resistance in Ohms
N2=800; //new speed in rpm
//SOLUTION
//solution (i)
//load torque is independent of speed, the torque is constant at both speeds
//T dir prop phi1.Ia1 dir prop phi2.Ia2
//Therefore we get
//phi1.Ia1=phi2.Ia2 (since phi1=phi2)
// or Ia1=Ia2
I_f=v_t/r_f; // field current
I_a1=I_l-I_f; // armature current
E_a1=v_t-(I_a1*r_a); // counter emf
//on rearranging the equation E_a2:E_a1=N2:N1, where E_a2=v_t-I_a1*(r_a+r_s) and E_a1=v_t-(I_a1*r_a), we get,
r_s1=((v_t - ((N2*E_a1)/N1))/I_a1)-r_a;
disp(sprintf("(i) When the load torque is independent of speed, the additional resistance is %.2f Ω",r_s1));
//solution (ii)
//Load torque Tl is proportional to N
//But electromagnetic torque Te=k.phi.Ia
//therefore,
//k.phi1.Ia1 dir prop N1
//k.phi2.Ia2 dir prop n2
//hence we get (as phi1=phi2)
I_a2=(N2/N1)*I_a1;
//on rearranging the equation E_a2:E_a1=N2:N1, where E_a2=v_t-I_a2*(r_a+r_s) and E_a1=v_t-(I_a1*r_a), we get,
r_s2=((v_t - ((N2*E_a1)/N1))/I_a2)-r_a;
disp(sprintf("(ii)When the load torque is proportional to speed, the additional resistance is %.1f Ω",r_s2));
//solution (iii)
//The load Torque Tl dir prop N^2 dir prop phi.Ia
I_a2=(N2^2/N1^2)*I_a1;
//on rearranging the equation E_a2:E_a1=N2:N1, where E_a2=v_t-I_a2*(r_a+r_s) and E_a1=v_t-(I_a1*r_a), we get,
r_s3=((v_t - ((N2*E_a1)/N1))/I_a2)-r_a;
disp(sprintf("(iii)When the load torque varies as the square of speed, the additional resistance is %.2f Ω",r_s3));
//solution (iv)
//The load Torque Tl dir prop N^3 dir prop phi.Ia
I_a2=(N2^3/N1^3)*I_a1;
//on rearranging the equation E_a2:E_a1=N2:N1, where E_a2=v_t-I_a2*(r_a+r_s) and E_a1=v_t-(I_a1*r_a), we get,
r_s4=((v_t - ((N2*E_a1)/N1))/I_a2)-r_a;
disp(sprintf("(iv)When the load torque varies as the cube of speed, the additional resistance is %.2f Ω",r_s4));
//END
|
86a91c849ca872e79816b1a8703578e41f265e37
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1952/CH7/EX7.12/Ex7_12.sce
|
76b3397783b4c21a7de7bddf8d3f3a3b5ccdc8d9
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 278
|
sce
|
Ex7_12.sce
|
// chapter 7 , Example7.12 , pg 214
T=300 //temperature (in K)
Rh=0.55*10^-10 //Hall coefficient (in m^3/(A*s))
sigma=5.9*10^7 //conductivity (in ohm^-1 * m^-1)
DM= Rh*sigma //drift mobility
printf("Drift mobility (in m^2/(V *s))=")
disp(DM)
|
fd701097de9718ac84ec04e528912cf335164d87
|
ad460dded801650808ab694d8abdc2bdf495293c
|
/tests/list.tst
|
2f5dcafde6c40e91cbba4b11631bf2dd912fc17d
|
[
"MIT"
] |
permissive
|
pkvijay/metaDR
|
43fe6a12deba2e66f2558d787c84c2eaefc6aa91
|
99d832798400356e38405e44f85f1f4d6fe36c99
|
refs/heads/master
| 2020-04-04T03:46:35.406937
| 2015-08-12T22:10:42
| 2015-08-12T22:10:42
| 27,464,652
| 1
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 33
|
tst
|
list.tst
|
list /
list /test
list /test/k12
|
951b4556cc628a09f898c508e045001748e35a96
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2870/CH7/EX7.1/Ex7_1.sce
|
13c15197f8466c8451af9729d0cb62165223317e
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 148
|
sce
|
Ex7_1.sce
|
clc;clear;
//Example 7.1
//given data
Q=750;
Tsys=300;
//calculations
dSsys=Q/Tsys;
disp(dSsys,'Entropy change in the process in kJ/K')
|
bcf11ced1d5cc7889a4208fc7fbe089c2a5f9fb9
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/343/CH1/EX1.41/ex_41.sce
|
f3b8deae856ad475382145e17588c96caee620a5
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 489
|
sce
|
ex_41.sce
|
R1=8; //Assigning values to parameters
R2=4;
R3=12;
R4=12;
R5=34;
R6=30;
R7=30;
R8=17;
R9=13;
R10=R1+R2;
R11=R8+R9;
Ra=(R10*R3)/(R3+R4+R10); //Converting Delta to Star
Rb=(R3*R4)/(R3+R4+R10);
Rc=(R10*R4)/(R3+R4+R10);
Rx=(R6*R7)/(R6+R7+R11); //Converting Delta to Star
Ry=(R7*R11)/(R6+R7+R11);
Rz=(R6*R11)/(R6+R7+R11);
Rl=R5+Ra+Rx;
Rm=Rc+Ry;
Rn=(Rl*Rm)/(Rl+Rm);
Req=Rb+Rz+Rn;
disp("Ohms",Req,"Equivalent resistance of the network");
|
02c69d22c706e860feec15333e4727416b367205
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1553/CH4/EX4.15/4Ex15.sce
|
016a389b82ec80f5a030dc9f538364885c389aab
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 286
|
sce
|
4Ex15.sce
|
//chapter 4 Ex 15
clc;
clear;
close;
x=poly(0,'x');
y=(51-x)/4; //equation 1
y=(43-3*x)/2; //equation 2
for x=1:99
if (51-x)/4==(43-3*x)/2
break
end
end
y=(43-3*x)/2;
z=12-y+x;
printf("The values of x, y & z are: %d, %d, and %d respectively",x,y,z);
|
1c8cf2631ffc04f2110a36ceb822bdfabb1c1df2
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2699/CH5/EX5.10/Ex5_10.sce
|
195f5461c3d4c6c75152107d79bbb82118d1f65b
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,141
|
sce
|
Ex5_10.sce
|
//EX5_10 PG-5.18
clc
disp("Refer to the figure-5.20 shown")
Vbe=0.7;//base emitter voltage for silicon
Vcc=12;//supply voltage
Beta=100;//voltage gain
Vce=5;//colector to emitter voltage
Ve=3;//assumption
Ic=3e-3;//collector current
Ib=Ic/Beta;//base current
printf("\n Ib=%.0f microA \n",Ib*1e6)
Ie=Ic+Ib;//emitter current
printf("\n Ie=%.2f mA \n",Ie*1e3)
Re=Ve/Ie;
printf("\n Re=%.0f ohm \n",Re)
printf(" the standard value of Re=910 ohm")
Re=910;//standard value
Ve=Ie*Re;
printf("\n\n Ve=%.3f V \n",Ve)
Rc=(Vcc-Ve-Vce)/Ic
printf("\n Rc=%.0f ohm \n",Rc)
printf(" the lower side standard value is selected to reduce Ic*Rc and increase Vce ")
Vb=Ve+Vbe
printf("\n\n Therefore Vb=%.5f V \n",Vb)
I=10*Ib
printf("\n I=%.1f mA \n",I*1e3)
R2=Vb/I;
printf("\n R2=%.0f ohm \n",R2)
printf(" the standard value of R2=11 kohm\n")
disp("the lower side standard is selected to satisfy I>=10*Ib")
R2=11e3;
I=Vb/R2;
printf("\n I=%.4f mA \n",I*1e3)
R1=(Vcc-Vb)/(I+Ib)
printf("\n R1=%.3f kohm \n",R1*1e-3)
printf(" the standard value of R1=22kohm\n")
disp("The lowest standard value is selected to satisfy I>=10*Ib")
|
b21738e89ed9bfb06f51c83592bccf92ac258f70
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1835/CH11/EX11.1/Ex11_1.sce
|
96bd360155596d89b66c968481cdbc3a3cad7131
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,204
|
sce
|
Ex11_1.sce
|
//CHAPTER 11 ILLUSRTATION 1 PAGE NO 290
//TITLE:VIBRATIONS
clc
clear
//===========================================================================================
//INPUT DATA
PI=3.147
D=.1// DIAMETER OF SHAFT IN m
L=1.10// LENGTH OF SHAFT IN m
W=450// WEIGHT ON THE OTHER END OF SHAFT IN NEWTONS
E=200*10^9// YOUNGS MODUKUS OF SHAFT MATERIAL IN Pascals
// =========================================================================================
A=PI*D^2/4// AREA OF SHAFT IN mm^2
I=PI*D^4/64// MOMENT OF INERTIA
delta=W*L/(A*E)// STATIC DEFLECTION IN LONGITUDINAL VIBRATION OF SHAFT IN m
Fn=0.4985/(delta)^.5// FREQUENCY OF LONGITUDINAL VIBRATION IN Hz
delta1=W*L^3/(3*E*I)// STATIC DEFLECTION IN TRANSVERSE VIBRATION IN m
Fn1=0.4985/(delta1)^.5// FREQUENCY OF TRANSVERSE VIBRATION IN Hz
//============================================================================================
//OUTPUT
printf('FREQUENCY OF LONGITUDINAL VIBRATION =%.3f Hz\n FREQUENCY OF TRANSVERSE VIBRATION =%.3f Hz',Fn,Fn1)
|
8054faa3b1c17a8029858a96fc7491ee0e1bb7a0
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1970/CH1/EX1.5/Ch01Exa5.sce
|
1e6a89bc1e3895c2e612c1c1b3f7df03a233c72f
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 549
|
sce
|
Ch01Exa5.sce
|
// Scilab code Exa1.5 : : Page 52 (2011)
clc; clear;
e = 1.60218e-019; // Charge of an electron, C
A = 33; // Atomic mass of Chlorine, amu
K = 9e+09; // Coulomb constant, newton metre sqaure per coulomb square
E = 6.1*1.60218e-013; // Coulomb energy, joule
R_0 = 3/5*K/E*e^2*(A)^(2/3); // Distance of closest approach, metre
R = R_0*A^(1/3); // Radius of the nucleus, metre
printf("\nRadius of the nucleus : %4.2e metre", R);
// Result
// Radius of the nucleus : 4.6805e-015 metre
|
a1016c5f95b3e4308d028b15ca8f85f0c0009ec0
|
aff46b76a63ef72594e71ad416ae8874689839ba
|
/parabola.sce
|
8867afd8df5957cf5b80b87fcf8440f5067bea60
|
[] |
no_license
|
bitz1119/scilab_code
|
1ad6d800661d50975219325083f1dad6232ce51b
|
fa8501bc0f9527e776510fc2ecf04b351f4c067f
|
refs/heads/master
| 2021-05-09T19:15:18.261766
| 2018-04-13T19:03:00
| 2018-04-13T19:03:00
| 118,636,227
| 0
| 1
| null | 2020-09-30T19:32:49
| 2018-01-23T16:21:04
|
Scilab
|
UTF-8
|
Scilab
| false
| false
| 677
|
sce
|
parabola.sce
|
clc;
disp('parabola fitting')
n = input('enter the number of operations : ');
disp('enter the values of x : ');
for i=1:n
x(i) = input('');
end
disp('enter the values y: ');
for i=1:n
y(i) = input('')
end
sumx= 0;
sumy = 0;
sum_x2 = 0;
sumxy = 0;
sum_x3 = 0;
sum_x4 = 0;
sum_x2y = 0;
for i = 1:n
sumx = sumx+x(i);
sumy = sumy+y(i);
sum_x2 = sum_x2+x(i)*x(i);
sumxy = sumxy+x(i)*y(i);
sum_x3 = sum_x3 +x(i)*x(i)*x(i);
sum_x4 = sum_x4 +x(i)*x(i)*x(i)*x(i);
sum_x2y = sum_x2y + x(i)*x(i)*y(i);
end
A = [n sumx sum_x2;sumx sum_x2 sum_x3;sum_x2 sum_x3 sum_x4];
B = [sumy ;sumxy;sum_x2y];
z = inv(A)*B;
disp(z);
|
01f9ccdddb357a6118ccdbf937f939a6afc4fbb3
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/506/CH6/EX6.5.b/Example6_5b.sce
|
f22589cb93f79b68e7d82c2ed44f0ce0af5422e4
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 578
|
sce
|
Example6_5b.sce
|
clear;
clc;
//Caption:When atleast one input is at V(0) in NAND gate
//Given Data
//For transistor
Vbesat=0.8;//in V
Vy=0.5;//in V
Vcesat=0.2;//in V
R = 5;//in K
Rc = 2.2;//in K
//For diode
Vyd=0.6;//Vgamma in V
Vdrop=0.7;//in V
//The logic levels are Vcesato=0.2V for 0 state
Vcesato=0.2;//in V
disp('If atleast one input is in 0 state');
Vp = Vcesato + Vdrop;//Voltage at point P
disp('V',Vp,'Vp=');
Vbe = Vp-Vyd;//Voltage at base emitter
disp('V',Vbe,'Vbe=');
if(Vbe<Vy)
disp('Q is cutoff');
end
if(Vbe>Vy)
disp('Q is ON');
end
//end
|
c53df117003fedf45fd48b555c8ffb3cf491163b
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/617/CH6/EX6.2/Example6_2.sci
|
306cc7e0d64f0edc4315a55c7d8182901bb7f1e6
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 452
|
sci
|
Example6_2.sci
|
clc();
clear;
// To calculate the reynolds number
u=2.08/32.16; // viscosity of water at 80 degF in slug/ft-hr
m=965000/32.16; // mass velocity of water in slug/hr-ft
d=1/12; // inner diameter of tube in ft
Nre=m*d/u; // reynolds number
// 3600 is multiplies to convert sec into hrs
printf("Reynolds Number is %d",Nre);
|
f7088ec7915f17f0e4cd25a14700b951f45c22f6
|
9cb37875b74a713c93c09fa50ccc70ac0f71ecdb
|
/Collaboration/SCENARIOS/collaboration_test_reach.sce
|
d29ab8ba714e580c0c2730abf39b34f70c792eed
|
[] |
no_license
|
jmainpri/move3d-assets
|
a5b621daaedaaf8784fed0da1e80d029c83f3983
|
939db49d17a14e052bb58324b70e6112803d3105
|
refs/heads/master
| 2021-01-16T17:48:56.669119
| 2016-02-16T14:04:09
| 2016-02-16T14:04:09
| 20,237,987
| 1
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 4,123
|
sce
|
collaboration_test_reach.sce
|
#************************************************************
# Scenario of humanTestEnv
#
# date : Mon May 19 22:06:49 2014
#************************************************************
p3d_sel_desc_name P3D_ENV humanTestEnv
p3d_sel_desc_name P3D_ROBOT HERAKLES_HUMAN1
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 1.550250 0.486199 0.918243 0.000000 0.000000 -70.336299 25.619980 11.233124 -0.322779 0.000000 -0.000000 -0.000000 48.456000 10.800000 69.269452 0.100000 36.756000 0.000000 0.000000 -0.000000 0.000000 -93.836163 -5.775472 -72.442492 0.091450 -11.769928 0.000000 -0.000000 -0.000000 0.000000 -0.000000 0.000000 0.000000 0.000000 -0.000000 -0.000000 0.000000 -0.000000 0.000000 0.000000 0.000000 -0.000000 -0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.919000 -0.196000 1.206000 0.000000 0.000000 29.232000 0.000000 15.178000 0.000000 0.000000 0.000000 -5.625000 74.016000 57.564000 0.000000 0.076000 13.716000 0.000000 0.000000 0.000000 1.176000 -82.044000 -2.664000 -11.916000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_sel_desc_name P3D_ROBOT HERAKLES_HUMAN2
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.993927 0.662284 0.972200 0.000000 0.000000 -38.445697 25.331209 21.265099 0.519403 0.000000 0.000000 -8.109000 62.676000 5.256000 -27.468000 0.100000 65.772000 0.000000 -0.000000 -0.000000 0.000000 -90.000000 -26.193797 30.000000 0.163716 -9.401664 0.000000 0.000000 -0.000000 0.000000 -0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 -0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.993674 0.662331 0.972326 -0.015315 -0.000523 -38.457900 25.297355 21.257755 0.469798 0.000000 0.000000 -8.109000 20.689040 59.553525 -55.861624 0.099765 22.765854 0.000000 0.000000 0.000000 0.000000 -90.000000 -26.193797 30.000000 0.163716 -9.401664 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 -0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 -0.000000 0.000000
p3d_set_robot_traj /home/jmainpri/Dropbox/move3d/assets/Collaboration/TRAJECTORIES/trajectory000.traj
p3d_sel_desc_name P3D_ROBOT table
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 1.720000 -0.088000 0.570000 0.000000 0.000000 0.000000
p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_sel_desc_name P3D_ROBOT Cup1
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_sel_desc_name P3D_ROBOT Cup2
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_set_camera_pos 1.026552 0.356369 0.891042 1.921157 5.293185 0.603125 0.000000 0.000000 1.000000 0.000000
|
6dc43955a0fe8bd5c48f9f037833ccc0eeb16add
|
3a11df70b5f5b856da599098aa46b015099f34e9
|
/logic_gates/Xor.tst
|
af589822db94938184b9d55fa0d21b5c3e625096
|
[] |
no_license
|
nkyorov/logic-gates-hdl
|
7da52af49a0c333e3f755a9ec552746662580cd3
|
1deff96f5a6631ce7c5b7ea2db8a7250f2d37908
|
refs/heads/master
| 2021-04-27T00:46:58.298377
| 2019-05-25T12:32:09
| 2019-05-25T12:32:09
| 122,660,544
| 3
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 229
|
tst
|
Xor.tst
|
load Xor.hdl,
output-file Xor.out,
compare-to Xor.cmp,
output-list x%B3.1.3 y%B3.1.3 out%B3.1.3;
set x 0,
set y 0,
eval,
output;
set x 0,
set y 1,
eval,
output;
set x 1,
set y 0,
eval,
output;
set x 1,
set y 1,
eval,
output;
|
dd29789366d587f296d6aed70d73ddc5b212cee5
|
13b0f479f56e4c3f226e08a77671d750c2a59e47
|
/qr-decomp/decomp_householder.sce
|
a1773bf506abcc50c54b79a6303da8b85fc2e49c
|
[
"MIT"
] |
permissive
|
lsDantas/Numerical-Linear-Algebra
|
cd73df6761e9dcac5bfe8f51317c907672d41b47
|
daeec474c6647ba8578e200814565e987711d7d7
|
refs/heads/master
| 2022-11-19T17:46:53.534130
| 2020-07-21T16:20:11
| 2020-07-21T16:20:11
| 281,447,235
| 1
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,282
|
sce
|
decomp_householder.sce
|
///////////////////////////////////////////////////////////
// Householder Method
//
// Description: Implements the Householder decomposition
// method which can further be refined for QR
// decomposition.
///////////////////////////////////////////////////////////
// Input:
// A: a m x n full column rank matrix
///////////////////////////////////////////////////////////
// Output:
// U: a residual matrix from which an orthogonal matrix
// Q may later be obtained
// R: an upper triangular matrix
///////////////////////////////////////////////////////////
function [U,R] = decomp_householder(A)
// Determine matrix dimensions and initialize U
[m n]=size(A);
U = zeros(m,n);
// Generate Householder reflection vectors
for i=1:n
// Select vector to be Householder reflected
x = A(i:m, i);
// Ensure obtuse angle with axis
if x(1) < 0
x(1) = x(1) - norm(x);
else
x(1) = x(1) + norm(x);
end
// Normalize vector and update U
u = x/norm(x);
U(i:m, i) = u;
// Update A using Householder reflection
A(i:m, i:n) = A(i:m, i:n) - 2 * u * (u'*A(i:m,i:n));
end
// Extract Upper Triangular Matrix
R = triu(A);
endfunction
|
1c233c0fb45598fea4b15cd29bcec95072e25029
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/887/CH4/EX4.2/4_2.sce
|
957d29c6ff24af52937a3b95fcf97f5099a625bb
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 976
|
sce
|
4_2.sce
|
clc
//ex4.3
//Vs is a direct source
//Circuit is in steady state prior to t=0
//Before t=0, the inductor behaves as a short circuit ==>V(t)=0 for t<0 and i(t)=Vs/Ri for t<0
//Before the switch opens, current circulates through Vs,R1 and the inductance and When it opens, nothing changes but the return path through R2
//Then, a voltage appears across R2 and the inductance, causing the current to decay
//There are no sources driving the circuit after the switch opens ==>the steady-state solution is zero for t>0
//Hence, the solution for i(t) is given by i(t)=K*e^(-t/T) for t>0 in time constant T=L/R2
//For current to be continuous i(0+)=(Vs/R1)=K*e^0=K ==> K=Vs/R1
//The voltage is given by V(t)=(L*d(i(t))/dt)=-(L*Vs*e^(-t/T))/(R1*T) for t>0
disp('Both current and voltage are 0 for t<0')
disp('')
disp('And for t>0:')
disp('The expression for the current is i(t)=(Vs/R1)*e^(-t/T)')
disp('The expression for the volatge is V(t)=-(L*Vs*e^(-t/T))/(R1*T)')
|
d7b2b46026cc8c900d4c437c67cb9383ea360693
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/626/CH2/EX2.1/2_1.sce
|
3ced8149d5c9e1cb22f51e20c1faca2db1b99469
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 331
|
sce
|
2_1.sce
|
clear;
clc;
close;
disp("Example 2.1")
p=3*10^6 ; //pressure in Pa
t=298 ; //temperatue in kelvin
mw= 29; //molecular weight in kg/mol
ru=8314; //universal constant in J/kmol.K
r=ru/mw ;
//using perfect gas law to get density:
rho=p/(r*t) ;
disp(r,"Gas constant of air in J/kg.K:")
disp(rho,"Density of air in kg/m^3:")
|
6c366f8a549217015246d00d0f6b092de5effa58
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1703/CH5/EX5.11/5_11.sce
|
2bc72c7ccc8b043211edb9797270a8dd31245054
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 348
|
sce
|
5_11.sce
|
clc
//initialisation of variables
Cd= 0.64
g= 32.2 //ft/sec^2
A= 12.5 //ft^2
H= 24.8 //ft
Q= 3200 //cuses
b= 150 //ft
A1= 5*10^6
h= 9 //ft
h1= 6 //in
//CALCULATIONS
N= Q/(Cd*A*sqrt(2*g*H))
H1= (Q/(3.2*b))^(2/3)
ES= (H1-(h1/12))*A1*h
//RESULTS
printf ('number of siphons = %.f ',N)
printf ('\n Extra Storage = %.2e ft^3',ES)
|
170f07b9322158e1575696c367643b815ced3e38
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/69/CH4/EX4.6/4_6.sce
|
124bbebc8371f502220ce5a143256fc5bba549b2
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 160
|
sce
|
4_6.sce
|
clear; clc; close;
Vcc = 16;
Rc = 2*10^(3);
Re = 1*10^(3);
Icsat = Vcc/(Rc+Re);
disp(Icsat,'Saturation current(amperes) for the given network : ');
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.