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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e9c30b180c408081cfd4453af6670f970bdf40d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1208/CH4/EX4.13.5/Exa13_5.sce | 6b2430fe7728fbbd82ac5e6d075551c20ff89ccd | [] | 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,498 | sce | Exa13_5.sce | //Exa 13.5
clc;
clear;
close;
//given data :
//initial cash outflows
ICO=80000;//in Rs.
//cash in flows of 10 years
CIF1=14000;//in Rs.
CIF2=14000;//in Rs.
CIF3=14000;//in Rs.
CIF4=14000;//in Rs.
CIF5=14000;//in Rs.
CIF6=16000;//in Rs.
CIF7=20000;//in Rs.
CIF8=30000;//in Rs.
CIF9=20000;//in Rs.
CIF10=8000;//in Rs.
//Cummulative cash in flows of 10 years
CumCIF1=14000;//in Rs.
CumCIF2=28000;//in Rs.
CumCIF3=42000;//in Rs.
CumCIF4=560000;//in Rs.
CumCIF5=70000;//in Rs.
CumCIF6=86000;//in Rs.
CumCIF7=106000;//in Rs.
CumCIF8=136000;//in Rs.
CumCIF9=156000;//in Rs.
CumCIF10=164000;//in Rs.
//P.V factor at 15% rate of discount
PV1=0.870;
PV2=0.756;
PV3=0.658;
PV4=0.572;
PV5=0.497;
PV6=0.432;
PV7=0.376;
PV8=0.327;
PV9=0.284;
PV10=0.247;
//Present value for all cash in flows
P1=CIF1*PV1;// in Rs
P2=CIF2*PV2;// in Rs
P3=CIF3*PV3;// in Rs
P4=CIF4*PV4;// in Rs
P5=CIF5*PV5;// in Rs
P6=CIF6*PV6;// in Rs
P7=CIF7*PV7;// in Rs
P8=CIF8*PV8;// in Rs
P9=CIF9*PV9;// in Rs
P10=CIF10*PV10;// in Rs
//Total Present Value
P=P1+P2+P3+P4+P5+P6+P7+P8+P9+P10;// in Rs
disp(P,"Total present value(in Rs) is : ")
//IRR By interpolation
LDR=10;//in % ;Lower discount rate
HDR=15;//in % ;Higher discount rate
P1=97922;//in Rs; Present value at lower rate of interest
P2=78840;//in Rs; Present value at higher rate of interest
IRR=LDR+((P1-ICO)/(P1-P2))*(HDR-LDR);//in % : Internal rate of return
disp(IRR,"Internal rate of return of the project(in %) : ") |
cd4b3c0e6e57869da25c37303f8cd2b380d30f89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3860/CH2/EX2.24/Ex2_24.sce | 434b63909557538bb7cb2b95f6ff0d5079761d5e | [] | 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 | Ex2_24.sce | //Example 2.24: Reduce expression using Boolean laws
clc // Clears the console
disp('w''xy + wz + xz + w''y''z + w''xy'' + wx''z')
disp('= wz + w''x + xz +w''y''z')
disp('= wz + w''x + w''y''z since wz $ w''x = xz')
disp('But wz +w''y''z = z(w + w''y'') = z(w + y'')')
disp('= wz + w''x + y''z ')
//the reduced expression is displayed.
|
f3c0afa3444891f2561571f4ad96e66c7da85fa7 | 45e046b9cab35a22858077ef405f8c8b8125a87f | /Assignment-1/Questn-4/ partition.sci | c50a70f29ce3f89723e01373f036a96c2f601a20 | [] | no_license | shilpasunil/AP-laboratory | 4a67e510a05e5ce48f200ee73183627a12a19d55 | 87d55510d6f3c4a80ce1779e9b39430ee20e69b2 | refs/heads/main | 2023-02-09T16:13:34.048845 | 2021-01-07T04:43:35 | 2021-01-07T04:43:35 | 327,504,813 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 421 | sci | partition.sci | function[k,cmp,a]= partition(a,low,high,cmp)
pivot = a(high);
i = low-1;
for j=low:high-1
if a(j) <= pivot then
cmp=cmp+1;
i=i+1;
t=a(i);
a(i)=a(j);
a(j)=t;
end
end
p= a(i+1);
a(i+1) = a(high);
a(high) = p;
k=i+1;
endfunction
|
f4e80a58de81883d6db7bbd5f0420ef66feeb701 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH13/EX13.8/Ex13_8.sce | fda7dcda2fad372eef7731d414419d4cf108d7f0 | [] | 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 | 522 | sce | Ex13_8.sce | //Example 13.8
N=2.68*10^25;//Number of molecules in 1 m^3 of gas at STP, See Example 13.7 (molecules/m^3)
N_A=6.02*10^23;//Avogadro's number (molecules/mol)
n=N/N_A;//Moles per cubic meter (mol/m^3)
printf('a.Number of moles per cubic meter of gas at STP = %0.1f mol/m^3',n)
v=1;//Volume (m^3)
v=v*10^3;//Volume (L/m^3)
n_l=v/n;//Liters per mole (L/mol)
printf('\nb.Number of liters of gas per mole = %0.1f L/mol',n_l)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|
fe9696a8e1edcbc48464c53eeeb971f59269c39a | 564beb66e232557765505973f93cc322a394133a | /KONA/scilab/fox_rabbit.sce | 541a711753443788ed2b793bfb7992cbb8576cca | [] | no_license | KeithEvanSchubert/Keith_On | 2442bb74b9d531c96d9f10da8df1dede54423094 | fe8dd1e90e695957346aa176b7e0d0fea30171e3 | refs/heads/master | 2021-01-18T22:08:18.862471 | 2019-09-04T17:39:58 | 2019-09-04T17:39:58 | 51,767,267 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | sce | fox_rabbit.sce | function [xdot]=fox_rabbit(t,x)
starve=5;
birth=10;
eat=.01;
eaten=.5;
preditor=x(1);
prey=x(2);
getf('preditor_prey_rate.sce');
xdot=preditor_prey_rate(starve,birth,eat,eaten,preditor,prey);
endfunction
|
102c4fce58e4da3fcf669035000f32a473fe24dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH1/EX1.14.4/Example1_14_4.sce | a2ee169cb56dfa2ece3fef8d6845d02947f7b11c | [] | 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 | 717 | sce | Example1_14_4.sce | //Example 1.14.4 page 1.43
// to find diameter of core, number of modes at 1320, number of modes at 1550 um
clc;
clear;
NA = 0.20; //Numerical Aperture..
M = 1000; //number of modes..
lamda = 850*10^-9; // wavelength of operation..
a = sqrt(M*2*lamda^2/(%pi^2*NA^2)); // radius of core..
a=a*10^6; //converting in um for displaying...
printf("The radius of the core is %.2f um",a);
a=a*10^-6;
M1= ((%pi*a*NA/(1320*10^-9))^2)/2
printf("\n\nThe number of modes in the fibre at 1320um are %d",M1);
printf("\n\n***The number of modes in the fibre at 1320um is calculated wrongly in book");
M2= ((%pi*a*NA/(1550*10^-9))^2)/2
printf("\n\nThe number of modes in the fibre at 1550um are %d",M2);
|
133dc24c13dde7304de56e0d4612b62077d03614 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH5/EX5.11/EX5_11.sce | 275262e945e2ee6edf08ffe39cc7157530222f3d | [] | 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 | 543 | sce | EX5_11.sce | //Example5.11 // To Determine the bandwidth of feedback amplifier
clc;
clear;
close;
A = 10^4 ; // open loop gain
Af = 50 ; // close loop gain
wH = 628 ; //(2*%pi*100) // rad/sec // open loop bandwidth
// close loop gain of an op-amp is defined as
// Af = ((A)/(1+A*beta));
// the feedback transfer function is given as
beta = (1/Af)-(1/A) ;
disp('the feedback transfer function beta is = '+string(beta)+'');
// closed loop bandwidth
wfH = wH*(1+beta*A);
disp('the closed loop bandwidth wfH is = '+string(wfH)+'');
|
023cf13a50318b6480eed0fcc4a0287758adefa2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH12/EX12.14/Ex12_14.sce | f8007954696dbe4ac709094eb73e759a915575c5 | [] | 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 | 433 | sce | Ex12_14.sce | clc
clear
printf("Example 12.14 | Page number 443 \n\n");
//Find LCV and HCV of gaseous hexane
//Given data
delta_H_std = -45101 //kJ/kg
hfg = 2442 //kJ/kg //enthalpy of vaporisation
//Solution
LCV = -1*delta_H_std // kJ/kg hexane
printf("LCV of gaseous hexane = %.1f kJ/kg hexane\n",LCV)
m = 7*18/86 //mass of H2O per kg hexane
HCV = LCV+m*hfg //kJ/kg hexane
printf("HCV of gaseous hexane = %.1f kJ/kg hexane",HCV)
|
e3eab30033651c6e47deaa64ae108925e02f174f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3638/CH13/EX13.9/Ex13_9.sce | f76e160867398580decf83384b1518ebd4b0c921 | [] | 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 | 622 | sce | Ex13_9.sce | //Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
//Example 13.9
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
P=500e-9;//Optical power in W
R=0.45;//Responsivity in A/W
Rl=1000;//Value of load resistor in Ohms
e=1.6e-19//Electronic charge in C
kB=1.38e-23;//Boltzmann constant in SI Units
T=300;//Missing data- Temperature in K
x=1;//Excess noise
Id=0;//Since the dark current is neglected in the example
Mop=(4*kB*T/(x*e*Rl*(R*P+Id)))^(1/(x+2));//Optimum value of internal gain corresponding to input optical power P
mprintf("Mop= %.1f",Mop);
|
3dc37fd7d038609a5797b2c628c929b5149503ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /413/CH4/EX4.2/Table_4_2.sce | 4a76be593c699d0678c5ccd6a6544890c5de85a9 | [] | 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 | 292 | sce | Table_4_2.sce | clc
clear
function a=che(x)
a=0.9946+0.9973.*x+x.*x.*0.543+x.*x.*x.*0.1772
endfunction
function a=mac(x)
a=1+x+x.*x/2+x.*x.*x/6
endfunction
function out=tab(y)
out=[y,exp(y),che(y),exp(y)-che(y),mac(y),exp(y)-mac(y)]
endfunction
for y=-1:0.2:1
disp(tab(y))
end |
33506e3f3d69356d8b102dd8e5fc1ba57fb3ee18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH5/EX5.3/Ex5_3.sce | f73f927412d5f55e08b085e3964720fc8597f530 | [] | 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 | 760 | sce | Ex5_3.sce | //example-5.3
//page n0-141
//given
//lattice constant
a=1.54 //A
//wavelength of beam of light
lambda=1.54 //A
//according to bragg's equation
//n*lambda=2*d*sin(theta)
//following angles are given
theta1=20.3*(%pi)/180
theta2=29.2*(%pi)/180
theta3=36.7*(%pi)/180
theta4=43.6*(%pi)/180
//interplaner spadcing is
d1=lambda/(2*sin(theta1)) //A
d2=lambda/(2*sin(theta2)) //A
d3=lambda/(2*sin(theta3)) //A
d4=lambda/(2*sin(theta4)) //A
//magnitude of bragg's
//we have h^2+k^2+l^2=a^2/d^2
//let a^2/d^2= D for notation only
//so
D1=2
D2=4
D3=6
D4=8
//so from bragg's magnitude we can get (hkl)
//(hkl1)=(110)
//(hkl3)=(200)
//(hkl3)=(211)
//(hkl4)=(220)
printf ("the reflection will take from {110},{200},{211} and (220)")
|
93ab3b86beeaa160bf4723f7d358f83d08f973e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH12/EX12.6/EX12_6.sce | bd459ff94525ad9ecee77f654453b1d7fe6cf061 | [] | 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,407 | sce | EX12_6.sce | // Example 12.6
// Determine (a) The increment increase in load on each machine if an
// additional 400 A load is connected to the bus (b) Current carried
// by each machine
// Page No. 502
clc;
clear;
close;
// Given data
p1=100000; // Rated power in generator A
p2=300000; // Rated power in generator B
v=250; // Rated voltage in machine
p3=30000; // Rated power in generator C
Ibnew=400; // New bus current
I1=200;
I2=500;
// (a) The increment increase in load on each machine if an additional 400 A
// load is connected to the bus
IArated=p1/v; // Rated current in generator A
IBrated=p2/v; // Rated current in generator B
Ib=p3/v; // Original bus current
DelVbus=Ibnew/(40+120); // Change in bus current
DelIA=40*DelVbus;
DelIB=120*DelVbus;
// (b) Current carried by each machine
IA=I1+DelIA; // Current in generator A
IB=I2+DelIB; // Current in generator B
// Display result on command window
printf("\n The increment increase in load on machine A = %0.0f A ",DelIA);
printf("\n The increment increase in load on machine B = %0.0f A ",DelIB);
printf("\n Current carried by machine A = %0.0f A ",IA);
printf("\n Current carried by machine B = %0.0f A ",IB);
|
ef514bae4ac223f57821398e9d5fd20c94866ae1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3532/CH1/EX1.8.2/Ex1_10.sce | 3c869fd4c4a5ca02bec2929673b4b031ba9e3494 | [] | 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 | 3,205 | sce | Ex1_10.sce | clc
clear
mprintf('Mechanical vibrations by G.K.Grover\n Example 1.8.2\n')
//given data
T=0.1//time period of periodic motion in sec
W=2*%pi/T
k=12/2//number of elements in half cycle
mprintf('\tNo of elements in one cycle 2k=12,t(j) in degrees\n')
mprintf('t(j) f(j) cos(t(j)) f(j)*cos(t(j)) sin(t(j)) f(j)*sin(t(j) cos(2*t(j)) f(j)*cos(2*t(j)) sin(2*t(j)) f(j)*sin(2*t(j)) cos(3*t(j)) f(j)*cos(3*t(j) sin(3*t(j)) f(j)*sin(3*t(j)\n')
f(1)=10/6
for j=1:6
t(j)=j*(%pi/k)
m(j)=cos(t(j))
n(j)=f(j)*m(j)
o(j)=sin(t(j))
p(j)=f(j)*o(j)
q(j)=cos(2*t(j))
r(j)=f(j)*q(j)
s(j)=sin(2*t(j))
u(j)=f(j)*s(j)
v(j)=cos(3*t(j))
x(j)=f(j)*v(j)
y(j)=sin(3*t(j))
z(j)=f(j)*y(j)
f(j+1)=f(j)+f(1)
mprintf('%3.0f\t',t(j)*(180/%pi))
mprintf('%3.4f\t\t',f(j))
mprintf('%3.4f\t\t',m(j))
mprintf('%3.4f\t\t',n(j))
mprintf('%3.4f\t\t',o(j))
mprintf('%3.4f\t\t',p(j))
mprintf('%3.4f\t\t',q(j))
mprintf('%3.4f\t\t',r(j))
mprintf('%3.4f\t\t',s(j))
mprintf('%3.4f\t\t',u(j))
mprintf('%3.4f\t\t',v(j))
mprintf('%3.4f\t\t',x(j))
mprintf('%3.4f\t\t',y(j))
mprintf('%3.4f\n',z(j))
end
f(7)=f(j)-f(1)
for j=7:12
t(j)=j*(%pi/k)
m(j)=cos(t(j))
n(j)=f(j)*m(j)
o(j)=sin(t(j))
p(j)=f(j)*o(j)
q(j)=cos(2*t(j))
r(j)=f(j)*q(j)
s(j)=sin(2*t(j))
u(j)=f(j)*s(j)
v(j)=cos(3*t(j))
x(j)=f(j)*v(j)
y(j)=sin(3*t(j))
z(j)=f(j)*y(j)
f(j+1)=f(j)-f(1)
mprintf('%3.0f\t',t(j)*(180/%pi))
mprintf('%3.4f\t\t',f(j))
mprintf('%3.4f\t\t',m(j))
mprintf('%3.4f\t\t',n(j))
mprintf('%3.4f\t\t',o(j))
mprintf('%3.4f\t\t',p(j))
mprintf('%3.4f\t\t',q(j))
mprintf('%3.4f\t\t',r(j))
mprintf('%3.4f\t\t',s(j))
mprintf('%3.4f\t\t',u(j))
mprintf('%3.4f\t\t',v(j))
mprintf('%3.4f\t\t',x(j))
mprintf('%3.4f\t\t',y(j))
mprintf('%3.4f\n',z(j))
end
sumf(j)=f(1)+f(2)+f(3)+f(4)+f(5)+f(6)+f(7)+f(8)+f(9)+f(10)+f(11)+f(12)
sumcos(t(j))=m(1)+m(2)+m(3)+m(4)+m(5)+m(6)+m(7)+m(8)+m(9)+m(10)+m(11)+m(12)
sumfjcos(t(j))=n(1)+n(2)+n(3)+n(4)+n(5)+n(6)+n(7)+n(8)+n(9)+n(10)+n(11)+n(12)
sumsin(t(j))=o(1)+o(2)+o(3)+o(4)+o(5)+o(6)+o(7)+o(8)+o(9)+o(10)+o(11)+o(12)
sumfjsin(t(j))=p(1)+p(2)+p(3)+p(4)+p(5)+p(6)+p(7)+p(8)+p(9)+p(10)+p(11)+p(12)
sumcos2(t(j))=q(1)+q(2)+q(3)+q(4)+q(5)+q(6)+q(7)+q(8)+q(9)+q(10)+q(11)+q(12)
sumfjcos2(t(j))=r(1)+r(2)+r(3)+r(4)+r(5)+r(6)+r(7)+r(8)+r(9)+r(10)+r(11)+r(12)
sumsin2(t(j))=s(1)+s(2)+s(3)+s(4)+s(5)+s(6)+s(7)+s(8)+s(9)+s(10)+s(11)+s(12)
sumfjsin2(t(j))=u(1)+u(2)+u(3)+u(4)+u(5)+u(6)+u(7)+u(8)+u(9)+u(10)+u(11)+u(12)
sumcos3(t(j))=v(1)+v(2)+v(3)+v(4)+v(5)+v(6)+v(7)+v(8)+v(9)+v(10)+v(11)+v(12)
sumfjcos3(t(j))=x(1)+x(2)+x(3)+x(4)+x(5)+x(6)+x(7)+x(8)+x(9)+x(10)+x(11)+x(12)
sumsin3(t(j))=y(1)+y(2)+y(3)+y(4)+y(5)+y(6)+y(7)+y(8)+y(9)+y(10)+y(11)+y(12)
sumfjsin3(t(j))=z(1)+z(2)+z(3)+z(4)+z(5)+z(6)+z(7)+z(8)+z(9)+z(10)+z(11)+z(12)
a0=sumf(j)/(2*k)
a1=sumfjcos(t(j))/k
b1=sumfjsin(t(j))/k
a2=sumfjcos2(t(j))/k
b2=sumfjsin2(t(j))/k
a3=sumfjcos3(t(j))/k
b3=sumfjsin3(t(j))/k
disp('The fourier components of periodic motion shown in example 1.8.1 are as follows')
mprintf('\nao=%f\na1=%f\nb1=%f\na2=%f\nb2=%f\na3=%f\nb3=%f\n',a0,a1,b1,a2,b2,a3,b3)
|
b4cd4c90754fb6bf97465c612958e503ed360d20 | a557f90da8513f81cafd8f65e37e2c0d66449a2f | /linear_con_in_time.sce | 225011fecc5cb26f913df26a4a058e970f584d10 | [] | no_license | Sahil966121/SCI | 484cd77d6247e54fe87d36b4f112965c83ab5d96 | cf2921861486a4f2e2e83c3ca813a4e7710d3508 | refs/heads/main | 2023-03-03T17:43:08.236192 | 2021-02-03T05:19:43 | 2021-02-03T05:19:43 | 324,413,192 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 481 | sce | linear_con_in_time.sce | clc;clear;close;
x=input('x(n)=');
h=input('h(n)=');
L1=length(x);
L2=length(h);
L3=L1+L2-1;
for n=1:L3
con_sum=0;
for k=1:n
if(((n-k+1)<=L2)&(k<=L1))
con_sum=con_sum+x(k)*h(n-k+1);
end
y(n)=con_sum;
end
end
disp(y,'Convolution sum using direct Formula Method=')
subplot(3,1,1);plot2d3(x);xtitle('input signal x','n','x[n]');
subplot(3,1,2);plot2d3(h);xtitle('input signal h','n','h[n]');
subplot(3,1,3);plot2d3(y);xtitle('output signal y','n','y[n]');
|
990e621c5117b418b81366a8b74f51d865921327 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH3/EX3.2/3_2.sce | d6c7b4bd277c5610227eec4dd4a0535b369c0ce1 | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sce | 3_2.sce | clc;
x=0.9;
uf=696;
ug=2573;
u1=(1-x)*uf+x*ug;
//similarly
u2=2602.8;
disp("chang of internal energy is:");
disp("kJ/kg",u2-u1);
hf=697;
h_fg=2067;
h1=hf+x*h_fg;
h2=2803;//kJ/kg
disp("change in enthalpy:");
disp("kJ/kg",h2-h1);
Q=547;
W=(u2-u1)-Q;
disp("Work done is:");
disp("kJ/kg",W)
|
231376ca6f878615e3c3e02c534aabe76923b01c | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/ATWM1_Working_Memory_MEG_FM73AKJ_Session2/ATWM1_Working_Memory_MEG_Salient_Uncued_Run2.sce | 7de222adc7c58c2ce4fe61700b2925f4c3a55cb8 | [] | 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 | 48,408 | sce | ATWM1_Working_Memory_MEG_Salient_Uncued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_uncued_run2";
#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 = 28;
default_font = "Arial";
default_background_color = 0 ,0 ,0 ;
write_codes=true; # for MEG only
begin;
#Picture definitions
box { height = 300; width = 300; color = 0, 0, 0;} frame1;
box { height = 290; width = 290; 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 = 290; width = 290; color = 128, 128, 128;} 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;
42 62 292 292 399 125 1792 2992 1992 fixation_cross gabor_078 gabor_137 gabor_014 gabor_047 gabor_078_alt gabor_137 gabor_014 gabor_047_alt "2_1_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_1800_3000_2000_gabor_patch_orientation_078_137_014_047_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_047_framed blank blank blank blank fixation_cross_white "2_1_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_047_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 1742 2992 2242 fixation_cross gabor_009 gabor_134 gabor_080 gabor_167 gabor_009_alt gabor_134_alt gabor_080 gabor_167 "2_2_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_1750_3000_2250_gabor_patch_orientation_009_134_080_167_target_position_1_2_retrieval_position_1" gabor_055_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_2_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_055_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 2042 2992 2292 fixation_cross gabor_064 gabor_142 gabor_175 gabor_014 gabor_064 gabor_142_alt gabor_175 gabor_014_alt "2_3_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_2050_3000_2300_gabor_patch_orientation_064_142_175_014_target_position_2_4_retrieval_position_2" gabor_circ gabor_094_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_3_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_094_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 1942 2992 2392 fixation_cross gabor_094 gabor_039 gabor_179 gabor_117 gabor_094 gabor_039_alt gabor_179 gabor_117_alt "2_4_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_1950_3000_2400_gabor_patch_orientation_094_039_179_117_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_117_framed blank blank blank blank fixation_cross_white "2_4_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_117_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 1742 2992 2092 fixation_cross gabor_071 gabor_012 gabor_120 gabor_092 gabor_071_alt gabor_012 gabor_120 gabor_092_alt "2_5_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_1750_3000_2100_gabor_patch_orientation_071_012_120_092_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_045_framed blank blank blank blank fixation_cross_white "2_5_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_045_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 64 292 292 399 125 1842 2992 2442 fixation_cross gabor_034 gabor_140 gabor_167 gabor_081 gabor_034 gabor_140_alt gabor_167 gabor_081_alt "2_6_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_UncuedRetriev_300_300_399_1850_3000_2450_gabor_patch_orientation_034_140_167_081_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_167_framed gabor_circ blank blank blank blank fixation_cross_white "2_6_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_167_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 2142 2992 2042 fixation_cross gabor_078 gabor_018 gabor_058 gabor_148 gabor_078_alt gabor_018 gabor_058_alt gabor_148 "2_7_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_2150_3000_2050_gabor_patch_orientation_078_018_058_148_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_058_framed gabor_circ blank blank blank blank fixation_cross_white "2_7_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_058_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 1892 2992 2392 fixation_cross gabor_016 gabor_122 gabor_094 gabor_078 gabor_016_alt gabor_122 gabor_094_alt gabor_078 "2_8_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_1900_3000_2400_gabor_patch_orientation_016_122_094_078_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_094_framed gabor_circ blank blank blank blank fixation_cross_white "2_8_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_094_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 1792 2992 1992 fixation_cross gabor_094 gabor_076 gabor_111 gabor_144 gabor_094 gabor_076_alt gabor_111 gabor_144_alt "2_9_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_1800_3000_2000_gabor_patch_orientation_094_076_111_144_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_005_framed blank blank blank blank fixation_cross_white "2_9_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_005_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 1892 2992 1892 fixation_cross gabor_088 gabor_053 gabor_111 gabor_126 gabor_088 gabor_053_alt gabor_111 gabor_126_alt "2_10_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_1900_3000_1900_gabor_patch_orientation_088_053_111_126_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_174_framed blank blank blank blank fixation_cross_white "2_10_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_174_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 2042 2992 2192 fixation_cross gabor_097 gabor_074 gabor_043 gabor_133 gabor_097_alt gabor_074_alt gabor_043 gabor_133 "2_11_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_2050_3000_2200_gabor_patch_orientation_097_074_043_133_target_position_1_2_retrieval_position_2" gabor_circ gabor_026_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_11_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_026_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 63 292 292 399 125 1792 2992 2042 fixation_cross gabor_126 gabor_170 gabor_155 gabor_082 gabor_126_alt gabor_170 gabor_155 gabor_082_alt "2_12_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_UncuedRetriev_300_300_399_1800_3000_2050_gabor_patch_orientation_126_170_155_082_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_107_framed gabor_circ blank blank blank blank fixation_cross_white "2_12_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_107_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 1942 2992 2242 fixation_cross gabor_092 gabor_150 gabor_017 gabor_171 gabor_092 gabor_150 gabor_017_alt gabor_171_alt "2_13_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_1950_3000_2250_gabor_patch_orientation_092_150_017_171_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_035_framed blank blank blank blank fixation_cross_white "2_13_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_035_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 63 292 292 399 125 1792 2992 2492 fixation_cross gabor_167 gabor_061 gabor_099 gabor_019 gabor_167 gabor_061_alt gabor_099 gabor_019_alt "2_14_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_UncuedRetriev_300_300_399_1800_3000_2500_gabor_patch_orientation_167_061_099_019_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_146_framed gabor_circ blank blank blank blank fixation_cross_white "2_14_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_146_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 1992 2992 2342 fixation_cross gabor_139 gabor_073 gabor_115 gabor_154 gabor_139_alt gabor_073 gabor_115_alt gabor_154 "2_15_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_2000_3000_2350_gabor_patch_orientation_139_073_115_154_target_position_1_3_retrieval_position_1" gabor_139_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_15_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_139_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 2042 2992 2292 fixation_cross gabor_136 gabor_105 gabor_030 gabor_163 gabor_136_alt gabor_105 gabor_030_alt gabor_163 "2_16_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_2050_3000_2300_gabor_patch_orientation_136_105_030_163_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_030_framed gabor_circ blank blank blank blank fixation_cross_white "2_16_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_030_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 2192 2992 2592 fixation_cross gabor_149 gabor_170 gabor_059 gabor_083 gabor_149 gabor_170_alt gabor_059 gabor_083_alt "2_17_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_2200_3000_2600_gabor_patch_orientation_149_170_059_083_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_128_framed blank blank blank blank fixation_cross_white "2_17_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_128_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 2142 2992 2492 fixation_cross gabor_069 gabor_084 gabor_107 gabor_129 gabor_069 gabor_084_alt gabor_107_alt gabor_129 "2_18_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_2150_3000_2500_gabor_patch_orientation_069_084_107_129_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_107_framed gabor_circ blank blank blank blank fixation_cross_white "2_18_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_107_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 1892 2992 2142 fixation_cross gabor_091 gabor_173 gabor_065 gabor_111 gabor_091 gabor_173_alt gabor_065_alt gabor_111 "2_19_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_1900_3000_2150_gabor_patch_orientation_091_173_065_111_target_position_2_3_retrieval_position_2" gabor_circ gabor_038_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_19_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_038_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 63 292 292 399 125 2092 2992 2342 fixation_cross gabor_131 gabor_064 gabor_042 gabor_006 gabor_131 gabor_064_alt gabor_042_alt gabor_006 "2_20_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_UncuedRetriev_300_300_399_2100_3000_2350_gabor_patch_orientation_131_064_042_006_target_position_2_3_retrieval_position_1" gabor_086_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_20_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_086_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 1892 2992 2542 fixation_cross gabor_068 gabor_042 gabor_156 gabor_129 gabor_068_alt gabor_042 gabor_156_alt gabor_129 "2_21_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_1900_3000_2550_gabor_patch_orientation_068_042_156_129_target_position_1_3_retrieval_position_1" gabor_068_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_21_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_068_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 1992 2992 2592 fixation_cross gabor_009 gabor_127 gabor_148 gabor_168 gabor_009 gabor_127_alt gabor_148_alt gabor_168 "2_22_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_2000_3000_2600_gabor_patch_orientation_009_127_148_168_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_148_framed gabor_circ blank blank blank blank fixation_cross_white "2_22_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_148_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 1842 2992 1892 fixation_cross gabor_123 gabor_142 gabor_101 gabor_176 gabor_123_alt gabor_142 gabor_101_alt gabor_176 "2_23_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_1850_3000_1900_gabor_patch_orientation_123_142_101_176_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_055_framed gabor_circ blank blank blank blank fixation_cross_white "2_23_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_055_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 1992 2992 1942 fixation_cross gabor_160 gabor_072 gabor_052 gabor_093 gabor_160_alt gabor_072 gabor_052 gabor_093_alt "2_24_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_2000_3000_1950_gabor_patch_orientation_160_072_052_093_target_position_1_4_retrieval_position_1" gabor_160_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_24_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_160_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 1842 2992 2092 fixation_cross gabor_084 gabor_172 gabor_102 gabor_021 gabor_084 gabor_172_alt gabor_102_alt gabor_021 "2_25_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_1850_3000_2100_gabor_patch_orientation_084_172_102_021_target_position_2_3_retrieval_position_2" gabor_circ gabor_037_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_25_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_037_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 2092 2992 2292 fixation_cross gabor_151 gabor_121 gabor_046 gabor_078 gabor_151_alt gabor_121 gabor_046 gabor_078_alt "2_26_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_2100_3000_2300_gabor_patch_orientation_151_121_046_078_target_position_1_4_retrieval_position_1" gabor_013_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_26_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_013_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 63 292 292 399 125 2192 2992 1942 fixation_cross gabor_090 gabor_155 gabor_179 gabor_114 gabor_090_alt gabor_155_alt gabor_179 gabor_114 "2_27_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_UncuedRetriev_300_300_399_2200_3000_1950_gabor_patch_orientation_090_155_179_114_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_066_framed blank blank blank blank fixation_cross_white "2_27_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_066_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 1742 2992 2342 fixation_cross gabor_025 gabor_076 gabor_109 gabor_043 gabor_025_alt gabor_076 gabor_109 gabor_043_alt "2_28_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_1750_3000_2350_gabor_patch_orientation_025_076_109_043_target_position_1_4_retrieval_position_1" gabor_163_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_28_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_163_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 2042 2992 2442 fixation_cross gabor_040 gabor_064 gabor_122 gabor_080 gabor_040_alt gabor_064 gabor_122_alt gabor_080 "2_29_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_2050_3000_2450_gabor_patch_orientation_040_064_122_080_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_122_framed gabor_circ blank blank blank blank fixation_cross_white "2_29_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_122_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 2242 2992 2042 fixation_cross gabor_071 gabor_088 gabor_053 gabor_110 gabor_071 gabor_088_alt gabor_053_alt gabor_110 "2_30_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_2250_3000_2050_gabor_patch_orientation_071_088_053_110_target_position_2_3_retrieval_position_2" gabor_circ gabor_136_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_30_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_136_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 64 292 292 399 125 1892 2992 2292 fixation_cross gabor_032 gabor_149 gabor_066 gabor_008 gabor_032 gabor_149_alt gabor_066 gabor_008_alt "2_31_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_UncuedRetriev_300_300_399_1900_3000_2300_gabor_patch_orientation_032_149_066_008_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_066_framed gabor_circ blank blank blank blank fixation_cross_white "2_31_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_066_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 2192 2992 1992 fixation_cross gabor_021 gabor_049 gabor_001 gabor_111 gabor_021 gabor_049_alt gabor_001_alt gabor_111 "2_32_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_2200_3000_2000_gabor_patch_orientation_021_049_001_111_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_001_framed gabor_circ blank blank blank blank fixation_cross_white "2_32_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_001_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 1792 2992 2542 fixation_cross gabor_101 gabor_019 gabor_161 gabor_128 gabor_101 gabor_019 gabor_161_alt gabor_128_alt "2_33_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_1800_3000_2550_gabor_patch_orientation_101_019_161_128_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_128_framed blank blank blank blank fixation_cross_white "2_33_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_128_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 1942 2992 2042 fixation_cross gabor_024 gabor_142 gabor_100 gabor_165 gabor_024_alt gabor_142 gabor_100_alt gabor_165 "2_34_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_1950_3000_2050_gabor_patch_orientation_024_142_100_165_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_100_framed gabor_circ blank blank blank blank fixation_cross_white "2_34_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_100_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 2192 2992 1942 fixation_cross gabor_147 gabor_115 gabor_084 gabor_170 gabor_147 gabor_115_alt gabor_084 gabor_170_alt "2_35_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_2200_3000_1950_gabor_patch_orientation_147_115_084_170_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_170_framed blank blank blank blank fixation_cross_white "2_35_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_170_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 2242 2992 2592 fixation_cross gabor_098 gabor_148 gabor_028 gabor_173 gabor_098 gabor_148_alt gabor_028_alt gabor_173 "2_36_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_2250_3000_2600_gabor_patch_orientation_098_148_028_173_target_position_2_3_retrieval_position_2" gabor_circ gabor_148_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_36_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_148_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 2092 2992 2442 fixation_cross gabor_155 gabor_093 gabor_011 gabor_069 gabor_155 gabor_093_alt gabor_011 gabor_069_alt "2_37_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_2100_3000_2450_gabor_patch_orientation_155_093_011_069_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_117_framed blank blank blank blank fixation_cross_white "2_37_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_117_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 64 292 292 399 125 1942 2992 2292 fixation_cross gabor_142 gabor_023 gabor_175 gabor_057 gabor_142 gabor_023_alt gabor_175 gabor_057_alt "2_38_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_UncuedRetriev_300_300_399_1950_3000_2300_gabor_patch_orientation_142_023_175_057_target_position_2_4_retrieval_position_1" gabor_142_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_38_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_142_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 1792 2992 2092 fixation_cross gabor_046 gabor_152 gabor_031 gabor_113 gabor_046_alt gabor_152 gabor_031_alt gabor_113 "2_39_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_1800_3000_2100_gabor_patch_orientation_046_152_031_113_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_031_framed gabor_circ blank blank blank blank fixation_cross_white "2_39_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_031_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 1742 2992 2042 fixation_cross gabor_131 gabor_015 gabor_156 gabor_090 gabor_131 gabor_015_alt gabor_156 gabor_090_alt "2_40_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_1750_3000_2050_gabor_patch_orientation_131_015_156_090_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_090_framed blank blank blank blank fixation_cross_white "2_40_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_090_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 2142 2992 2142 fixation_cross gabor_140 gabor_052 gabor_025 gabor_110 gabor_140 gabor_052_alt gabor_025_alt gabor_110 "2_41_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_2150_3000_2150_gabor_patch_orientation_140_052_025_110_target_position_2_3_retrieval_position_2" gabor_circ gabor_003_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_41_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_003_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 64 292 292 399 125 1792 2992 2242 fixation_cross gabor_152 gabor_005 gabor_037 gabor_120 gabor_152_alt gabor_005 gabor_037_alt gabor_120 "2_42_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_UncuedRetriev_300_300_399_1800_3000_2250_gabor_patch_orientation_152_005_037_120_target_position_1_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_120_framed blank blank blank blank fixation_cross_white "2_42_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_120_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 1742 2992 2492 fixation_cross gabor_057 gabor_130 gabor_173 gabor_004 gabor_057 gabor_130_alt gabor_173 gabor_004_alt "2_43_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_1750_3000_2500_gabor_patch_orientation_057_130_173_004_target_position_2_4_retrieval_position_2" gabor_circ gabor_083_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_43_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_083_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 1942 2992 2542 fixation_cross gabor_145 gabor_125 gabor_062 gabor_102 gabor_145_alt gabor_125 gabor_062_alt gabor_102 "2_44_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_1950_3000_2550_gabor_patch_orientation_145_125_062_102_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_013_framed gabor_circ blank blank blank blank fixation_cross_white "2_44_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_013_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 63 292 292 399 125 1992 2992 2492 fixation_cross gabor_112 gabor_142 gabor_097 gabor_027 gabor_112 gabor_142_alt gabor_097_alt gabor_027 "2_45_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_UncuedRetriev_300_300_399_2000_3000_2500_gabor_patch_orientation_112_142_097_027_target_position_2_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_166_framed blank blank blank blank fixation_cross_white "2_45_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_166_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 2042 2992 1892 fixation_cross gabor_043 gabor_100 gabor_020 gabor_127 gabor_043_alt gabor_100 gabor_020_alt gabor_127 "2_46_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_2050_3000_1900_gabor_patch_orientation_043_100_020_127_target_position_1_3_retrieval_position_1" gabor_043_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_46_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_043_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 1892 2992 2142 fixation_cross gabor_180 gabor_040 gabor_108 gabor_020 gabor_180 gabor_040_alt gabor_108 gabor_020_alt "2_47_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_1900_3000_2150_gabor_patch_orientation_180_040_108_020_target_position_2_4_retrieval_position_2" gabor_circ gabor_040_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_47_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_040_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 1842 2992 2192 fixation_cross gabor_147 gabor_037 gabor_082 gabor_010 gabor_147_alt gabor_037_alt gabor_082 gabor_010 "2_48_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_1850_3000_2200_gabor_patch_orientation_147_037_082_010_target_position_1_2_retrieval_position_2" gabor_circ gabor_037_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_48_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_037_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 64 292 292 399 125 2242 2992 1892 fixation_cross gabor_096 gabor_050 gabor_177 gabor_072 gabor_096_alt gabor_050 gabor_177 gabor_072_alt "2_49_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_UncuedRetriev_300_300_399_2250_3000_1900_gabor_patch_orientation_096_050_177_072_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_177_framed gabor_circ blank blank blank blank fixation_cross_white "2_49_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_177_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 2142 2992 2192 fixation_cross gabor_091 gabor_130 gabor_157 gabor_040 gabor_091_alt gabor_130_alt gabor_157 gabor_040 "2_50_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_2150_3000_2200_gabor_patch_orientation_091_130_157_040_target_position_1_2_retrieval_position_2" gabor_circ gabor_179_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_50_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_179_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 2142 2992 1942 fixation_cross gabor_007 gabor_120 gabor_140 gabor_060 gabor_007 gabor_120_alt gabor_140_alt gabor_060 "2_51_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_2150_3000_1950_gabor_patch_orientation_007_120_140_060_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_140_framed gabor_circ blank blank blank blank fixation_cross_white "2_51_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_140_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 1892 2992 2392 fixation_cross gabor_147 gabor_075 gabor_095 gabor_060 gabor_147 gabor_075_alt gabor_095_alt gabor_060 "2_52_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_1900_3000_2400_gabor_patch_orientation_147_075_095_060_target_position_2_3_retrieval_position_2" gabor_circ gabor_075_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_52_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_075_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 1742 2992 1942 fixation_cross gabor_093 gabor_149 gabor_060 gabor_111 gabor_093_alt gabor_149_alt gabor_060 gabor_111 "2_53_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_1750_3000_1950_gabor_patch_orientation_093_149_060_111_target_position_1_2_retrieval_position_1" gabor_043_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_53_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_043_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 2242 2992 2142 fixation_cross gabor_164 gabor_087 gabor_131 gabor_041 gabor_164_alt gabor_087 gabor_131 gabor_041_alt "2_54_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_2250_3000_2150_gabor_patch_orientation_164_087_131_041_target_position_1_4_retrieval_position_1" gabor_164_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_54_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_164_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 2092 2992 2442 fixation_cross gabor_150 gabor_062 gabor_120 gabor_172 gabor_150_alt gabor_062_alt gabor_120 gabor_172 "2_55_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_2100_3000_2450_gabor_patch_orientation_150_062_120_172_target_position_1_2_retrieval_position_1" gabor_100_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_55_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_100_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 1992 2992 2092 fixation_cross gabor_078 gabor_056 gabor_023 gabor_137 gabor_078 gabor_056_alt gabor_023 gabor_137_alt "2_56_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_2000_3000_2100_gabor_patch_orientation_078_056_023_137_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_137_framed blank blank blank blank fixation_cross_white "2_56_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_137_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 2242 2992 2192 fixation_cross gabor_070 gabor_103 gabor_143 gabor_015 gabor_070_alt gabor_103_alt gabor_143 gabor_015 "2_57_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_2250_3000_2200_gabor_patch_orientation_070_103_143_015_target_position_1_2_retrieval_position_2" gabor_circ gabor_053_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_57_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_053_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 63 292 292 399 125 1842 2992 2242 fixation_cross gabor_068 gabor_088 gabor_122 gabor_145 gabor_068_alt gabor_088 gabor_122 gabor_145_alt "2_58_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_UncuedRetriev_300_300_399_1850_3000_2250_gabor_patch_orientation_068_088_122_145_target_position_1_4_retrieval_position_2" gabor_circ gabor_039_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_58_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_039_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 2092 2992 2242 fixation_cross gabor_061 gabor_148 gabor_118 gabor_166 gabor_061_alt gabor_148 gabor_118 gabor_166_alt "2_59_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_2100_3000_2250_gabor_patch_orientation_061_148_118_166_target_position_1_4_retrieval_position_1" gabor_011_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_59_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_011_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 1992 2992 1892 fixation_cross gabor_098 gabor_117 gabor_166 gabor_083 gabor_098_alt gabor_117 gabor_166_alt gabor_083 "2_60_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_2000_3000_1900_gabor_patch_orientation_098_117_166_083_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_031_framed gabor_circ blank blank blank blank fixation_cross_white "2_60_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_031_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 2042 2992 2092 fixation_cross gabor_160 gabor_038 gabor_100 gabor_178 gabor_160 gabor_038 gabor_100_alt gabor_178_alt "2_61_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_2050_3000_2100_gabor_patch_orientation_160_038_100_178_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_100_framed gabor_circ blank blank blank blank fixation_cross_white "2_61_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_100_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 64 292 292 399 125 2192 2992 2542 fixation_cross gabor_088 gabor_004 gabor_128 gabor_169 gabor_088 gabor_004 gabor_128_alt gabor_169_alt "2_62_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_UncuedRetriev_300_300_399_2200_3000_2550_gabor_patch_orientation_088_004_128_169_target_position_3_4_retrieval_position_1" gabor_088_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_62_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_088_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 2242 2992 2592 fixation_cross gabor_014 gabor_098 gabor_044 gabor_176 gabor_014_alt gabor_098 gabor_044_alt gabor_176 "2_63_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_2250_3000_2600_gabor_patch_orientation_014_098_044_176_target_position_1_3_retrieval_position_1" gabor_060_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_63_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_060_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 1842 2992 2192 fixation_cross gabor_035 gabor_011 gabor_167 gabor_058 gabor_035_alt gabor_011 gabor_167_alt gabor_058 "2_64_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_1850_3000_2200_gabor_patch_orientation_035_011_167_058_target_position_1_3_retrieval_position_1" gabor_035_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_64_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_035_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 2092 2992 1992 fixation_cross gabor_010 gabor_149 gabor_126 gabor_039 gabor_010 gabor_149_alt gabor_126_alt gabor_039 "2_65_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_2100_3000_2000_gabor_patch_orientation_010_149_126_039_target_position_2_3_retrieval_position_2" gabor_circ gabor_099_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_65_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_099_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 64 292 292 399 125 1942 2992 2342 fixation_cross gabor_044 gabor_164 gabor_134 gabor_112 gabor_044_alt gabor_164 gabor_134_alt gabor_112 "2_66_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_UncuedRetriev_300_300_399_1950_3000_2350_gabor_patch_orientation_044_164_134_112_target_position_1_3_retrieval_position_2" gabor_circ gabor_164_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_66_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_164_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 62 292 292 399 125 2142 2992 2392 fixation_cross gabor_095 gabor_140 gabor_161 gabor_111 gabor_095_alt gabor_140_alt gabor_161 gabor_111 "2_67_Encoding_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_300_300_399_2150_3000_2400_gabor_patch_orientation_095_140_161_111_target_position_1_2_retrieval_position_1" gabor_095_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_67_Retrieval_Working_Memory_MEG_P4_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_095_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 2192 2992 2342 fixation_cross gabor_122 gabor_062 gabor_036 gabor_082 gabor_122 gabor_062_alt gabor_036_alt gabor_082 "2_68_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_2200_3000_2350_gabor_patch_orientation_122_062_036_082_target_position_2_3_retrieval_position_2" gabor_circ gabor_014_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_68_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_014_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 61 292 292 399 125 1742 2992 1992 fixation_cross gabor_084 gabor_168 gabor_099 gabor_012 gabor_084_alt gabor_168 gabor_099_alt gabor_012 "2_69_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_300_300_399_1750_3000_2000_gabor_patch_orientation_084_168_099_012_target_position_1_3_retrieval_position_1" gabor_039_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_69_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_039_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
42 63 292 292 399 125 1842 2992 2142 fixation_cross gabor_112 gabor_031 gabor_157 gabor_173 gabor_112 gabor_031_alt gabor_157_alt gabor_173 "2_70_Encoding_Working_Memory_MEG_P4_LR_Salient_DoChange_UncuedRetriev_300_300_399_1850_3000_2150_gabor_patch_orientation_112_031_157_173_target_position_2_3_retrieval_position_1" gabor_067_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_70_Retrieval_Working_Memory_MEG_P4_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_067_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
};
# 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;
}; |
023ed42ae17a9954d4f5395b5ff8db2097ba4cdd | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/Tet_channel_m8_petsc_sc_par.tst | f16cd03e002292a1d180ae8bd0744717e56b367a | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 1,106 | tst | Tet_channel_m8_petsc_sc_par.tst | <?xml version="1.0" encoding="utf-8" ?>
<test>
<description>3D channel flow, Tet elements, PETSc sc, par(3), P=8</description>
<executable>IncNavierStokesSolver</executable>
<parameters>--use-scotch -I GlobalSysSoln=PETScStaticCond Tet_channel_m8_par.xml</parameters>
<processes>3</processes>
<files>
<file description="Session File">Tet_channel_m8_par.xml</file>
</files>
<metrics>
<metric type="L2" id="1">
<value variable="u" tolerance="1e-12">8.62254e-15</value>
<value variable="v" tolerance="1e-12">7.34883e-15</value>
<value variable="w" tolerance="1e-12">3.03011e-14</value>
<value variable="p" tolerance="1e-8">4.64664e-13</value>
</metric>
<metric type="Linf" id="2">
<value variable="u" tolerance="1e-12">3.70349e-14</value>
<value variable="v" tolerance="1e-12">2.65691e-14</value>
<value variable="w" tolerance="1e-12">1.05027e-13</value>
<value variable="p" tolerance="1e-8">1.40776e-12</value>
</metric>
</metrics>
</test>
|
92aea22a61775476c174c7a2080f0253efe62f69 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH3/EX3.15/Example3_15.sce | 7be2f7287e9001a262001cfb81f0fc386af06f82 | [] | 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 | sce | Example3_15.sce | //Example 3.15
clear;
clc;
C=10*10^(-9);
C1=C;
C2=C;
f0=1*10^3;
Q=10;
H0dB=20;
H0=10^(H0dB/20);
R2=(2*Q)/(2*%pi*f0*C);
R1A=Q/(H0*2*%pi*f0*C);
R1B=R1A/((2*Q^2/H0)-1);
printf("Designed Multiple Feedback Band Pass Filter :")
printf("\nR1A=%.2f kohms",R1A*10^(-3));
printf("\nR1B=%.2f ohms",R1B);
printf("\nR2=%.2f kohms",R2*10^(-3));
printf("\nC1=%.2f nF",C1*10^(9));
printf("\nC2=%.2f nF",C2*10^(9)); |
bd76be6642afadd882a9e02e6f9ac240ce80c2f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH5/EX5.22/5_22.sce | 0f5f288162c2305f4f33b528118566ebf09a3b81 | [] | 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 | 246 | sce | 5_22.sce | clc;
clear;
z=500;//ft
//energy equation
//T2-T1 = (u2 - u1)/c = g*(z2 - z1)/c; c=specific heat of water = 1 Btu/(lbm* degree R)
diffT = 32.2*z/(778*32.2);//degree R
disp("degree R",diffT,"The temperature change associated with this flow=") |
06494a4a048f6fddf2d498da217aa0f397eabebb | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH12/EX12.6/exm12_6.sce | 17cf059fc435ddd1454ba7701c31b6b2603b4c6e | [] | 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,554 | sce | exm12_6.sce | // Example 12.6
//Write a program to append additional items to the file INVENTORY
//created in Example 12.3 and print the total contents of the file.
funcprot(0);
warning('off');
function[item] =append(product,fp)
printf("Item name:\n");
product.name=scanf("%s");
printf("Item number:.\n");
product.number=scanf("%d");
printf("Item price\n");
product.price=scanf("%f");
printf("Quantity:\n");
product.quantity=scanf("%d");
//Write data in the file
mfprintf(fp,'%s %d %.2f %d\n',product.name,product.number,product.price,product.quantity);
item=product;
endfunction
//Creating structure
item=struct('name','0','number','0','price','0','quantity','0');
//Read file name that is 'INVENTORY'
disp("Type file name");
filename=scanf("%s");
//Open file in append mode,fp is file descriptor
fp=mopen(filename,'a+');
b=0;response=-1;
//Read data
while(response==1|b==0)
item=append(item,fp); //calling append() function
printf("Item %s appended.\n",item.name);
printf("Do you want to add another item\(1 for YES/0 for NO)?");
response=scanf("%d");
b=1;
end
n=mtell(fp); //position of last character
mclose(fp);
//Opening file in the read mode
fp=mopen(filename,'r');
while (mtell(fp) < n-2)
//read data from terminal
[g,item.name,item.number,item.price,item.quantity]=mfscanf(fp,"%s %d %f %d");
//Print Data to screen
printf('%s %7d %8.2f %8d\n',item.name,item.number,item.price,item.quantity);
end
mclose(fp);
|
7a249f04c5b597a188a8c12f4e8785db0eb6f1c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH14/EX14.10/Ex14_10.sce | c18a8d761e7d4698371fac99bac9ac96aa452b89 | [] | 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 | 905 | sce | Ex14_10.sce |
// Given:-
// With data from Table A-2 at 20C,
vf = 1.0018e-3 // in m^3/kg
psat = 0.0239 // in bar
p = 1.0 // in bar
T = 293.15 // in kelvin
Rbar = 8.314 // universal gas constant in SI units
M = 18.02 // molat mass of water in kg/kmol
e=2.715
// Calculations
pvbypsat = e**(vf*(p-psat)*10**5/((1000*Rbar/M)*T))
percent = (pvbypsat-1)*100
// Result
printf( ' The departure, in percent, of the partial pressure of the water vapor from the saturation pressure of water at 20 is: %.3f',percent)
|
35c4ffad1f976db880278593b1ffc235bc8d3855 | 8200349559e237758f87bc09a9eb4e0178932815 | /Magnet/Scilab/volume.sce | 5d0e38bab73001aa91fda806e8be950a7f13b5a0 | [] | no_license | rmorenoga/Testing | 6e50ea8e5f334b6d69f25e56f81fd7a505c012bb | 06713e61ababad3fb738ec4ac9ea771772585a12 | refs/heads/master | 2021-05-25T09:31:54.351782 | 2020-08-08T20:55:59 | 2020-08-08T20:55:59 | 35,949,400 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | volume.sce | function V = volume(D,t)
// takes the Diameter (D) and thickness (t)) in meters
// transforms them into meters and then calculates
// the volume in m3 of the magnet
//f = 0.0254 // inch-meter factor
mD = D
mr = 0.5*mD
mt = t
V = %pi*mr*mr*mt // in m3
endfunction
|
f6f825f79b5816b2425a509395898e0ba3c468f2 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/ADRSolver/Tests/Advection3D_DG_hex_faceRotation1122.tst | a56d7bdbd1cb7c17156ea61642cc632fd38b73e7 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 786 | tst | Advection3D_DG_hex_faceRotation1122.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>3D unsteady DG advection, 2 hexahedra, covering all eDir1xxxDir1_Dir2xxxDir2 combinations</description>
<executable>ADRSolver</executable>
<parameters>Advection3D_DG_hex_faceRotation1122.xml Advection3D_DG_hex_faceRotation.xml</parameters>
<files>
<file description="Session File">Advection3D_DG_hex_faceRotation.xml</file>
<file description="Mesh File">Advection3D_DG_hex_faceRotation1122.xml</file>
</files>
<metrics>
<metric type="L2" id="1">
<value variable="u" tolerance="1e-12">0.00339959</value>
</metric>
<metric type="Linf" id="2">
<value variable="u" tolerance="1e-12">0.00174967</value>
</metric>
</metrics>
</test>
|
e29d4c348bada2102024af265c2d87e48509e938 | 449d555969bfd7befe906877abab098c6e63a0e8 | /137/CH7/EX7.3/prob_7_3.sce | dcfe5433316c3834dc1a24ae3075be881c4bb173 | [] | 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 | 407 | sce | prob_7_3.sce | clc;
//page no 326
//prob no 7.3
// problem fig. is ggiven on page no 324. Referring the fig. we are given the values of a0,a1,a-1,a-2
a=1;b=-0.3;c=0.1;d=-0.2;e=0.05;
//design a three-tap (N=1) equalizer by substituting these values into eq no 7.45 of the page no 325
A=[0;1;0];
B=[a d e;b a d;c b a];
c=inv(B)*A;// As, A=B*C Hence c is obtained as given
disp(c);// values of C-1,C0,C1 are obtained |
cd4b01345f592ca0ad3eb261f11cb10bb0dcc501 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2762/CH4/EX4.5.1/4_5_1.sce | b66ff96acd0e4b4ec4b73f49580a04c09c42e46f | [] | 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 | 878 | sce | 4_5_1.sce | //Transport Processes and Seperation Process Principles
//Chapter 4
//Example 4.5-1
//Principles of Steady State Heat Transfer
//given data
//si units
//nomenclature of unmentioned specifications similar to previous example
mub=2.6e-5;//viscosity of air
Tw=488.7;//temp of water
k=0.03894;
Pr=0.686;//prandtl number
muw=2.64e-5;//viscosity of water
Mair=28.97;//mol wt of air
P1=206.8;//inlet pressure of air
Patm=101.33;//atmospheric pressure of air
V=22.414;//mol vol of air
T0=273.2;//STP temp
T1=477.6;//temp of air
rhoair=Mair*(1/V)*(P1/Patm)*(T0/T1);//density of air
D=0.0254;//diameter of tube
v=7.62;//vel of air
Re=(D*v*rhoair)/mub;//reynolds number
Nu=0.027*(Re^0.8)*(Pr^(1/3))*((mub/muw)^0.14);//nusselts number
hl=Nu*k/D;//HT coeffiecient
qbyA=hl*(Tw-T1);//flux
mprintf("heat flux= %f W/m2",qbyA)
mprintf(" HT coefficient= %f W/m2 K",hl)
|
bc4e517ff60a0fae191fafb9f1f5aa85154eb0d7 | 881e0bcc7118244a24f736786ac36140acfb885e | /yeast/results/GAssist-ADI-C.yeast-1/result4s0.tst | 9d95b9a0d4abdd605e145641b839035b0fb319a5 | [] | no_license | woshahua/Experiment_File | 3e34e5a4a622d6d260fbdf8d5ef2711712aad9bc | 6a139cd3f779373799cb926ba90d978235b0de0d | refs/heads/master | 2021-01-01T06:57:13.285197 | 2017-07-28T08:17:38 | 2017-07-28T08:17:38 | 97,557,409 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,585 | tst | result4s0.tst | @relation yeast-1
@attribute Mcg real [0.11, 1.0]
@attribute Gvh real [0.13, 1.0]
@attribute Alm real [0.21, 1.0]
@attribute Mit real [0.0, 1.0]
@attribute Erl real [0.5, 1.0]
@attribute Pox real [0.0, 0.83]
@attribute Vac real [0.0, 0.73]
@attribute Nuc real [0.0, 1.0]
@attribute Class {MIT, NUC, CYT, ME1, ME2, ME3, EXC, VAC, POX, ERL}
@inputs Mcg, Gvh, Alm, Mit, Erl, Pox, Vac, Nuc
@outputs Class
MIT CYT
NUC CYT
VAC NUC
VAC CYT
CYT CYT
CYT CYT
CYT CYT
CYT CYT
CYT CYT
NUC NUC
MIT MIT
NUC CYT
CYT NUC
NUC CYT
POX POX
NUC NUC
MIT ME3
MIT MIT
MIT ME1
MIT ME3
MIT MIT
CYT CYT
CYT CYT
NUC CYT
NUC NUC
CYT CYT
ME3 ME3
POX POX
NUC NUC
NUC NUC
CYT CYT
NUC NUC
ME1 ME1
ME2 ME2
CYT ME3
EXC ME1
CYT CYT
ME3 ME3
NUC NUC
CYT CYT
NUC NUC
CYT CYT
CYT NUC
NUC CYT
MIT MIT
CYT NUC
NUC CYT
ME3 ME3
NUC MIT
ME3 ME3
ME3 ME3
ME1 ME1
NUC NUC
EXC ME1
ME2 EXC
CYT NUC
ME2 ME2
ME3 ME3
MIT ME2
MIT CYT
MIT MIT
CYT CYT
ME2 NUC
MIT CYT
MIT MIT
MIT CYT
MIT MIT
CYT CYT
NUC NUC
NUC NUC
CYT CYT
NUC NUC
MIT ME1
CYT NUC
MIT NUC
ME3 ME3
NUC ME3
EXC EXC
EXC EXC
ME3 CYT
NUC CYT
ME3 ME3
CYT CYT
NUC CYT
ME3 ME3
NUC NUC
NUC NUC
NUC CYT
CYT CYT
NUC NUC
NUC NUC
NUC NUC
CYT CYT
CYT CYT
CYT CYT
CYT NUC
NUC CYT
MIT MIT
MIT MIT
CYT CYT
ME3 ME3
NUC CYT
NUC CYT
CYT CYT
NUC MIT
NUC CYT
NUC NUC
CYT NUC
CYT NUC
CYT CYT
CYT CYT
MIT MIT
NUC NUC
CYT CYT
CYT MIT
NUC CYT
CYT NUC
CYT CYT
CYT NUC
CYT CYT
NUC CYT
CYT CYT
ME3 ME3
CYT CYT
CYT CYT
VAC CYT
CYT ME3
CYT CYT
ME3 ME3
ME3 ME2
NUC NUC
ME1 CYT
MIT CYT
NUC NUC
ME1 ME1
MIT CYT
ME2 EXC
NUC NUC
NUC CYT
MIT NUC
ME3 ME3
MIT MIT
NUC MIT
CYT NUC
CYT NUC
NUC NUC
ME3 ME3
CYT CYT
|
3d49fcbec0f3b8d62fc2594254a2fb80fa571549 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1208/CH4/EX4.12/Exa12.sce | 6f4d46f303a9e9b22979c57d3b59668559097ed3 | [] | 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,755 | sce | Exa12.sce | //Exa 12
clc;
clear;
close;
//given data :
//initial cash outflows
ICO=70000;//in Rs.
//cash in flows of 1st,2nd,3rd,4th and 5th years
CIF1=50000;//in Rs.
CIF2=40000;//in Rs.
CIF3=20000;//in Rs.
CIF4=10000;//in Rs.
CIF5=10000;//in Rs.
//P.V factor at 35% rate of discount
PV1=0.741;
PV2=0.549;
PV3=0.406;
PV4=0.301;
PV5=0.223;
//Present value for all cash in flows
P1=CIF1*PV1;// in Rs
P2=CIF2*PV2;// in Rs
P3=CIF3*PV3;// in Rs
P4=CIF4*PV4;// in Rs
P5=CIF5*PV5;// in Rs
//Total Present Value
P=P1+P2+P3+P4+P5;// in Rs
disp(P,"Total present value(in Rs) is : ")
disp("As the total present value of cash inflows at 35% rate is 72370 RS. is more than the cost of investment.")
disp("The next trial rate can be taken as 40%.")
//P.V factor at 40% rate of discount
PV1=0.714;
PV2=0.510;
PV3=0.364;
PV4=0.260;
PV5=0.186;
//Present value for all cash in flows
P1=CIF1*PV1;// in Rs
P2=CIF2*PV2;// in Rs
P3=CIF3*PV3;// in Rs
P4=CIF4*PV4;// in Rs
P5=CIF5*PV5;// in Rs
//Total Present Value
P=P1+P2+P3+P4+P5;// in Rs
disp(P,"Total present value(in Rs) is : ")
disp("As the total present value of cash inflows at 40% rate is 67840 RS. is less than the cost of investment.")
//IRR will be calculated by interpolation of these two rates
LDR=35;//in % ;Lower discount rate
HDR=40;//in % ;Higher discount rate
P1=72370;//in Rs; Present value at lower rate of interest
P2=67840;//in Rs; Present value at higher rate of interest
IRR=LDR+((P1-ICO)/(P1-P2))*(HDR-LDR);//in % : Internal rate of return
disp(IRR,"Internal rate of return of the project(in %) : ")
//Minimum desired rate of return fixed by management is 25%
disp("As the calculated IRR is greater than the minimum fixed rate. Project should be acepted.")
|
8e128704ade6a4f3a67950fc74655b7664b07de0 | 717ddeb7e700373742c617a95e25a2376565112c | /671/CH7/EX7.7/7_7.sce | a29bf8e6df99b5da5f965eaa91bc22c4dd06bab6 | [] | 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 | 320 | sce | 7_7.sce | uo=(4*%pi)*1E-7
l1=50/100
l2=20/100
l3=50/100
lbc=0.025/100
A1=25E-4
A2=12.5E-4
A3=25E-4
fluxg=0.75E-3
B=fluxg/A1
Fbc=B/uo*lbc
Hcd=200
Hab=Hcd
Fabcd=Hab*l1
Fad=Fbc+Fabcd
Had=Fab/l2
Bad=1.04
fluxad=Bad*A2
fluxdea=fluxad+fluxg
Bdea=fluxdea/A3
Hdea=500
Fdea=Hdea*l3
F=Fdea+Fad
disp(F) |
f1d82cb5efefd720d7e2a805b528e58d51b3e31a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3828/CH2/EX2.2/Ex2_2.sce | 32b381a9f35e33eb8fcdab0d75d67e3dfdb8ecec | [] | 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 | 298 | sce | Ex2_2.sce |
//Chapter 2 : Diffraction
clear;
//Variable declaration
m=1 //first minimum
lamda=6500*10**-10 //wavelength
a=2*10**-6 //slit width
//Calculations
theta=((asin((m*lamda)/a))*180/%pi)
//Result
mprintf("Angle of first minimum theta= %.2f degrees",theta)
|
33af5dbff96131413f13408e3d7d598f8cd86a53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH3/EX3.c.212/Ex3c_12.sce | f500852fb927f9cb963e999f7e1849e61e15c464 | [] | 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 | 477 | sce | Ex3c_12.sce | // Scilab Code Ex3c.12: Page-187 (2008)
clc; clear;
D5 = 0.336; // Diameter of 5th ring, cm
D10plus5 = 0.590; // Diameter of (10+5)th ring, cm
m = 10; // Difference between (10+5)th and 5th rings
lambda = 5890e-008; // Wavelength of the light, cm
R = (D10plus5^2 - D5^2)/(4*m*lambda); // Radius of curvature of the plano-convex lens, m
printf("\nThe radius of plano convex lens = %5.2f cm", R);
// Result
// The radius of plano convex lens = 99.83 cm |
58e2f6532fb138fc701838b59d594bee6aa05d02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2054/CH3/EX3.24/Exa3_24.sce | 561005792ca45238b13ad45badbda0f40bb05f28 | [] | 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 | Exa3_24.sce | //Exa:3.24
clc;
clear;
close;
I_a1=36;//in amperes
N1=400;//in amperes
N2=600;//in amperes
alpha_1=100;//in degrees
V=675;//in volts
R=0.4;//in ohms
V_a1=sqrt(2)*V*(1+cosd(alpha_1))/%pi;//in volts
E_b1=V_a1-I_a1*R;//in volts
I_a2=I_a1*N2/N1;//in amperes
E_b2=E_b1*I_a2*N2/(I_a1*N1);//in volts
V_a2=E_b2+21.6;///in volts
alpha=acosd((V_a2*%pi/(sqrt(2)*V))-1);
disp(I_a2,'Armature current (in Amperes)=');
disp(alpha,'Firing angle (in degrees)='); |
8c49818e545336e98715edff0d8081feb22f67dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH34/EX34.1/34_1.sce | 1833fcc8fe964b12f86addfb00cb377954a53b74 | [] | 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 | 213 | sce | 34_1.sce | //ques-34.1
//Calculating frequency of radiations
clc
w=5000*10^-8;//wavelength (in cm)
c=2.996*10^10;//speed of light (in cm/s)
f=c/w;
printf("The frequency of the radiations is %.0f*10^14 /s.",f*10^-14);
|
98fb9cb5b4b8514e1032c9d3c181e125c43354e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH3/EX3.19/exa_3_19.sce | 26bfa9cf7811c23784a8ce95a0f5f083be014a13 | [] | 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 | 518 | sce | exa_3_19.sce | // Exa 3.19
clc;
clear;
close;
// Given data
R1=540;// in ohm
R3=R1;
R_f=5.4;// in k ohm
R_f=R_f*10^3;// in ohm
R2=R_f;// in ohm
v_in1= -2.5;// in volt
v_in2= -3.5;// in volt
R_in=2;// in M ohm
R_in= R_in*10^6;// in ohm
A=2*10^5;
A_d= (1+R_f/R1);
disp(A_d,"Voltage gain : ");
v_out=A_d*(v_in1-v_in2);// in volt
disp(v_out,"Output voltage in volt");
R_inf1= R_in*(1+A*R1/(R1+R_f));
R_inf2= R_in*(1+A*R2/(R2+R3));
disp("Internal resistance : "+string(R_inf1)+" ohm and "+string(R_inf2)+" ohm ");
|
99faf66f48f39ef6de1b3c1972dacf8a0bd45820 | 61da6be21995bc4b23f268b03fc13d0a33d818f3 | /test/dedos.tst | 232e04e7db3e4517023a5e96eb5a729292dd7ddb | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | warmchang/reposurgeon | 657fe5f63fdd0db560b46ccff11478c73c69b150 | 43e553d9ff0ad4a9c39f4c94b58856f2e5c99297 | refs/heads/master | 2020-12-08T19:41:16.920673 | 2020-01-10T14:58:55 | 2020-01-10T14:58:55 | 233,076,382 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 98 | tst | dedos.tst | ## Test filter --dedos
read <dos.fi
set interactive
1..$ filter --dedos
clear interactive
write -
|
e70fe256496250aacb0e3f1786959c15ae4a6e55 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2783/CH8/EX8.15/Ex8_15.sce | 0f34c33a85c8be85720fda3152f9da36934b2119 | [] | 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 | 308 | sce | Ex8_15.sce | clc
//initialization of new variables
clear
w=2 //m
u=100 //km/h
r=1.2 //kg/m^3
mu=1.81*10^-5
//calculations
D=w
Re=r*u*D/(3.6*mu)
St=0.23 //based on Re
f=St*u/(3.6*D)
l=u/(3.6*f)
//results
printf('Oscillation frequency is %.2f Hz',f)
printf('\n The distance between two cycles is %.2f m',l)
|
6c12bfed7a3f2f4dd4cb987871d25526bcc2587e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH15/EX9.15.15/Ex9_15_15.sce | ced43f01197d9369956e51190fd2c5d2320b803b | [] | 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 | 251 | sce | Ex9_15_15.sce | //Section-9,Example-1,Page no.-E.16
//To calculate dl(G),dl(H) and dl(S).
clc;
T=-298
E=1.02
d_ETP=-5*10^-5
n=2
F=96500
dl_G=-(n*F*E)
disp(dl_G,'(in Jmol^-1)')
dl_S=n*F*d_ETP
disp(dl_S,'(in JK^-1mol^-1)')
dl_H=dl_G+(T*dl_S)
disp(dl_H,'(in Jmol^-1)')
|
de932c08131f7e6b153e1cefa9fa59766960668d | eb6c92c3e95effd30dcb9480f584b7d20a91ae20 | /project 02/ConditionalZeroAndNot16.tst | 3e39d15841f83be6bea639a19be445d2886fc2a7 | [] | no_license | Sarvenaz12/elements-of-computing-systems | 3995ee503b87f05bc61f69efc86eae06e85602aa | c3c40707ea5c873011ed084ac9a35cd4cc193533 | refs/heads/master | 2023-03-26T02:53:55.191373 | 2011-09-15T03:59:17 | 2011-09-15T03:59:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | tst | ConditionalZeroAndNot16.tst | load ConditionalZeroAndNot16.hdl,
output-file ConditionalZeroAndNot16.out,
compare-to ConditionalZeroAndNot16.cmp,
output-list in%B1.16.1 nin%B1.1.1 zin%B1.1.1 out%B1.16.1;
set in %B0101010101010101,
set nin 0,
set zin 0,
eval,
output;
set in %B0101010101010101,
set nin 1,
set zin 0,
eval,
output;
set in %B0101010101010101,
set nin 0,
set zin 1,
eval,
output;
set in %B0101010101010101,
set nin 1,
set zin 1,
eval,
output;
|
565d1579254c99643df9a1eedf65cc6fda499f79 | 0e637a0e41450cddb847e0328eaebb9365cefdd4 | /1st assignment/demo.sce | 95d4c0b6acf20abe95e5d2bb7f7c688e4fe483c2 | [] | no_license | mehtasankets/CASP | 32c7ea00fca072e85d664f4acd050edee5f26a5f | 5dbdd3c14b1b2620c29ab5bfdad640f4529d779c | refs/heads/master | 2020-04-28T09:20:00.026745 | 2011-11-03T08:33:12 | 2011-11-03T08:33:12 | 2,700,756 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,951 | sce | demo.sce | // x initialisation
x=[0:0.1:2*%pi]';
//simple plot
plot(sin(x))
clf()
plot(x,sin(x))
//multiple plot
/*
clf()
plot(x,[sin(x) sin(2*x) sin(3*x)])
clf()
// axis on the right
plot(x,sin(x))
a=gca(); // Handle on current axes entity
a.y_location ="right";
clf()
// axis centered at (0,0)
plot(x-4,sin(x),x+2,cos(x))
a=gca(); // Handle on axes entity
a.x_location = "origin";
a.y_location = "origin";
// Some operations on entities created by plot ...
a=gca();
a.isoview='on';
a.children // list the children of the axes : here it is an Compound child composed of 2 entities
poly1= a.children.children(2); //store polyline handle into poly1
poly1.foreground = 4; // another way to change the style...
poly1.thickness = 3; // ...and the tickness of a curve.
poly1.clip_state='off' // clipping control
a.isoview='off';
//LineSpec and GlobalProperty examples:
clf();
t=0:%pi/20:2*%pi;
plot(t,sin(t),'ro-.',t,cos(t),'cya+',t,abs(sin(t)),'--mo')
scf(2)
plot([t ;t],[sin(t) ;cos(t)],'xdat',[1:2])
scf(3)
axfig3 = gca();
scf(4) // should remain blank
plot(axfig3,[t ;t],[sin(t) ;cos(t)],'zdat',[1:2],'marker','d','markerfac','green','markeredg','yel')
xdel(winsid())
//Data specification
t=-%pi:0.1:%pi;
size(t)
plot(t) // simply plots y versus t vector size
clf(); // clear figure
plot(t,sin(t)); // plots sin(t) versus t
clf();
t=[1 1 1 1
2 3 4 5
3 4 5 6
4 5 6 7];
plot(t) // plots each t column versus row size
clf();
subplot(221)
plot(t,sin(t)); // plots sin(t) versus t column by column this time
xtitle("sin(t) versus t")
subplot(222)
plot(t,sin(t)')
xtitle("sin(t)'' versus t")
subplot(223)
plot(t',sin(t))
a=gca();
a.data_bounds=[0 -1;7 1]; // to see the vertical line hiddden by the y axis
xtitle("sin(t) versus t''")
subplot(224)
plot(t',sin(t)')
xtitle("sin(t)'' versus t''")
clf();
//Special case 1
//x : vector ([5 6 7 8]) and y : matrix (t)
x=[5 6 7 8]
plot(x,t);
plot(x',t); // idem, x is automatically transposed to match t (here the columns)
clf()
// Only one matching possibility case : how to make 4 identical plots in 4 manners...
// x is 1x4 (vector) and y is 4x5 (non square matrix)
subplot(221);
plot(x,[t [8;9;10;12]]');
subplot(222);
plot(x',[t [8;9;10;12]]');
subplot(223);
plot(x,[t [8;9;10;12]]');
subplot(224);
plot(x',[t [8;9;10;12]]');
clf()
//Special case 2
// Case where only x or y is a square matrix
//x : matrix (t) and y : vector ([1 2 3 4])
plot(t,[1 2 3 4]) // equivalent to plot(t,[1 1 1 1;2 2 2 2;3 3 3 3;4 4 4 4])
plot(t,[1;2;3;4]) // the same plot
clf();
// t is transposed : notice the priority given to the columns treatment
plot(t',[1 2 3 4]) // equivalent to plot(t',[1 1 1 1;2 2 2 2;3 3 3 3;4 4 4 4])
plot(t',[1 2 3 4]') // the same plot
clf();
// y is a function defined by..
// ..a primitive
plot(1:0.1:10,sin) // equivalent to plot(1:0.1:10,sin(1:0.1:10))
clf();
// ..a macro:
deff('[y]=toto(x)','y=x.*x')
plot(1:10,toto)*/ |
636e11008579e30c2e6a309bf3b904a3dde9a989 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH4/EX4.23/Ex4_23.sce | 9bbbf28b8ae35f8473dcdc18c1f46260bdd69003 | [] | 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 | 494 | sce | Ex4_23.sce |
//Ex4_23
clc;
// Given:
t=1.83*10^9;// in years
// Solution:
// Part (a)
k=(0.693)/(t*3.16*10^7);
k1=(0.693*10^17)/(t*3.16*10^7);// in 10^-17 s^-1
printf("\n The overall decay constant will be %f*10^-17 s^-1",k1)
// Part (b)
a=(6.022*10^23)/40; // atoms of K(40)
A=a*k;// activity
printf("\n The activity for k(40) is %f beta/s",A)
// Part (c)
a1=(6.022*10^23*1.2*10^-4)/41; // atoms of K(41)
A1=a1*k;// activity
printf("\n The activity for k(41) is %f beta/s",A1)
|
59661a5106dba9a1e1e1a6be38d537844a992422 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH7/EX7.11/Ex7_11.sce | 539496395b944d4a4af9020f01a8b903f25d903f | [] | 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 | 4,006 | sce | Ex7_11.sce | clc
Ndc = 10^16
disp("Ndc= "+string(Ndc)+"cm^-3")//inializing value of collector doping
Nab = 10^17
disp("Nab= "+string(Nab)+"cm^-3")//inializing value of base doping
Nde = 10^18
disp("Nde= "+string(Nde)+"cm^-3")//inializing value of emitter doping
ni = 1.5*10^10
disp("ni = "+string(ni)+"cm^-3") //initializing value of square of electron density of ionisation electron for silicon
kbT = 0.026
disp("kbT = "+string(kbT)+"eV") //initializing value of kbT at 300K
e = 1.6*10^-19
disp("e= "+string(e)+"C")//initializing value of charge of electron
Db = 30
disp("Db= "+string(Db)+"cm^2/s")//initializing value of diffusion coefficient in the base
De = 10
disp("De= "+string(De)+"cm^2/s")//initializing value of diffusion coefficient
Lb = 10*10^-4
disp("Lb= "+string(Lb)+"cm")//inializing value of minority carrier base diffusion length
Le = 10*10^-4
disp("Le= "+string(Le)+"cm")//inializing value of minority carrier emitter diffusion length
Wb = 10^-4
disp("Wb= "+string(Wb)+"cm")//initializing value of base width
We = 10^-4
disp("We= "+string(We)+"cm")//initializing value of emitter width
Vbi= (kbT)*((log((Nab*Ndc)/ni^2)))
disp("The built in voltage is ,Vbi= (kbT)*((log((Na*Nd)/Ni^2)))= "+string(Vbi)+"V")//calculation
disp(" for an applied reverse bias of 5 V ")
VCB1 = 5
disp("VCB = "+string(VCB1)+" V")//initializing value of Collector-base bias voltage
apsilen = 11.9*8.85*10^-14
disp("apsilen = "+string(apsilen)+"F/cm") //initializing value of relative permitivity
nbo = 2.25*10^3
disp("nbo= "+string(nbo)+"cm^-3")//inializing value of majority carrier densities for the base in npn transistor
peo = 112.5
disp("peo= "+string(peo)+"cm^-3")//inializing value of majority carrier densities for the emitter in npn transistor
dWb1 = sqrt((2*apsilen*(Vbi+VCB1)*Ndc)/(e*Nab*(Nab+Ndc)))
disp("The extent of depletion into the base side is,dWb = sqrt((2*apsilen*(Vbi+Vcb)*Ndc)/(e*Nab*(Nab+Ndc))) = "+string(dWb1)+"cm")//calculation
Wbn1 = Wb-dWb1
disp("The neutral base width is,Wbn = Wb-dWb1= "+string(Wbn1)+"cm")//calculation
gamma_e_1 = (1-((peo*De*Wbn1)/(Db*nbo*We)))
disp("The emitter efficiency gamma_e_1 = (1-((peo*De*Wbn)/(Db*nbo*We)))= "+string(gamma_e_1))//calculation
B1 = 1-((Wbn1^2)/(2*(Lb)^2))
disp("The base transport factor is,B = 1-((Wbn^2)/(2*(Lb)^2)) = "+string(B1))//calculation
alpha1 = gamma_e_1*B1
disp("The current gain alpha1 = gamma_e_1*B1= "+string(alpha1))//calculation
Beta3 = (alpha1)/(1-alpha1)
disp("The current gain Beta3 = (alpha1)/(1-alpha1) = "+string(Beta3))//calculation
VBE = 1
disp("VBE= "+string(VBE)+"V")//initializing value of Emitter-base bias voltage
A= 4*10^-6
disp("A= "+string(A)+"cm^2") //initializing value of area of silicon npn transistor device
disp("using collector relation IC = (((e*A*Db*nbo)/(Wbn))*(exp((e*VBE)/(KbT))-1))-(((e*A*Db*nbo*Wbn)/(2*(Lb)^2))*(exp((e*VBE)/(KbT))-1)) and neglecting 2nd part")
IC = (((e*A*Db*nbo)/(Wbn1))*(exp((VBE)/(kbT))-1))
disp("The collector current is,IC = (((e*A*Db*nbo)/(Wbn))*(exp((e*VBE)/(KbT))-1)) = "+string(IC)+"A")//calculation
//Note: in text book the author hasused precision value for gamma and alpha thats why there is difference in the value of beta.
disp(" for an applied reverse bias of 6 V ")
VCB2 = 6
disp("VCB = "+string(VCB2)+" V")//initializing value of Collector-base bias voltage
dWb2 = sqrt((2*apsilen*(Vbi+VCB2)*Ndc)/(e*Nab*(Nab+Ndc)))
disp("The extent of depletion into the base side is,dWb2 = sqrt((2*apsilen*(Vbi+VCB2)*Ndc)/(e*Nab*(Nab+Ndc))) = "+string(dWb2)+"cm")//calculation
Wbn2 = Wb-dWb2
disp("The neutral base width is,Wbn2 = Wb-dWb2= "+string(Wbn2)+"cm")//calculation
IC2 = (((e*A*Db*nbo)/(Wbn2))*(exp((VBE)/(kbT))-1))
disp("The collector current is,IC = (((e*A*Db*nbo)/(Wbn2))*(exp((VBE)/(kbT))-1)) = "+string(IC2)+"A")//calculation
go = (IC2-IC)/(VCB2-VCB1)
disp("The output conductance is,go = (IC2-IC)/(VCB2-VCB1) = "+string(go)+"ohm^-1")//calculation
|
df1b43a4e0e5f64371a6c105c7b74fed9899148b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH8/EX8.12/Ex8_12.sce | b45206c4c1bea66f5efc7f7109127c288dedb2dd | [] | 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 | Ex8_12.sce | clc
clear
printf("Example 8.12 | Page number 225 \n\n");
//Find the direction fo air flow
//Given Data
pA = 120 //kPa //Pressure at location A
TA = 50+273 //K //Temperature at location A
VA = 150 //m/s //Velocity at location A
pB = 100 //kPa //Pressure at location B
TB = 30+273 //K //Temperature at location B
VB = 250 //m/s //Velocity at location B
Cp = 1.005 //kJ/kg
R = 0.287 //kJ/kgK
//Solution
delta_S_sys = (Cp*log(TB/TA))-(R*log(pB/pA)) //kJ/kgK //Entropy of system
if delta_S_sys < 0 then
printf("Flow is from B to A.");
else
printf("Flow is from A to B.")
end
|
eddfed4f03cf7fca5309fbe8c0180fb99ecd6a46 | 91bba043768342a4e23ee3a4ff1aa52fe67f7826 | /cs/142/1/tests/test9.tst | ab45cc0d1f776a2147de75fe637de1b32a73d7fe | [] | no_license | MaxNanasy/old-homework | 6beecc3881c953c93b847f1d0d93a64ec991d6de | 48b7997a49a8f111344f30787c178e1661db04bd | refs/heads/master | 2016-09-08T04:37:44.932977 | 2010-03-02T00:48:59 | 2010-03-02T00:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 51 | tst | test9.tst | main () { if (a[3] < 67 db4) { print(a); } } |
2c4be3112d4bb57b9dc058d308617bac42751440 | 494b677053e1199325a80808377463794e1003e5 | /experiments/ripper/results/Ignore-MV.Ripper-C.vehicle/result2s0.tst | 500b82de59d0f4a42715a9c017c75d2ffc5e827d | [] | no_license | kylecblyth/IIS-Project | 92fb0770addced8022817470f974bf5191bfe05d | abf66fd98d9b6c7c3a0fbc254ef4026641338489 | refs/heads/master | 2020-06-12T19:41:02.430510 | 2016-12-07T10:35:31 | 2016-12-07T10:35:31 | 75,764,815 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,876 | tst | result2s0.tst | @relation vehicle
@attribute COMPACTNESS integer[73,119]
@attribute CIRCULARITY integer[33,59]
@attribute DISTANCECIRCULARITY integer[40,112]
@attribute RADIUSRATIO integer[104,333]
@attribute PRAXISASPECTRATIO integer[47,138]
@attribute MAXLENGTHASPECTRATIO integer[2,55]
@attribute SCATTERRATIO integer[112,265]
@attribute ELONGATEDNESS integer[26,61]
@attribute PRAXISRECTANGULAR integer[17,29]
@attribute LENGTHRECTANGULAR integer[118,188]
@attribute MAJORVARIANCE integer[130,320]
@attribute MINORVARIANCE integer[184,1018]
@attribute GYRATIONRADIUS integer[109,268]
@attribute MAJORSKEWNESS integer[59,135]
@attribute MINORSKEWNESS integer[0,22]
@attribute MINORKURTOSIS integer[0,41]
@attribute MAJORKURTOSIS integer[176,206]
@attribute HOLLOWSRATIO integer[181,211]
@attribute class{van,saab,bus,opel}
@inputs COMPACTNESS,CIRCULARITY,DISTANCECIRCULARITY,RADIUSRATIO,PRAXISASPECTRATIO,MAXLENGTHASPECTRATIO,SCATTERRATIO,ELONGATEDNESS,PRAXISRECTANGULAR,LENGTHRECTANGULAR,MAJORVARIANCE,MINORVARIANCE,GYRATIONRADIUS,MAJORSKEWNESS,MINORSKEWNESS,MINORKURTOSIS,MAJORKURTOSIS,HOLLOWSRATIO
@outputs class
@data
van van
bus bus
saab van
opel opel
saab saab
bus bus
opel van
van van
van van
bus bus
opel opel
van van
van van
bus bus
van opel
bus bus
opel opel
van van
saab saab
opel saab
bus bus
van van
opel saab
bus bus
bus bus
opel van
saab saab
van van
van van
van van
saab saab
saab opel
saab saab
bus bus
bus bus
opel opel
opel saab
opel bus
van van
bus bus
bus opel
bus bus
van van
bus bus
saab opel
van van
bus bus
bus bus
saab opel
saab saab
van saab
opel opel
opel opel
saab saab
van van
saab saab
opel saab
opel van
opel opel
van van
opel opel
saab saab
saab opel
bus bus
bus bus
saab opel
opel opel
saab saab
saab saab
bus bus
saab saab
opel opel
saab opel
bus opel
saab saab
van van
opel opel
saab saab
bus bus
van saab
opel opel
bus bus
opel opel
saab saab
van van
|
82a4d2ad375c1be0dc72e5536942460d8427667d | 449d555969bfd7befe906877abab098c6e63a0e8 | /593/CH9/EX9.9/ex9_9.sce | ea952597aaeb288b26a1ecffcf8c234e513c6f29 | [] | 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 | 3,970 | sce | ex9_9.sce | clear;
//clc();
// Example 9.9
// Page: 234
printf("Example-9.9 Page no.-234\n\n");
//***Data***//
T = 85.3+273.15;//[K] Temperature
P = 1;//[atm] Pressure of the mixture
R = 8.314;//[(Pa*m(3)/(K*mol))]
R_1 = 0.08206;//[(L*atm)/(mol*K)]
y_i = 0.1238;// mole fraction of the ethanol in the vapor phase
y_j = (1-y_i);// mole fraction of the water vapor in the vapor phase
// From the table A.1( table 417), the properties of water and ethanol are given as
// Critical temperatures are
T_c_ii = 513.9;//[K] Critical temperature of the ethanol
T_c_jj = 647.1;//[K] Criatical temperature of water
// Critical pressure are
P_c_ii = 61.48;//[bar] Critical pressure of ethanol
P_c_jj = 220.55;//[bar] Critical pressure of water
// Acccentric factor
w_ii = 0.645;// accentric factor of the ethanol
w_jj = 0.345;// accentric factor of the water
// Compressibility factor are
z_c_ii = 0.24;// compressibility factor of ethanol
z_c_jj = 0.229;// compressibility factor of the water
// Critical volume are given by
V_c_ii = z_c_ii*R*T_c_ii/(P_c_ii*100000)*10^(6);// critical volume the ethanol
V_c_jj = z_c_jj*R*T_c_jj/(P_c_jj*100000)*10^(6);// critical volume the ethanol
// Now
// for k_ij = 0.0
T_c_ij_0 = (T_c_ii*T_c_jj)^(1/2);//[K]
w_ij = (w_ii + w_jj)/2;
z_c_ij = (z_c_ii + z_c_jj)/2;
V_c_ij = ( (V_c_ii^(1/3) + V_c_jj^(1/3))/2)^(3);
P_c_ij_0 = (z_c_ij*R*T_c_ij_0)/(V_c_ij/10^(6))/10^(5);//[bar]
// again for k_ij = 0.01
T_c_ij_1 = (T_c_ii*T_c_jj)^(1/2)*(1-0.01);//[K]
P_c_ij_1 = (z_c_ij*R*T_c_ij_1)/(V_c_ij/10^(6))/10^(5);//[bar]
// Now
T_r_ii = T/T_c_ii;
T_r_jj = T/T_c_jj;
T_r_ij_0 = T/T_c_ij_0;
T_r_ij_1 = T/T_c_ij_1;
// and
P_r_ii = P/P_c_ii;
P_r_jj = P/P_c_jj;
P_r_ij_0 = P/P_c_ij_0;
P_r_ij_1 = P/P_c_ij_1;
// Now we will calculate f(T_r) for each component and mixture
f_Tr_ii = ( 0.083 - 0.422/T_r_ii^(1.6) ) + w_ii*( 0.139 - 0.172/T_r_ii^(4.2));
f_Tr_jj = ( 0.083 - 0.422/T_r_jj^(1.6) ) + w_jj*( 0.139 - 0.172/T_r_jj^(4.2));
f_Tr_ij0 = ( 0.083 - 0.422/T_r_ij_0^(1.6) ) + w_ij*( 0.139 - 0.172/T_r_ij_0^(4.2));
f_Tr_ij1 = ( 0.083 - 0.422/T_r_ij_1^(1.6) ) + w_ij*( 0.139 - 0.172/T_r_ij_1^(4.2));
// Let us define A = (P_r*f(T_r)/T_r) , so
A_ii = P_r_ii*f_Tr_ii/T_r_ii;
A_jj = P_r_jj*f_Tr_jj/T_r_jj;
// We are given
v_ii = 0.975;
v_jj = 0.986;
// Now,
B_ii = ( f_Tr_ii*R*T_c_ii/P_c_ii)*(10^(3)/10^(5));//[L/mol]
B_jj = ( f_Tr_jj*R*T_c_jj/P_c_jj)*(10^(3)/10^(5));//[L/mol]
B_ij0 = ( f_Tr_ij0*R*T_c_ij_0/P_c_ij_0)*(10^(3)/10^(5));//[L/mol]
B_ij1 = ( f_Tr_ij1*R*T_c_ij_1/P_c_ij_1)*(10^(3)/10^(5));//[L/mol]
// now we will calculate 'delta'
delta_ij0 = 2*B_ij0 - B_ii - B_jj;//[L/mol]
delta_ij1 = 2*B_ij1 - B_ii - B_jj;//[L/mol]
// We have
// b_a = B_aa + y_b^(2)*delta and b_b = B_bb + y_a^(2)*delta
// so,
b_ethanol0 = B_ii + y_j^(2)*delta_ij0;//[L/mol]
b_water0 = B_jj + y_i^(2)*delta_ij0;//[L/mol]
b_ethanol1 = B_ii + y_j^(2)*delta_ij1;//[L/mol]
b_water1 = B_jj + y_i^(2)*delta_ij1;//[L/mol]
// Now
// phi_i = exp(b_i*P/(R*T))
// So,
phi_ethanol0 = exp((b_ethanol0*P)/(R_1*T));
phi_water0 = exp((b_water0*P)/(R_1*T));
phi_ethanol1 = exp((b_ethanol1*P)/(R_1*T));
phi_water1 = exp((b_water1*P)/(R_1*T));
// and
// Y_i = phi_i/v_i
// So,
Y_ethanol0 = phi_ethanol0/v_ii;
Y_water0 = phi_water0/v_jj;
Y_ethanol1 = phi_ethanol1/v_ii;
Y_water1 = phi_water1/v_jj;
printf(" The results are summarize in the following table\n\n");
printf(" Property \t\t\t Mix, ij, Assuming k_ij = 0.0 \t\t\t Mix, ij, Assuming k_ij = 0.01\n");
printf(" phi_ethanol \t\t\t\t %f \t\t\t\t\t %f\n ",phi_ethanol0,phi_ethanol1);
printf(" phi_water \t\t\t\t %f \t\t\t\t\t %f \n",phi_water0,phi_water1);
printf(" Y_ethanol \t\t\t\t %f \t\t\t\t\t %f \n",Y_ethanol0,Y_ethanol1);
printf(" Y_water \t\t\t\t %f \t\t\t\t\t %f \n\n",Y_water0,Y_water1);
printf(" Value of ''v'' for ethanol is %f\n",v_ii);
printf(" Value of ''v'' water is %f",v_jj);
|
a8d7d0af6b2c3f2323734ffae2be677b97c44a39 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2732/CH6/EX6.16/Ex6_16.sce | a98f005ccc706a661b41f507d300883be4d886f4 | [] | 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 | 731 | sce | Ex6_16.sce | clc
//initialization of variables
clear
// circle
D=1 //unit diameter
Ip=D^4/32
Zp=D^3/16
//Square
s=sqrt(%pi/4)*D
Is=0.886*D^4/32
Zs=0.7383*D^3/16
//Rectangle
a=sqrt(%pi/2)*D
b=sqrt(%pi/8)*D
Ir=0.719*D^4/32
Zr=0.616*D^3/16
// Trianle
t=sqrt(%pi/sqrt(3))*D
It=0.725*D^4/32
Zt=0.622*D^3/16
//Ellipse
A=D/sqrt(2)
B=D/sqrt(8)
Ie=A^3*B^3/(A^2+B^2)
Ze=A*B^2/2
//Normalization
Is=Is/Ip
Ie=Ie/Ip
It=It/Ip
Ir=Ir/Ip
Zs=Zs/Zp
Ze=Ze/Zp
Zt=Zt/Zp
Zr=Zr/Zp
Ip=1
Zp=1
//results
printf('Z:: Circle:Square:Ellipse:Triangle:Rectangle = %.3f : %.3f : %.3f : %.3f : %.3f',Zp,Zs,Ze,Zt,Zr)
printf('\n I:: Circle:Square:Ellipse:Triangle:Rectangle = %.3f : %.3f : %.3f : %.3f : %.3f',Ip,Is,Ie,It,Ir)
|
582b41cbe9e18f43aa9fc118147259e7eaeae78e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3647/CH1/EX1.6/Ex1_6.sce | 36f1820415f6b0c68d04108f83b5c6e200af5b6b | [] | 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 | 600 | sce | Ex1_6.sce | //kinetic energy and velocity
clc
//initialisation of variables
p=50//ft/s
w=10//lbf
v=30//ft/s
w1=40//lbf
v1=20//ft/s
g=32.2//ft/s\
h=0.8//ft/s
V1=23.6//ft/s
V3=15.6//ft/s
V4=22//ft/s
//CALCULATIONS
V=(w+w1)/g/(w/g*v)+(w1/g*v1)//ft/s
V2=h*(-v1+v)//ft/s
K=(w*(v^2))/(2*g)+(w1*(v1^2))/(2*g)-(p*(V1^2))/(2*g)//ft /bf
K1=((w*(v^2))/(2*g))+((w1*(v1^2))/(2*g))-((w*(V3^2))/(2*g))-((w1*(V1^2))/(2*g))//ft lbf
//RESULTS
printf('the velocity of two bodies after impact is=% f ft/s',V4)
printf('final velocity is=% f ft/s',V2)
printf('Loss of kinetic energy at impact is=% f ft lbf',K1)
|
c09eb0b60a831d0e1a2abcb903904c84d98b70ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH25/EX25.10/Ex25_10.sce | 3f2582051b5aae84a53cd1e1de2fe466a3f58aac | [] | 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 | 98 | sce | Ex25_10.sce | clc;
RL=8;
a=10;
ICQ=500*10**-3;
RL=a**2*RL;
Poac=(1/2)*ICQ**2*RL;
disp('W',Poac,"Poac=");
|
b3f71f1d53b68081f322eefcd170b063420b79a8 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH8/EX8.2/Ex8_2.sce | 5a946632a9b99f97a44d0d31d186391ba676b310 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 140 | sce | Ex8_2.sce | errcatch(-1,"stop");mode(2);//Ex:8.2
;
;
V_in=5*10^-3;
R_in=2*10^6;
I_in=V_in/R_in;
printf("Input current = %e A",I_in);
exit();
|
d5fbfcf50a311bf451b36902afb0e433e985d64e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1652/CH7/EX7.6/7_6.sce | b1a0c7a9a838edfe0f35dde050f1b1ff951371f1 | [] | 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 | 221 | sce | 7_6.sce | clc
//Initialization of variables
T=273.2+25 //K
n=1 //mol
R=1.987 //cal/deg mol
//calculations
Etr=1.5*n*R*T
Erot=1.5*n*R*T
Evib=0
Eel=0
Etot=Etr+Erot+Evib+Eel
//results
printf("Total energy = %d cal",Etot)
|
e7f784a9ea95063b338b49dff77bf261a3d508ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH1/EX1.4/Ex1_4.sce | ee87b4c547e58c48ca26d6fdadcf9245e7459d60 | [] | 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 | 488 | sce | Ex1_4.sce | // chapter 1 example 4
clc;
clear;
//intercepts given are 3a,4b,2c
//from the law of rational indices
//3a:4b:2c=a/h:b/k:c/l
// Variable Declaration
h1 = 3; //miller indices
k1 = 4; //miller indices
l1 = 2; //miller indices
//calculation
v= int32([h1 k1 l1]);
lc=int32(lcm(v));
h = lc*1/h1;
k = lc*1/k1;
l= lc*1/l1;
//result
mprintf('miller indices = %d %d %d',h,k,l);
|
e33cb1c0e20af612b8b730d0c9d69693d7debee4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /716/CH9/EX9.5/Solved_Ex9_5.sce | 6b6df0969479061f8be0e6601ea247684e570d61 | [] | 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 | 482 | sce | Solved_Ex9_5.sce | //compute 8 point DFT of x(n)={2 2 2 2 1 1 1 1}
clc;
clear;
n=0:1:7;//for 8 point DFT
x=[2 2 2 2 1 1 1 1];
disp(x,'Given signal=> x(n)=');
X=fft(x);
disp(X,'8 point FFT of x(n)=>');
disp(abs(X),'magnitude of 8 point FFT x(n)=>');
disp(atan(imag(X),real(X)),'phase of 8 point FFT x(n)=>');
subplot(1,2,1)
plot2d3(n,abs(X),2);
xtitle('Magnitude Spectrum','k','|X(k)|');
subplot(1,2,2)
plot2d3(n,atan(imag(X),real(X)),2);
xtitle('Phase Spectrum','k','angle(X(k))');
|
e3919fa6a950fc18be79fc2a66d4ba11807b9b3e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3526/CH11/EX11.6/Ex11_6.sce | fecb1b251abf51e95eaeaf9e900196d6ac225f8a | [] | 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 | 206 | sce | Ex11_6.sce | //Example 11.6
//page 330
clc
per_L_200=((40-18)/(55-18))*100
Per_L_210=((40-17)/(50-17))*100
disp(per_L_200,"L200 in percentage")
disp(Per_L_210,"L210 in percentage")
//answer variation is due to round off |
26f27cd3b3193242feb67d265cd976f43f0f3440 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3250/CH6/EX6.17/Ex6_17.sce | 8d05b866f02d4ab0044b73af0a96bab96935c78a | [] | 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 | 557 | sce | Ex6_17.sce | clc
// Given that
I = 1e5 // Power intensity of laser beam in W/mm^2
t = 0.5 // Thickness of tungsten sheet in mm
d = 200 // Drill diameter in micro meter
P = 3e4 // Energy required per unit volume to vapourize tungsten in J/cm^3
p_e = 10 // Percentage efficiency
T_m = 3400 // Melting temperture of tungsten in °C
k = 2.15 // Thermal conductivity of tungsten in W/cm-°C
// Sample Problem 17 on page no. 403
printf("\n # PROBLEM 6.17 # \n")
H = (p_e/100)*(I)*(100)
v = H/P
T = t*(0.1)/(v)
printf("\n The time required to drill a through hole = %f sec",T)
|
a873aac146898db0666a83a7e43b02a5a0ad4568 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3392/CH7/EX7.8/Ex7_8.sce | 3edb5283b3bca01a1921f53b4d8d67245056c7c4 | [] | 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 | 719 | sce | Ex7_8.sce | clc
// initialization of variables
clear
Ix=937e+06 //mm^4
Iy=18.7e+6 //mm^4
Ixy=0
yA=305 //mm
xA=90.5 //mm
Phi=1.5533 //rad
//calculations
Ix=Ix*10^-12
Iy=Iy*10^-12
Ixy=Ixy*10^-12
yA=yA*10^-3 //m
xA=xA*10^-3 //m
alpha=atan(-Ix/(Iy*tan(Phi)))
Mxk=sin(Phi) // Mx=Mxk*M
Sigma_Ak1=Mxk*(yA-xA*tan(alpha))/(Ix-Ixy*tan(alpha))
//Sigma_A=Aigma_Ak*M
// When the plane of the loads coincide with the y axes
Sigma_Ak2=yA/Ix
ratio=Sigma_Ak1/Sigma_Ak2
percent=(ratio-1)*100
printf('alpha = %.3f rad',alpha)
printf('\n The maximum stress in the beam is increased %.1f percent when the plane of the loads is merely 1 degre from the symmetrical vertical plane',percent)
// Wrong alpha given in the textbook
|
6b434e68d4caf66c1607d40d61ffcf552c210abe | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter7/Ch_7_Eg_7.5.sce | 14b1f7ffaeca1373aa162952c4fdeeec940acc53 | [] | no_license | arvindrachna/Introduction_to_Scilab | 955b2063b3faa33a855d18ac41ed7e0e3ab6bd1f | 9ca5d6be99e0536ba1c08a7a1bf4ba64620ec140 | refs/heads/master | 2020-03-15T19:26:52.964755 | 2018-05-31T04:49:57 | 2018-05-31T04:49:57 | 132,308,878 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,039 | sce | Ch_7_Eg_7.5.sce | // A program to find the form of an interpolating polynomial using the Newton’s forward interpolation.
// Input
// x and y = A set of data points
// Output
// yp = A polynomial of the form a0+a1 x+a2 x^2+ ...+an x^n
function [yp]=ak_Newton_Fwd_Int_poly(x, y)
n=length(x);
// Prepare forward difference table
dt=zeros(n,n);
dt(:,1)=y';
for i=2:n
for j=1:n-i+1
dt(j,i)=dt(j+1,i-1)-dt(j,i-1);
end
end
// Generate Newton's forward interpolation polynomial
X = poly (0, "x");
h = x(2) - x (1) ;
p = (X-x (1) ) / h;
dely0 = dt (1 ,:);
Y = dt(1,1);
for i = 2: length (y)-1
t = 1;
for j = 1:i-1
t = t * (p-j +1) ;
end
Y = Y + t* dt(1,i)/ factorial (i-1);
end
Y = round (Y *10^2) /10^2;
//disp (Y);
yp=Y;
endfunction
//Example
x = 0:3;
y = [1 0 1 10];
[yp] = ak_Newton_Fwd_Int_poly(x,y)
disp(yp, "The form of the interpolated polynomial is:");
|
69c6341b7e099c63de6d5522e48e8bec21345d9f | 67ba0a56bc27380e6e12782a5fb279adfc456bad | /STAMPER_PROG_7.4/OUT_OF_DATE/PlotSurface.sce | dbb5f3afc7e930b9a622e380c52ea06e3b69c42b | [] | no_license | 2-BiAs/STAMPER_PROG | 8c1e773700375cfab0933fc4c2b0f5be0ab8e8f0 | 4fdc0bcdaef7d6d11a0dcd97bd25a9463b9550d0 | refs/heads/master | 2021-01-18T19:30:06.506977 | 2016-11-10T23:32:40 | 2016-11-10T23:32:40 | 71,999,971 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 501 | sce | PlotSurface.sce | pGrooveProfile = scf();
axGrooveProfile = gca();
plot(axGrooveProfile, vPoints(:,1)', vPoints(:,2)', 'r--');
//plot(axGrooveProfile, [0; vPoints($,1)], [0; 0], 'k--')
//plot(axGrooveProfile, [0; vPoints($,1)], [fZ_Clearance; fZ_Clearance], 'g--')
axGrooveProfile.isoview = "on"
//axGrooveProfile.axes_reverse = ["off" "on" "off"];
axGrooveProfile.x_label.text = "$X \tt(mm)$"
axGrooveProfile.y_label.text = "$Z \tt(mm)$"
axGrooveProfile.title.text = "$\tt \huge{Groove \ Profile \ and \ Toolpath}$"
|
851d0fa3f7fb95680f7aa6c7dd302a4c30450374 | 0592c9e4cfbb77a0755aff6f0c798d9fe31f6ff4 | /scilab/CDO_Pricer/nsp2/computation.sci | 09319df853f3c11a6223789c14f72b5c08a4f0c2 | [] | 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 | 2,034 | sci | computation.sci | if (~(exists('product'))|(product == [])) then x_message('Product does not exist !'); abort; end;
if (~(exists('model2'))|(model2 == [])) then x_message('Model does not exist !'); abort; end;
method = x_choose(['Number of defaults - Hull & White';'Number of defaults - Laurent & Gregory';'Recurrence (homogenous case only) - Hull & White';'Recurrence - Hull & White';'FFT - Laurent & Gregory';'Monte Carlo';'Monte Carlo + Control Variable'],'Which method ?')
params_method_txt=smat_create(0,0);
params_method_def=smat_create(0,0);
select method,
case 1 then params_method_txt(1) = 'Subdivisions of the time';
params_method_def(1) = '4';
case 2 then params_method_txt(1) = 'Subdivisions of the time';
params_method_def(1) = '4';
case 3 then params_method_txt(1) = 'Subdivisions of the time';
params_method_def(1) = '4';
params_method_txt(2) = 'Subdivisions of the losses';
params_method_def(2) = '100';
case 4 then params_method_txt(1) = 'Subdivisions of the time';
params_method_def(1) = '4';
params_method_txt(2) = 'Subdivisions of the losses';
params_method_def(2) = '100';
case 5 then params_method_txt(1) = 'Subdivisions of the time';
params_method_def(1) = '4';
params_method_txt(2) = 'Subdivisions of the losses';
params_method_def(2) = '100';
case 6 then params_method_txt(1) = 'Number of Monte-Carlo iterations';
params_method_def(1) = '10000';
case 7 then params_method_txt(1) = 'Number of Monte-Carlo iterations';
params_method_def(1) = '10000';
params_method_txt(2) = 'Subdivisions of the time for the control variate';
params_method_def(2) = '10';
end
params_method = x_mdialog('Parameters', params_method_txt, params_method_def);
if (params_method == []) then
abort;
else
params_method_def = params_method;
end;
exec('last_computation.sci');
|
d4e8a1fee174b11295e68d93b99d7149379cbbe2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2966/CH3/EX3.9.31/3_9_31.sce | 6d461ac8e119b1e95383688a2ff0234433397513 | [] | 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 | 511 | sce | 3_9_31.sce | //lubricants//
//page 3.31 example 9//
clc
wt_oil=1.3//weight f oil saponified(gms)//
volume=0.8//volume of alcoholic KOH consumed to neutralize fatty acids(ml)//
normality_KOH=0.001//normality of KOH //
A=volume*normality_KOH*56/wt_oil//formula for acid value//
printf("\nAcid value of oil is %.5f mg/g",A);
if A<=0.1 then printf("\nAs the acid value is less than 0.1, oil can be used for lubrication");
else printf("\nAs the acid value is more than 0.1, oil cannot be used for lubrication");
end |
4457483952a3220a269d14fd87bb4a44d6d0ee7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH9/EX9.13/ex_9_12.sce | 6ae7dccb63df010ac10cdf3e11b2eeef6621b924 | [] | 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 | 932 | sce | ex_9_12.sce |
clc
//solution
//given
b=350//mm
t=20//mm
ft=90//N/mm^2
T=60//N/mm^2
fc=150//N/mm^2
printf("the value of d is,%f mm\n",6*sqrt(t))
//d=26.8//mm
//standard value is d=29mm using table 9.7
d=29//mm
Pt=(b-d)*t*ft//N
Ps=1.75*(pi/4)*d^2*T//N
Pc=d*t*fc//N
n=Pt/Ps
t1=0.75*t//mm
Pt1=(b-d)*t*ft//N
Pt2=(b-2*d)*t*ft+Ps//N
Pt3=(b-3*d)*t*ft+(3*Ps)//N
Pt4=(b-3*d)*t*ft+(6*Ps)//N
Ps9=9*Ps//N//for 9 rivets
Pc9=9*Pc//N//for 9 rivets
P=b*t*ft//N
printf("the value of forces is,%f N\n,%f N\n,%f N\n,%f N\n,%f N\n,%f N\n",Pt1,Pt2,Pt3,Pt4,Ps9,Pc9)
//eff=least(Pt1.Pt2,Pt3,Pt4,Ps9,Pc9)/P
eff=Pt1/P//since Pt1 is least
p=3*d +5//mm//pitch
m=1.5*d//mm
d1=2.5*d//mm//dis btw rows of rivets
printf("the diameter is,%f mm\n",d)
printf("the nuber of rivets is,%f\n",n)
printf("the thickness of strap is,%f mm\n",t1)
printf("the eff is,%f\n",eff)
printf("the pitch is,%f mm\n",p)
printf("the marginl pitch is,%f mm\n",m)
printf("the dis btw row is,%f mm",d1) |
5f42e13a1d4b3260dcad29f6c9e6ddc8b43f6664 | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH5/EX5.17/EX5_17.sce | 8cddb20ae3a95cc49d10fdf5bbe2ede1c9259bf2 | [] | 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 | 999 | sce | EX5_17.sce | //chapter 5
//example 5.17
//page 455
clear;
clc;
disp("example 5.17");
disp("power factor of existing load is 0.8 lagging");
pf=0.8; //power factor
phi=acosd(pf);
printf("phi= %d degree\n",phi);
L=800; //load
kVAr1=(L*tand(phi));
printf("kVAr1= %d \n",kVAr1);
disp("output for the synchronous motor is 200kW");
output=200;
efficiency=0.9;
kW=(output/efficiency);
printf("Input to the synchronous motor= %fkW\n",kW);
TL=(L+kW); // total load
printf("Total load on the system= %fkW\n",TL);
disp("overall power factor of the load is to be raised to 0.92 lagging");
pf=0.92;
phi=acosd(pf);
kVAr2=(TL*tand(phi))
printf("kVAr2=%f\n",kVAr2);
kVAr=kVAr1-kVAr2;
printf("lagging kVAr of synchronous codenser= %f\n",kVAr);
printf("leading kVAr supplied by the motor= %f\n",kVAr);
phi=atand(kVAr/kW);
printf("phi= %d degree\n\n",phi);
printf("Power factor of the synchronos motor= %f leading \n",cosd(phi));
printf("KVA rating of the synchronous motor= %f",(kW/cosd(phi)));
|
cdfce3b742dcad1e6359cd5164a23fffa92aa990 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH4/EX4.6/Example4_6.sce | 7d86261a736fd92a9430b2fa2340e7dbe39892cf | [] | 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 | Example4_6.sce | //chapter-4,Example4_6,pg 490
add="0011"//binary-3 to be added
x="0010"//binary-2
x=bin2dec(x)
add=bin2dec(add)
XS31=x+add
XS31=dec2bin(XS31)
y="0100"//binary-4
y=bin2dec(y)
XS32=y+add
XS32=dec2bin(XS32)
z="0111"//binary-7
z=bin2dec(z)
XS33=z+add
XS33=dec2bin(XS33)
printf("XS-3 for 2\n")
disp(XS31)
printf("XS-3 for 4\n")
disp(XS32)
printf("XS-3 for 7\n")
disp(XS33) |
cba7dbe26e29f7c053383e3ffddcf5ec27b2664f | 57bf4c6c3a40f5d25e9c8e7ddf0d572b36d1ff72 | /projects/07/MemoryAccess/tests/local.tst | 971135651ac863ad18a6166f01ed75e389c843f1 | [
"MIT"
] | permissive | theapi/nand2tetris | 516879eb0a2defe9a7269ccd7d423f8983dc2581 | 0e09a7b3f1f1ec68e56b5299128d4b62f5b164d7 | refs/heads/master | 2021-01-10T21:40:34.591217 | 2016-01-26T14:09:38 | 2016-01-26T14:09:38 | 37,582,867 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | tst | local.tst |
load local.asm,
output-file local.out,
compare-to local.cmp,
output-list RAM[300]%D1.6.1 RAM[301]%D1.6.1 RAM[302]%D1.6.1 RAM[256]%D1.6.1;
repeat 85 {
ticktock;
}
output;
|
fa9872d9b391de3e8a06f9698e30c2a088f1f711 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH8/EX8.12/8_12.sce | eee679be789bcafa834a15fc91b81567b5a6d08c | [] | 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,018 | sce | 8_12.sce | //example 8.12
//milne's method
//page 320
clc;clear;close;
deff('y=f(x,y)','y=1+y^2');
y=0,x=0,h=0.2,f1(1)=0;
printf('x y y1=1+y^2\n\n')
Y1(1)=1+y^2;
printf('%0.4f %0.4f %0.4f\n',x,y,(1+y^2));
K1=h*f(x,y);
K2=h*f(x+h/2,y+K1/2);
K3=h*f(x+h/2,y+K2/2);
K4=h*f(x+h,y+K3);
y1=y+(K1+2*K2+2*K3+K4)/6;
f1(1)=y1;
Y1(2)=1+y1^2;
printf('%0.4f %0.4f %0.4f\n',x+h,y1,(1+y1^2));
y=y1,x=0.2,h=0.2;
K1=h*f(x,y);
K2=h*f(x+h/2,y+K1/2);
K3=h*f(x+h/2,y+K2/2);
K4=h*f(x+h,y+K3);
y1=y+(K1+2*K2+2*K3+K4)/6;
f1(2)=y1;
Y1(3)=1+y1^2
printf('%0.4f %0.4f %0.4f\n',x+h,y1,(1+y1^2));
y=y1,x=0.4,h=0.2;
K1=h*f(x,y);
K2=h*f(x+h/2,y+K1/2);
K3=h*f(x+h/2,y+K2/2);
K4=h*f(x+h,y+K3);
y1=y+(K1+2*K2+2*K3+K4)/6;
f1(3)=y1;
Y1(4)=1+y1^2;
printf('%0.4f %0.4f %0.4f\n',x+h,y1,(1+y1^2));
Y_4=4*h*(2*Y1(2)-Y1(3)+2*Y1(4))/3;
printf('y(0.8)=%f\n',Y_4);
Y=1+Y_4^2;
Y_4=f1(2)+h*(Y1(3)+4*Y1(4)+Y)/3;//more correct value
printf('y(0.8)=%f\n',Y_4);
|
10172f7fd60c5d483291932c2d43c0d0012c5511 | f6b3a0c494772f6ca78e2f620df06d393dafcc51 | /fjf.sce | b622f071aac0da4bfaa1ab9cb153b3369cb5c2b7 | [] | no_license | rishabhthecoder/scilab | f914595f7af9682a731f49fc1203925c9529297a | f0460b09d16d7349f408183d4089553360ca4ba5 | refs/heads/master | 2020-03-31T05:47:43.762852 | 2018-10-07T16:06:20 | 2018-10-07T16:06:20 | 151,958,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | sce | fjf.sce | function c=f(xy)
z=xy(1);
w=xy(2);
c=[2*(z-w+0.333333)+2*z;2*w-2*(z-w+0.3333333)]
endfunction
i=fsolve([0,0],f)
disp(i)
z=i(1);
w=i(2);
r=4
s=4
t=2
d=(r*s-t^2)
disp(d)
y=1/3+z-w;
x=2/3;
ff=4/9+y^2+z^2+w^2;
disp(x,y,z,w,ff)
|
884c43794ab2fb482d4d36c801ddfccfef2a5d8b | 04235b80bb5ac43154dbceab7b2b952b54418bc8 | /planner/irl/irl1c/irl1.sce | 8d15da593bd2ebf4f96bc0f11ab26aa3021611ee | [] | no_license | NO2/dmps | 4370cfc08f2796f8776543d5282efc4a997fadad | 9266714e5ffbc9d5f6109baac2da16651ea6fd4d | refs/heads/master | 2021-03-12T21:31:05.322501 | 2015-03-11T14:43:30 | 2015-03-11T14:43:30 | 32,451,046 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 999 | sce | irl1.sce | //gen random weights
//get optimal policy
//get new optimal policy , add to set of policies
//--run for n times--
w=rand(ws,1);
//ws,ns have size
pls=cell();
pls(1).entries=qlearn(w);
A2=eye(ws,ws);
A4=-eye(ws,ws);
for ns=1:20
A1=zeros(ws,ns);
A3=zeros(ws,ns);
A5=-eye(ns,ns);
//A6 definition, sum
A6=zeros(ns,ws);
vr=evalr(epls);//make it return a row
for i=1:ns
pler=evalr(pls(i).entries);
A6(i,:)=vr-pler;
end
A7=-eye(ns,ns);
A8=-2*A6;
A=cat(1,cat(2,A1,A2),cat(2,A3,A4),cat(2,A5,A6),cat(2,A7,A8));
B=zeros(2*(ns+ws),1);
B(1:2*ws,1)=ones(2*ws,1);
c=zeros(ns+ws,1);
c(1:ns,1)=ones(ns,1);
xopt=linpro(-c,A,B);
w=xopt(ns+1:);
pls(ns+1).entries=qlearn(w);
end
//max sum of diff -> gets new weights
//A->2*(n+w)x(n+w) -n number of policies, w features
//B -2*w 1s, rest 0s
//A=[A1|A2;A3|A4;A5|A6;A7|A8]
//A1=0
//A2=unit
//A3=0
//A4=unit
//A5=-unit
//A6=V(e)-V(mu)
//A7=-unit
//A8=-2*[V(e)-V(mu)
//C n 1s, rest 0
|
850aae3dcd9a7bcc611d700bb66700385d21d77e | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/scripts/controller.tst | 4c82a1ff5748eb36a3f8dbbc13d99a51ee2ec5ef | [] | no_license | psy007/NNPC-CHEMICAL-SIM- | 4bddfc1012e0bc60c5ec6307149174bcd04398f9 | 8fb4c90180dc96be66f7ca05a30e59a8735fc072 | refs/heads/master | 2020-04-12T15:37:04.174834 | 2019-02-06T10:10:20 | 2019-02-06T10:10:20 | 162,587,144 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,321 | tst | controller.tst | # hysim 1.5 tutorial problem
units Field
$thermo = VirtualMaterials.Peng-Robinson
/ -> $thermo
thermo + Methane Ethane Propane
thermo + isoButane n-Butane isoPentane n-Pentane n-Hexane
thermo + n-Heptane n-Octane
Feed = Sensor.PropertySensor()
Feed.SignalType = T
Feed.In.T = 60
Feed.In.P = 600
Feed.In.MoleFlow = 144
Feed.In.Fraction = 70 20 10 9 8 7 6 5 4 3
# Inlet separator
Sep = Flash.SimpleFlash()
Feed.Out -> Sep.In
Gas-Gas = Heater.HeatExchanger()
cd Gas-Gas
DeltaPH = 10
DeltaPC = 10
DeltaTHI = 10
cd ..
Sep.Vap -> Gas-Gas.InH
Chiller = Heater.HeatExchanger()
cd Chiller
DeltaPH = 10
DeltaPC = .1
DeltaTCI = 5 # 5 degree approach on the hot end
cd ..
Gas-Gas.OutH -> Chiller.InH
LTS = Flash.SimpleFlash()
LTS-Feed = Sensor.PropertySensor()
LTS-Feed.SignalType = T
LTS-Feed.In.T = 0
Chiller.OutH -> LTS-Feed.In
LTS-Feed.Out -> LTS.In
LTS.Vap -> Gas-Gas.InC
# dew point check - use mole balance to copy material of the sales gas
DP = Balance.BalanceOp()
cd DP
NumberStreamsInMat = 1
NumberStreamsOutMat = 1
BalanceType = 2 # Mole balance
cd ..
Gas-Gas.OutC -> DP.In0
DP.Out0.P = 815
DP.Out0.VapFrac = 1.
DewPoint = Sensor.PropertySensor()
DewPoint.SignalType = T
DP.Out0 -> DewPoint.In
# mix flash liquid streams
Mixer = Mixer.Mixer()
Sep.Liq0 -> Mixer.In0
LTS.Liq0 -> Mixer.In1
Tower_Feed = Sensor.PropertySensor()
Tower_Feed.SignalType = T
Mixer.Out -> Tower_Feed.In
Mixer.Out
DewPoint.Out
LTS-Feed.In.T
Feed.In.T
hold # keep things in limbo while controllers are set up
#remove previous fixed values
LTS-Feed.In.T = None
Feed.In.T = None
DPControl = Controller.Controller()
DPControl.In -> DewPoint.Signal
DPControl.Out -> LTS-Feed.Signal
DPControl.Out = 0
DPControl.Target = 15
DPControl.StepSize = 10
TLiqCont = Controller.Controller()
TLiqCont.In -> Tower_Feed.Signal
TLiqCont.Out -> Feed.Signal
TLiqCont.Out = 60
TLiqCont.Target = 50
TLiqCont.StepSize = 10
go
copy /
paste /
Mixer.Out.T
DewPoint.Out.T
LTS-Feed.In.T
Feed.In.T
Tower_Feed.In.T
cd /RootClone
Mixer.Out.T
DewPoint.Out.T
LTS-Feed.In.T
Feed.In.T
Tower_Feed.In.T
cd /
# now let's make it fail
TLiqCont.Minimum = 53
TLiqCont.Out = 60
hold # so it doesn't try and solve on each command
Feed.In.T
DewPoint.In.T
Tower_Feed.In.T
#Make sure disconnecting doesn't screw things up
#TLiqCont.In ->
#Tower_Feed.Signal = 10.0
|
c7136c8f6a473b090da1d6bc3113d1acf3fc0ad2 | b23687e2eb02bcb6d0f581b7975f42c496faeda1 | /parabola_and_hyperbola.sce | d499ee3554356863d50d88323fa0a422a2b044ba | [
"MIT"
] | permissive | harvishj/Scilab | bd3fbd3e679eb07aa088ff2bab40d491c6499770 | 9daada512f42ea6f52199a34d6b18e64b107af94 | refs/heads/master | 2021-07-14T15:06:03.621923 | 2020-10-05T06:35:43 | 2020-10-05T06:35:43 | 213,328,984 | 1 | 3 | MIT | 2020-10-05T06:35:44 | 2019-10-07T08:16:52 | Scilab | UTF-8 | Scilab | false | false | 367 | sce | parabola_and_hyperbola.sce | clear;
clf
dt = 1/10;
t = -1000:dt:1000;
x1 = t.*t;
x2 = sqrt((t.*t) + 1);
subplot(2,2,1);
plot(t,x1);
xgrid(5);
xlabel("T", "fontsize", 5);
ylabel("X", "fontsize", 5);
title("Continuous time Parabola", "fontsize", 4);
subplot(2,2,2);
plot(t,x2);
xgrid(5);
xlabel("T", "fontsize", 5);
ylabel("X", "fontsize", 5);
title("Continuous time Hyperbola", "fontsize", 4);
|
fda59ebe23b73ed7cfbfa7e745d06bbdaad20e12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH7/EX7.1/Ex7_1.sce | 8aaa4361a2356e3bf859ad698eb827045464a026 | [] | 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,492 | sce | Ex7_1.sce | // scilab Code Exa 7.1 Calculation for the specific speed
funcprot(0)
//part(a)specific speed of gas turbine
P=2e3; // Gas Turbine Power Output in kW
N=16e3; // Speed in RPM
T1=1e3; // Entry Temperature in Kelvin
p1=50; // Entry Pressure in bar
p2=25; // Exit Pressure in bar
cp=1.15e3; // Specific Heat at Constant Pressure in J/(kgK)
gamma_g=1.3;
omega=%pi*2*N/60;
ro=p1*1e5/(((gamma_g-1)/gamma_g)*cp*T1);
pr=p2/p1; // pressure ratio
T2s=T1*(pr^((gamma_g-1)/gamma_g));
delh_s=cp*(T1-T2s);
NS=omega*sqrt(P*10e2/ro)*delh_s^(-5/4)
disp(NS,"(a)the specific speed of gas turbine is")
// part(b)the specific speed of a centrifugal compressor
pr_b=2; // Compressor pressure ratio
N_b=24e3; // Speed in RPM
m=1.5; // in kg/s
cp_a=1.005e3; // Specific Heat of air at Constant Pressure in kJ/(kgK)
R=0.287;
gamma=1.4;
T1_b=300; // Entry Temperature in Kelvin
p1_b=1; // Entry Pressure in bar
ro_b=p1_b*1e2/(R*T1_b);
omega_b=%pi*2*N_b/60;
Q=m/ro_b;
T2=T1_b*(pr_b^((gamma-1)/gamma));
delh_s_b=cp_a*(T2-T1_b);
NS_b=omega_b*sqrt(Q)*delh_s_b^(-3/4);
disp(NS_b,"(b)the specific speed of a centrifugal compressor is")
// part(c)the specific speed of an axial compressor
pr_c=1.4; // Compressor pressure ratio
N_c=6e3; // Speed in RPM
m_c=15; // in kg/s
omega_c=%pi*2*N_c/60;
Q_c=m_c/ro_b;
T2_c=T1_b*(pr_c^((gamma-1)/gamma));
delh_s_c=cp_a*(T2_c-T1_b);
NS_c=omega_c*sqrt(Q_c)*delh_s_c^(-3/4)
disp(NS_c,"(c)the specific speed of an axial compressor is")
|
aeed7b50103c6235a90916e25fc8f51fac4f0fa1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH5/EX5.17/Example5_17.sce | b03a6a01e2103475763d98dec79bd77f4ade116f | [] | 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 | 542 | sce | Example5_17.sce | //Example 5.17
//To Design an H.P.F. monotonic in passband using Bilinear Transform
clear;
clc ;
close ;
ap=3;//db
as=10;//db
fp=1000;//Hz
fs=350;//Hz
f=5000;
T=1/f;
wp=2*%pi*fp;
ws=2*%pi*fs;
op=2/T*tan(wp*T/2);
os=2/T*tan(ws*T/2);
N=log(sqrt((10^(0.1*as)-1)/(10^(0.1*ap)-1)))/log(op/os);
disp(ceil(N),'Order of the filter, N =');
s=%s;
HS=1/(s+1)//Transfer Function for N=1
oc=op//rad/sec
HS1=horner(HS,oc/s);
disp(HS1,'Normalized Transfer Function, H(s) =');
z=%z;
HZ=horner(HS,(2/T)*(z-1)/(z+1));
disp(HZ,'H(z) ='); |
94f64be660bf26ee42455b99088aadcf30e64302 | 6e51f2fdd036612dc2b51c405904fed97d2ae8b0 | /src/test_ods_fsed_1_a.tst | 4d60978917c0909f01b8d107a5e58600334cb153 | [
"MIT",
"Zlib",
"BSD-3-Clause",
"OML"
] | permissive | joe-nano/ciyam | 92c6ccb58029a1b2a641a7e00417ab524cb9f957 | a92c296b911b29620a7bb3b758eb55339e040219 | refs/heads/master | 2022-04-16T14:39:55.822434 | 2020-03-27T06:39:13 | 2020-03-27T06:39:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 122 | tst | test_ods_fsed_1_a.tst |
/> cd
/
/> branch objects
/> dump
Total index levels = 0
Total number of nodes = 0
Total number of items = 0
/> exit
|
4e981b20f8c098f98aa5a157de1597a1686ad95b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH11/EX11.7/11_7.sce | eec028509f43d76853db8936d5cca2a80a64fd05 | [] | 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 | 229 | sce | 11_7.sce | clc
//Initialization of variables
p=14.7 //psia
ps=0.363 //psia
n2=7.52 //moles
n1=1 //moles
//calculations
x= (n1+n2)*ps/p /(1-ps/p)
//results
printf("Final orsat composition is %d CO2 + %.2f H20 + %.2f N2",n1, x, n2)
|
d85590069b37f7972ceba5d740d4e6a0ccf6ae5a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH5/EX4.5/EX4_5.sce | 1f9b2034c6ae7b30e8b935f1e4391b9e9bc7388c | [] | 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 | 429 | sce | EX4_5.sce | // Grob's Basic Electronics 11e
// Chapter No. 04
// Example No. 4_5
clc; clear;
// An applied Vt of 120 V produces IR drops across two series resistors R 1 and R 2 If the voltage drop across R1 is 40 V, how much is the voltage drop across R2?
// Given data
V1 = 40; // Voltage drop at R1=40 Volts
Vt = 120; // Applied Voltage=120 Volts
V2 = Vt-V1;
disp (V2,'The Voltage Drop across Resistor R2 in Volts')
|
8a8a7799c01364cfac74761d309f58876378e37f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH12/EX12.1/12_1.sce | d4fd65b8da8e4d46f62d156fd40eadfcd94b221b | [] | 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 | 657 | sce | 12_1.sce | //Example 12.1
//Linear Interpolation Technique
//Page no. 372
clc;close;clear;
printf('x: ')
f=[1,4,9,16,25];
for i=1:5
printf('%i\t',i)
end
printf('\nf(x): ')
for i=1:5
printf('%i\t',f(i))
end
x=2.5;
x1=2;x2=3;printf('\n\nfor (2,4) and (3,9)')
f(2.5)=f(x1)+(f(x2)-f(x1))*(x-x1)/(x2-x1)
printf('\nf(2.5) = %.1f',f(2.5))
x=2.5;
x1=2;x2=4;printf('\n\nfor (2,4) and (4,16)')
f(2.5)=f(x1)+(f(x2)-f(x1))*(x-x1)/(x2-x1)
printf('\nf(2.5) = %.1f',f(2.5))
x=2.5;
x1=1;x2=3;printf('\n\nfor (1,1) and (3,9)')
f(2.5)=f(x1)+(f(x2)-f(x1))*(x-x1)/(x2-x1)
printf('\nf(2.5) = %.1f',f(2.5))
printf('\n\nExact value = %.2f',2.5^2) |
282ce9cacb88c19c615c0873a03dbc9fa4684ddb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH5/EX5.3/Ch05Ex3.sci | 1cf8b3bcd2f9ea2c140538a48debabffc71db11a | [] | 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 | 466 | sci | Ch05Ex3.sci | // Scilab Code Ex5.3 : Thickness of Quarter Wave Plate : Page-113 (2010)
lambda = 6000e-008; // Wavelength of incident light, cm
mu_e = 1.55; // Refractive index of extraordinary ray
mu_o = 1.54; // Refractive index of ordinary ray
t = lambda/(4*(mu_e - mu_o)); // Thickness of Quarter Wave plate of positive crystal, cm
printf("\nThe thickness of Quarter Wave plate = %6.4f cm", t);
// Result
// The thickness of Quarter Wave plate = 0.0015 cm |
47be4af2e99f15616e96cd58f16e39e4f9bfb02e | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/DEPENDENCIES/9_02data.sci | 9a3c3ed5d5eac81d04cbcf05d3ed2d242465ce66 | [] | 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 | 364 | sci | 9_02data.sci | //consider the engine of example 9.1,datas are same as 9.1
Pa=1.034*10^4;//total power available(N/m^2)
n=0.83;//propeller efficiency
Nmech=0.75;//mechanical efficiency
rpm=3000;//for engine-propeller combination(revolution per minute)
b=9*10^-2;//bore(meter)
s=9.5*10^-2;//engine stroke
N=6;//number of cylinders
d=%pi*b^2*s*N/4 //displacement(meter)
|
2256f4a35f4ad9215aa3c64b6a499f2008fcf253 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH17/EX17.5/Ex17_5.sce | 6ce3295da17e985083c1f1aba8c1c47c4cc3cf01 | [] | 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 | 210 | sce | Ex17_5.sce | //chapter17
//example17.5
//page382
R=220d3 // ohm
C=250d-12 // F
f=1/(2*%pi*R*C)
printf("frequency of oscillations = %.3f Hz",f)
//in book the answer given is 2892 Hz but the accurate answer is 2893.726 Hz
|
47f21ccfe9e48a8a511d94bbed911b5676d1f5fb | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/rasp_design_added_blocks/macrocab_in.sce | e2fc70028c16d9a7b5dd45ba733b1a799cabd2b5 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | sce | macrocab_in.sce | style.fontSize=12;
style.displayedLabel="<table> <tr> <td align=center>In <b color=green>%1$s</b></td> </tr> </table>";
pal11 = xcosPalAddBlock(pal11,"macrocab_in",[],style);
|
347c18adfc3c8cf76504e77d6d3b90d7ee020f66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH2/EX2.34/example2_34.sce | 532083a56a371a8c33b2da05f1066afc3a25ea26 | [] | 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 | 683 | sce | example2_34.sce | //example2.34
clc
disp("i) As a generator")
disp("(P_out)=20 kW, (V_t)=250 V")
i=20000/250
disp(i,"I_L(in A)=(P_out)/(V_t)=")
s=250/125
disp(s,"I_sh(in A)=(V_t)/(R_sh)=")
a=80+2
disp(a,"Therefore, I_a(in A)=(I_L)+(I_sh)=")
e=250+(82*0.1)
disp(e,"E_g(in V)= (V_t)+[(I_a)*(R_a)]=")
p=258.2*82
format(7)
disp(p,"P_g(in W)=(E_g)*(I_a)=")
disp("ii) As a motor")
disp("(P_in)=20 kW, V=250 V")
i=(20000)/250
disp(i,"Therefore, I_L(in A)=(P_in)/V=")
s=250/125
disp(s,"I_sh(in A)=V/(R_sh)=")
a=80-2
disp(a,"Therefore, I_a(in A)=(I_L)-(I_sh)=")
b=250-(78*0.1)
disp(b,"Therefore, E_b(in V)=V-[(I_a)*(R_a)]=")
a=242.2*78
format(8)
disp(a,"P_a(in W)=[(E_b)*(I_a)]=")
|
48dd262b18978d5ad5a892b77318bd07b3ab2259 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH17/EX17.1/EX17_1.sce | 730d921f51cbcc9f153456cdbc5a9e40e0cc59ac | [] | 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 | 566 | sce | EX17_1.sce | clc;funcprot(0);//EXAMPLE 17.1
// Initialisation of Variables
Pmi=6;.....................//Mean effective pressure in bar
N=1000;....................//Engine rpm
d=0.11;.....................//Diameter of piston in m
l=0.14;.....................//Stroke length in m
n=1;........................//No of cylinders
k=1;........................//k=1 for two stroke engine
//Calculations
V=l*(%pi/4)*d*d;.............//Volume of the cylinder in m^3
IP=(n*Pmi*V*k*10*N)/6;.........//Indicated Power developed in kW
disp(IP,"Indicated power developed (in kW):")
|
7390ca2631f3f1d0e4c47292f9d8817f0272fe71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH6/EX6.01/6_01.sce | 954ce79b629b9584bcd962d4c3799dc9044ab74f | [] | 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 | 405 | sce | 6_01.sce | //Problem 6.01:
//initializing the variables:
mc = 20; // in lb
T1 = 100; // in degrees C
T2 = 25; // in Deg C
mw = 6; // in gallons
Cpc = 0.092; // Btu/lb.degF
Cpw = 1.0; // Btu/lb.degF
//calculation:
T = (mc*Cpc*T1 + mw*8.33*Cpw*T2)/(mc*Cpc + mw*8.33*Cpw)
Tk = T + 273
dS = mc*Cpc*log(Tk/373)
printf("\n\nResult\n\n")
printf("\n the entropy change of the copper is %.3f Btu/deg F",dS) |
3cc206d6a113b61d9045c5c37a28a939efd88d24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH7/EX7.8/example7_8.sce | 136c21cd30c07716af9dca9826967ec404a8c084 | [] | 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,405 | sce | example7_8.sce | clear;
clc;
//Example7.8[Effect of insulation on Surface Temperature]
//Given:-
Ti=120;//Initial temp of hot water[degree Celcius]
k_pipe=15;//W/m.degree Celcius
ri=0.008,ro=0.01;//Inner and outer radii[m]
t=0.002;//Thickness of pipe[m]
To=25;//Ambient temperature[degree Celcius]
Ts=40;//Maximum Temp of outer surface of insulation[degree Celcius]
hi=70,ho=20;//Heat transfer coefficients inside and outside of the pipe[W/m^2.degree Celcius]
k_insu=0.038;//[W/m.degree Celcius]
L=1;//section of pipe[m]
//Solution:-
//Areas of surfaces exposed to convection
A1=2*%pi*ri*L;//[m^2]
//Individual Thermal Resistances
R_conv1=1/(hi*A1);//[degree Celcius/W]
R_pipe=(log(ro/ri))/(2*%pi*k_pipe*L);//[degree Celcius/W]
//R_insu=(log(r3/ri))/(2*%pi*k_insu*L)
//R_conv2=1/(ho*2*%pi*r3*L)
//R_total=R_conv1+R_conv2+R_pipe+R_insu
//Q=(Ti-To)/R_total;
//Q=(Ts-To)/R_conv2;
//Equating both Q we get
function[r]=radius(r3)
r(1)=1884*r3(1)*(0.284+0.0024+4.188*log((r3(1))/0.01)+(1/(125.6*r3(1))))-95;
deff('[r]=radius(r3)',['radius_3=1884*r3(1)*(0.284+0.0024+4.188*log((r3(1))/0.01)+(1/(125.6*r3(1))))-95'])
endfunction
x0=[1]
[xs,fxs,m]=fsolve(x0',radius)
disp("m",xs,"The outer radius of the insulation is")
t=xs-ro;//[m]
disp("cm",100*t,"The minimum thickness of fibreglass insulation required is")
///Correct output will be displayed after executing the codes once and then re-executin them |
3e43622865066b1bc03984968d711f64965dfdc8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH4/EX4.17/Ch04Ex17.sce | a53d223c909a8256ccf69c3dc46fbef0f299d0df | [] | 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 | 395 | sce | Ch04Ex17.sce | // Scilab Code Ex4.17: Page-131 (2006)
clc; clear;
e = 1.6e-019; // Electronic charge, C
R_H = -8.4e-011; // Hall coeffcient of Ag, metre cube per coulomb
n = -3*%pi/(8*R_H*e); // Electronic concentration of Ag, per metre cube
printf("\nThe electronic concentration of Ag = %3.1e per metre cube", n);
// Result
// The electronic concentration of Ag = 8.8e+028 per metre cube
|
b5e9eae74bbd8e44495c66c9bfed34eaaffe41fd | f2635c3a10a2508720f5d231581bbcf58664cf12 | /math/test/testcases/random/double.tst | 8e885d61722a0b5e871e12af0a0cc0f4558f6d5b | [
"LLVM-exception",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | xboxfanj/optimized-routines | 9ed0fef9346076e3eaf952cecd9b6c39cca8d92b | e312306d13daf9c044145ca26fb34ef7704fae81 | refs/heads/master | 2023-01-21T08:14:26.298438 | 2022-12-21T00:02:54 | 2023-01-10T16:39:37 | 232,194,104 | 0 | 0 | MIT | 2020-01-06T22:07:31 | 2020-01-06T22:07:30 | null | UTF-8 | Scilab | false | false | 252 | tst | double.tst | !! double.tst - Random test case specification for DP functions
!!
!! Copyright (c) 1999-2019, Arm Limited.
!! SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
test exp 10000
test exp2 10000
test log 10000
test log2 10000
test pow 40000
|
31e55ace2640e3fbd2f0c92990d1220b5e10a99f | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH2/EX2.13/EX2_13.sce | 2675265355104f4cd9329bd0beab08dce76db297 | [] | 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 | 885 | sce | EX2_13.sce | clc;funcprot(0);//Example 2.13
//Initilisation of Variables
Ta=30;.........//surrounding air temparature of degree celcius
Tb=400;.....//surface temparature of cylinder in degrees celcius
ri=7;.......//inner radius of cylinder in cm
ro=10;......//outer radius of cylinder in cm
t=0.3;....//thickness of fin in m
K=175;....//thermal conductivity of fin in W/m*k
h=40 ;....//Convective heat transfer coefficient of fin in W/m^2*K
//Calculations
L=ro-ri;....//Length of the fin in m
Lc=L+(t/2);....//critical length of the fin in cm
r2c=ri+Lc;....//critical radius of fin in m
Am=Lc*t;...//Mean Area offin in m^2
E=L^(3/2)*(h/K*Am)^(3/2);....//
n=90;....//fin efficiency From the graph in W/m^2*K
As=2*%pi*[(ro^2-ri^2)+(t*ro)]*10^-4;....//surface area of fin in m^2
Q=(n/100)*As*h*(Tb-Ta);...//heat transfer from the fin in W
disp(Q,"heat transfer from the fin in W:")
|
0ae6d82896f706aa981d48a6eca820187425267d | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machines_-_I_M._Verma_And_V._Ahuja_695.zip/Electric_Machines_-_I_M._Verma_And_V._Ahuja_695/CH4/EX4.8/Ex4_8.sce | a46d2d96112a9f06b9e2b50c6d0e36c752307f13 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 622 | sce | Ex4_8.sce | errcatch(-1,"stop");mode(2);//Caption:Determine the (a)Current flowing in various sections (b)Power transformed (c)Power conducted directly
//Exa:4.8
;
;
P=400*1000;//in watts
pf=0.8;
V_1=550;//in volts
V_2=440;//in volts
I_2=P/(sqrt(3)*V_2*pf);// in amperes
I_1=I_2*V_2/V_1;//in amperes
I=I_2-I_1;
disp(I,'(a)Currents in sections Oa,Ob and Oc (in amperes)=');
disp(I_1,' Currents in sections Aa,Bb and Cc (in amperes)=');
P_trans=P*(1-(V_2/V_1));
disp(P_trans/1000,'(b)Power transformed by transformer action (in Kw)=');
P_cond=P-P_trans;
disp(P_cond/1000,'(c)Power Conducted directly(in Kw)=')
exit();
|
d74e17f2a35c5869cadd2fa1acb3e495435c2dc6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH1/EX7/1_7.sce | db19f2645e4fa932acf258ea2717c7744ddaee1a | [] | 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 | 1_7.sce | clc;
clear;
exec ("C:\Program Files\scilab-5.3.0\bin\TCP\1.7data.sci");
//speed of sound c=(kRT)^0.5
c=((k*1716*(T+460)))^0.5;//ft/s
disp("ft/s",c,"speed of sound c=")
//speed of sound V=(s m/hour)*(5280 ft/m)/(3600 s/hour)
V=s*5280/3600;//ft/s
disp("ft/s",V,"air speed =")
ratio=V/c;//Mach number
disp(ratio,"ratio of V/c = Mach Number=") |
57b248c1aeb5c7afe5bd444f8e4e80f6bbec0b16 | eee96b986bbe9b02c28910e531dc5e4bc96ab8a6 | /taylor-pendulo/plotTaylor.sce | cb62322e59d20a9f4c037faec20cb4659a77cef3 | [] | no_license | jilcimar/computacao-numerica | 7b7c85bac6a66e8d428cfed08b4f9b61558d19f1 | 093b6f0723026880b10dd100fa523107583eca85 | refs/heads/master | 2021-07-10T11:13:20.533276 | 2019-09-09T13:50:17 | 2019-09-09T13:50:17 | 203,243,471 | 0 | 2 | null | 2020-10-02T12:19:49 | 2019-08-19T20:13:24 | Scilab | UTF-8 | Scilab | false | false | 300 | sce | plotTaylor.sce | angt=0;
tg=t(7):10:t(8); //Partindo do tempo da quarta foto ate a quinta foto
for i=1:length(tg) //percorre todos os elementos do vetor tg
angt(i)= Taylor(1.5498274,-0.1104767, 0.0551849,4.3482251,t(7),tg(i),3); //usa Taylor para encontrar o xt de cada tempo tg. 3 termos.
end
plot(tg,angt,'r');
|
c9624abf3b42d8a9dff4eefc2f2a243656e75383 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH16/EX16.1/Ex16_1.sce | bf1cfa810daab48168a459d61d325d388a720138 | [] | 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 | 233 | sce | Ex16_1.sce | //Example 16_1
clc();
clear;
//To find the magnitude of the electric field
v=12 //Units in V
d=5*10^-3 //units in Meters
e=v/d //Units in V/meter
printf("The magnitude of electric field is E=%d V/meters",e)
|
59c10cb701e971d2148b96a7508577e34c526245 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH12/EX12.10/Example12_10.sce | bcb91a03eb33f2348646628c121dbb49dbbe5256 | [] | 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,281 | sce | Example12_10.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 5: MECHANICAL DESIGN OF OVERHEAD LINES
// EXAMPLE : 5.10 :
// Page number 201-202
clear ; clc ; close ; // Clear the work space and console
// Given data
L = 250.0 // Span(m)
d = 1.42 // Diameter(cm)
w = 1.09 // Dead weight(kg/m)
wind = 37.8 // Wind pressure(kg/m^2)
r = 1.25 // Ice thickness(cm)
f_m = 1050.0 // Maximum working stress(kg/sq.cm)
// Calculations
w_i = 913.5*%pi*r*(d+r)*10**-4 // Weight of ice on conductor(kg/m)
w_w = wind*(d+2*r)*10**-2 // Wind load of conductor(kg/m)
w_r = ((w+w_i)**2+w_w**2)**0.5 // Resultant pressure(kg/m)
a = %pi*d**2/4.0 // Area(cm^2)
T_0 = f_m*a // Tension(kg)
S = w_r*L**2/(8*T_0) // Total sag(m)
vertical_sag = S*(w+w_i)/w_r // Vertical component of sag(m)
// Results
disp("PART II - EXAMPLE : 5.10 : SOLUTION :-")
printf("\nCase(i) : Sag in inclined direction = %.f m", S)
printf("\nCase(ii): Sag in vertical direction = %.2f m", vertical_sag)
|
d943ffd8c4adc143af9d61e823de82695a1c44a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3014/CH3/EX3.12/Ex3_12.sce | 6aa91d8c9ad43e99d1c9d0653c132f89dce5c465 | [] | 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 | 436 | sce | Ex3_12.sce | clc
//given that
lambda = 0.015 //wavelength in angstrom
h = 6.63e-34 // Planks constant
m_e = 9.1e-31 // mass of electron in kg
c = 3e8 // speed of light in m/sec
theta = 60 // angle for longest passing wavelength
printf("Example 3.12")
d_lambda= h*(1-cos(theta*%pi/180))*1e10/(m_e*c) // calculation of wavelength shift in angstrom
lambda_n = lambda+d_lambda
printf("\n Wavelength shift is %f angstrom. \n\n\n",lambda_n)
|
3eecca461286dd18df04be7aec7ebc238fe04525 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.18_5.tst | c75562256865a180359be2b98f1dd79068eeaa01 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 4,286 | tst | bow.18_5.tst | 18 1:0.07142857142857142 43:0.25 92:2.0 161:0.2 175:0.5 1197:1.0 1556:1.0 1584:1.0 1657:1.0
18 16:0.6666666666666666 43:0.25 50:0.07692307692307693 57:0.1 92:1.0 105:1.0 161:0.2 282:0.16666666666666666 1140:1.0 1197:1.0 1928:1.0
18 1:0.14285714285714285 8:0.5 14:0.2 16:0.6666666666666666 43:0.25 57:0.1 89:1.0 105:1.0 106:0.5 118:1.0 119:0.125 130:1.0 175:1.0 193:1.0 224:0.5 246:1.0 253:0.125 261:0.1 281:0.5 307:0.25 448:0.5 493:0.5 895:0.3333333333333333 917:1.0 922:1.0 1016:1.0 1152:1.0 1185:0.5 1190:1.0 1409:1.0
18 1:0.07142857142857142 16:0.3333333333333333 44:0.14285714285714285 50:0.15384615384615385 51:0.14285714285714285 92:1.0 96:0.25 102:1.0 122:0.5 124:1.0 175:1.0 253:0.25 276:1.0 350:1.0 416:0.1111111111111111 485:1.0 895:0.3333333333333333 1180:1.0 1181:1.0 1183:1.0 1186:0.5 1187:1.0 1188:1.0 1189:1.0 1190:1.0 1191:1.0 1192:1.0 1636:1.0
18 16:0.3333333333333333 57:0.1 1635:1.0
18 3:0.02631578947368421 299:0.3333333333333333 1447:1.0
18 1:0.07142857142857142 3:0.02631578947368421 11:0.5 14:0.2 16:0.3333333333333333 25:1.0 46:1.0 50:0.07692307692307693 57:0.2 84:0.5 92:2.0 175:0.5 282:0.16666666666666666 286:0.3333333333333333 435:1.0 485:1.0 904:1.0 1130:1.0 1158:1.0 1210:1.0 1679:1.0 1834:1.0
18 16:0.3333333333333333 50:0.15384615384615385 51:0.14285714285714285 53:1.0 57:0.1 122:0.5 606:0.3333333333333333 1140:1.0 1406:1.0
18 1:0.07142857142857142 25:1.0 43:0.25 44:0.14285714285714285 121:1.0 173:0.6666666666666666 217:0.5 282:0.16666666666666666 286:0.3333333333333333 425:1.0 439:0.3333333333333333 589:1.0 917:1.0 922:1.0 1266:1.0 1291:1.0 1363:1.0 1404:1.0
18 1599:1.0
18 5:1.0 14:0.6 16:0.6666666666666666 50:0.07692307692307693 72:0.2 73:0.4 99:1.0 175:0.5 246:1.0 286:0.3333333333333333 373:1.0 491:1.0 917:1.0 977:1.0 1309:1.0 1602:1.0
18 1:0.14285714285714285 14:0.2 16:1.0 25:1.0 51:0.14285714285714285 1249:1.0 1291:1.0 1416:1.0
18 1:0.14285714285714285 14:0.2 43:0.5 57:0.1 92:1.0 102:1.0 175:0.5 253:0.125 295:1.0 435:1.0 606:0.3333333333333333 639:1.0 895:0.3333333333333333 1292:1.0 1309:1.0
18 64:0.09090909090909091 72:0.2 92:1.0 162:1.0 175:0.5 416:0.1111111111111111 440:1.0 1432:1.0 1433:1.0 1554:1.0
18 14:0.2 50:0.07692307692307693 307:0.25 487:1.0 1281:1.0
18 57:0.1 175:0.5 917:1.0 1362:1.0 1684:1.0
18 255:1.0
18 25:1.0 51:0.14285714285714285 107:1.0 127:1.0 255:1.0 895:0.3333333333333333 1560:1.0
18 57:0.2 73:0.4 92:1.0 96:0.25 113:1.0 175:0.5 221:1.0 253:0.25 261:0.1 282:0.16666666666666666 383:1.0 442:1.0 646:1.0 859:1.0 868:1.0 1460:1.0 1826:1.0
18 1:0.07142857142857142 16:0.6666666666666666 32:0.14285714285714285 57:0.1 71:0.5 73:0.2 80:0.14285714285714285 92:1.0 131:0.5 149:1.0 253:0.25 326:1.0 435:1.0 637:1.0 895:0.3333333333333333 917:1.0 1249:1.0 1277:1.0 1560:1.0 1602:1.0 1608:1.0
18 1:0.07142857142857142 57:0.1 80:0.14285714285714285 383:1.0 811:0.5
18 57:0.1 1048:1.0
18 25:1.0 253:0.125 589:1.0 982:1.0
18 51:0.14285714285714285 162:1.0
18 16:0.3333333333333333 253:0.125 261:0.1 295:1.0 308:0.3333333333333333 413:1.0 440:1.0 895:0.3333333333333333 1183:1.0 1602:1.0 1739:1.0
18 255:1.0
18 16:0.3333333333333333 57:0.1 165:0.3333333333333333 175:0.5 253:0.125 442:1.0 637:1.0 895:0.6666666666666666 899:0.5 1249:1.0 1560:1.0
18 57:0.1
18 1:0.07142857142857142 128:1.0 264:0.3333333333333333 697:0.16666666666666666 942:1.0
18 64:0.09090909090909091 89:1.0 175:0.5 191:1.0 253:0.25 295:1.0 416:0.1111111111111111 1415:1.0 1433:1.0
18 1:0.07142857142857142 1554:1.0
18 6:1.0 25:1.0 64:0.09090909090909091 162:1.0 175:0.5 895:0.3333333333333333 1332:1.0 1514:1.0 1560:1.0
18 1:0.07142857142857142 14:0.4 16:0.3333333333333333 51:0.14285714285714285 78:0.5 113:1.0 175:1.0 295:1.0 377:1.0 1309:1.0 1327:1.0 1554:1.0 1598:1.0
18 64:0.09090909090909091 253:0.125 932:1.0
18 1:0.14285714285714285 16:0.3333333333333333 25:1.0 43:0.25 68:0.5 99:1.0 173:0.3333333333333333 175:1.0 276:1.0 851:0.5 965:1.0 1155:0.5 1159:1.0 1170:1.0 1219:1.0 1232:1.0 1266:1.0 1301:1.0
18 1:0.07142857142857142 43:0.5 92:2.0 173:0.3333333333333333 436:1.0 439:0.3333333333333333 655:0.5 1185:0.5 1215:1.0 1241:1.0 1266:1.0 1267:1.0 1296:1.0 1449:1.0
18 1:0.07142857142857142 7:1.0 16:0.3333333333333333 30:1.0 43:0.5 96:0.25 165:0.3333333333333333 175:0.5 253:0.125 485:1.0 810:1.0 1132:1.0 1167:1.0 1168:1.0 1330:1.0 1556:1.0
|
bb8472041775b2a3cb358948ef163565f8b45044 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH6/EX6.3/Ex6_3.sce | 1f2c5fbfd8395d1f190504469a13c8edd8eae769 | [] | 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 | 226 | sce | Ex6_3.sce | clc;
B=200;
Ie=0.015; //Ampere
Ib=Ie/(B+1); //Ampere
Ic=B*Ib; //Ampere
disp('micro Amperes',Ib*1000000,"Ic=");//The answers vary due to round off error
disp('mA',Ic*1000,"Ie=");//The answers vary due to round off error
|
1134e17d2bb8d85b56f7e97a403f3f124a9aa14d | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH12/EX12.4/12_4.sce | 954a181412585812ab409f6973651c2c36d793d0 | [] | 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 | 626 | sce | 12_4.sce | disp("Ef=(Ec/q)+(K*T/q)*log(Nd/Nc)");
d=0.026; //say d=K*T/q
Nd1=2*10^16;
Nc=4.45*10^17;
c1=d*log(Nd1/Nc); //say c1=(K*T/q)*log(Nd1/Nc)
printf('\n The value is Ef1 is Ec/q%f V',c1);
Vbi1=0.8-(-c1);
printf('\n The value is Vbi1 is %f V',Vbi1);
e1=13.2*8.854*10^-14;
b1=sqrt(2*e1*Vbi1/(q*Nd1));
printf('\n The value is b1 is %f μm',b1*10^4);
Nd2=2*10^17;
c2=d*log(Nd2/Nc); //say c2=(K*T/q)*log(Nd2/Nc)
printf('\n The value is Ef2 is Ec/q%f V',c2);
Vbi2=0.8-(-c2);
printf('\n The value is Vbi2 is %f V',Vbi2);
e2=12.2*8.854*10^-14;
b2=sqrt(2*e2*Vbi2/(q*Nd2));
printf('\n The value is b2 is %f μm',b2*10^4); |
048f5dfdf57400c3f667efbd857c508c086a8e73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH1/EX1.13/Ex1_13.sce | 99ddc353bcfcc74e7b58cd7d0de7a085fdf3f9a3 | [] | 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 | 412 | sce | Ex1_13.sce | //Example 1_13 page no:16
clc
//apply kirchoff's law to the given circuit
I=50//current in ampere
R1=2;//resistance in ohm
R2=1;//resistance in ohm
R3=5;//resistance in ohm
V=I/(1/2+1/1+1/5)
I1=V/R1;
disp(I1,"Current flowing in 2 ohm resistor is (in ampere)")
I2=V/R2;
disp(I2,"Current flowing in 1 ohm resistor is (in ampere)")
I3=V/R3;
disp(I3,"Current flowing in 5 ohm resistor is (in ampere)")
|
ce13a993c76f5e966568c6b8a4b4a5ba66f58968 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1100/CH5/EX5.3/5_3.sce | 3f0dc37aa0e55c3e7bb05fb067f8f221b433e71a | [] | 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 | 251 | sce | 5_3.sce | clc
//initialisation of variables
p= 500 //psia
V2= 0.9278 //cu ft/lb
V1= 0.0197 //cu ft/lb
h= 1204.4 //Btu/lb
h1= 449.4 //Btu/lb
//CALCULATIONS
W= p*144*(V2-V1)
U= h-h1-(W/778)
//RESULTS
printf ('Change in internal enenrgy = %.1f Btu',U)
|
68be6fa17033af064e25348cda8fb8eb62568759 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH4/EX4.29/Ex4_29.sce | d6431d1e7cbc7444a13977f5ab8c045f4b1c73d0 | [] | 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 | 133 | sce | Ex4_29.sce | clear
//Given
m=9*10**9
V=3.0*10**6
r=2
//Calculation
q=(V*r)/m
E=0.5*q*V
//Result
printf("\n The heat generated is %0.3f J", E)
|
f155842aa4d56c5abb654b95f53f282d07a9a04b | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH13/EX13.5/Example_13_5.sce | 311f8ae2cffeab043c696335cc2652a9d2438e58 | [] | 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 | 221 | sce | Example_13_5.sce | syms s X1 X2 X3 U;
T=(5*s^2+6*s+8)/(s^3+3*s^2+7*s+9)
disp("state modle is")
A=[0 1 0; 0 0 1; -9 -7 -3]
B=[0;0;1]*U
X=[X1;X2;X3]
C=[8 6 5]
D=0
disp(A*X+B,"[diff(X1);diff(X2);diff(X3)]=")
disp(C*X+D,"and Y = ") |
8ed7ee324c5d66355243ef046ba74a92326bc6fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH5/EX5.16/Ex5_16.sce | a8b77fb172e34588e3937a1a4a9052efe63cab86 | [] | 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 | 585 | sce | Ex5_16.sce | //=========================================================================
// chapter 5 example 16
clc;
clear;
//input data
eF = 5.4; //fermi energy in eV
k = 1.38*10^-23; // k in joule/K
//calculation
e0 = (3*eF)/5; //average energy in eV
T = (e0*(1.6*10^-19)*2)/(3*k); //temperature in K
//result
mprintf('average energy =%3.2f.eV\n',e0);
mprintf('temperature =%3.2e.K\n',T);
//========================================================================
|
d48673a9f30f0af30230d11ca8da4d2091b8342a | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH6/EX6.5/Example6_5.sce | 66f489ea8db50f55afbecb3caca56dcde72bd856 | [] | 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 | 169 | sce | Example6_5.sce | //clear//
//Example 6.5:Bode Plot
s = %s;
//Open Loop Transfer Function
H = syslin('c',[(100*(1+s))/((10+s)*(100+s))]);//jw replaced by s
clf;
bode(H,0.01,10000)
|
fa27f3a4cd7dd86b4972cb20185d13f15e128966 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpasslp2lp/test_13.sce | 8d442796d0805aa1b2ca860184b9b8fe15fd907f | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | test_13.sce | // Test # 13 : For zero valued inputs
exec('./allpasslp2lp.sci',-1);
[n,d]=allpasslp2lp(0,0);
// !--error 10000
//Wo must lie between 0 and 1
//at line 39 of function allpasslp2lp called by :
//[n,d]=allpasslp2lp(0,0)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.