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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d1fb661d94f066ab77f9780a627dc18d0a6acd09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH5/EX5.4/ex5_4.sce | afa3d1e1603b67b6a5affcd22bf36876f6185305 | [] | 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 | 583 | sce | ex5_4.sce | // Exa 5.4
clc;
clear;
close;
format('v',6)
// Given data
R = 5;// in ohm
L =0.02;// in H
V_L = 440;// in V
f = 50;// in Hz
X_L = 2*%pi*f*L;// in ohm
Z_Ph = sqrt( (R^2)+(X_L^2) );// in ohm
V_Ph = V_L;// in V
I_Ph = V_Ph/Z_Ph;// in A
I_L = sqrt(3)*I_Ph;// in A
disp(I_L,"The line current in A is");
phi =... |
7c372f86d9fce717b8cee5afcf80faeb807669d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH6/EX6.4/6_4.sce | 67cb276f2a27af7bc254caabc14eee642325d83c | [] | 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 | 272 | sce | 6_4.sce | clc
//initialisation of variables
clear
h= 1.439
T= 300 //K
w= 4405 //cm^-1
w1= 565 //cm^-1
//CALCULATIONS
Qv1= (1-%e^(-h*w/T))^-1
Qv2= (1-%e^(-h*w1/T))^-1
//RESULTS
printf ('Vibrational Partition = %.3f ',Qv1)
printf ('\n Vibrational Partition = %.3f ',Qv2)
|
2687e1d8568f4e5d678ac2116f9c8c4cdfb56572 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH1/EX1.1/Ex1_1.sce | 2fdd16e3e253cc237c1b2cf15f59b1e4f89d841a | [] | 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 | 415 | sce | Ex1_1.sce |
clc; funcprot(0);
// Initialization of Variable
T=273+25.0;//temperature in K
p=752.0;//pressure mm Hg
No=294.0e-6;
ns=1.000284;
D1=1438.254;//recorded distance in m
h=263.42-243.25;//height difference in m
R=6370e3;//radius of earth in m
//calculation
n=1+No*(273/T)*(p/760);
D=D1*ns/n;
cg=-h**2/2/D;
Hm=... |
195e18b82c94e030f5edf2b226be24a8e253f2e6 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/uencode.sci | 4814998eed3551061580098c732664d3de9e6e4a | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,955 | sci | uencode.sci | function y=uencode(u,n,v,signflag)
//Performs uniform quantization of the input into 2^n levels
//Calling Sequence
//y=uencode(u,n,v,'signflag')
//Parameters
//u
//A vector, matrix or n-dimensional array
//n
//An integer between 2 and 32
//v
//A positive real scalar
//'signf... |
0c5a7379e6b5df1ed18158c657f44aae9ac70af0 | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3909/CH1/EX1.16/Ex1_16.sce | e5214f26ee46658395478a9722008c66fc62b3ab | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 399 | sce | Ex1_16.sce | clc;clear;
//example 1.16
//calculation of new radius of ring when lens is raised
//given data
R=40; //radius of curvature of lens (in cm)
r_dn=2.5; //radius of ring (in mm)
del_h=5.0; //distance of lens raised from plate (in micrometer)
//calculation
r_d1n=sqrt(r_dn^2-2*del_h*10^-3*R*10^1); //new radius of rin... |
c7a740e574e36d56eced99ba842831fe09d2a82d | a27117f570df5615cbad07adf0e508ac092b0f9d | /prob3.sce | 1be052719476e9cbb3042bb55eadac9f22bbd8c1 | [] | no_license | SammithSB/Scilab-Assignment | e8243b5092c0689f52c034818b349327bcfd3f33 | 99345a4f72a33990147318d963ff81b966c7944d | refs/heads/main | 2023-04-08T11:44:56.996159 | 2021-04-23T12:16:33 | 2021-04-23T12:16:33 | 360,826,533 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sce | prob3.sce | // matrix A is [1,2,3;7,5,4;2,2,9]
clc;clear;
A = [1 2 3;7 5 4;2 2 9];
n = length (A(1,:));
Aug=[A,eye(n,n)];
for j = 1: n-1
for i = j+1: n
Aug(i,j:2*n)=Aug(i,j:2*n)-Aug(i,j)/Aug(j,j)*Aug(j,j:2*n);
end
end
for j=n:-1:2
Aug(1:j-1,:)=Aug(1:j-1,:)-Aug(1:j-1,j)/Aug(j,j)*Aug(j,:);
end
for j=... |
1050b211dad0746501b41aab5fe290a608f1418d | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH12/EX12.3/12_3.sce | df87d2876fe9c66471257e0ca54a65961732cb77 | [] | 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 | 306 | sce | 12_3.sce | Vbi=0.74;
Vg=0.5;
c=13.2*8.854*10^-14; //say c=Єs
q=1.6*10^-19;
Nd=5*10^16;
b=(2*c*(Vbi-Vg)/(q*Nd))^(1/2);
printf('\n The value of depletion width near drain is %f*10^-2 μm',b*10^6);
d=0.8-(b*10^4);
printf('\n The maximum undepleted channel width is near the drain end of the gate is %f μm',d); |
6d83483251f2711f8840efcf558083e28d29efe9 | 2391eec552dac38c05f9c53bae1ec612f2871f51 | /Lab 1/exp1pr2.sce | 6b662693fef51f21d3f355b6cb660185ca0771ef | [] | no_license | Zebz13/EEE-S7-Power-Systems | fe9e00e27242fa51650bf87e46c504a716a22edf | 1fc9ab29e96a5d5f8a23d629364cadf2c70c4a40 | refs/heads/main | 2023-01-10T03:53:34.295752 | 2020-11-08T17:03:45 | 2020-11-08T17:03:45 | 309,158,346 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | sce | exp1pr2.sce | clc;
clear;
format('v',20)
d=input("Enter the diameter of the conductors in cm: ")
dab=input("Enter the spacing of A and B in ms: ")
dbc=input("Enter the spacing of B and C in ms: ")
dca=input("Enter the spacing of C and A in ms: ")
r=(d/2)*10^-2
D=(dab*dbc*dca)^(1/3)
L=(0.5+2*log(D/r))*10^-7
Lkm=L*1000
disp... |
41b78b64aee17e4cfcf096709ed7b1aa95688d2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.30/Ex30.sce | 9a49573b870027aa49ad52eaf0498bad18da7f74 | [] | 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 | 314 | sce | Ex30.sce | //Ex:30
clc;
clear;
close;
t_a=35;//antenna noise temp in K
f=12;//receiver noise figure in db
F=10^(12/10);//receiver noise figure
l_c=10^(5/10);//cable loss
g_lna=10^5;//LNA gain
t_lna=150;//noise temp in K
t_o=290;// in K
t_s=t_a+t_lna+(l_c-1)*t_o/g_lna+l_c*(F-1)*t_o/g_lna;
printf("Gain=%d K",t_s); |
873661a165c157a87d9da5269bec9a76e33fee68 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.18_6.tst | 70069cd8a581c84df1b7d314f627eb6b8a270850 | [] | 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 | 559,829 | tst | 5.18_6.tst | 18 214:2 288:1 300:1 706:1 756:1 919:1 938:1 1527:2 1557:1 1559:1 1596:1 1994:1 2230:2 2449:1 2762:1 2799:1 2838:1 2874:2 2895:1 3011:2 3103:1 3141:1 3183:1 3190:1 3368:1 3637:1 3901:1 4113:1 4776:1 4789:1 4816:1 4872:1 4930:1 4932:1 5553:1 5672:1 5761:1 6188:1 6587:1 6591:1 6862:1 7037:1 7483:1 7792:1 7820:1 7853:1 80... |
6f96d28af7c140be5291b4515f415c85388dcba9 | ebeb01647d8befa67b61bb30a7503abd26cc518e | /whileLoop.sce | 75b5bca1db565ce76cd1ae295ba58534bc9ec1aa | [] | no_license | ciarap/Scilab_Labs | 153903c46c94492672c1da9497a030f548d3940e | af994c56ae44c4872a969cab376056dd18871f3c | refs/heads/master | 2021-07-04T20:12:39.635697 | 2017-09-25T22:53:15 | 2017-09-25T22:53:15 | 104,810,103 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 45 | sce | whileLoop.sce | x=2
while x < 10D6
disp(x)
x=x^2
end
|
2feffb55c45aa40cc0556734c5fffad65e92c6aa | f8bb2d5287f73944d0ae4a8ddb85a18b420ce288 | /Scilab/PDseigyo.sce | 177b2a2cc4f0bcaf6ea69f71883db33f6b8c8713 | [] | no_license | nishizumi-lab/sample | 1a2eb3baf0139e9db99b0c515ac618eb2ed65ad2 | fcdf07eb6d5c9ad9c6f5ea539046c334afffe8d2 | refs/heads/master | 2023-08-22T15:52:04.998574 | 2023-08-20T04:09:08 | 2023-08-20T04:09:08 | 248,222,555 | 8 | 20 | null | 2023-02-02T09:03:50 | 2020-03-18T12:14:34 | C | UTF-8 | Scilab | false | false | 272 | sce | PDseigyo.sce | s=%s;
t=0:0.01:3;
G=10/((s+5)*(s+2));
C=1*(1+0.1*s);
sys=syslin("c",G*C/(1+G*C));
y1=csim("step",t,sys);
C=10*(1+0.1*s);
sys=syslin("c",G*C/(1+G*C));
y2=csim("step",t,sys);
C=100*(1+0.1*s);
sys=syslin("c",G*C/(1+G*C));
y3=csim("step",t,sys);
clf();plot2d(t',[y1',y2',y3']) |
7972c72cb3871e437c840af404079ed02a24fad6 | 98187bfe7a07f2d387b0cc75137b39b9eb012d00 | /Dilatation.sce | 218372f88755505df5eaa199fd9b6ee7f1932a06 | [] | no_license | Minial/Squelette | a50b9ec88f135d1392bf336478a7854973c25009 | 6356c7e1f52d45ff153335565b7049ff2f297b7b | refs/heads/master | 2020-04-19T11:41:10.640079 | 2019-02-03T16:40:38 | 2019-02-03T16:40:38 | 168,173,672 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 445 | sce | Dilatation.sce | //Fonction dilatation matrice de point binaire
function [ImgE]= Dilatation(Img)
[TailleX,TailleY]=size(Img)
//TailleY=size(Img(1))
ImgE=Img
for i= 2:TailleX-1
for j = 2:TailleY-1
for k = i-1:i+1
for l = j-1:j+1
if(Img(i,j)==1)
... |
6e79500e65ef75234761e4ba44aa8d0ecc38842c | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/cummin/cummin12.sce | a9c38ac44f67e7d57fe13f078378f1adbdc374d3 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sce | cummin12.sce | v=[1 2 3 4 5 6];
m=cummin(v,2,'reverse',2);
disp(m);
//output
// !--error 77
//cummin: Wrong number of input argument; 1-6 expected
//at line 50 of function cummin called by :
//m=cummin(v,2,'reverse',2);
|
dfae120d7e505e69afa9ce764964f9d9f278ad36 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/CompressibleFlowSolver/Tests/CylinderSubsonic_P3.tst | 7d50a919e57447e741919d22e70e5de50342b8a1 | [
"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,074 | tst | CylinderSubsonic_P3.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Euler, Subsonic Cylinder P=3</description>
<executable>CompressibleFlowSolver</executable>
<parameters>CylinderSubsonic_P3.xml</parameters>
<files>
<file description="Session File">CylinderSubsonic_P3.xml</file>
<file description... |
2aedc6bdbcbec237862eefecd1c2019714a96396 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH15/EX14.5/EX14_5.sce | b6367abe789ae2489cd88db0e9aaaeb27fc0e18c | [] | 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 | 507 | sce | EX14_5.sce | // Grob's Basic Electronics 11e
// Chapter No. 14
// Example No. 14_5
clc; clear;
// A magnetic material has a ur of 500. Calculate the absolute u as B/H (a) in CGS units and (b) in SI units.
// Given data
ur = 500; // ur=500
uoa = 1; // uo for CGS Units=1
uob = 1.26*10^-6; // uo for SI U... |
b6ab5367c4c62853e61b60a16519dd414e6c2915 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH3/EX3.2/Ex3_2.sce | e17d18b679d345f5e42c9f17f638b3920afe021a | [] | 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,732 | sce | Ex3_2.sce | //Example 3.2
//This code utilises dependency file 'Compute_Angle.sci'
exec Compute_Angle.sci;//Execute dependency file
//To find the position of the boat
subplot(2,1,1)
//To draw vector A
x=0;
y=0;//x and y are the starting point coordinates
magnitude=27.5;
theta=66;
x_end=magnitude*cosd(theta);
y_end=... |
96af98eab228462b7220cc051b1f33b637a38f0b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH4/EX4.1/4_1.sci | 22951c3daff72068f8da832e2cac9ac154615762 | [] | 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 | 749 | sci | 4_1.sci | // 4.1
clc;
fc=1000;
disp('In addition to carrier frequency of 1000kHz the other upeer and lower frequencies are')
fs1=0.3;
fu1=fc+fs1;
printf("\nUpper side band frequency for modulating frequency of 300 Hz =%.1f kHz",fu1)
fl1=fc-fs1;
printf("\nLower side band frequency for modulating frequency of 300 Hz =%.1f ... |
eb75ca86ef54d3122657b52a72e2e66cf0989993 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/tripuls.sci | 498160b2e41b4c5c15645f20eb7674206d9f8c98 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,036 | sci | tripuls.sci | function [y] = tripuls(t,w,skew)
//This function generates a triangular pulse over the interval [-w/2,w/2] sampled at times t
//Calling Sequence
//[y] = tripuls(t)
//[y] = tripuls(t,w)
//[y] = tripuls(t,w,skew)
//Parameters
//t: vector of real or complex numbers
//w: real or complex number
//skew: real number, -1 ... |
d36ee0d748e533b8e1c7475ecc494645e575262c | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/GOLD-TEST/lud.tst | 5be63b3c351d75319d3b86446b8623520965d3d3 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,865 | tst | lud.tst | afstriiskuoi afstriiskuoile ADJ;AT+ALL;SG
univermag univermagas N;IN+ESS;SG
tazavald tazavaldan N;GEN;SG
akke akkannu N;FRML;SG
poige poige N;NOM;SG
poige poigal N;AT+ESS;SG
homm hommad N;NOM;PL
kiškoi kiškojat N;NOM;PL
tütar tütärtte N;PRT;SG
kuccuda kucun V;IND;SG;1;POS;PRS
teatr teatran N;GEN;SG
teatr teatras N;IN+E... |
8d38c0fbb044ded53d5d45799248d3fd4da3ba28 | aef26b59d30e6dadcb4ad4adca5fef486bba8f39 | /测试游标之动态游标[强类型游标].tst | 3fcb7f041bfd5a274641a5e20c8c6ab15ff56434 | [] | no_license | BinYangXian/ora | 23141658d122e552ae63d2c091a0b038446da275 | ebb23fed403da5248f8926f902a247b4046e540c | refs/heads/master | 2021-01-20T15:07:10.757649 | 2017-05-09T08:34:52 | 2017-05-09T08:34:52 | 90,722,061 | 0 | 0 | null | null | null | null | GB18030 | Scilab | false | false | 653 | tst | 测试游标之动态游标[强类型游标].tst | PL/SQL Developer Test script 3.0
30
-- 测试游标之动态游标[强类型游标]
-- 动态游标 需要先定义类型 再定义变量
declare
-- 声明类型
-- 语法: type 类型名称 is ref cursor retrun 行类型
type v_cursor_type is ref cursor return emp%rowtype;
-- 声明变量
v_cursor v_cursor_type;
-- 行变量
v_row v_cursor%rowtype;
begin
-- 打开游标
open v_cursor for sel... |
e70f74006d9f0829f547371a61b84f86cf2c43b8 | 3fd87fa4b5c921d71b9f4b3c20c2ec710a285d54 | /src/scilab/corner_detector.sce | 18035de71787e22dd3d53adc8002cbbac8f873f6 | [] | no_license | mshicom/wolf | 8358bf5f84376a9f80b25c5cff8cf8a82f5d1d91 | 1d21ba4a2c72dcdc4347d91071f570beaadd3a29 | refs/heads/master | 2020-12-24T06:06:53.465173 | 2016-09-19T07:26:02 | 2016-09-19T07:26:02 | 73,229,005 | 0 | 0 | null | 2016-11-08T21:34:42 | 2016-11-08T21:34:41 | null | UTF-8 | Scilab | false | false | 7,845 | sce | corner_detector.sce | //info about 2D homogeneous lines and points: http://homepages.inf.ed.ac.uk/rbf/CVonline/LOCAL_COPIES/BEARDSLEY/node2.html
// clear all
xdel(winsid());
clear;
//scan params:
Ns = 720; //scan rays
aperture = %pi; //scan aperture [rad]
azimuth_step = aperture/Ns;
//User Tunning params
Nw = 8; //window size
theta_th =... |
1335d33fcecd28359c52035fe290056d0fa97eff | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH2/EX2.4/2_4.sce | 3dd5e89d2e562e5200bdc93ef259fa87829c477b | [] | 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 | 736 | sce | 2_4.sce | clear all; clc;
disp("Ex 2_4")
printf('\nPart(a)')
//Figure 2-13b vector addition according to parallelogram law
//We use figure 2-13c to find F1 and F2 by using law of sines
a=1000//Magnitude of resultant force in N
p1=30//given angle theta in degrees
p=p1*%pi/180//angle in radian
q1=130//angle in degrees
q=q1*%pi/180... |
05d40422da207993d5d859d4a4e8bcc211635f00 | f23cac45e0a1e3e9444fd3bb8e11d56a5be97cf8 | /global.sce | 46c6a751c701134a221fba992860cfa463e8ee3d | [] | no_license | paulaperdigaoram/YOGURT | 4cd805bfb9a06630fba0d990ad7edbbf3786903b | fc95ba5408e085c91bca2a04084fc36b2ea39f95 | refs/heads/master | 2020-03-22T07:56:53.718648 | 2018-08-23T17:31:35 | 2018-08-23T17:31:35 | 139,734,779 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 705 | sce | global.sce | clear; clc;
// Input
P0 = 34; // g/L
G0 = 1; // g/L
L0 = 50; // g/L
AL0 = 0; // g/L
M0 = 1; // ad
LB0 = 0; // // U/L
T0 = 20; // ºC
// (1) Mixer
exec mix.sci
i1 = [P0; G0; L0; AL0; M0; LB0; T0]
o1 = mix(i1)
// (2)Heater (steam)
exec fsolvehexs.sci
exec hexs.sci
i2 = o1
o2 = hexs(i2)
// (3)Hold... |
c06d15fb9885c4c58c982cdef7d490d9d8b5f232 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH9/EX9.13/Chapter9_example13.sce | 86de78adc5f2efdb212f3fd7a4b2f4ac9353c324 | [] | 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,012 | sce | Chapter9_example13.sce | clc
clear
//Input data
x=3//Petrol stands 3 mm below
Ta=15.5+273//Temperature of air in K
pa=1.027//Pressure of air in kg/cm^2
R=29.27//Characteristic gas constant in kg.m/kg.K
sg=0.76//Specific gravity of fuel
fc=6.4//Consumption of fuel in kg/hour
jd=1.27//Jet diameter in mm
Cd=0.6//Nozzle discharge coeffi... |
700434898dec05fe2e9de851b0315b1ce0d31333 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH5/EX5.11/Ch05Ex11.sce | 01b4f13eeea8ce6582c81f050158231cb952ddc4 | [] | 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 | 825 | sce | Ch05Ex11.sce | // Scilab Code Ex 5.11 : Page-5.24 (2004)
clc;clear;
h = 6.626e-34; // Planck's const, Js
m = 9.1e-31; // Mass of electron in kg
L = 1e-10; // Side of the box in m
n1 = 1; // Ground state quantum number
n2 = 2; // first quantum number
n3 = 3; // second quantum number
e = 1.6e-19; // charge on ele... |
bee806a9e9414317918e898929c422ced7b503b0 | d5bd4b5a4760efd0a3d16d7c39c7b495c5874d28 | /AnalogDigtitalCommunication/fskmod.sci | 932d9167b78577ad3752a2e27e4080216f0f2388 | [] | no_license | APU-PhasedArrayBeamForming/Array-Based-Beam-Forming | 27a61bc3cf93e544364121e508dc4d140b7e0cb1 | 4cde46b7aa3f4e995297ac72fc5038fa0cdf083d | refs/heads/master | 2021-01-25T08:01:17.468481 | 2017-06-15T18:47:40 | 2017-06-15T18:47:40 | 93,699,808 | 1 | 1 | null | 2017-06-15T18:47:40 | 2017-06-08T02:36:01 | Scilab | UTF-8 | Scilab | false | false | 648 | sci | fskmod.sci | function [w]=fskmod(data,Ac,fc1,fc2)
//fc1 - carrier signal frequency for binary 1 in Hz
//fc2 - carrier signal frequency for binary 0 in Hz
//Ac - carrier signal amplitude in volts
//data - digital information signal
//w -BFSK modulated signal
t = 0:0.001:1;
x = Ac*sin(2*%pi*fc1*t);
y... |
75190e26ececf983eb52a01c48cda6e10baec56f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH8/EX8.10/Ex8_10.sce | f4e72beb196480cffeda7a5f5a5e7becb1b8519f | [] | 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,500 | sce | Ex8_10.sce |
function[r,theta]=rect2pol(A)
x=real(A)
y=imag(A)
r=sqrt(x^2+y^2)
theta=atand(y/x)
endfunction
function[z]=pol2rect(r,theta)
x=r*cos(theta*%pi/180)
y=r*sin(theta*%pi/180)
z=x+y*%i
endfunction
function[r]=mag(A)
x=real(A)
y=imag(A)
r=sqrt(x^2+y^2)
endfunction
j=%... |
eb37dfd1cb90e1d06992e78cdbed70e8aaf10952 | dbe63cfd0ace7d8900384e7478bebba2c7f77337 | /Extra/remez.sce | 741568eaee99c839377ca6bc40ee2688ff1f9a14 | [
"MIT"
] | permissive | berenger-eu/inastemp | aeeefe6f15c2377f8f5f98479a91d93778929ae2 | c0bcdacbd42ee0282586b9b0214a7c7a3c27c677 | refs/heads/master | 2022-05-06T09:48:29.838442 | 2022-03-17T09:32:16 | 2022-03-17T09:32:16 | 234,270,760 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,263 | sce | remez.sce | // From https://fr.wikipedia.org/wiki/Algorithme_de_Remez
a = 0
b = 1 - %eps
format('v',21)
dispall=%f
for n = 2:10
if dispall
printf("N = %d\n",n)
end
//////////////////////////////////////////////:
xk = zeros(n+2,1)
for k = 1:(n+2)
xk(k) = ((a+b)/2) + ((a-b)/2) * cos(((... |
be63aa702c6cf1167ca7cad7a4de1605b22491a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH9/EX9.18/Example9_18.sce | f5de1c0be87bae30e9f8f6fcdde2eb9ea9ae8756 | [] | 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 | Example9_18.sce | //Example 9.18
clc
disp("The required pulse width is,")
disp(" W = 10 ms")
disp("The pulse width is given by,")
disp(" W = 1.1*R*C")
disp("Therefore, 10*10^-3 = 1.1*R*C")
disp("Therefore, RC = 9.0909*10^-3")
disp("Choose C = 0.1 uF")
disp("Therefore, R = 90.909 k-ohm ~ 91 k-ohm")
disp("The designed circ... |
5873e22e4d7a12a846123705b6859cbf8d34e123 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH14/EX14.2/Ex14_2.sce | e1c06499f01f04f6af90fce6c5dc8e8999e6e03d | [] | 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,518 | sce | Ex14_2.sce | clear
//
//
//
//Variable declaration
V=1500; //volume(m^3)
A1=112; //area of plastered walls(m^2)
A2=130; //area of wooden floor(m^2)
A3=170; //area of plastered ceiling(m^2)
A4=20; //area of wooden door(m^2)
n=100; //number of cushioned chairs
A5=120; //area of audien... |
c230e3a8a8efd2bb893caa6a6804c20a8da4b1a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH2/EX2.46/2_46.sce | 290ccb426a9a04b9e0bdfa0a71c161c344334c68 | [] | 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 | 333 | sce | 2_46.sce |
clc;
clear;
//Example 2.46
dia=3 //[mm]
dia=dia/1000 //[m]
r=dia/2 //radius in[m]
k=150 //W/(m.K)
h=300 //W/(sq m.K)
T0=413 //[K]
T_inf=288 //[K]
A=%pi*(r^2) //Area in [sq m]
P=%pi*dia //[W/sq m.K]
Q=(T0-T_inf)*sqrt(h*P*k*A) //Heat dissipated in [W]
printf("Heat dissipated by the rod... |
0c681dc0c35919ade029056668b00c634f982f8a | dc628e7d8425aa0bb1460d2583f04c9969b4ec9c | /dlog-server/examples/alcoholic/na10.tst | 29152c386db3aa898eed38d94fcd59e153a22aee | [] | no_license | logicmoo/DLog | bc2c43523ccbc3747c381f2eb0e25960cfc8d6e1 | 855774c38c1eea119405fde0057cfdb1032006f0 | refs/heads/master | 2021-05-28T14:03:35.596790 | 2015-01-12T22:49:56 | 2015-01-12T22:49:56 | 27,461,790 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 4,883 | tst | na10.tst | %Generated from '../examples/alcoholic/na10.dig'.
query(instances(aconcept('Alcoholic')), []).
query(instances(not(aconcept('Alcoholic'))), [i0, i1, i2, i3, i4, i5, i6, i7, i8, i9]).
concept('Alcoholic').
role(hasFriend).
role(hasParent).
implies(some(arole(hasParent), not(aconcept('Alcoholic'))), not(a... |
97199c2072a69376c8cb75b002ceb94ec1986d5c | 3fb2b65e8ef9208e822aad35c618441282e08a30 | /MetodeNumerik/newtonrapson/pin.sci | 32bd2a71f5d7d61e65f149255287337c0849838b | [] | no_license | Lukmannudin/TugasKuliah | 33031fb4f6ff0ab7a5849cda3ea15330e2527c3f | 19738c858dea539f0a5569f27be68b1a56c2aa89 | refs/heads/master | 2020-03-07T15:49:59.414761 | 2018-06-09T07:41:39 | 2018-06-09T07:41:39 | 127,565,939 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 440 | sci | pin.sci | function nilai=newtonrapson(xo,tol)
i=1;
x(1)=xo;g(1)=1;r(1)=1;fx=0;
while g(r)>tol
x(r+1)=x(r)-f(x(r))/faksen(x(r));
g(r+1)=abs(x(r+1)-x(r));
r=r+1;
i=i+1;
fx=f(x);
disp(i);
end
nilai=[x g];
endfunction
function nf=f(x)
//nf= x^3+5*x^2-10*x-5;
... |
e8d3130f80aeaf09c4f4ec2f2bff4187888ba1ed | dd62f0e176af8b35f4de2d6b64692105fd90afd6 | /armaX.sci | c612fe3b964be75a7607a5b226346c8a0428d7ca | [] | no_license | FOSSEE/FOSSEE-System-Identification-Toolbox | 2a631de0f2d6b993b3f19df4a220b274a1d85edb | 11ee9c829fe88301c69b731cdf9fe7957d0fa68c | refs/heads/master | 2018-10-15T08:25:21.323393 | 2018-07-31T10:56:53 | 2018-07-31T10:56:53 | 108,255,727 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,157 | sci | armaX.sci |
function sys = armaX(varargin)
// Parameters Estimation of ARMAX model using Input Output time-domain data
//
// Calling Sequence
// sys = armaX(ioData,[na nb nc nk])
//
// Parameters
// ioData : iddata or [outputData inputData] ,matrix of nx2 dimensions, type plant data
// na : non-negative integer number specified... |
9f52bf2fb0c3b010b5aaad2f8e5334fea47ed1c1 | 7f053b29173fd886cfb3520199a442fe76b4f8bb | /radiacaof.sce | e30f77c50dcbfa0bb397ec1ec638a09277e8771d | [] | no_license | erickcampos50/HVAC | 26052b9720b79400c15afb9ea5fdf1c17c00da78 | c9544ebb4911461e3c996bbfd6278c47946991dc | refs/heads/master | 2019-01-02T01:46:06.365422 | 2015-02-02T19:30:33 | 2015-02-02T19:30:33 | 29,926,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,775 | sce | radiacaof.sce | //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
//CONSTANTES
//Esses valores tem de ser inseridos para cada componente e deixarão de ser constantes nesse momento
dia = 21
mes = 8
lon = -41.93 //Gov Valadares (longitude 41.93E Latitude 18.85S)
TZ = -5
lat = -18.85
//lsm = latatitude,... |
26f78a848b5c7b9cb81472a465ef0f46533f87eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH3/EX3.1/3_1.sce | f8aa7690ed1d949e0bf2cd5dd221dedd41d8da7b | [] | 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 | 954 | sce | 3_1.sce | //Eg-3.1
//pg-67
clear
clc
// Matrices A and B from set of equations
for i=1:3
if i==1 then
a=[1 1 -1;1 2 -0.5;1.5 1 1];
b=[5;-1;2];
elseif i==2 then
a=[-1 2.5 3.5;-1 1 2;.5 1 .5];
b=[3;1;1.5];
elseif i==3 then
a=[1 2 0;1 3 0;2 5 0];
b=[3;2.5;1.6];
end
//size of... |
586b11af8f7da18044f2f53acd53a60d8a1e7a16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH8/EX8.3/Ex8_3.sce | ea76df64ce090efcf4a385358ab34149578020ed | [] | 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 | 837 | sce | Ex8_3.sce |
//Variable declaration
C=0.01 //capacitance(uF)
R2=15 //resistance(k ohms)
Va2=4 //voltage(V)
Vcc=15. //supply voltage(V)
R1=33 //resistance(k ohms)
//Calculations
Va1=0.67*Vcc //voltage(V)
Vamax=Va1+V... |
84cf7aa4517f70353dc2b29898033f117872cb1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH9/EX9.11/Ex9_11.sce | 48212a80035c13d0766f5a77dc9ccff74d23c6dd | [] | 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 | 595 | sce | Ex9_11.sce | clear
//
//
//Initilization of Variables
I=4.085*10**8 //mm**4 //M.I
A=20732.0 //mm**2 //area of column
f_y=250 //N/mm**2
L=6000 //mm //Length of column
//Calculations
k=(I*A**-1)**0.5 //mm
lamda=L*k**-1 //Slenderness ratro
//From Indian standard table
lamda_1=40
sigma_a_c_1=139 //N/mm**2
lamda_2=50
sigma_a_c_2... |
9ebc7e28ec091c39831402528a274bcab09f4716 | e770dc26235168913bdcd5b2332f3a38a95a8bc7 | /Toolbox Test/ac2poly/ac2poly6.sce | 6dc9a4ae8e4aafeadbe75ad5b0b82efe5ad9f05e | [] | no_license | deecube/majorTom | f00eca4e2effff2c5eba746878f2c0842fe14680 | 84365fc032fc0ca44abac8330ec4ac6d85a85b3f | refs/heads/master | 2021-01-21T14:04:23.323717 | 2016-05-23T06:05:31 | 2016-05-23T06:05:31 | 51,731,222 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 98 | sce | ac2poly6.sce | //check o/p when char is given as i/p
r = 'hash';
[a,efinal] = ac2poly(r);
disp(a);
disp(efinal);
|
df52c91a77ea43c9177a0f8f5c892fd4ce809c68 | 0c3cccb3c81eb151f654e5d9d470662c19122857 | /scilab/exam.sce | 0d65b235d36cb6dae7f104f948e1f909ee32de25 | [] | no_license | gmordelet/oldProg | 6b2bb7c247dd1f16a641d0f840f7c82e8eb37ffb | c108060bf1b87b4aad196484036f226fd9c4422c | refs/heads/master | 2021-01-12T16:28:52.448277 | 2016-10-30T11:16:22 | 2016-10-30T11:16:22 | 69,155,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 862 | sce | exam.sce | function An = calcul(F,n)
somme = sum(F((1:(n - 1)) / n))
An = 1 / (2 * n) * (F(0) + F(1) + 2 * somme)
endfunction
function v = morse(n)
v(1) = 0
for i = 2:n
reste = modulo(i, 2);
if reste == 0 then
k = (i - 2) / 2
v(1, i) = 1 - v(1, k + 1)
else
... |
6899d26353824bfa72874b66713e8235ff138fff | 449d555969bfd7befe906877abab098c6e63a0e8 | /3511/CH7/EX7.7/Ex7_7.sce | 40e2e1714dcd28ea6f3538e4db8c70117f382707 | [] | 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,192 | sce | Ex7_7.sce | clc;
pa=0.7; // Ambient pressure in bar
Ta=1+273; // Ambient temperature in kelvin
Ci=800*1000/3600; // Speed of the aircraft in m/s
rp=5;// Pressure ratio
eff_ram=1.00; // Intake duct efficiency
eff_c=0.85; // Compressor efficiency
eff_T=0.90; // Turbine efficiency
eff_comb=0.98; //Combustion efficiency
eff_... |
aabc911c9dc345119756bf93b78d0f5d31dd1d2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.75/ex_1_75.sce | 5a260ab5814ecc023f7fec6d8a7c82052e9a241f | [] | 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 | 435 | sce | ex_1_75.sce | //Example 1.74// kWh & percentage error
clc;
clear;
I= (40*225)/600;//current in amperes
I1=14;//current in ampere
V=230;//volts
pf=1;//power factor
n=225;//no. of revolutions
t=360;//total time in seconds
E=((V*I*pf*10)/(60*1000));//energy recorded in 1 hour in kWh
Er=((V*I1*pf*10)/(60*1000));//energy consumed in 1 ... |
e3c883db0a5f9f6e727fa1be7a7c7f0d51b73416 | dc1af20bca10db33d1adcbf61d5fe874eb6eab07 | /CurrentRelease/vcast-workarea/vc_manage/PointOfSales_Manage/environment/ENV_MANAGER/ENV_MANAGER.tst | 8744615022eb73b6e181def7d85caaef7c33ea62 | [] | no_license | TimSVector/PointOfSales_v2 | 2d1130516cfc5d77f2e5d0f60adcde96374f6fc2 | ef630f05850715568725cf94cc0e497146a049d4 | refs/heads/master | 2023-08-04T10:51:50.031346 | 2023-08-03T20:50:28 | 2023-08-03T20:50:28 | 133,404,783 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,294 | tst | ENV_MANAGER.tst | -- VectorCAST 22.sp7 (12/04/22)
-- Test Case Script
--
-- Environment : ENV_MANAGER
-- Unit(s) Under Test: manager
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:REMOVED_CL_PREFIX
TEST.SCRIPT... |
8262f80de36bd089c2a6d0b57032eed58f474238 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH7/EX7.3/EX7_3.sce | 4e6a9894bb050dcbca290748363d0262a25595ed | [] | 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 | 933 | sce | EX7_3.sce | //Example7.3 // Design active low filter with cut-off frequency 20 KHz
clc;
clear;
close;
fc = 20 ; // KHz
f = 100 ; // frequency of filter
Af = 10 ; // desired pass band gain
C = 0.05 ; //nF // we assume
// the cut-off frequency of active low pass filter is defined as
// fc = (1/2*%pi*R3*C);
// R3 can... |
26e2d0b6640bf0d6779b69dca4ee0676c879e226 | 68ca3dfa429602a00a0e728649484916bdff7d81 | /scilab/insert_waveform_in_scene.sci | 75ef021ea1ce112b93cb728e201fbc619f4fed29 | [] | no_license | bambang/toodles | f6e4c01a3326cd4dfb9674f11b727d8695daf369 | 2a65c5dec5d23b799d8246650716d4f683d4ae18 | refs/heads/master | 2020-12-28T20:30:53.721415 | 2012-03-12T16:00:12 | 2012-03-12T16:00:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sci | insert_waveform_in_scene.sci | function inserted = insert_waveform_in_scene(waveform, scene)
[nrows, ncols] = size(scene);
wavesize = size(waveform, '*');
inserted = zeros(nrows, ncols);
for i = [1:wavesize]
inserted(nrows/2-wavesize/2+i, ncols/2) = waveform(1, i);
end
endfunction |
87765e81d3b4530adc9e1f1c557024955d88eb9f | 81edb62eb260102a7f9e6db9065204b5aa0333e0 | /ACSO/isNegative32.tst | e0a9ec081868e64ebe5cc4e261e5f0d060b8a498 | [] | no_license | Stilink/ACSO | e6531e16b8400b147764887698d732ff4269d9fe | 17eea5288f395bf202f3c1c28c9003df3c78dc81 | refs/heads/master | 2020-04-16T19:57:14.333374 | 2019-05-17T02:18:27 | 2019-05-17T02:18:27 | 165,880,362 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 440 | tst | isNegative32.tst | load isNegative32.hdl,
output-file isNegative32.out,
compare-to isNegative32.cmp,
output-list in1%B1.16.1 in2%B1.16.1 out%B3.1.3;
set in1 %B1100110101110011,
set in2 %B0000000000000000,
eval,
output;
set in1 %B0001110101100010,
set in2 %B1001101010111000,
eval,
output;
set in1 %B0010000100100010,
s... |
fc2a4181b2e992f6b9715e031f9fe0f7cfe79c94 | a674f7b984545698214f8164107cc4e15916c573 | /Exec_Arthur.sci | c9c14231a4e786fc582ae647c588b02c23cda50b | [] | no_license | enzo-billis/Projet_CESI_Scilab_Missions | 6bb843b68b64660f8ed235cde4213dd4d3343375 | 07434c89170e237aff6a78ad4d59034b6e47f382 | refs/heads/master | 2021-03-16T10:27:15.255047 | 2018-03-05T08:02:40 | 2018-03-05T08:02:40 | 120,597,704 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,176 | sci | Exec_Arthur.sci | exec('C:\Users\Arthur\Documents\GitHub\Projet_scientifique\Fonctions\display_gray.sci', -1)
exec('C:\Users\Arthur\Documents\GitHub\Projet_scientifique\Fonctions\Histogramme.sci', -1)
exec('C:\Users\Arthur\Documents\GitHub\Projet_scientifique\Fonctions\readpbm.sci', -1)
exec('C:\Users\Arthur\Documents\GitHub\Projet_s... |
24f9e889d37383e9214f62aaa4ea8f7b3c0532d2 | e17a988880f5d637845c44966970b23aa1b0b51d | /detectTone.sce | a3fd5973c0f33d7950437b6d8d0ae063dc4f9776 | [] | no_license | KASHIHARAAkira/detectTone | 02552f635ca6e5dc532a4c89532cc3f99ebb5324 | a6d82c0a18c62b207403f2d6efdce352fc5b0148 | refs/heads/master | 2021-05-13T22:01:07.540017 | 2018-01-06T12:05:06 | 2018-01-06T12:05:06 | 116,479,273 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sce | detectTone.sce | //read wav file
sample_rate = 22050; //sampling rate
N = 74304; //sampling number
w = wavread("**.wav") //read wave file
//plot(w)
//fft
f = sample_rate*(0:(N/2))/N; //create x-axis point number
n = size(f,'*') //half of number of sampling
X = fft(w); //FFT
plot... |
9f631eded69577bd838629b2d5d7e5fe439542d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH6/EX6.8/Ex6_8.sce | 75941c59e739b61ee473b987fa10b28ea4fc94e1 | [] | 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 | 769 | sce | Ex6_8.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 6 Example 8")
x=.10;//quality is 10%
disp("at 0.15Mpa,from steam table;")
disp("hf=467.11 KJ/kg,hg=2693.6 KJ/kg")
hf=467.11;
hg=2693.6;
disp("and hfg=hg-hf in... |
93b9cdd31190e5fb036920eef864c78b99c3e2ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH7/EX7.5.1/7_5_1.sce | 28a48014fc949b1d133cfaf7e6cc9a1889b631d8 | [] | 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 | 431 | sce | 7_5_1.sce | clc
pathname=get_absolute_file_path('7_5_1.sce')
filename=pathname+filesep()+'751.sci'
exec(filename)
printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
deltaH=H0-H50
deltaU=deltaH+((Pfinal*Vfinal-Pinitial*Vinitial)*1.987/10.73)
printf(" \n chan... |
51dcb5a9786fea75cfc30e3d711533902cae0e19 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/final/qscatter/sigma.sce | 49ec08a025b1b22f8de9f42d61823e8996bbdf55 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 983 | sce | sigma.sce | //total cross section
function [sigma]=sigma(k,e)
lupper=10;
sumdelta=0;
delta=0.1*(10^(-10));
sumouter=0;
totsum=0;
sigma=0;
nr=50;
u1=zeros(nr,lupper+1);
u2=zeros(nr,lupper+1);
u3=zeros(nr,lupper+1);
//outer loop integration over r
for j=1:nr,
u1=0;
//inner loop summation over l
... |
87b6550089d0ac966ab9cf31bdd4914ef3890a80 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH2/EX2.2/2_2.sce | 2feba60bbe396dc49c3b0742eab45bd36315bf43 | [] | 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 | 649 | sce | 2_2.sce | clc
clear
//Initialization of variables
y1=13.5
x1=0.135
x2=0.056
veca=[66 1.5 1.1 5.6 5.9 19.9]
//calculations
vecb=[veca y1]
vecb(5) = vecb(5) - 1/9*y1
vecb(6) = vecb(6) - 8/9*y1
vecc=vecb/(1-x1)
vecd=vecb/(1-x1-x2)
vecd(4)=0
vecd(7)=0
vecc(7)=0
s1=sum(vecc)
s2=sum(vecd)
//results
printf("With mois... |
0dd496643f65f22fc2a9139fad3df48195df21b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH5/EX5.12/5_12.sce | a21866b654424b03a3474e1a233786a091d2f168 | [] | 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 | 730 | sce | 5_12.sce | //Problem 5.12: For the circuit shown in Figure 5.21 calculate (a) the value of resistor Rx such that the total power dissipated in the circuit is 2.5 kW, and (b) the current flowing in each of the four resistors.
//initializing the variables:
R1 = 15; // in ohms
R2 = 10; // in ohms
R3 = 38; // in ohms
Vt = 250;... |
6b898768a7050e2a9aca736bcd7a37928409c50c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH15/EX15.9/Ex15_9.sce | 619d2f45b9fff5acaca85cc8a990d5842bc58eb5 | [] | 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 | 514 | sce | Ex15_9.sce |
//Example 15_9
clc();
clear;
//To find the speed just before the field strikes
e=6000 //Units in N/C
q=1.6*10^-19 //Units in C
f=e*q //Units in N
m=1.67*10^-27 //Units in Kg
a=f/m //Units in meters/sec^2
vo=0 //Units in meters/sec
x=2*10^-3 //Units in meters
v=sqrt(vo^2+(2*a*... |
a523965e045396a0c0570929761a4df2ce020bfe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH8/EX8.5/Example8_5.sce | b262526f1c5258b94b6161fe40bfc2e7b9312f0f | [] | 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 | 315 | sce | Example8_5.sce | //chapter8,Example8_5,pg 182
//since both reflections occur at surface of denser medium
//condition for brightness for min thickness, n=1
//for normal incidence r=0, cos(r)=1
lam=5500*10^-8
V=0.2
A=100*100//converting into cm2
t=V/A
u=lam/(2*t)
printf("RI of oil\n")
printf("u=%.2f",u) |
9ff4bdae16777ff1196c1071806e27d9f59f7809 | 449d555969bfd7befe906877abab098c6e63a0e8 | /605/CH11/EX11.6/11_6.sce | 8ca172e5d99e91d4374003a02a282054265db8e1 | [] | 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 | 725 | sce | 11_6.sce |
Gs=10^0.5
S11=2.27*exp(-%i*%pi/180*120)
S21=4*exp(%i*%pi/180*50)
S12=0
S22=0.6*exp(-%i*%pi/180*80)
Ss11=2.27*exp(%i*%pi/180*120)
function x=mod(n)
r=real(n)
i=imag(n)
x=sqrt(r^2+i^2)
endfunction
//(b)
gs=Gs*(1-mod(S11)^2)
Rs=(1-mod(S11)^2)*sqrt(1-gs)/(1-(1-gs)*mod(S11)^2)
ds=gs*(Ss11)/(1-(1-... |
86acaf43f319ffed9df9d8d1d5dcc42e4ffd8968 | 98187bfe7a07f2d387b0cc75137b39b9eb012d00 | /main.sce | 133261ffd6c38df321c4c913baf4db00200a321f | [] | no_license | Minial/Squelette | a50b9ec88f135d1392bf336478a7854973c25009 | 6356c7e1f52d45ff153335565b7049ff2f297b7b | refs/heads/master | 2020-04-19T11:41:10.640079 | 2019-02-03T16:40:38 | 2019-02-03T16:40:38 | 168,173,672 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,875 | sce | main.sce | clear all;
xdel(winsid());
//Images utiles
imgRectangle = [
0,0,0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0,0,0;
0,0,1,1,1,1,1,1,0,0;
0,0,1,1,1,1,1,1,0,0;
0,0,1,1,1,1,1,1,0,0;
0,0,1,1,1,1,1,1,0,0;
0,0,1,1,1,1,1,1,0,0;
0,0,1,1,1,1,1,1,0,0;
0,0,1,1,1,1,1,1,0,0;
0,0,1,1,1,1,1,1,0,0;
0,0,1,1,1,1,1,1,0,0;
0,0,1,1,1,1,1,1,0,0;
0,0,1,... |
33a793aa7d54b18d46b19ce83783829631a5b1b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH5/EX5.6/Chapter5_Exampl6.sce | c263c45c892b597244a2fead9ec7a3e1d26a387d | [] | 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 | 748 | sce | Chapter5_Exampl6.sce | clc
clear
//INPUT DATA
vs=0.015;//swept volume in m^3
vc=0.0008;//clearence volume in m^3
p3=500;//discharging pressure
p1=100;//air pressure in kPa
m=1.4;//isentropic expansion constant
n=1.3;//polytropic index constant
//CALCULATIONS
v1=vs+vc;//volume in m^3
v4=vc*((p3/p1)^(1/m));//volume in m^3
wn=((... |
adcb329d78d023ac6af1728e11e749c4cd57fcfc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH11/EX11.4/ex11_4.sce | c227765aaf59fe9e0446c703739055923c3f2d8f | [] | 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 | 514 | sce | ex11_4.sce | clc;
clear all;
n0 = 1.76; // Refractive index of the ruby rod
v0 = 4.3e14; // Frequency in Hz
deltav0 = 1.5e11; // The doppler broadening in Hz
tsp = 4.3e-3; // Lifetime of the spontanous emission in seconds
tphoton = 6e-9; // Lifetime of photon in seconds
c = 3e8; // Velocity of air
d = ((4*%pi^2*v0^2*n0^3*t... |
e7f4a05a5bda74ae465e8a9fa9c8cd2800fde10f | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH10/EX10.15/example10_15.sce | ef119f76d4050a0f514900d182d94c1712d82880 | [] | 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 | 594 | sce | example10_15.sce | //Chapter 10
//Example 10_15
//Page 254
clear;clc;
ll=200;
r=0.16;
xl=0.25;
y=1.5*1e-6;
pd=20*1e6;
pfr=0.8;
v_r=110*1e3;
tr=r*ll;
ty=y*ll;
txl=xl*ll;
z=tr+%i*txl;
vr=v_r/sqrt(3);
ir=pd/sqrt(3)/v_r/pfr;
vs=vr*cosh(ty*z)+ir*sqrt(z/ty)*sinh(z*ty);
is=vr*sqrt(ty/z)*sinh(ty*z)+ir*cosh(ty*z);
printf("Recieving end volt... |
ccc8b08458713fcf10d615ba7e0255a0ce08d6c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH10/EX10.9/109.sce | 30364a0062e2b21aa5dc3ee17d3cdf95836d8c82 | [] | 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 | 216 | sce | 109.sce | // problem 10.9
Q=0.05
p=392.4*1000
n=0.65
s=0.8
w1=9810
Hw=p/w1
Hoil=p/(w1*s)
Pw=(w1*Q*Hw)/(n*1000)
Poil=(w1*s*Q*Hoil)/(n*1000)
disp(Pw,Poil,"power in Kw to drive the pump with water and oil of s,p=0.8")
|
4380026c2430a6109c2e0ec95bd17d1c359d27d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH13/EX13.9/Ex13_9.sce | 6336127fd9c7fd0e371a5503e197a2118c3f793d | [] | 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 | 323 | sce | Ex13_9.sce | //Example 13.9
P=7*10^5;//Pressure (Pa)
V=2*10^-3;//Volume (m^3)
T=18;//Temperature (C)
T=T+273;//Temperature (K)
R=8.31;//Ideal gas constant (J/(mol.K))
n=(P*V)/(R*T);//Moles (mol)
printf('Number of moles = %0.3f mol',n)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/lates... |
c819b4a7ac35cfcb5a28f6b9fa09af8583257f68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH14/EX14.11/Example14_11.sce | 0e6825525304fc61a97d686730dc52c301db3029 | [] | 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 | 2,516 | sce | Example14_11.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 14: TRANSFORMERS
// Example 14-11
clear; clc; close; // Clear the work space and console.
// Given data
kVA = 500 ; // kVA rating of the step-down transformer
V_1 = 2300 ; // Primary voltage in v... |
51ddc4ce3d55e8dea593ad52f31d25ec14fb1390 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Fluid_Mechanics_For_Chemical_Engineers_N._D._Nevers_896.zip/Fluid_Mechanics_For_Chemical_Engineers_N._D._Nevers_896/CH7/EX7.5/5.sce | c8ccccce70f962b31034f8217fa8147a166cca24 | [] | 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 | 401 | sce | 5.sce | errcatch(-1,"stop");mode(2);
//Example 7.5
//Calculate the force exerted on the flange when the valve of the nozzle is d
//Let the gauge pressure be denoted by Pg
Pg=100//lbf/in^2
A=10//in^2
//F_bolts = -F_liq-F_atm
//F_bolts = -(Pg + P_atm)A - (-P_atm.A)
//F_bolts = -Pg.A
F_bolts=-Pg*A
printf("The force exer... |
3acbd82bc4d0a1327ade5c79611924fd20d9ec94 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects - Kopie/CONT/YK26RGQ/ATWM1_Working_Memory_MEG_YK26RGQ_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | 846950415d2d14e95066c51219286eede91f89ae | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,600 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
5fdd9a7ea680cb825d742b68d906d2797a683662 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2863/CH7/EX7.18/ex7_18.sce | 240ff84bb223f4574523bbf636e110a50c2582fa | [] | 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 | 119 | sce | ex7_18.sce | //chapter 7
printf("\n");
ht=100;
hr=50;
d=1.4142*(sqrt(ht)+sqrt(hr));
printf("the maximum range is %gmiles",d);
|
34af7ff680cf3bed38a7b2423077d124afbafc58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH13/EX13.13/example13_13.sce | 9067270a43ca020907fb12eb82d8717a47d2bc05 | [] | 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 | 263 | sce | example13_13.sce | //Chapter 13
//Example 13_13
//Page 324
clear;clc;
l=6;
va=600;
vb=590;
i=300;
r=0.04;
x=3.425;
ia=341.7-50*x;
ib=i-ia;
printf("(i) x = %.3f km \n", x);
printf("(ii) Current suplied by A = %.2f A \n", ia);
printf(" Current suplied by B = %.2f A \n", ib);
|
db8cfb871ead425ac0d0255b8d954460810637ea | 48079f3bb0017d96574f5a0b2b6b2366e4384274 | /Scilab/main.sce | c306c7ac6260929b3bb4054c194acd2124f27304 | [] | no_license | tan0407/Epilepsy-Seizure-detection | e7b7f9fba4362b7c731e54da2482b37144cf7209 | c924d5d41ddbc810cef1c609ad6d52a3bc781a51 | refs/heads/master | 2020-05-06T13:41:29.620077 | 2019-05-15T23:45:06 | 2019-05-15T23:45:06 | 180,150,967 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | sce | main.sce | threshold = 150;
pingGyroQuanti = quantization(PingGyro,threshold);
//figure("Figure_name", "Ping pong Gyroscope X-Axis");plot(pingGyroQuanti(:,1));
//figure("Figure_name", "Ping pong Gyroscope Y-Axis");plot(pingGyroQuanti(:,2));
//figure("Figure_name", "Ping pong Gyroscope Z-Axis");plot(pingGyroQuanti(:,3));
peaks =... |
5faffe1c6db3d99b3ff0b839d6561310d1355b3b | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/graph.tst | ad6fd7854ba1c7f1c20585726d31c203b6ccd909 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 53 | tst | graph.tst | ## Rest graph-generation code
read <roundup.fi
graph
|
4c1b5909a4ccfe02f7638385e7554b853af38a3c | 51a62cf6043094e32b4c75da5fe20ac31f53d711 | /Computação Gráfica/GeometricTransformation-Scaling.sce | b2b88bb885f182afd2983dac2a191e4d4bd4f9a5 | [
"MIT"
] | permissive | AnneLivia/CollegeProjects | 9e32c4da216caaa973ebd4e4fe472f57557a3436 | 96d33d0ed79b5efa8da4a1401acba60b0895e461 | refs/heads/master | 2022-12-23T10:13:03.503797 | 2022-12-12T16:35:29 | 2022-12-12T16:35:29 | 128,656,614 | 2 | 0 | MIT | 2022-12-12T16:36:09 | 2018-04-08T15:44:18 | PHP | UTF-8 | Scilab | false | false | 544 | sce | GeometricTransformation-Scaling.sce | Q = [0, 0; 0, 2; 2, 2; 2, 0; 0, 0];
plot(Q(:, 1), Q(:, 2));
// para visualizar melhor o quadrado
plot(-2, -2);
plot(4, 4);
/*
To change the size of an object, scaling transformation is used. In the scaling process, you either expand or compress the dimensions of the object. Scaling can be achieved by multiplyin... |
156a81cd47b8c65e6896951c95dbdddb69506bd5 | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/ok_declareSort.tst | 392c6b37d9ceb40c76314f6082118aad883bed7c | [] | no_license | IETS3/jSMTLIB | aeaa7ad19be88117c7454d807a944e8581184a66 | c724ac63056101bfeeb39cc3f366c8719aa23f7b | refs/heads/master | 2020-12-24T12:41:17.664907 | 2019-01-04T10:47:43 | 2019-01-04T10:47:43 | 76,446,229 | 1 | 0 | null | 2016-12-14T09:46:41 | 2016-12-14T09:46:41 | null | UTF-8 | Scilab | false | false | 77 | tst | ok_declareSort.tst | ; valid declare-sort
(set-logic QF_UF)
(declare-sort A 0)
(declare-sort B 2)
|
edd23c89b5b653797ddb4449b08ed384eb6efa16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH4/EX4.5.3/Ch04Exa4_5_3.sci | 93ed6ce8e3d242bffb740178505d4274033f4c59 | [] | 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 | 652 | sci | Ch04Exa4_5_3.sci | // Scilab code Exa4.5.3: To calculate Q-value and threshold energy for the given reaction : Page 183 (2011)
// Pb_208(Fe_56, Fe_54)Pb_210
M_Pb_208 = 207.976641; // Mass of Pb-208, amu
M_Fe_56 = 55.934939; // Mass of Fe-56, amu
M_Pb_210 = 209.984178; // Mass of Pb-210, amu
M_Fe_54 = 53.939612; // Mass of Fe-54, amu... |
8d09be01b49a89c58e0b18077a050e659499a1cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH11/EX5.11.2/Ex5_11_2.sce | 3ba37669a101b567e3ef0a9ef225583d274974a5 | [] | 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 | 469 | sce | Ex5_11_2.sce | //Section-5,Example-2,Page no.-D.124
//To calculate the number of molecules of HCl produced per joule of radiant energy absorbed
clc;
h=6.626*10^-34
c=3*10^8
lm=480*10^-9
E=(h*c)/lm
N_A=6.023*10^23
E_2=E*N_A //Energy per mole
q_eff=1.0*10^6 //Quantum efficiency
n_HCl=2*q_eff ... |
4ecf5993a2bf3245ddc1ed44489b6baaed9ed0fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH3/EX3.22/3_22.sce | 037e683d815dc1c23534fde6a5b29c0b361b14c8 | [] | 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 | 374 | sce | 3_22.sce | clc,clear
printf('Example 3.22\n\n')
I_avg=10
V_avg=(220+190)/2 //average voltage across load
W_dash = V_avg*I_avg //power absorbed
t_1=30,t_2=20
W=W_dash * (t_2/(t_1-t_2)) //stray losses
printf('Stray losses of motor is %.1f kW\n\n\n',W/1000)
printf('Answers mismatch because V_average is 205 volts but it i... |
cba01b76e3ca90da979d96e8fbf57f7128f8ad32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH4/EX4.1.A/additional_ex_1.sce | 5633d340a1809ab2a044739e6107513bb6a53703 | [] | 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 | 216 | sce | additional_ex_1.sce |
clc;
clear;
Freq_dev=6; //Frequency Deviation in kHz
Vm=3; //Modulating Voltage in V
Dev=Freq_dev*10^(3)/Vm;
// for Vm=6V
Vm=6;
Freq_dev_new=Dev*Vm;
disp(Freq_dev_new,"the new deviation( in Hz)");
|
2f8a51a1c10f640144e5a92cc747caf9ef0f2708 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH1/EX1.7/Example1_7.sce | 9686edab9d1f492c8cb09896e17878f2421467ee | [] | 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 | 796 | sce | Example1_7.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 1: Electromechanical Fundamentals
// Example 1-7
clear; clc; close; // Clear the work space and console.
// Given data
N = 1; // no. of turns
phi = 6.48 * 10 ^ 8; // Magnetic flux in lines
s = 3... |
d56f0a65d52797d8a0ecf4aab9ff934dc11c469c | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH14/EX14.8/Example_14_8.sce | b162663c53fb757165b6bc51c44e014c5db48db4 | [] | 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 | 238 | sce | Example_14_8.sce | //Chemical Engineering Thermodynamics
//Chapter 14
//Thermodynamics of Chemical Reactions
//Example 14.8
clear;
clc;
//Given
//The given example is a theoretical problem and it does not involve any numerical computation.
//end |
9acc6efddb902a8f151cadeeab0b29ded60e7527 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH7/EX7.5/EX_7_5.sce | 15e636ed78ab487f400512b8a0ffb4292b2cd270 | [] | 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 | 400 | sce | EX_7_5.sce | // Example 7.5:oscillation frequency
clc;
clear;
close;
C1=500;//capacitance of tunned circuit in PICO farad
C2=500;//capacitance of tunned circuit in pico farad
C=(C1*C2)/(C1+C2);//total capacitance in micro farad
L=1;//INDUCTANCE of tunned circuit in milli henry
fo=(1/(2*%pi*sqrt(L*10^-3*C*10^-12)))*10^-3;//... |
b3c1055dd5e9afb8c5d35fc88c40d88b6af6c0da | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /Replanning/SCENARIO/Pr2BigEmpty.sce | f5704eaf1494865ce5cb53de5b208ee7be965f50 | [] | no_license | jmainpri/move3d-assets | a5b621daaedaaf8784fed0da1e80d029c83f3983 | 939db49d17a14e052bb58324b70e6112803d3105 | refs/heads/master | 2021-01-16T17:48:56.669119 | 2016-02-16T14:04:09 | 2016-02-16T14:04:09 | 20,237,987 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,657 | sce | Pr2BigEmpty.sce | #************************************************************
# Scenario of Ikea
#
# date : Wed Jan 4 16:10:05 2012
#************************************************************
p3d_sel_desc_name P3D_ENV Ikea
p3d_sel_desc_name P3D_ROBOT HERAKLES_HUMAN1
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0... |
1a3b6999be19d0c9c04e8175425685f87f2c8945 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH7/EX7.5/Ex7_5.sce | 9bb3aa9177a4d7e939dfb0e35db79136dd6028fc | [] | 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 | 279 | sce | Ex7_5.sce | clc
//to calculate kinetic energy of an electron
h=6.63*10^-34 //plank's constant
mo=9.1*10^-31 //rest mass of an electron in kg
lambda=5896*10^-10 //wavelength in angstrom
K=(h^2)/(2*mo*(lambda^2)*1.6*10^-19)
disp("kinetic energy of an electron is K="+string(K)+"eV")
|
eb0d6501559ae2cc4e877136a8a10bd30f8fd764 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/examples/addinter-examples/ex12f.sce | 6523001b6082724116c808d176542ff54863ffcb | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 123 | sce | ex12f.sce | deff('p=mypoly(x)','p=poly(x,''z'',''coeffs'')')
c=[1,2,3];
P1=ex12f(2,c);
if P1<>poly(c*2,'z','coeffs') then pause,end
|
fd3837c26e6d5352ce45c9edc62584c1de768892 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH1/EX1.19/Ex1_19.sce | be39b0c7537d40f0e6b5433c78870cc48d45afcb | [] | 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 | 358 | sce | Ex1_19.sce | //Chapter 1: Structure and Bonding
//Problem: 19
clc;
B_O1 = (10 - 6) / 2 // Bond Order for O2
B_O2 = (10 - 7) / 2 // Bond Order for O2-
r=B_O1 > B_O2
if r==%t then disp("Bond length of O2- > O2 as Bond order of O2 > Bond order of O2-")
end
mprintf(" Both are paramagnetic, becaus... |
6f9526832c389a07d7efb1c3aa284457c0fd10ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH16/EX16.3/ex_16_3.sce | d92e2493bded5eda45eac01a8f192da9e0faab84 | [] | 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 | 525 | sce | ex_16_3.sce | //cal dia of piston
clc
//soltuion
//given
D=1500//mm
p=0.2//N/mm^2
E=200*1000//N/mm^2
l=3000//mm
W=(%pi/4)*D^2*p//N
Fs=8
Wcr=W*Fs//N
L=l/2;
d=(Wcr/0.043)^(1/4)//mm;
//let d be dia and I be moment of inertia
I=(%pi/64)*d^4
//acc to euler's formula
//Wcr=%pi^2*E*I/L^2//N
//Wcr=0.043*d^4
//acc to rankine's formula
//Wcr... |
a086d4ee78ca58cfec32937be958d38b9c1137ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH2/EX2.33/Chapter2_Example33.sce | 767a04ad17207ee430600ec7c9c558bbf0d760d0 | [] | 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 | 861 | sce | Chapter2_Example33.sce | //Chapter-2, Example 2.33, Page 2.64
//=============================================================================
clc
clear
//INPUT DATA
L=400;//Constant or Iron losses in W
C=700;//Full load copper loss in W
Q=40000;//Rating of transformer in VA
cosq=0.85;//Load power factor
//CALCULATIONS
P=(Q*cosq);... |
75c2abe6e95f55cc890874d9dce0c4f1245f8651 | a77a50f3f25853ec6a7b5b8548a13b7a4b4b3980 | /rsc/sceneries/scenario-01.sce | 3e2d92bb396e6adb5f3cfdbd5283b02fd214bd61 | [] | no_license | nidoro/PointlessWars | f051b41cb71df783141e5953d2c03d9cf305150a | 2e8a9c073026ebb07454922cc3caec41d8c68f29 | refs/heads/master | 2021-03-27T13:12:04.182891 | 2016-11-08T15:23:16 | 2016-11-08T15:23:16 | 71,281,107 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 36 | sce | scenario-01.sce | %Background
background-woods-01.png
|
78fcb7b9f92066ff45ceeb515735f5e9e7f86ae9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1100/CH14/EX14.5/14_5.sce | d17d47382119443523a6e98d373be3c12aa6016c | [] | 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 | 217 | sce | 14_5.sce | clc
//initialisation of variables
HV=4344 //Btu/lb
m=56 //lb
R=1.986 //Btu/lb mol R
Tb=530 //R
//Calculations
HR=m*HV
Eb=-HR-R*Tb*(2-3)
printf ('Constant pressure heating value = %.1f Btu/lb formula wt',Eb)
|
b5c3ac43b0e97f29c2017bfc9a10800566d4892c | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH8/EX8.4.b/8_4_soln.sce | 8b11426e10f45ef10fabcd01ccb7f3a8d0c2db5a | [] | 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 | 319 | sce | 8_4_soln.sce | clc;
pathname=get_absolute_file_path('8_4_soln.sce')
filename=pathname+filesep()+'8_4_data.sci'
exec(filename)
// Solution:
// flow-rate through orifice,
Q=38.1*C*((%pi*(D^2))/4)*sqrt(del_p/SG_oil); //gpm
// Results:
printf("\n Results: ")
printf("\n The flow-rate through orifice is %.0f gpm.",Q)
|
042f2176035d9b9acd5a2e562a3a7b74b42f1ada | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH27/EX27.10/example27_10.sce | cc2bed687b22c6169d5e90c3eac00fbff774b26a | [] | 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 | 441 | sce | example27_10.sce | l=100*10^(-6);
c=50*10^(-12);
r=100*10^3;
v=50*10^(-3);
disp("Part a");
f=1/(2*%pi*sqrt(l*c));
disp("the resonant frequency (in MHz) is"); disp(f*10^6);
disp("Part b");
ir=v/r;
x_l=2*%pi*f*l;
x_c=1/(2*%pi*f*c);
il=v/x_l;
ic=v/x_c;
disp("current through the resistor (in μA) is"); disp(ir*10^6);
disp("curre... |
618cf5e5032a135422f3483c97dc76e0971a9c09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH11/EX11.10/11_10.sce | f5839b99c321f97304b7f81ec4b70beedb6119a9 | [] | 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 | 965 | sce | 11_10.sce | //To find greatest power transmitted
clc
//Given:
theta=120*%pi/180 //radians
b=100/1000, t=6/1000 //m
rho=1000 //kg/m^3
mu=0.3
sigma=2*10^6 //N/m^2
//Solution:
//Speed of the belt for greatest power:
//Calculating the maximum tension in the belt
T=sigma*b*t //N
//Calculating the mass of the belt per metre ... |
e32ef844b28396673e9d5938c96d70c87bfbde98 | a159f59d19e2b03b234e9c2977ba4a932180e648 | /Software/GreenScilabV0.9/macros/gl_env.sci | 323f404f61ffa5b2f0621ae350a15e19ea9b0524 | [] | no_license | OpenAgricultureFoundation/openag_sim | e052bbcc31b1d7f9b84add066327b479785f8723 | 425e678b55e24b5848d17181d25770175b8c2c3f | refs/heads/master | 2021-07-01T06:25:08.753260 | 2017-09-20T21:44:18 | 2017-09-20T21:44:18 | 80,540,145 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,074 | sci | gl_env.sci | function [water_sequence, theta_sequence, light_sequence, GC_index] = gl_env(Flag_environment, Flag_sumt, Omega, aux_paras,THETA_BASE, KSUMT, N,envLoc);
// Control of irrigation, betalaw parameters a,b, initial irrigation date datH2O, irrigation frequence freq
water_sequence = [];
theta_sequence = [];
ligh... |
82a07e699223b342c99baea89a38158b76822e23 | f8bb2d5287f73944d0ae4a8ddb85a18b420ce288 | /Scilab/example/(sI−A)の行列式を求める.sce | 809c530f4f326a9311f027b300f95244a399c188 | [] | no_license | nishizumi-lab/sample | 1a2eb3baf0139e9db99b0c515ac618eb2ed65ad2 | fcdf07eb6d5c9ad9c6f5ea539046c334afffe8d2 | refs/heads/master | 2023-08-22T15:52:04.998574 | 2023-08-20T04:09:08 | 2023-08-20T04:09:08 | 248,222,555 | 8 | 20 | null | 2023-02-02T09:03:50 | 2020-03-18T12:14:34 | C | SHIFT_JIS | Scilab | false | false | 115 | sce | (sI−A)の行列式を求める.sce | //(sI−A)の行列式を求める
A=[1 0;0 2]; b=[1;1]; c=[1 1];
s=%s;
sA=s*eye(2,2)-A;
detsA=det(sA)
|
84aa3e659ba15874e0c8e99c006eb2d1456acede | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH2/EX2.10/Ex2_10.sce | 440990645fe3e00fcd217e8a61e003a0d353cae9 | [] | 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,089 | sce | Ex2_10.sce | //Calculations on Otto cycle
clc,clear
//Given:
CV=42000 //Calorific value of the fuel in kJ/kg
a=30/100,b=70/100 //Fraction of compression stroke at point a, b
P_a=1.33,P_b=2.66 //Pressure at point a, b
n=1.33 //Polytropic index
eta_cycle=50/100 //Air standard cycle efficiency
//Solution:
//Refer fig 2.25
//... |
f7ff5751883db9167688407767126b6725ed3304 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH8/EX8.14/14.sce | 4bc025e764db4593b248f80e335943a195f602dc | [] | 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 | 328 | sce | 14.sce | clc
clear
//input
v=3 //voltage
c1=2.5*10^-6 //capacitance
c2=2.5*10^-6
c3=2.5*10^-6
//calculation
q=v/((1/c1)+(1/c2)+(1/c3))//capacitors in series
q1=c1*v//capacitors in parallel
//output
printf("the pd when capacitors are in series is %3.3e C",q)
printf("\n the pd when capacitors are in parallel is %3.3e ... |
fbfd9061406ac8c360777872ad8ed2ab244aac3a | c04fb432166e4832950820b66362a26c125b608a | /trip-tests/trip3.tst | 6d57de5f42a64ca3d78934eaca18daf662069c73 | [] | no_license | andreaowu/Graphs | 6d7d7ce1483e01e0c1bf4657f2f4087cbe328046 | 485dae6c2d173c2844898440fad9306ec77e1962 | refs/heads/master | 2021-01-25T04:58:12.978046 | 2013-12-04T01:09:45 | 2013-12-04T01:09:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 63 | tst | trip3.tst | java trip.Main -m trip-tests/trip3.txt trip-tests/trip3.request |
cd4398574c50a774210ab0d02807e3c39980d571 | 4e07b7d255a6058db5ae034b16795137801f32b2 | /internal/test/LANGUAGE/from-sun/language/12/12-2-EVENP.TST | e58ed68ed1304c8566b658a66f32baf8419bf567 | [
"LicenseRef-scancode-free-unknown",
"MIT"
] | permissive | Interlisp/medley | f8745a40295a7ccf89cd129b0f4714548b9da0df | 179325c52847c4502fcefbc9e171e191155b0a07 | refs/heads/master | 2021-04-28T05:45:59.069867 | 2021-04-25T00:20:30 | 2021-04-25T00:20:30 | 281,519,964 | 268 | 21 | MIT | 2023-09-04T17:39:53 | 2020-07-21T22:44:47 | Common Lisp | UTF-8 | Scilab | false | false | 394 | tst | 12-2-EVENP.TST | ;; Source: Steel's Book, Chapter 12, Section 2, page 196
;; Created by: John Park ;; Creation Date: May 1, 86
;; Predicate: The evenp predicate is true if integer is even and is false otherwise.
;; Syntax Format: (evenp integer)
;; Input: integer
;; Output: T or NIL
(do-test evenp-test
(and (evenp 2)
(evenp ... |
299a067db3163384f77afb9ba67b92ac37cb5f3a | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/strips/strips5.sce | 91e99c1145576868f7f2fb43c56e22003988b222 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 70 | sce | strips5.sce | x=[1 2 2+3*%i 4 5 6 7 89 9];
strips(x);
//plot matches that of matlab
|
d194efeea0a322300cc28ca0fdfa1f1ed6900cc3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH13/EX13.3/13_3.sce | 73ddee0444c6627576a68ece56c65aaf239dcd3e | [] | 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,402 | sce | 13_3.sce | //To find the number of teeth
clc
//Given:
rAD=12 //Speed ratio, NA/ND
mA=3.125, mB=mA, mC=2.5, mD=mC, x=200 //mm
//Solution:
//Calculating the speed ratio between the gears A and B, and C and D
rAB=sqrt(rAD) //Speed ratio between the gears A and B
rCD=sqrt(rAB) //Speed ratio between the gears C and D
//Calcul... |
68240894c180934e91763e2d42273ddd43363085 | 449d555969bfd7befe906877abab098c6e63a0e8 | /668/CH4/EX4.2/eg4_2.sce | 56d8d316acd67f2cdd9cf7ead7edebc9685c31bd | [] | 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 | 455 | sce | eg4_2.sce | kT = 26*10^-3; //in eV
t = 10^-6;
q = 1.6*10^-19;
A = 10^-3; //in square cm
ni = 1.5*10^10;
eE = 3.2*10^4;
Igr0 = q*ni*A*%pi*kT/(2*t*eE);
disp(Igr0,"prefactor of the generation-recombination current (in Ampere) =")
V1 = 0.2;
Igr1 = Igr0*(exp(0.5*V1/kT)-1);
disp(Igr1,"generation-recombination current (in A) at... |
5014dd8c676b6289ffd7f56adc4f4541b3d53e0e | 24aaec05d0fad53c81c3207a6dddbc3f30f0f0af | /new.tst | 282d0c7c12ad903385cfb587c9742d26d60ef36e | [] | no_license | nippydevops/2pm | be72dfac7d539d0bba807178772a6bf5b1adcdd8 | 1ad830d2a4d0e38e71f6fc2cbd0ea4ee125eec46 | refs/heads/master | 2021-12-15T12:01:24.388411 | 2021-12-12T08:15:47 | 2021-12-12T08:15:47 | 164,199,764 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 32 | tst | new.tst | welcon
fssfsfsff
sfs
f
sf
sf
sf
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.