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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5c1103b8a9b6e3386eb068356e21032f5053abb8 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/m2sci/isname.sci | 014a8d16b8b39bcdebf41930f17f46e914b42afb | [
"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 | 112 | sci | isname.sci | function r=isname(str)
//answers true if str represents a variable name
// Copyright INRIA
r=or(str==vnms(:,2))
|
9e9fd97606209677c2a2a0d00f9ee30c0688e76a | 449d555969bfd7befe906877abab098c6e63a0e8 | /462/CH10/EX10.5/ex_10_5.sce | da44a4969b561a291fd44b617d461da43afede67 | [] | 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 | 520 | sce | ex_10_5.sce | //example 10.5//
clc
//clears the window//
clear
//clears already existing variables//
disp('the digital value 000 should be assigned to the analog voltage interval 0V +-S/2, Since in 2''s compliment representation, there is one more negative number than the number of positive numbers, the analog voltage from -V t... |
5653d47a7d8db2e8c956a1e43f4f288e4d64defe | 449d555969bfd7befe906877abab098c6e63a0e8 | /876/CH5/EX5.3/Ex5_3.sce | 481ea30ef493db0e94b69cecb419a90966dc6058 | [] | 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 | 236 | sce | Ex5_3.sce | //caption:Find equivalant voltage source of the ac current source
//Ex5.3
clc
clear
close
Is=1//current value(in A)
Zs=100//source impedance(in ohm)
Veq=Is*Zs
disp(Veq,'equivalant voltage source of the ac current source(in V)=') |
209ac8eac0400ed771cdd48807e733ec8564bafc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH7/EX7.3/EX7_3.sce | 42242e5e4abb7cdf0cbdd247a370fbe279ca8fb3 | [] | 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,246 | sce | EX7_3.sce | clc;funcprot(0)//EXAMPLE 7.3
//Initializing the variables
n=4;..............//No of cylinders
d=5;.............//diameter of orifice in cm
dsi=d/100;..........// diameter in m
Cd=0.6;.............//Co-efficient of discharge
D=10;..............//Engine bore in cm
Dsi=d/100;............//Engine bore in m
L=12;.... |
c925e33924a6aef7b9237b526e481a9798b19757 | 717ddeb7e700373742c617a95e25a2376565112c | /1340/CH7/EX7.9/7_9.sce | ed24c9521a8f4d2bc93e60c6054814c8bbce044d | [] | 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 | 299 | sce | 7_9.sce | clc;
s = %s;
G = syslin('c',100/(s*(s+10)));
H = syslin('c',1/(s+5));
syms t s;
R = laplace(1,t,s);
E = R/(1+G*H);
sse = limit(s*E,s,0);disp(sse,"steady state error for step input:");
R1 = laplace(t,t,s);
E = R1/(1+G*H);
sse = limit(s*E,s,0);disp(sse,"steady state error for ramp input:"); |
8a84622992391ac6a6cf013ae4c6174c9b19f651 | 3c9ed378363a111d20ce027e85cbc5ac9629bbb9 | /interpolacion_lagrange.sce | ffc3da511b9969563d732fed22255484648a7ad3 | [] | no_license | JeG99/scilab-code | 2b9eade6e57730a6274fb7ffc3f723bfd26d6153 | eae76b665688e04a5de2af8b56d0357ab0de340b | refs/heads/master | 2022-10-09T06:33:39.463575 | 2020-06-06T03:52:43 | 2020-06-06T03:52:43 | 269,859,512 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,046 | sce | interpolacion_lagrange.sce | clear
///////////////////////////////////////////////////////
// interpolacion_lagrange.sce
//
// Este programa aproxima la evaluación de ln x por
// medio de la interpolación con el método de Lagrange
// dada una x y una lista de pares coordenados.
//
// José Elías Garza Vázquez
// Andrés Alam Sánchez Torres
... |
8f63ea80c18f5de5bc6a5727b4427fcd220c82ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.60/EX2_60.sce | 649bbe1b652b1354908e495b1264ec3d8c03b27b | [] | 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 | 918 | sce | EX2_60.sce | //EXAMPLE 2-60 PG NO-103-104
Z1=6+%i*8;
V=230; // VOLTAGE
Y1=1/Z1;
disp('i) ADMITTANCE (Y1) is = '+string (Y1) +' siemens ');
G1=0.06;
B1=-0.08;
Z2=4-%i*3;
Y2=1/Z2;
disp('ii) ADMITTANCE (Y2) is = '+string (Y2) +' siemens ');
G2=0.16;
B2=0.12;
TL=G1+G2; ... |
5e52d972975bb6501aefce459c32e596ea643e49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /704/CH2/EX2.17/ex2_17.sce | 04c0c4c0fad4a39a50cf75435a2012fda30abc46 | [] | 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 | 406 | sce | ex2_17.sce | //Caption:calculate the gross torque in dc machine
//Exam:2.17
clc;
clear;
close;
P=4;//number of poles
Z=1600;//number of armature conductor
F=0.027;//flux per pole(in Wb)
A=2;//number of parallel paths (wave wound)
I=75;//current in machine(in Amp)
N=1000;//speed of the motor(in rpm)
T=0.1591*P*F*Z*I/A;//... |
fe9dfd4318fae486101dad7ff3bbf85776ab5c0d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH4/EX4.4/FSNT_Ex_4_4.sce | 44fef7c0dee73fb5c9982e5d24ffc107bd15b991 | [] | 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 | 447 | sce | FSNT_Ex_4_4.sce | clc
//Chapter 4:Frequency selective networks and transformers
//example 4.4 page no 121
//given
L1=25*10^-6//primary inductance
L2=400*10^-6//secondary inductane
n=(sqrt(L1/L2))//equivalent turns ratio
CT=(8+(2/n^2))*1e-12//total primary capacitance
RL=25*10^3//load resistance reflected to the primary
wo=(sqrt... |
9e7a02b2842da0158e665b7a8452434f00c9cc09 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ac_hrz_ind/~BivLCM-SR-bfas_ac_hrz_ind-PLin-VLin.tst | 9219deec752001091d6581207f6c2240fcf57748 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_ac_hrz_ind-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.264496D+00
... |
ab9e57b1074f5ab0c3e50253f0884dea5c126ee3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3392/CH11/EX11.3/Ex11_3.sce | 1ff9b4d824c571e0349e063c49d350cc92eb6300 | [] | 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,761 | sce | Ex11_3.sce | clc
// initialization of variables
clear
E=200 //GPa
a=10 //mm
v=0.29
ci=25.072 //mm
co=25 //mm
b=50 //mm
rr=0.072 //mm
re=0.025 //mm
alpha=0.0000117 // per celcius
//calculations
E=E*10^3
p1=300 //MPa
term1=co/(E*(b^2-co^2))*((1-v)*co^2+(1+v)*b^2)
term2=-ci/(E*(ci^2-a^2))*((-(1-v)*ci^2)-(1+v)*a^2)
ps=... |
9c3acff71bd5acad641fdefd67217b22135015d1 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set8/s_Elementary_Principles_Of_Chemical_Processes_R._M._Felder_And_R._W._Rousseau_575.zip/Elementary_Principles_Of_Chemical_Processes_R._M._Felder_And_R._W._Rousseau_575/CH5/EX5.2.3/5_2_3.sce | e317e1295bfc41e9c09ae3531312ef24061c1fe2 | [] | 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 | 203 | sce | 5_2_3.sce | errcatch(-1,"stop");mode(2);
pathname=get_absolute_file_path('5_2_3.sce')
filename=pathname+filesep()+'523.sci'
exec(filename)
V2=V1*P1*T2/(P2*T1)
printf("Volume in final state=%f ft^3",V2)
exit();
|
e03d96125951637508224574c553e857f13953e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH12/EX12.4d/eg12_4d.sce | 334bdc66e0153f259dd2e74f7b075a0c5e463463 | [] | 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 | 31 | sce | eg12_4d.sce | ans = pval(9,13,72);
disp(ans) |
63b63b4f3a311a038d5c24341a16161dd3be8392 | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 1/Quarta.sce | f267fe980e2fa913a158c80c1cc0bbbaff186d1b | [] | no_license | AugustoCam95/Computational-Linear-Algebra | eb14307dd3b45ccc79617efe74d1faca639c36c5 | 99b1a1f9499fbc4343bd5c878444e9e281952774 | refs/heads/master | 2020-03-30T22:26:23.790763 | 2018-10-05T03:34:06 | 2018-10-05T03:34:06 | 151,666,289 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sce | Quarta.sce | // José Augusto Câmara Filho - Matemática Industrial
function y=Quarta(n)
//Esse laço insere os elementos elevados ao próprio elemento correspondente na mattriz unidimensional
for i=1:n
B(i)=(i)^i;
end
//A função "sum" faz uma soma acumulativa de todos elementos da primeira linha da matr... |
95b1e69147cd81baf6b02c43211943be8f47d8ca | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1/macros/percent/%pas.sci | 3de794b77b0eb38c0137d683d00b8bce46ad8faa | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | 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 | 185 | sci | %pas.sci | function [z]=%pas(x,y)
//z = polynomial matrix + constant matrix = x + y
// one of which is 1 by 1
[m,n]=size(x);
if m*n==1 then
z=x*ones(y)+y
else
z=x+y*ones(x)
end
|
9c01f33a2a9485eac9e2b20df798a15d47ad1d39 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH18/EX18.4/Example18_4.sce | 68aff45fbb8aa955bf6b882d92c15987d3f95911 | [] | 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,585 | sce | Example18_4.sce | clear ;
clc;
// Example 18.4
printf('Example 18.4\n\n');
//Page no.545
// Solution fig.E18.4
F = 1000 ;// Volume of entering moist air at 22 C & 101.0 kPa
mol_V = 22.4 ;// Molar volume of gas at standard condition-[m^3]
T_in = 22+273 ;// Temperature of entering moist air-[K]
P_in = 101.0 ;//Pressure of entering mois... |
26ba0704852a71e1f472895503696e574fef804d | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH3/EX3.2.a/data3_2.sci | cacb63f86a6d6cb25ae620c4ad9e79af93cd0d64 | [] | 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 | 454 | sci | data3_2.sci |
//(Manufacturing Considerations in Design) Example 3.2
//Refer Fig. 3.26 on page 70
//Basic diameter of housing Dh mm
Dh = 20
//Refer tables 3.2 and 3.3b for tolerances of H7-s6 fit
//Upper deviation for housing Uh mm
Uh = 0.021
//Lower deviation for housing Lh mm
Lh = 0.000
//Basic diameter of valve seat(ou... |
01a127031695c83290311a7b83d389b01f76541b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH8/EX8.8/Ex8_8.sce | 26999cb0151f2599a31d6aefabeb82e1af50e4c5 | [] | 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 | 615 | sce | Ex8_8.sce | //===========================================================================
//chapter 8 example 8
clc;clear all;
//variable declaration
L = 1; //Load in kW
S = 10.2; //speed of the disc in rpm
T1 = 12; //time in hours
M = 600; //meter constant in revolutions per kWh
//calculations
... |
4fa12915909b6bb109361b3cf7f19eb431d7f968 | 776c9715b4adba254a4ce6ad7391bae87e8086a2 | /warnerd/dump.tst | 416d77277194fa10ad71ef15c6d24f464054741c | [] | no_license | TYMCOM-X/169279.tape | b0cf2f2cc6a400acb6b0ca2f44ef17f0a4854666 | a80150749ad1dc588b6768dfd53c1a21cfc7d783 | refs/heads/master | 2023-03-23T08:41:21.289217 | 2021-03-19T11:26:42 | 2021-03-19T11:26:42 | 345,965,036 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 520 | tst | dump.tst | FO FCB
LO MAIN
LO BSCPTP
LO IR100
LO R100
LO BSCDEF
PATCH(891219,1730,WARNERD,IXNOBR,,6)
J PA1PTR,,
CONPATCH(PA1PTR,,112)
RBT R8,FORABR,,
JE IXNOBR+6,,
OPCHK XOPCHK(COMP,DUMP,BOOT,BOOT)
BOOT JAL R5,CDEQUE,,... |
22bd7960c1d1e7de6b275da2b3adf38bfee0b75e | e3e53203f6ff94ab1048854f3bfdd65ff70841f4 | /Assignment4/Gram-Schmidt-Orthogonalization.sce | 40a8502ac7e37d5881e3755e44717204b51ee629 | [] | no_license | HMThrupthi/Linear-Algebra_Scilab-Assignment | 8a0f43369416fe311c44fcdd545e1d392a916963 | 4b7ae767f3c38f059d39224488239e1600f933ca | refs/heads/master | 2022-06-29T16:17:56.088443 | 2020-05-11T13:03:55 | 2020-05-11T13:03:55 | 228,646,945 | 1 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 778 | sce | Gram-Schmidt-Orthogonalization.sce |
//Write a Sci-Lab Program to implement the Gram- Schmidt Orthogonalization in R3.
//Enter the independent vectors store in matrix A as columns.
clear;close;clc;
disp('Enter the vectors to be stored in matrix A');
a11=input("Enter a11: ");
a12=input("Enter a12: ");
a13=input("Enter a13: ");
b21=input("Enter ... |
45325bd2ed4d178452ca46e27957ed67d81adb6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH25/EX25.10/ex25_10.sce | 71dc5e641a9e4a64cf6a02b5537d0a13165ef29b | [] | 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 | 181 | sce | ex25_10.sce | clc;
m=200; //mass in g
o=16.00; //atomic mass
moles=m/o; //moles
m=6.25; //moles of S
as=32.06; //atomic mass of s
disp(m*as,"Mass of S = "); //displaying result |
aa229f32e1307b600a51a471680e34f261eb21d3 | f0919c8ea73f22939a890aa4f8327f8200344d2b | /test/get_object_ddl.tst | 6a357bc15caf5ecefad12c7509ff6e50bd9745e3 | [] | no_license | kalex375/OVC | af5e91f90754454b90f339e846c5b9112d38d6c8 | f4b47dfc497299c4944b4ff9b93253c279012454 | refs/heads/master | 2021-05-31T07:55:44.326597 | 2013-12-02T14:15:52 | 2013-12-02T14:15:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,104 | tst | get_object_ddl.tst | PL/SQL Developer Test script 3.0
29
-- Created on 29.08.08 by Kravchneko A.V.
declare
-- Local variables here
i integer;
j integer;
begin
-- Test statements here
i:= dbms_metadata.open(object_type => 'PACKAGE');
dbms_metadata.set_filter(handle => i,
name => 'NAME',
... |
a429faf12272518866742a6fcb49fd99da969c9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /23/CH6/EX6.7/Example_6_7.sce | ebb09b7307aac1ab0bc5fb085216a846cadafe16 | [] | 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,176 | sce | Example_6_7.sce | clear;
clc;
//To find Approx Value
function[A]=approx(V,n)
A=round(V*10^n)/10^n;//V-Value n-To what place
funcprot(0)
endfunction
//Example 6.7
//Caption : Program to Find how much Energy must be Transferred to the Tank
//Given values(from steam tables)
H=293;//[KJ/Kg] at 343.15K
H_liquid=419.1... |
869834937bb55f0ecfbd6b36d15ff0a5385ffcad | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH4/EX4.26/Ex4_26.sce | a5240cc85035016a071d73f28280d04b38aad162 | [] | 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 | sce | Ex4_26.sce | clear
//Given
V=250 //V
C1=6 //micro F
C2=4
Cp=10*10**-6
//Calculation
pd=V*C1/(C1+C2)
q=pd*C2*10**-6
q1=2*q
pd1=q1/Cp
q2=C2*pd1
q3=C1*pd1
//Result
printf("\n New potentila difference is %0.3f V", pd1)
printf("\n Charge on 4 micro F capacitor is %0.3f micro C",q2)
printf("\n Charge on ... |
cb41a00ca320daa2054cc15e4ec633b7df4b9409 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH13/EX13.4/Ex13_4.sce | 0cfe4e332c5b90b8d7460e5d749d987efb558b09 | [] | 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 | 357 | sce | Ex13_4.sce | clc
Do = 250 // diameter in mm
ho = 250 // hieght in mm
delta_h = 100 // mm
h = 150 // mm
sigma0 = 55 // N/mm^2
d = Do*sqrt(ho/(ho-delta_h)) // diameter in mm
mu = 0.42 // coefficient of friction
R = 162.5 // mm
pa = sigma0/2*(h/(mu*R))^2*(%e^(2*mu*R/h)-2*mu*R/h-1) // N/mm^2
p = pa*%pi*(R)^2 // force in kN
... |
87f1967c58163b2e5a32ab3d2f75665119cc70a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3705/CH6/EX6.11/Ex6_11.sce | 16aa50af823e5c060ac5c758d42486f4391908de | [] | 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 | 492 | sce | Ex6_11.sce |
clear//
//Variable Declaration
P1=80 //Load in lb
P2=100 //Load in lb
b1=3 //Distance of load from end in ft
b2=2 //Distance of load from end in ft
L=9 //Span of the beam in ft
//Calcualtions
EI_delta1=(P1*b1*48**-1)*(3*L**2-4*b1**2) //Deflection in lb.ft^3
EI_delta2=(P2*b2*48**-1)*(3*L**2-4*b2**2) //Defl... |
e502365029ba0abe5ef00a851d40e4b970a231cc | 348b83f2cd32e6616b86e704a374661890d58cda | /opration of square matrix.sce | 3ddfb2f429f27e3729d4dd3c813d70182dfb47d7 | [] | no_license | YashGandhi17/Scilab | 012b35caad56d0c7600b9a207956e25774339c66 | 6d509dc17afe2ca32376df795693c84f94e3f360 | refs/heads/master | 2020-04-07T03:13:24.046967 | 2018-11-17T17:24:44 | 2018-11-17T17:24:44 | 157,837,866 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 812 | sce | opration of square matrix.sce | /*opration on square matrix
size,determinant,sigularity
complimentry,addition and substraction with compliments
inverse,opration of inverse, square of matrix,ranks etc..*/
x=input("Enter a square matrix");
disp(x);
a=size(x);//size of matrix
disp(a);
b=det(x);//determinant of matrix
disp(b);
if(b... |
c0331f834a32bc8a6c07cff386e39084253a9369 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1586/CH15/EX15.2/EXP15_2.sce | f8d97a0e50a2d089a2807be75aaa4792af653eff | [] | 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 | 447 | sce | EXP15_2.sce | clc;funcprot(0);//EXAMPLE 15.2
// Initialisation of Variables
R=2.5;..........//Ratio of O to Si in SiO2
W1=69.62;........//Weight of B2O3 in g/ml
W2=60.08;........//Weight of SiO2 in g/ml
//CALCULATIONS
Fb1=(R-2)/3.5;...........//Mole Fraction of B2O3
Fb2=1-Fb1;.........//Mole fraction of SiO2
Wp=((Fb1*W1)/((F... |
221159e39d14a2e1aa1f3d3c8112ddcb30ab76da | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH2/EX2.23/ex2_23.sce | f924a5194c9882d71cf600cc614c3cfa2faf0ba9 | [] | 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 | 274 | sce | ex2_23.sce | // Exa 2.23
format('v',7);clc;clear;close;
// Given data
Vrange= 600;//range in V
del_A= 2.5*Vrange/100;//limiting error at full scale in V
V= 400;//voltage in V
PerError= del_A/V*100;//percentage error in %
disp("The limiting error is : ± "+string(PerError)+" %")
|
d2d7f6399056ee1302f1b186bdf60a08151799c4 | 117dfe11397868e23e4177974ee4db6128616157 | /qpipopt/qpipopt_x01.sce | 6a5726961181fb68cbe4c72396de86fc201b778b | [] | no_license | harpreetrathore/OR-toolbox-test-cases | 161ec31daa75c7bdfe68519e43975b9452d81d30 | ad6fd408ea41e74e56b31a5bc756639e521a20e3 | refs/heads/master | 2021-01-21T08:24:31.441859 | 2015-11-17T16:54:58 | 2015-11-17T16:54:58 | 45,449,825 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,021 | sce | qpipopt_x01.sce | //Find x in R^6 such that:
// Check if the user gives unequal size of initial guess as of the number of variables
conMatrix= [1,-1,1,0,3,1;
-1,0,-3,-4,5,6;
2,5,3,0,1,0
0,1,0,1,2,-1;
-1,0,2,1,1,0];
conLB=[1;2;3;-%inf;-%inf];
conUB = [1;2;3;-1;2.5];
lb=[-1000;-10000; 0; -1000; -1000; -1000];
ub=[10000; 100; 1.5; 100; 100... |
3170ab7c4c5856c1ca4a4cb995f04cd6d5a540e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1664/CH4/EX4.1/Ex4_1.sce | 53e6e9aae2c10db1a7c43c4c148e245874408147 | [] | 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 | 376 | sce | Ex4_1.sce |
//Example No 133.
//Page No 4.1.
//To find change in wavelength.
clc;clear;
h = 6.63*10^(-34);//Planck's constant -[J-s].
m0 = 9.1*10^(-31);//mass of electron -[kg].
c = 3*10^(8);//Velocity of ligth -[m/s].
cosq = cosd(135);//Angle of scattering -[degree].
delW = (h/(m0*c))*(1-cosq);//change in wavelength.
... |
ce2c27cf9b4463ede99ccd0c1e928c4905def26e | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH4/EX4.4/4_4.sce | a278b7aaa967158b4167fe20b00b9dd5b25be552 | [] | 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 | 258 | sce | 4_4.sce | /////////////////////part a
L=0.05
R=20
w=1.2E3
Xl=w*L
V=complex(100,200)
I=complex(5,0)
Xc=-imult(R+imult(Xl)-V/I)
C=1/w/Xc
disp(C)
/////////////////////part b
w=200
V=complex(100,0)
Xl=w*L
Xc=-imult(R+imult(Xl)-V/I)
C=1/w/Xc
disp(C) |
ceb809779f7c0bf3673c35440edff5168a2847f0 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH6/EX6.11/6_11.sce | 38e2ea92fe2436aa9059c8a440d958374a37d791 | [] | 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 | 245 | sce | 6_11.sce | clc;
V=0.3;//m^3
vg=4.133;//m^3/kg
m=V/vg;
disp("mass of water injected:");
disp("kg",m)
//part B
pa=0.7;//bar
pg=0.3855;//bar
v=0.001026;
ms=(V-[pa*v])/[vg-v];
mw=pa-ms;
V_d=ms*vg
pa2=pa*V/V_d;
disp("total pressure is:");
disp("bar",pa2+pg);
|
4b8c1663403d51ef4c9ed34ddc41213f22d48985 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH22/EX22.2/ch22_2.sce | ba6ab648cf68bda6af768e64969a098be66a0ac9 | [] | 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 | 355 | sce | ch22_2.sce | // To Determine the source voltage when the load is disconnectedto load p.f (i) unity (ii).8 lag.
clear
clc;
Vb=500;
Sb=1000;
Zb=Vb^2/Sb;
Xpu=.35*100/Zb;
Zth=1000/5000;
X=Xpu+Zth;
V=1;
Q=0;
P=1;
Eth=V+(Q*X/V)+%i*(P*X/V);
Q=.75;
Eth1=V+(Q*X/V)+%i*(P*X/V);
printf("(i) For p.f unity , Eth=%.2f V",Eth);
di... |
ab52889c389f8da0127b216c86e80caf3dfe0c67 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH34/EX34.29/example29.sce | 0662ce37675ac24c96218bbcd763b1102438e5cc | [] | 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 | 402 | sce | example29.sce | clc
syms k
A=[0 1 2 3 4 5 6;k 3*k 5*k 7*k 9*k 11*k 13*k]
disp('sumof all pi=1')
//A(2,1)+A(2,2)+A(2,3)+(A(2,4)+A(2,5)+A(2,6)+A(2,7)
disp('hence, ')
k=1/49
disp('p(x<4)=')
a=A(2,1)+A(2,2)+A(2,4)+A(2,3)
eval(a)
disp(eval(a))
disp('p(x>=5)=')
b=A(2,6)+A(2,7)
eval(b)
disp(eval(b))
disp('p(3<x<=6)=')
c=A(2,5... |
2f931a4d3a903864b98af0b1e6d5efb6ea4420ce | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ea_vrt_ind_d/~BivLCM-SR-bfas_ea_vrt_ind_d-PLin-VLin.tst | 68d449d3155add1c500496ffbdcaaabfcb599f7e | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_ea_vrt_ind_d-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.409376D+00
... |
7accb584ceda51084d1dd60b071f00bc3d2b1a54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.95/EX2_95.sce | fc3f3daf46879aaee27befe5fa296f211d98b4b6 | [] | 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 | 367 | sce | EX2_95.sce | //EXAMPLE 2-95 PG NO-140
L=1.5; //INDUCTANCE
a=(2000*0.01);
R=L/(4*%pi*10^-7*a); //RESISTANCE
disp('i) Resistance (R) is = '+string (R) +' ohm ');
N1=30;
N2=600;
M=(N1*N2)/R;
disp('ii) M (M) is = '+string (M) +' H ');
e=M*(10/0.01);
dis... |
1e93ec5234ff5ac7ee7731b4725a865e264f6277 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH9/EX9.1/Ex9_1.sce | d1e1a8c6dae328f6a45bc559d9ec36b08aa8b78b | [] | 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 | 609 | sce | Ex9_1.sce | // Example 9_1
clc;funcprot(0);
// Given data
T_1=15+273.15;// K
T_2=50+273.15;// K
Q=0.100;// The electrical energy in W
c=4.186;// kJ/kg.K
T_b=20+273.15;// K
// Calculation
m=Q/(c*(T_2-T_1));// The expected water flow rate in kg/s
// Assume ds=s_out-s_in
ds=c*log(T_2/T_1);// kJ/kg.K
S_p=(m*ds)-(Q/T_b);/... |
7bab464ed7ed555d9f379b3f48830c6c275a13da | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH3/EX3.3/ex_3_3.sce | 9905eaf5078e941993761d95264ac9f997450994 | [] | 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 | 591 | sce | ex_3_3.sce | // Example 3.3: calculate the input impedence, output impedence, voltage gain and current gain
clc, clear
Re=4; // resistance in kilo-ohm
Rc=3; // resistance in kilo-ohm
Vcc=10; // collector voltage in volts
Vee=8; // emitter voltage in volts
Vbe=0.6; // base voltage in volts
Ie=(Vee-Vbe)/(Re*10^3)
re=26*10^-3... |
9dc4169407c05bed69d39ab8591d19e6b1dd052e | bd9ba5abb6de1e9d9485b5e98b2b68868aab21db | /Lab/signal functions/Correlation of 2 sequances/correlation of 2 signals.sce | 044fc03b3e0625003fb5c262a8bbca63256f4ccb | [] | no_license | ShubhamRattra/Scilab_programs | c61b6538a064afe82c99507c1064cd55bbd870fa | de2bf6ab0de0b1a19c4903bb13819edc39f93d0e | refs/heads/master | 2023-03-04T17:53:58.414180 | 2021-02-11T08:08:11 | 2021-02-11T08:08:11 | 296,920,175 | 2 | 2 | null | 2021-01-11T15:53:39 | 2020-09-19T17:37:42 | Scilab | UTF-8 | Scilab | false | false | 1,100 | sce | correlation of 2 signals.sce | //find the correlation of signals
clc ;
clear ;
close ;
x = input('Enter the Input Sequence =') // x=[1 2 3 1 ]
m = length(x);
xl = input('Enter the lower index of Input Sequence= ' )// 0
xh = xl +m -1;
n = xl:1:xh;
subplot(2,2,1);
a=gca();
a.x_location ='origin';
a.y_location ='origin';
plot2d3('gnn',n,... |
8d237900d32cc1b58badb978f0c9d138f8101767 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH6/EX6.13/Ex6_13.sce | 724c4c8047e5580aa9d0cc3a68832a8d53191e0b | [] | 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,771 | sce | Ex6_13.sce | //answer match + roots
clc;
Pm=10000;
V=400;
f=50;
smT=0.1;
P=4;
Ns=(120*f)/P;
//for (i)
disp('(i)');
//As per given conditions the slip is given by equation Sfl2-0.4Sfl+0.01=0
V=[1 -0.4 0.01];
R=roots(V);
Sfl=R(2);
Nr=Ns*(1-Sfl);
mprintf('The slip is %f \n The rotor speed is %f r.p.m',Sfl,ceil(Nr))... |
177a3e92f7318941335105bab8cdfe36446a38f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH16/EX16.06/16_06.sce | 75346b02e53f31a1be03479b6dc3cc90a73df25e | [] | 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 | 653 | sce | 16_06.sce | //pathname=get_absolute_file_path('16.06.sce')
//filename=pathname+filesep()+'16.06-data.sci'
//exec(filename)
//Rate at which air is delivered(in m^3/min):
m=2
//Initial pressure(in bar):
p1=1
T1=300 //K
p=150 //bar
//Polytropic index of compression:
n=1.25
p2=3.5
p3=12.25
p4=42.87
//Gas constant(in kJ/k... |
9b32b18694e1760e3273b26465663f1b60fa3ad9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3750/CH4/EX4.1/Ex4_1.sce | cdf00ec65b23a99ad8bc42d4ea8c669ac0f72ac4 | [] | 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,157 | sce | Ex4_1.sce | //Strength Of Material By G.H.Ryder
//Chapter 4
//Example 1
//To calculate the maximum pressure set up in the oil
clc();
//Initialization of Variables
d=6; //diameter of plunger, Unit in mm
Mp=1; //Mass of plunger, Unit in Kg
m=1.5; //Mass dropped on the plunger, Unit in kg
v=5000; // Volume of oil, Unit ... |
751655e066eae565740fffc59493fcae82856127 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH4/EX4.16/Ex4_16.sce | eeccf6d87440b137b8655d6e04ac266670e332e8 | [] | 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 | 604 | sce | Ex4_16.sce | //example 16
clear
vcc=1.5//volt in book should be changed as 1.5
colres=1.5*10^3;//ohm
emresi=0.27*10^3;//ohm
r1=2.7*10^3;//ohm
r=2.7*10^3;//ohm
beta1=45;
basre1=690;//ohm
voltag=r*vcc/(r*r1);
basres=(r*r1)/(r+r1);
vbe=0.2;
for q= 1:2
if q==2 then
disp("resistance = "+string((basre1))+"oh... |
f4428edb2cf7628146f63901de11eaa62a853281 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3375/CH2/EX2.6/Ex2_6.sce | 7a96b36b7fa9c857c2afe87676db23ca86e63f5f | [] | 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 | 658 | sce | Ex2_6.sce | //Example 2.6
//Pressure Drop
//Page No. 56
clc;clear;close;
D=50; //in mm
D=D/1000; //converted mm to m
L=6; //in m
rho=995.6; //in kg/m^3
g=9.81; //in m/s^-2
mu=79.77*10^-5; //in Pa-s
//case 1
u=10; //in m/s^-1
Re=(rho*u*D)/mu;
f=0.316/Re^(1/4);
dp(1)=(f*L*u^2*rho)/(2*D... |
5a18e8109dd31d9c8472805269df3b2e6cf2154a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH28/EX28.2/Example28_2.sce | d8a768304b1c20684ad420a177a61bc9a4be8a78 | [] | 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,217 | sce | Example28_2.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART III : SWITCHGEAR AND PROTECTION
// CHAPTER 2: FAULT LIMITING REACTORS
// EXAMPLE : 2.2 :
// Page number 480
clear ; clc ; close ; // Clear the work space and console
... |
2f1434f3e8ff7f72387374376b85664ba1f2a598 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH1/EX1.5/1_5.sce | 0695065130eae317f8b397b6a942b65b6ef660a5 | [] | 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 | 417 | sce | 1_5.sce | //Chapter-1,Example 1_5,Page 1-18
clc()
//Given Data:
t=0.2/(100)^2*10^-2 //thickness of film in meter
lam=5.5*10^-7 //wavelength of light in meter
r=0 //normal incidence
n=1 //first band
//Calculations:
//Condition for dark fringe is
//2ut*cos r =n*lam
u=n*... |
549f90c7edbb0c99b484e823beeff3d184fe1888 | b5c22c07406d45a352798d115f1412c5f993a069 | /Logi/2016/07/11/18_59/LogiSciLabDane.sce | ab388d5e2f1d1d48701996e19cb6838dfd8316bc | [] | no_license | patrykbabecki/dronPC | 19f4b66c8e80a0855831547036b165b646aad47a | 664dee37741c8a2e75f57d4a111e4029ec92cc36 | refs/heads/master | 2020-04-11T04:30:18.304395 | 2016-09-13T10:58:09 | 2016-09-13T10:58:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,545,880 | sce | LogiSciLabDane.sce |
// dane z pliku: AccGyroRaw_log Parametr: ACCX
AccGyroRaw_ACCX = [ -720.0 -688.0 -656.0 -656.0 -688.0 -672.0 -704.0 -640.0 -640.0 -640.0 -608.0 -704.0 -752.0 -608.0 -704.0 -656.0 -656.0 -688.0 -672.0 -720.0 -656.0 -608.0 -656.0 -640.0 -656.0 -736.0 -672.0 -656.0 -672.0 -720.0 -608.0 -640.0 -672.0 -608.0 -720.0 -608.0 ... |
b6518e1d608f525f8d67b19221e10dc7b1a3b13d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH25/EX25.5/25_5.sce | 43bbf300c9cc7a42df2988213d1bbdc35507605c | [] | 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,159 | sce | 25_5.sce | clear//
//Variables
hie = 1.1 * 10**3 //hie (in ohm)
hre = 2.5 * 10**-4 //hre
hoe = 25.0 * 10**-6 //hoe (in mho)
RS = 10000.0 //Source resistance (in ohm)
hfe=50.0;beta=50.0;
rL = 1000.0 //ac... |
12984b3ebf0b20685443bd4d03264c25e5c0fe2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH6/EX6.20/20.sce | 2bf58487c5a6a57f04536ed07462d0491e5da5d1 | [] | 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 | 721 | sce | 20.sce | clc
I=0.62; //kg/m^2
N1=2500; //rpm
w1=2*%pi*N1/60; //rad/s
m=1.9; //kg; Water equivalent of shaft bearings
cp=4.18;
T0=293; //K
t0=20; //0C
disp("(i)Rise in temperature of bearings")
KE=1/2*I*w1^2/1000; //kJ
dT=KE/(m*cp); //rise in temperature of bearings
disp("dT=")
disp(dT)
disp("0C")
t2=t0+dT;
d... |
b7c8e8febb3f99cb9534c9e887381a92b0de2d16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH14/EX14.1/Ch14Ex1.sci | d9821a1aa92bd910e4458ca749de0bba10c37e75 | [] | 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 | sci | Ch14Ex1.sci | // Scilab Code Ex14.1: Spontaneous magnetisation of the substance: Page-306 (2010)
N = 6.023e+023; // Avogadro's number. per mole
A = 56; // Atomic weight of the substance, g/mole
d = 7.9; // Density of the substance, gram per cm cube
m_B = 9.27e-024; // Bohr's Magneton, joule per tesla
m = 2.2*m_B; ... |
7d7fcc2aae054efa646866d55e8f30cc52e67e26 | f7e335e2af57c686554eb057f28ddd8d21aab1e4 | /tests/fuzz/c-wsp/0079.tst | c145ba089b01c9d10c625c3f834ce1374f4152ef | [
"MIT"
] | permissive | scravy/abnf | 76515bd820b3b9d8e2dbc2cec2a2f845720a6022 | cc4228f403b436cc4e34ff4d6a7def83922174be | refs/heads/master | 2023-01-09T14:30:50.095268 | 2020-06-07T16:18:09 | 2020-06-07T16:18:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5 | tst | 0079.tst | ;6
|
9affc7d539240fbd5761b3438a681cfba9726e2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /269/CH9/EX9.1/ex1.sce | 41d00bbf098d23059091775238e9f2d4ab255ddb | [] | 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 | 369 | sce | ex1.sce | Syms t,s
disp('given')
disp('V=e^-t(sint) R1=1,R2=1,C=0.5,L=2')
disp('laplace transforming the ckt elements')
disp('Total impedance is')
z=((2*s^2+5*s+4)/(2*s^2+s+2))
disp(z)
disp('laplace transformed voltage is')
v=laplace('%e^(-t)*sin(2*t)',t,s)
disp(v)
disp('The current can be found as v/z')
... |
cbaf3e924890d2837a29e63f19e32c4395dc83f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2774/CH3/EX3.6/Ex3_6.sce | e9d1cec0ecb7235a417b07bcc5961e316cc86414 | [] | 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 | 870 | sce | Ex3_6.sce | clc
// initialization of variables
D=10/100 //diameter of cylinder in m
d=50/1000 //compression in spring in m
Patm=100000 // atmospheric pressure in Pa
K=10*1000 // spring constant converted in N/m
w=50*9.81 // weight of piston in Newton =mass*gravitational acceleration
// find the initial pressure i... |
116e621f9551ac87d5e44cddb4bf311a0aa47d5f | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH2/EX2.9/Example2_9.sce | b4fa9815fd1bf8b2cccd8032d478089ca43ff70b | [] | 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 | 700 | sce | Example2_9.sce | //Example 2.9
clear;
clc;
R1=10*10^3;
R3=R1;
R2=100*10^3;
R4=R2;
p=0.01;
emax=4*p;
Adm1=R2/R1;
Adm2n=emax*(R1+2*R2);
Adm2d=2*(R1+R2);
Adm2=1-(Adm2n/Adm2d);
Admin=Adm1*Adm2;
Acmax=(R2/(R1+R2))*emax;
cmrrm=20*log10(Admin/Acmax);
printf("(a) CMRR min=%.1f dB",cmrrm);
//2.... |
b925e1e69c4502772c3464ce993c26103ec69759 | 449d555969bfd7befe906877abab098c6e63a0e8 | /848/CH2/EX2.4/Example2_4.sce | 82f0cff04f574898d8c70ae071f78e7ad3565926 | [] | 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 | 459 | sce | Example2_4.sce | //clear//
//Caption:Power flow in the core and cladding of step-index fiber
//Example 2.4
//page 62
clear;
close;
clc;
V = [22,39];
M =V^2/2;
Pcladd_P = (4/3)*(M.^(-0.5));
Pcore_P = 1- Pcladd_P;
disp(M,'Total number of modes')
disp(Pcladd_P*100,'Percentage of power propagates in the cladding')
//Result
/... |
f4626aff6ce6f1bdb64fcfe3d7fc8400cb68e6b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3637/CH2/EX2.17/Ex2_17.sce | 4b9aa58cc78c0e9891f8e65b9b3ffd0637ec8630 | [] | 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 | 188 | sce | Ex2_17.sce | //problem 17 pagenumber 2.100
//given
R=100e3;//ohm
IB=1e-6;//A
Vt=25e-3;//volt
v0=0;//volt
//determine Vin
Vin=(v0*2.3*Vt)+(R*IB);format(6);
disp("Vin = "+string(Vin)+" V");
|
41637fb22f47671b6afeea3b907787d83239f624 | 449d555969bfd7befe906877abab098c6e63a0e8 | /593/CH6/EX6.4/ex6_4.sce | f76c6c6f5c54245d64f2086e67f5b4a1aa3fedec | [] | 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 | ex6_4.sce | clear;
//clc();
// Example 6.4
// Page: 113
printf("Example-6.4 Page no.-113\n\n");
//***Data***//
m = 1;//[molal] Molality of the solution with respect to ethanol
M_water = 18;//[g/mol] molecular weight of water
// First we convert molality to mole fraction
x_ethanol = m/(m + 1000/M_water);
// For t... |
32fbca7e49f39b8f32e06aafd51d5313c3036287 | 51ff72184c18739b069c3d969fa1781024c24dd4 | /Unsigned/WtreeUnsigned.tst | ae36ce632370a5e517451f1fd38f34d2b0acc33e | [] | no_license | adityavirajrao/lab4- | f2ee335475f6e7f8633fc8b2316e1f25d253586c | e0c548b675bc575d364adf674d5348dcaf01d4f4 | refs/heads/main | 2023-08-14T23:32:27.018188 | 2021-09-20T18:08:09 | 2021-09-20T18:08:09 | 408,095,419 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | tst | WtreeUnsigned.tst | load WtreeUnsigned.hdl,
output-file WtreeUnsigned.out,
compare-to WtreeUnsigned.cmp,
output-list a%B3.8.3 b%B3.8.3 out%B3.8.3 of%B3.1.3;
//2*3=6
set a %B00000010,
set b %B00000011,
eval,
output;
//5*6=30
set a %B00000101,
set b %B00000110,
eval,
output;
//20*20=400
set a %B00010100,
set b %B00010100,
eval,
output;... |
9c162efd79c08b0708ac14e5471cd9747603fd4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3543/CH2/EX2.2/Ex2_2.sce | 7d8e18c4a5d03502eef732db5243867fda90471c | [] | 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,308 | sce | Ex2_2.sce | // Example 2.2
// Calculation of (a) critical angle (b) acceptance angle and oblique angle (c) numerical aperature
// (d) percentage of light collected by the fiber and (e) diameter of fiber
// Page no 35
clc;
clear;
close;
// Given data
n1=1.5; // Refractive index of core
n2=1.4... |
41027c1dba32d0726a138ad2d3672baae38bfd8a | cac765899ef2f4a3fea7b30feb7d3cc9e32a4eb4 | /src/graphisme/createFigure.sci | 70b140f6ed43b162a2e942e2c0c410e108053fe1 | [] | no_license | clairedune/AsserVisu | 136d9cb090f709a410f23d3138ab115b722066d2 | f351f693bffd50b5ae19656a7fcb7b52e01d6943 | refs/heads/master | 2020-04-11T09:56:32.106000 | 2017-01-12T14:01:12 | 2017-01-12T14:01:12 | 1,187,919 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,000 | sci | createFigure.sci | function drawTurtleTop(x,y,s)
plot(x,y,'.k');
xarc(x-(s/2),y+(s/2),s,s,0,360*64);
endfunction
function drawWheeledTurtleTop(wMr,s)
pose_wMr = pFromHomogeneousMatrix(wMr);
x = pose_wMr(1);
y = pose_wMr(2);
plot(x,y,'.k');
xarc(x-(s/2),y+(s/2),s,s,0,360*64);
// direction d... |
be41227f8b8c6ca7affdfc58dc67be68bb1736ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1691/CH6/EX6.1/Exmp6_1.sce | f906fc229b98eb113c92d0199ab07cac50518ce4 | [] | 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 | 752 | sce | Exmp6_1.sce | //Example 6.1
clc
ibq=(20-0.7)/1.5
format(6)
disp(ibq,"(i) I_BQ(in mA) = V_CC-V_BE / R_B =")
icq=50*12.87
format(7)
disp(icq,"I_CQ(in mA) = beta * I_BQ =")
disp("(ii) V_CC = I_CQ*R_L + V_CEQ")
vceq=20-(643.5*16*10^-3)
format(5)
disp(vceq,"Therefore, V_CEQ(in V) = V_CC - I_CQ*R_L =")
format(6)
pdc=20*643.5... |
b7ddc29db827de24065c697bee239a85e6a6b191 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3689/CH9/EX9.8/9_8.sce | fa28a34ed51b7e64a9b919963049669885da57b6 | [] | 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 | 336 | sce | 9_8.sce | ////Variable Declaration
xCS2 = 0.3502 //Mol fraction of CS2, g/L
pCS2 = 358.3 //Partial pressure of CS2, torr
p0CS2 = 512.3 //Total pressure, torr
//Calculations
alpha = pCS2/p0CS2
gama = alpha/xCS2
//Results
printf("\n Activity of CS2 %5.4f atm",alpha)
printf("\n Activity coefficient of CS2 %5.4... |
d6953befffdce3613ebad9763949eb24d1a49fca | 449d555969bfd7befe906877abab098c6e63a0e8 | /3515/CH2/EX2.2/Ex2_2.sce | 340898a068960fa3ecb6431dfd781cc2f832cd1b | [] | 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,114 | sce | Ex2_2.sce | // Exa 2.2
format('v',7);
clc;
clear;
close;
// Given data
unCox= 100;// in µA/V^2
unCox= unCox*10^-6;// in A/V^2
L= 1;//in µm
L= L*10^-6;// in m
W=10;// in µm
W=W*10^-6;// in m
V_GS= 1.5;// in V
Vt= 0.7;// in V
// For V_DS= 0.5 V
V_DS= 0.5;// in V
if V_DS<= (V_GS-Vt) then
I_D= unCox*W/L*[(V_GS-Vt... |
1ac9880198fee43c88be404c7097d297351fda39 | 13d93c2922005af35056d015f1ae3ebebe05ee31 | /scilab/physique/mecanique/cinematique/velo_cycloide/velo_cycloide.sce | 24a7304a8533c436edadc4d86c623997ba224660 | [] | no_license | scls19fr/openphysic | 647cc2cdadbdafd050d178e02bc3873bd2b07445 | 67bdb548574f4feecb99b60995238f12f4ef26da | refs/heads/master | 2021-04-30T23:16:26.197961 | 2020-11-16T20:21:17 | 2020-11-16T20:21:17 | 32,207,155 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sce | velo_cycloide.sce | clear;
V=5;
R=0.35;
OMEGA=V/R;
t=[0:0.05:1]';
N=size(t,"r");
x1=R*cos(-OMEGA*t)+V*t;
x2=R*cos(-OMEGA*t);
x3=V*t;
y1=R*sin(-OMEGA*t);
y2=ones(N,1);
isoview(0,4,-2,2) // isoview(xmin,xmax,ymin,ymax)
plot2d(x1,y1,style=-1);
plot2d(x3,y2,style=-1);
|
6bf654d96eff3433de038aabc37c90fe712ce6a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH3/EX3.14/eg_3_14.sce | b0501f2d82d2ccf96a61bf3368b54788abf84c46 | [] | 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 | 916 | sce | eg_3_14.sce | clear;
clc;
i=1;
//all combinations of 2 variable inputs
f(:,1)=[0;0;1;1];
f(:,2)=[0;1;0;1];
//verifying D'morgan first law
for a=0:1
for b=0:1
f(i,3)=bitcmp(bitor(a,b),1);
f(i,4)=bitand(bitcmp(a,1),bitcmp(b,1));
i=i+1;
end
end
disp(" a b (a+b)^ a^b^");
disp(f);... |
3893930b39a340e71c33dcbbb8a5c7c8f98d8bfb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH2/EX2.11/Ex2_11.sce | c556e510f1e1008020cbde5b391bae1eaea21761 | [] | 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 | 166 | sce | Ex2_11.sce | clear;
clc;
//Example 2.11
I=0.01;//(A) diode current
V_Y=1.7;//(V) forward bias voltage drop
Vt=0.2;//(V)
R=(5-V_Y-Vt)/I;
printf('\nresistance=%0.1f Ohm',R)
|
9fa5448933190f464bb9d49834f5fb2f65e1d828 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1244/CH6/EX6.2/Example62.sce | 917757afb5d14f763194d1630e9cea11c77623b6 | [] | 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,110 | sce | Example62.sce |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clc;
disp("Principles of Heat Transfer, 7th Ed. Frank Kreith et. al Chapter - 6 Example # 6.2 ")
//Diameter in m
D = 0.01;
//Wall thickness in m
t = 0.02/100;
//Massflow rate in kg/s
m = 0.05;
//Inlet temperature in ... |
9ecd46e45b3302781f5a425eacb2a196fca3a962 | 0ade4f8a7ec375e54db514312b562334ab304d3e | /data/benchmark/Korns_03.tst | 66e382dc6a304995f57f991dcfa553544ec3c6fe | [] | no_license | zeta1999/go-pge | 39ac86612d4a90c1e53d2c45c1177e98b3bcf4e4 | 99a4b600185145bcc047e8e42cecfd2346b6b16d | refs/heads/master | 2021-01-01T11:10:20.053388 | 2014-01-16T16:06:50 | 2014-01-16T16:06:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 125,039 | tst | Korns_03.tst | x y z v w
f(xs)
-48.880198 33.706728 23.673570 0.214643 -30.209115 -8.004111
6.607781 48.770677 36.669921 10.871048 22.803557 -4.951449
19.456641 30.884565 -29.242741 38.438273 11.452923 -2.318399
-2.865354 -17.654652 -8.060507 26.405941 -44.006958 -6.511304
-43.134079 -28.625387 -13.001726 26.654936 -24.355500 -... |
d8b30c25a6e89dd8d29e5d2b227e2111a52a2f31 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Programming/testelse.sce | 43bd272d3c2ddc8d293d03304797f41d4aefe241 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 72 | sce | testelse.sce | x=1;
if x<>0 then txt='x is non-zero';
// no else ...
end
disp(txt)
|
4dce9054f94b4ef7ec8b5e781570e9f41564086b | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH3/EX3.12/Ex3_12.sce | 3396d734780a3001ac0a972cdc8db8f7a32ab7ef | [] | 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 | 177 | sce | Ex3_12.sce | errcatch(-1,"stop");mode(2);//Ex:3.12
;
;
c=150*10^-6;//in farads
r=2*10^6;//in ohms
V_s=150;//in volts
V_c=0.8187*V_s;
printf("Capacitor voltage = %f V",V_c);
exit();
|
3ccdbb80c516ff70cdc45641945a8468194a9508 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH9/EX9.18/9_18.sce | f8bae500e10f848397e2132bfb0f190ecbc534cb | [] | 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 | 281 | sce | 9_18.sce | m = 50 ; // in kg/h
Th = 23+273; // Home temperature
// State 1
T1 = 150+273;
h1 = 2746.4;
s1 = 6.8387;
// State 2
h2 = 419.0;
s2 = 1.3071;
T0 = 318;
//
b1 = h1-(T0*s1);
b2 = h2-(T0*s2);
Q_max = m*(b1-b2)/(T0/Th-1);
disp("kW",Q_max/3600,"The maximum cooling rate is") |
6f241125735f6332a7bb3178cbc399f75b1ef953 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH9/EX9.2/Example_9_2.sce | f14ebb69def06feda3cc6af3cd678c25bae7ed37 | [] | 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 | 499 | sce | Example_9_2.sce | //clear//
clear;
clc;
//Example 9.2
//Given
Dt = 6; //[ft]
h = 2; //[ft]
n = 90/60; //[rps]
mu = 12*6.72*10^-4; //[lb/ft-s]
g = 32.17; //[ft/s^2]
rho = 93.5; //[lb/ft^3]
Da = 2; // [ft]
Nre = Da^2*n*rho/mu;
//Froude number
Nfr = n^2*Da/g;
//From Table 9.1
a = 1;
b = 40.0;
//Using Eq.(9.19)
m = (... |
99679cca8bf0b9b2d6853cbd892d030209539543 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH4/EX4.7.2/Ex4_2.sce | 8955a0f7d6e10bed56ff854feacebb8e90fafd93 | [] | 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 | 508 | sce | Ex4_2.sce |
//scilab 5.4.1
//windows 7 operating system
//chapter 4:Metal-Semiconductor Contacts
clc
clear
//given
// as per given data barrier height =Vbi=intercept on Vr axis=0.4 V
Es=11.7*8.854*(10^-12)//Es=permittivity of semiconductor;11.7=dielectric constant of silicon
e=1.6*10^(-19)//e=charge of an electron
m=4.4*... |
7c68d6ef7ffdbfa7360fc69380bb82339b2b7006 | 449d555969bfd7befe906877abab098c6e63a0e8 | /70/CH5/EX5.5.2/5_5_2.sci | 2e0b68631ee4cd106df8262ac4270d7dc0ec902d | [] | 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 | 140 | sci | 5_5_2.sci | //282
clear;
close;
clc;
i=sqrt(-1);
x=[1 i]';
y=[2+1*i 2-4*i]';
disp(x'*x,'Length of x squared:');
disp(y'*y,'Length of y squared:');
//end |
fa46db0a23568218d24d7e073f7fd14f67020674 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH7/EX7.1/1.sce | be10786177df02af023a40b0f00f0c714b9c54c6 | [] | 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 | 352 | sce | 1.sce |
//variable declaration
r1 = 7; //in radians
r2 = 3; //in radians
d1 = 4; //Converting from mm to radians
d2 = 6; //Converting from mm to radians
//calculations
D = (r2-r1)/(d2*10**3-d1*10**3) //Divergence
//Result
printf('Divergence = %0.3f *... |
8b557de5e7404baa8d9f498146b1e52970b1b188 | ca37630078dae7d11f9db5dd0ba8c59a3a4ccf6a | /Drivers/sw/LCDHTA.tst | 903dc165d3d20378a794919bc1cb41562050d445 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | ourbread/mcuoneclipse | 528b3914c1e03adcbfb35e9e48f8a64e91d84410 | 06e43f18d8147c30949998d2e994f8b3f657eac7 | refs/heads/master | 2020-12-25T01:43:46.321781 | 2013-04-29T09:32:09 | 2013-04-29T09:32:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | tst | LCDHTA.tst | %-Standard test file created by Bean Wizard 1.26
%if Language='ANSIC'
%else %- Language (& Compiler)
%error^ This bean is not implemented in selected language & compiler !
%endif %- Language (& Compiler)
%if %LCD_Nof_Lines > "2"
%error only up to 2 LCD lines are supported!
%endif
|
325756d8e1013b9355c7cb16aefd59861f226d23 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/mtlb/mtlb_eval.sci | b76bb0baa1b2bd9655f8d89274af35cad4bbfe39 | [
"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 | 1,447 | sci | mtlb_eval.sci | function r=mtlb_eval(%s1,%s2)
[lhs,rhs]=argn()
if exists('m2scilib')==0 then load('SCI/macros/m2sci/lib'),end
%prot=funcprot();funcprot(0)
//
deff('r=isanmfile(s)','r=%f');
res_path=[];logfile=-1;batch=%t;fnam='%fun';dquote='''';lcount=1;
level=[0,0];sciexp=0;
sciparam();[vnms,vtps]=m2sci_init()
//
deff('%fun()',%s1)
... |
0760f5fecc887af299ff0fa2b789203aa2a5a0e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH9/EX9.13/Ex_9_13.sce | 0a124036c2b35da051022fcb29ee1ab3e7d7ebcf | [] | 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 | Ex_9_13.sce | // Example 9.13;//output photo current
clc;
clear;
close;
e=1.6*10^-19;//elecronic charge
rp=10^11;//photons per second
hf=1.28*10^19;// energy in joule
n=1;//efficency
C=3*10^8;//SPEED of light in meter per second
ht=6.62*10^-34;//plank constt.
Po=(rp/hf)*10^9;//incident optical power in micro watt
Ip=(n*Po... |
210e5c0de07e7b8debb9c4ff6cd1ad9b5f9cf326 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/xty.tst | 873c717c77704f8b2493e638a74f6455d4abb8a7 | [] | 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 | 23,652 | tst | xty.tst | ta³ndaʔ³a⁴ ni¹-ta³ndaʔ³a⁴ V;PFV;LGSPEC1
ta¹xin¹ ta¹xin¹ V;IRR
ku³-ta⁴tan⁴ ku¹³-ta⁴tan⁴ V;PFV;LGSPEC2
nda³-chaʔ⁴bi³ nda³-chaʔ⁴bi³ V;IRR
ku³-ni³ni³ ju¹³-ni³ni³ V;PFV;LGSPEC2
niʔ¹i⁴ ni¹⁴i¹⁴ V;IRR;NEG
ka³ka³ ni¹-xi¹ka³ V;PFV;LGSPEC1
ya³tan³ ya⁴tan³ V;IPFV
nda³-ya¹⁴kun² nda¹⁴-ya¹⁴kun² V;IRR;NEG
ta¹⁴ni³ i⁴ta¹⁴ni³ V;IPFV
ta³x... |
31d8f6ce71c1d614fdb3940251e0af13e1f12e50 | 232ed998b06cdc5dbe609ad4faed9618850fde03 | /branches/65x/test_suite/testall.tst | ceca70a2b2f966d01674900b790e8d3ed5e27c5e | [
"MIT"
] | permissive | stjordanis/CLIPSE | d5cf804cb6a88e4b5fe0d4c9125b3faec5d1ffff | dd0009168720bbaccac543ed9b122d6d38d8418b | refs/heads/master | 2021-06-11T06:26:55.145499 | 2017-02-13T22:40:01 | 2017-02-13T22:46:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 15,350 | tst | testall.tst | (set-dynamic-constraint-checking FALSE)
(set-sequence-operator-recognition FALSE)
(set-reset-globals TRUE)
(set-fact-duplication FALSE)
(set-salience-evaluation when-defined)
(set-strategy depth)
(open "Results//testall.rsl" testall "w")
(printout testall "*** FEATURE TESTS BEGIN ***" crlf)
(printout testall ">>> Start... |
e8a5729dd20e9687b24111d9dd0502a250455ddd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3731/CH4/EX4.2/Ex4_2.sce | 70bb3356625106ceb5d77705379360c0a5956f2a | [] | 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,250 | sce | Ex4_2.sce | //Chapter 4: Selection of Motor Power Rating
//Example 2
clc;
//Variable Initialization
N=200 //Speed in rpm
Tc=25000 //Constant Torque in N-m
J=10000 //Moment of inertia in Kg-m2
//Given Duty Cycles
t1=10 //For full speed and at constant torque
t2=1 //For no load at fu... |
282d0a369e13456028806906317b8bb849a23d6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH3/EX3.3/3_3.sce | 9762d058966ec6b7c06368a165425c98783b2d77 | [] | 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 | 711 | sce | 3_3.sce | clear;
clc;
printf("\t\t\tExample Number 3.3\n\n\n");
// buried disk
// illustration3.3
// solution
d = 0.30;// [m] diameter of disk
r = d/2;// [m] radius of disk
Td = 95;// [degree celsius] disk temperature
Ts = 20;// [degree celsius] isothermal surface temperature
k = 2.1;// [W/m per degree celsius] therm... |
7d68ca2ea7716b266313da7d55d247f337582292 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/_init.SCI | 4b1ce0bb5de7e57121b89be2caf5837d32c3df3c | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 3,499 | sci | _init.SCI |
##################################################################@@@@@@@@###########
# WARNING
# all viewports (=with associated windows) should be created here, and remain alive
# reason: impossible to create a window in a thread!
##################################################################@@@@@@@@###########
... |
db0f8d082e6dab0d72257c45e73490978dfdce4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /812/CH6/EX6.08/6_08.sce | 1b322d0bd043782f0b37e8a89c0a3cf36d3bf927 | [] | 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 | 416 | sce | 6_08.sce | //temperature//
pathname=get_absolute_file_path('06.08.sce')
filename=pathname+filesep()+'06.08-data.sci'
exec(filename)
//Velocity of flow at exit(in ft/sec):
V4=sqrt(2*g*(z3-0))
//Mass flow rate of water(in slug/sec):
m=d*V4*A4/144
//Rise in temperature between points 1 and 2(in R):
T=Q*3413/3600/m/32.2
pri... |
033d22506908218bcdbc0c33b9a5411151b81248 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/DEPENDENCIES/1_8_data.sci | 087a4772593e601613b55f6cee6cb17e576a22c9 | [] | 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 | 207 | sci | 1_8_data.sci | //Brake thermal efficiency
nbth=0.3;
//Indicated power(in kW)
ip=40;
//Mechanical efficiency at half load
nmh=0.65;
//No of cylinders
k=4;
//Stroke volume(in cc)
Vsf=1000;
//Compression ratio
r=8; |
f748105d08782dc1def920eb976dd88092363289 | 181f67b4868e49ca80872d6ac088a51540f90da6 | /186A5/a5.sce | d9f088a98dfd231fc4699002cd6648bb59751ea1 | [] | no_license | nobody51/AP186 | 567f25ba1ad7f71ad2983860078eeaccffa46080 | cb916fc9b38b508026403a2227ffc76d490fe948 | refs/heads/master | 2021-08-28T09:35:55.488122 | 2017-12-11T21:34:46 | 2017-12-11T21:34:46 | 104,969,401 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 726 | sce | a5.sce | // take an image and convert it to gray
im = imread('C:\Users\up csrc\Documents\186A5\test2.jpg');
grayIm = rgb2gray(im)
scf(0);
isoview();
imshow(grayIm);
//get the normalized histogram of the gray image
[counts, cells] = imhist(grayIm);
counts = counts/sum(counts);
//scf(1);
//plot(cells,counts);
//get the normaliz... |
47dc16a262f57a2116f32d5e2be461bb99c35a7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH6/EX6.1/6_1.sce | 26e6cd065484d32485aef51dd56415fe09122ab6 | [] | 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 | 369 | sce | 6_1.sce |
clc
//initialisation of variables
w= 62.4 //Lbsec/ft^3
d= 2 //in
V= 100 //ft/sec
g= 32.2 //ft/sec^2
a= 60 //degrees
//CALCULATIONS
W= w*(%pi/4)*(d/12)^2*V
F= W*V/g
N= W*V*sind(a)/g
//RESULTS
printf (' Normalforce on the plate when the jet is normal = %.1f Lb',F)
printf ('.\n Normalforce on the plate when... |
aacd5f60b01991aa4352b50536c9d3fca829bab7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH5/EX5.2/Ch05Ex2.sce | 5b494482e40f44c1b625f9964e4eab1c991442e3 | [] | 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,066 | sce | Ch05Ex2.sce | // Scilab code Ex5.2: : Pg:207 (2008)
clc;clear;
// Define function to convert degrees to degree and minute
function [deg, minute] = deg2degmin(theta)
deg = floor(theta);
minute = ceil((theta-deg)*60);
endfunction
a = 22e-05; // Width of slit, cm
Lambda = 5500e-08; // Wavelength of light, cm
// S... |
8ef911a2c0dfa329bf34fddc651d888d8da1278a | f4a11c3b79215563a9ff8c4501a0e977c57488e8 | /models/scilab/simple-controller.sci | 1c2105e5cd4dece9bd6fc3884ad30422890bb0d2 | [
"Apache-2.0"
] | permissive | org-mylinuxdrone-project/org.mylinuxdrone.project | 67b5a1d67ff8206e01b3f946000fa34faa48c41b | 9ddd0a97e52c82cb3569acc05e8e809128c532c9 | refs/heads/master | 2020-12-01T20:54:56.966487 | 2020-01-19T18:44:37 | 2020-01-19T18:44:37 | 230,766,992 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,078 | sci | simple-controller.sci | A=[-1,-1,1,1;1,-1,1,-1;-1,1,1,-1;1,1,1,1];
RM=[60/100,0,0,0;0,80/100,0,0;0,0,75/100,0;0,0,0,68/100];
Omega=[10,10, 10, 10, 10, 10;
0, 0, 0, 0, 0, 0;
0, 0, 0, 0, 0, 0;
20,20, 20, 20, 20, 20;
];
function out = genOmega(num,rip)
for j=[1:1:num]
for i=[1:1:rip]
m(1:... |
ce5665c2348a8f9a948b8b1bc9d4fbc7413fd89e | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH14/EX14.4/14_4.sce | 3bfe02da4d8b57cb444b743209a651f322e8acc2 | [] | 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 | 804 | sce | 14_4.sce | clc;
clear;
function z=f(x,y)
z=2*x*y + 2*x - x^2 - 2*y^2
endfunction
x=-1;
y=1;
d2fx=-2;
d2fy=-4;
d2fxy=2;
modH=d2fx*d2fy-(d2fxy)^2;
for i=1:25
dfx=2*y+2-2*x;
dfy=2*x - 4*y;
//the function can thus be expressed along h axis as
//f((x+dfx*h),(y+dfy*h))
function d=g(h)
d=2*(x+dfx*h)*(y+dfy*h... |
654e582cb43344ef3381dc1b01144d310094c743 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Makevaltable.sci | dc917f307228be7c100c23b9eb650de32bd5f79f | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,663 | sci | Makevaltable.sci | // 08.09.09
// 08.10.08
// 08.12.06
// 08.12.30
// 09.06.03
// 13.10.19 ( __ added to variables )
function [Zval__,Xval__,Yval__]=Makevaltable(MS__)
Eps__=10^(-6);
Nargs__=Mixlength(MS__);
Fstr__=Mixop(1,MS__);
Tmp__=Mixop(2,MS__);
Tmp1__=mtlb_findstr(Tmp__,'=');
Xname__=part(Tmp__,Tmp1__-1);
Xrange... |
f5f21c4868bd4bd9acd1f5204252850b1aac8754 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.17_5.tst | b3ed4f4fb29ce1c6305725537203b2ae6dac70d5 | [] | 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 | 27,128 | tst | bow.17_5.tst | 17 11:0.5 19:0.09090909090909091 80:0.5 1332:0.3333333333333333 1346:0.5 3305:0.5 3316:0.5 3407:1.0 3534:1.0 4088:1.0 4123:0.5 4302:1.0 5282:1.0 5554:1.0 6274:1.0 6293:1.0 7516:1.0 7670:1.0
17 6:0.2 20:0.16666666666666666 21:0.125 38:1.0 88:1.0 105:1.0 121:0.05128205128205128 134:0.2857142857142857 203:0.33333333333333... |
831a222c9909ddd7ec747e0e48d0a999793e46bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2345/CH2/EX2.4/Ex2_4.sce | c09a15210da0139f6c2587332d6187f4752b6b53 | [] | 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 | 573 | sce | Ex2_4.sce | //Finding length
//Example 2.4(pg. 22)
clc
clear
//Part (a)
d=0.4*(10^-3)//diameter in meter
a=%pi*(d^2)/4//area in meter square
p1=100*(10^-8)//resistivity of nichrome in ohm-meter
R=40//resistance in ohms
l1=R*a/p1
printf('Thus the length of heater element with nichrome wire is %2.1f meter \n',l1)
//Part... |
004dcdb45b89dfdf408510ecfe0a2180c5751e8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH4/EX4.18/Ch04Ex18.sce | 2a46ccc3e99268c6486b567f46e9a734b843a653 | [] | 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 | 463 | sce | Ch04Ex18.sce | // Scilab Code Ex4.18: : Page-4.34 (2009)
clc; clear;
theta = 15.2; // Angle through which plane of polarization is rotated, degrees
S = 65; // Specific rotation of sugar solution, degrees
l = 15; // Length of sugar, cm
// As S = 10*theta/(l*c), solving for c
c = 10*theta/(l*S); // Concentration of ... |
d983fe00e2436a186528431bb7fa77033609d6ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1922/CH8/EX8.10.b/8_10b.sce | 711f016bb44fee698b31833ff0fbe6e76a2ac315 | [] | 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 | 285 | sce | 8_10b.sce | clc
clear
//Initialization of variables
v1=0.1316
v2=0.2941
x1=0.5
x2=0.2
x3=0.8
d1=14.87
d2=16.34
//calculations and results
vm=(1-x2)*v1+x2*v2
phi1=(1-x2)*v1/vm
phi2=(x2)*v2/vm
Hl2=vm*phi1*phi2*(d1-d2)^2 *10^3
disp("case 2")
printf("enthalpy = %.1f kJ/mol",Hl2)
|
be0aab77d288470f509e89f675517cd2d3a7ace9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/scicos/do_copy.sci | 2337d191f8cbe1a3f11c12437088bd30e75efc26 | [
"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 | 2,262 | sci | do_copy.sci | function [scs_m,needcompile]=do_copy(scs_m,needcompile)
// Copyright INRIA
while %t
[btn,xc,yc,win,Cmenu]=getclick()
if Cmenu<>[] then
Cmenu=resume(Cmenu)
end
kc=find(win==windows(:,2))
if kc==[] then
message('This window is not an active palette')
k=[];break
elseif windows(kc,1)<0 then //click ... |
65f5ec6da02bc026df401e068824befbd0c2c540 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH5/EX5.22/Ch05Ex22.sce | 23a77ba9cf6d35fbb3ae9dc38ea28f2e1b716696 | [] | 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 | Ch05Ex22.sce | // Scilab code Ex5.22: Pg 178 (2008)
clc; clear;
I_1 = 8; // Electric current, A
I_2 = 2; // Electric current, A
N = 3000; // Number of turns in a coil
phi_1 = 4e-03; // Flux, Wb
delta_t ... |
b0eaa3f3c7fbca40f0f9d47b72b8ef186b7715b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH1/EX1.9/9.sce | 1f88b536510563f51eb8b5c713aa922a3de5d5ed | [] | 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 | 167 | sce | 9.sce | clc
// p1-rho*g*(H+H1)=p2-rho*g*H1-rho_air*g*H
rho=1000;
g=9.81; // m/s^2
H=0.4; //m
dp=rho*g*H;
disp("Pressure drop in the pipe =")
disp(dp)
disp("N/m^2") |
7d8de0eac02f720c7968efc733178a299ab9355b | eba87ea88592ae455b25057043e94955762052e1 | /Scenario/world2.sce | 997366bb13a9ba7302a968700148846af6e6a141 | [] | no_license | milkhouse1990/RabbitMilk2018 | d5f9d4d740c763f7c9003be870f7c6c240a4f6df | 1dffae3c4a70ab6cb29c7c20d4fe68e898ca5adf | refs/heads/master | 2018-07-14T18:24:56.563587 | 2018-06-01T10:37:06 | 2018-06-01T10:37:06 | 116,246,271 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,010 | sce | world2.sce | //高速公路
world 2 Highway
//1111
scene 0 Highway
cut 0
声音A 果酱 果酱果酱果酱 果酱果酱果酱 果酱果酱果酱…
声音B 你好烦啊,能不能闭上你的臭嘴。
声音A 果酱果酱果酱…
声音B 闭嘴!
声音A 为什么?
声音B 你从上车开始就一直叨叨个不停,到底有完没完啊。
声音A 这你怎么能明白呢,我马上就要见到我的小偶像果酱亲了,当然激动了。
声音B 那种偶像到底有什么好看的啊?
声音A 不准你黑我家小果酱!小果酱是全月球最可爱的人!
声音B 那你就赶快从我的车子上滚下去啊!坐别人的车子还这么多事。
声音A 不要嘛,你新买的车子,放着也是浪费嘛,就带我去嘛。
声音B 叫姐姐。
声音A 姐姐... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.