blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f71136325599eac967ce706e2092835056435cb6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/DEPENDENCIES/6_1data.sci | c1a4bd1f02cf86fdb40f11df1613394a11d5fa91 | [] | 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 | 135 | sci | 6_1data.sci | L12=10;//in m
L13=10;//in m
AE=200000;//in N
FX2=0;//FORCE ON POINT 2 IN X DIRECTION
FY2=-10;//-W,FORCE ON POINT 2 IN Y DIRECTION
|
82b7db96eb33a304fd27e11ef519c2a566e0c5db | b7fd34bedefb53b379af9b7a018aa38c91cd16cb | /t_uthelperCallNestedCode.tst | 479fded261b74d9d1b72ede8e750949f2d4031e5 | [] | no_license | arkadiusznowak1983/callNestedProgramByForwardPattern | 325470adb96d10203a370444aff294cee40db90d | 3009465056573af0a81e42ff8fbcdb213f6818ef | refs/heads/master | 2020-04-29T10:02:53.494493 | 2019-03-17T02:43:11 | 2019-03-17T02:43:11 | 176,047,427 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,473 | tst | t_uthelperCallNestedCode.tst | PL/SQL Developer Test script 3.0
42
-- Created on 3/16/2019 by arkadiusz.nowak1983@gmail.com
DECLARE
-- test package normal code execution
PROCEDURE test__code_execution IS
BEGIN
dbms_output.put_line( 'Test package normal code execution' );
p_ut_packageWithNestedCode.procedure_withNestedCode;
END tes... |
aab4f3343395e594f8793af476c52ab6c609888f | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH14/EX14.1/example14_1.sce | d1db1b9c1b0e112d0e24d5373bfe617c225bb542 | [] | 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,154 | sce | example14_1.sce | //Chapter 14
//Example 14_1
//Page 359
clear;clc;
l=300;
i1=100;
i2=200;
l1=200;
pf1=0.707;
pf2=0.8;
r=0.2;
x=0.1;
l2=l-l1;
z=r+%i*x;
Zac=z*l1/1000;
Zcb=z*l2/1000;
I2=i2*(pf2-%i*sin(acos(pf2)));
I1=i1*(pf1-%i*sin(acos(pf1)));
Icb=I2;
Iac=I1+I2;
Vcb=Icb*Zcb;
Vac=Iac*Zac;
vd=Vac+Vcb;
printf("Impedance of distributor/... |
d66092dc3ef98c6910b50050d2d772a46b4e1fba | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH20/EX20.10/ex20_10.sce | 1c53c0a0c6fe6e4cea745ea25cc7387105a063cd | [] | 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 | 472 | sce | ex20_10.sce | clc;
clear all;
rho=8900;//density of Ni
m=58.71;//atomic weight of Ni
Na=6.022e26;//avagadra's number
u0=4*%pi*1e-7;//permiability of vacume
N=rho*Na/m;//no of atoms per unit volume
disp('atoms/m^3',N,'no of atoms per unit volume is:')
um=9.27e-24;
x=0.6*um;//bohr megneton per atom
y=N*x;//magnetic moment pe... |
37b034739abffef14efef61eb8821b8c034a3e0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH2/EX2.17/Ex2_17.sce | 8f686b2f98ee8de8066aa0a6a12f07ac79469e91 | [] | 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,150 | sce | Ex2_17.sce | // Example 2_17
clc;funcprot(0);
//Given data
m=[1 2 3 4 5 6 7 8 9 10];// Month
D=[200 100 20 20 260 180 40 280 60 120];// Discharge in millions of cu-m-per month
Q=100;// millions of cu.m
// Calculation
Cv(1)=D(1);
Cv(2)=Cv(1)+D(2);// Millions of cu-m
Cv(3)=Cv(2)+D(3);// Millions of cu-m
Cv(4)=Cv(3)+D(4);/... |
63e2eb54ace9f44362511de0b3d59b4043f85b92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2153/CH16/EX16.1/ex_16_1.sce | c977e371d77427194f04c1a6631112aa5cf3a03c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 253 | sce | ex_16_1.sce | //Example 16.1 : concentration
clc;
clear;
close;
format('v',9)
//given data :
e=1.602*10^-19;
sigma_i=5*10^-4;// in ohm/m
mu_n=0.14;// in m^2/V-sec
mu_p=0.05;// in m^2/V-sec
n_i=sigma_i/(e*(mu_n+mu_p));
disp(n_i*10^6,"the concentration,n_i(/cm^3) = ")
|
8be3e0bd573727887669d309510ffa5d7345eb5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH16/EX16.7/Chapter16_example7.sce | 29ccb964c767f6995a52c44deb1490b0cf9bcd4f | [] | 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,861 | sce | Chapter16_example7.sce | clc
clear
//Input data
n=6;//Number of cylinders
Do=0.03;//Orifice diameter in m
Cd=0.6;//Coefficient of discharge
H=0.14;//Pressure drop across the orifice
d=0.1;//The diameter of the bore in m
L=0.11;//The length of the stroke in m
W=540;//Brake load in N
N=2500;//Engine speed in rpm
ch=83/17;//C/H ratio ... |
b6d876c1a5ef0a2dc850253c71c0fb1aba00a677 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH1/EX1.17/Exa1_17.sce | 363009c8d7adb45ed764fba35fe20d3a1d58276d | [] | 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 | 694 | sce | Exa1_17.sce | //Exa 1.17
clc;
clear;
close;
//given data
BETAac=100;//unitless
BETAdc=100;//unitless
VBE=0.7;//in volts
VCC=10;//in volts
VEE=-10;//in volts
VT=25;//in mVolts
R=3.6;//in kohm
RC=2.2;//in kohm
// part (i) //
IR=(VCC-VBE-VEE)/R;//in mA
ICQ=IR/2;//in mA
VE=-2*VBE;//in Volts
VC=VCC-ICQ*RC;//in Volts
VCE... |
61c2980123098293fe8da925636968a517372612 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH6/EX6.14/fir_cra_ex1.sce | 3905e0a7699d70488783edb1004d632fbfcdb86f | [] | 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 | 913 | sce | fir_cra_ex1.sce | // Determination of FIR parameters as described in Example 6.22 on page 200.
// 6.14
exec('cra.sci',-1);
exec('filt.sci',-1);
exec('covf.sci',-1);
sig = 0.05;
process_mod = armac([1 -0.5],[0 0.6 -0.2],1,1,1,sig);
u = prbs_a(2225,40);
xi = rand(1,2225,'normal');
y = arsimul(process_mod,[u xi]);
u = [u ze... |
b26f0157148c7abd86400c6216abae3272693a3c | 9aa95a74bbb2cde53d49cfbeb529fe858781b85c | /trapezoid.sce | e61e91d9c3289f1632da17e3dfead3b892a75838 | [] | no_license | Killer2499/Scilab | 020807deb4ea75743af080761b65be086d05d491 | 322a592dcccad58dab48bcf52411aa5b26fcb8ff | refs/heads/master | 2020-03-10T09:08:15.979283 | 2018-04-12T19:57:09 | 2018-04-12T19:57:09 | 129,303,189 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sce | trapezoid.sce | function area(fun,a,b,n)
area=sqrt(horner(fun,a));
h=(b-a)/n;
for i=1:n-1
area=area+2*sqrt(horner(fun,a+i*h));
end
area=area+sqrt(horner(fun,b));
area=area*0.5*h;
disp(area)
endfunction
|
177e61aaf664a156a7867a56bee4b7252416cf68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /46/CH30/EX30.3/Example30_3.sce | 77fc985709b3bd46c3ff0cb30b27460e71040805 | [] | 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 | 428 | sce | Example30_3.sce | //Example 30.3
clc
A1=1;
A2=1/2;
R1=1/2;
R2=2;
R3=1;
Gc11=K1;
Gc22=K2;
Gc12=0;
Gc21=0;
A=[-1/(R1*A1)-1/(R3*A1) 1/(A1*R1);1/(R1*A2) -1/(R2*A2)-1/(A2*R1)]
B=[1/A1 0;0 1/A2]
syms s;
I=eye(2,2)
Gp=inv(s*I-A)*B
G11=Gp(1,1)
G12=Gp(1,2)
G21=Gp(2,1)
G22=Gp(2,2)
Gv1=1;
Gv2=1;
Gm=I
Gv=[Gv1 0;0 Gv2]
Gc=[Gc... |
50bb20671870c89bfac949e80d6f0e9f5a2595a2 | 73b5d880fa06943c20ff0a9aee9d0c1d1eeebe10 | /tinyos-1.x/regression/cnttorfm/cnt.tst | 1a63dc3a5158e2a4d9053fa7b3dd83b4549105ab | [
"Intel"
] | permissive | x3ro/tinyos-legacy | 101d19f9e639f5a9d59d3edd4ed04b1f53221e63 | cdc0e7ba1cac505fcace33b974b2e0aca1ccc56a | refs/heads/master | 2021-01-16T19:20:21.744228 | 2015-06-30T20:23:05 | 2015-06-30T20:23:05 | 38,358,728 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 678 | tst | cnt.tst | #!/usr/bin/perl
do "../tools.pm";
$received1 = recv_base(1);
($dest1, $amid1, $group1, $len1, @remainder1) = unpack_message($received1);
$received2 = recv_base(1);
($dest2, $amid2, $group2, $len2, @remainder2) = unpack_message($received2);
# We test for a distance of 3 because packets are occasionally lost
# (hopef... |
2d2ab1c01ae2561da7c589fdc545173b2fcef469 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3890/CH6/EX6.7/Ex6_7.sce | 3bd8d007d74f89b6c7683b6fd77ce16d1c1efda2 | [] | 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 | 696 | sce | Ex6_7.sce | //Electric machines and power systems by Syed A Nasar
//Publisher:Tata McGraw Hill
//Year: 2002 ; Edition - 7
//Example 6.7
//Scilab Version : 6.0.0 ; OS : Windows
clc;
clear;
V=230; //supply voltage in v
Ra=.05; //armature resistance in ohms
Rf1=75; //field resistance in no load in ohms
R... |
83b08a191586726032f57ab84a1194a6b3d91a9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH5/EX5.16/5_16.sce | 9797e3a2819712a26e27618250bc5258093d039d | [] | 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 | 554 | sce | 5_16.sce | clear; clc; close;
Zi = 4*(10^(3));
Zo = 2*(10^(3));
Rs = 0.2*(10^(3));
AvNL = -480;
disp(AvNL,"Voltage gain(Av) with no-load :")
Rl = 1.2*(10^(3));
Av = {Rl/(Rl+Zo)}*AvNL;
disp(Av,"Voltage gain(Av) with 1.2kohm load :");
Rl = 5.6*(10^(3));
Av = {Rl/(Rl+Zo)}*AvNL;
disp(Av,"Voltage gain(Av) with 5.6kohm... |
ef44b72c98d754f8d9095583fafa140f7c5e0d0a | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_diff_3_a.tst | 4b5c65c04256df84e1ed230ddc0004dc14be2a70 | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 55 | tst | test_diff_3_a.tst | >>>>>> (1)
x0
x1
>>>>>> (2)
y0
y1
======
a
b
c
d
e
f
g
|
f604f7b09addd6c5b957358b5f7cfbb2ca3a467c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH6/EX6.3/exa6_3.sce | 46ccd29940379667a61e02f9e89ee73f4edfa91b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 685 | sce | exa6_3.sce | // Example 6.3
// Parallel Network with an AC Voltage Source
v_m=30; // Magnitude of voltage phasor
omega=4000; // radian frequency
phase_v=20; // Phase angle in degree
Z_r= 5; // Impedance of Resistance
C= 25*10^-6; // Capacitance
Z_c= 1/(%i*omega*C);// Impedance of Capacitance
i_r=v_m/Z_r; // Ohm's Law in Pha... |
4ad1f84ed7bb2b50e00dca928e415b1788e935c6 | 481f3317298608c37d4cb96f148faf5068d712bb | /lib/scilab/getTasks.sci | 22e1706442ee9cb2e4113dead1bd69d7dc8b2236 | [] | no_license | masilvabustos/xcos2uc | 1f83c0710da6506cec8c8aad5a97848903f6ad32 | 531c35a53b7efc11e69e98c643ebad3df3d362f5 | refs/heads/master | 2020-04-05T22:41:50.570623 | 2016-11-13T18:18:22 | 2016-11-13T18:18:22 | 22,852,879 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,018 | sci | getTasks.sci |
function edges = getEventDrivenEdges(edge_list)
edges = list()
for i = 1:length(edge_list)
if edge_list(i).event_source <> 0 then
edges($+1) = i
end
end
endfunction
function task_list = createTasks(edge_list, objs)
if typeof(objs) <> 'list' | typeof(objs) <> ... |
3f65ee07a2e7655e73e1cf55c59c5fd222b5acdb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH20/EX20.18/EX20_18.sce | 61a6fd81aa3e955b6a06c1bff5b91b92c3c682a6 | [] | 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,251 | sce | EX20_18.sce | clc;funcprot(0);//EXAMPLE 20.18
// Initialisation of Variables
ns=2;.............//No of stages
v1=0.2;.........//Intake volume in m^3/s
p1=1;..........//Intake pressure in bar
t1=289;...............//Intake temperature in K
p3=7;.........//Final pressure in bar
n=1.25;.......//Compression index
N=600;......../... |
9fc9a1c23f17d4a9dbcaf4e01ec38687286a894e | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH16/EX16.2/Example_16_2.sce | 478b47c663d64873ca5f07a02a22cc7a1a1811a8 | [] | 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 | 709 | sce | Example_16_2.sce | //clear//
clear;
clc;
//Example 16.2
//Given
Ti = 108; //[C]
Tl = 52; //[C]
U1 = 2500; //[W/m^2]
U2 = 2000; //[W/m^2]
U3 = 1000; //[W/m^2]
//Solution
//Total temperature drop
delta_T = Ti-Tl; //[C]
//From Eq.(16.13), the temperature drops in several effects will be
//approximaely inversely proportion... |
8bb41f0e8f57de59a34e7e282dac4cc035b0599c | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rc2poly/rc2poly9.sce | b5033d804432bb65a584a60bf2fbdd12ff9f2303 | [] | 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 | 221 | sce | rc2poly9.sce | X = [7 6 5 8 3 6];
r=[1];
[a, efinal] = rc2poly(X,r);
disp(a)
disp(efinal)
//output
// column 1 to 5
//1. 161. 6360. 51898. 25385.
//column 6 to 7
//861. 6.
// 7.112D+08
|
f4fc244a7bca0e96e1dd85e5692278608b69e3b3 | bafec9cfd637de76d821036b386b3fcfca5f3ce6 | /scilab/fEF.sci | 9f3e0dea7993dd4d5667ea83aa2b657269c68eff | [] | no_license | julienberthe/Code_OPT3B | 953577210bf6bf29991fedb6d492e1495544f704 | 2bf380a96418cf8601047b886710bf9bbeaf2c86 | refs/heads/master | 2020-12-24T16:59:34.738495 | 2010-02-18T10:19:41 | 2010-02-18T10:19:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 663 | sci | fEF.sci | // ============================================================
// Fonction de Forme Elements Finis 1D Lineaire
// ============================================================
// ============================================================
function [phiEF,dphiEF] = fEF(xg,xp,he)
h = xp(2)-xp(1);
phiEF = zeros(1,length... |
fd6436e768a10db8a5adbee5c4109504c2411e7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH32/EX31.3/EX31_3.sce | eab19e361f846490e8a39c2c2c0f73c6067574bc | [] | 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 | 740 | sce | EX31_3.sce | // Grob's Basic Electronics 11e
// Chapter No. 31
// Example No. 31_3
clear; clc;
//Calculate the following quantities: Pl, Pcc, Pdmax & percent efficiency
// Given data
Vin = 20; // Input Voltage=20 Volts(p-p)
Vopp = 20; // Output Voltage(p-p)=20 Volts(p-p)
Vcc = 24; // Supply Voltage(Coll... |
43f8addaf2d64f3f5d48375fa53bf66347437d70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH12/EX12.23/example23_sce.sce | 709efb02fec7932ed07874b024a71955cbbc3019 | [] | 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 | example23_sce.sce | //chapter 12
//example 12.23
//page 528
printf("\n")
printf("given")
hie=1*10^3;hfe=50;hoe=10*10^-6;Cc=5*10^-12;Cp=330*10^-12;Lp=75*10^-6;Rw=1;Rl=5*10^3;fo=1*10^6;K=.015;Ls=50*10^-6;
Zp=Lp/((Cp+Cc)*Rw);
Rc=(1.0/hoe)/1000;
RL=(Zp*Rc)/(Rc+Zp)
disp("voltage gain from the input to the primary memory winding")
Avp=(hfe*RL)/... |
4a1b7b034fe12ce97d2cb2f95f6bddb1869a95f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH16/EX16.2/2.sce | aa856ca3044bd5fa9bae1838088976b98e2ea791 | [] | 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 | 2.sce | clc
p1=35; //kN/m^2
V1=30; //m/s
T1=423; //K
V2=150; //m/s
R=290; //J/kg K
y=1.4;
//Let r1=p2/p1
r1=R*T1;
p2=p1*(1-((V2^2/2-V1^2/2)*(y-1)/y/r1))^(y/(y-1));
disp("p2=")
disp(p2)
disp("kN/m^2")
T2=T1*(p2/p1)^((y-1)/y);
t2=T2-273;
disp("t2 =")
disp(t2)
disp("°C") |
88a5846ba83b271c669614d135f7a7c3994222dd | 2f14b5754bf00d8f425d930813ec9fbb37443f20 | /Pythagorean or nah.sce | 90ec32fa1681aa13e2b271a80f16e47146dac642 | [] | no_license | sohamkan/Sci-projects | 9f14b01e4937ccf3cf59732fc19d495d566bfaae | 5baf7456498ba0075760095655826b7ddcae471e | refs/heads/master | 2022-11-22T04:03:53.155413 | 2020-07-12T04:31:34 | 2020-07-12T04:31:34 | 278,990,043 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | Pythagorean or nah.sce | clc
clear
a=input("Enter side 1:")
b=input("Enter side 2:")
c=input("Enter side 3:")
if a^2+b^2==c^2;
then disp('Pythagorean Triplet')
elseif a^2+c^2==b^2
then disp('Pythagorean Triplet')
elseif b^2+c^2==a^2
then disp('Pythagorean Triplet')
else
disp('Not a Pythagorean Triplet')
en... |
0dabcb3329da7711398d29a6c65f4104d31b0c26 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH1/EX1.6/Ex1_6.sce | 80e808a605da2f736f549c41b691264968a5e9d0 | [] | 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 | 442 | sce | Ex1_6.sce | errcatch(-1,"stop");mode(2);//Example 1_6
;
;
//find the distance between the slits
lamda=500 //units in nm
lamda=500*10^-9
D=2 //units in mts
f=100
d1=5 //units in cm
d1=5*10^-2 //units in mts
betaa=d1/f //unitd in mts
//the distance between the slits
d=(... |
feec01a737810547388a4698ef227fa84f0ada8e | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set11/s_Fundamentals_Of_Nuclear_Science_And_Engineering_J._K._Shultis_And_R._E._Faw_3535.zip/Fundamentals_Of_Nuclear_Science_And_Engineering_J._K._Shultis_And_R._E._Faw_3535/CH7/EX7.5/Ex7_5.sce | af9a3f18f03546e130369662eb8d3fdfc6399173 | [] | 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 | 320 | sce | Ex7_5.sce | errcatch(-1,"stop");mode(2);//Chapter 7, Example 7.5, Page 199
// Activity of the sample
lambda = 7.466*10**-5
m = 2
Na = 0.6022*10**24
A = 55
sigma = 13.3*10**-24
delta = 10**13
t = 120
Activity= lambda*(m*Na/A)*sigma*delta*t
printf("Activity = %e Bq\n",Activity)
//Answers may vary due to round off error
exit();
|
d084e7424428bc246ca94c6977d53b6a43a9c3cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1853/CH5/EX5.16/Ex5_16.sce | d536c6df7d23ee76af3764ff346e087581951d66 | [] | 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 | 199 | sce | Ex5_16.sce |
//calculate the synchronous speed ,slip,frequncy induced emf
f=50
p=4
Ns=120*f/p
N=1460
s=(Ns-N)/Ns
f1=(s*f)
disp( 'f1='+string(f1)+'hz' , 's='+string(s)+' ' , 'Ns='+string(Ns)+'rpm' )
|
acae3661c005e3929c74d9624421583240e26485 | f8bb2d5287f73944d0ae4a8ddb85a18b420ce288 | /Scilab/machine-sliding-mode/jiyukaisou/比例到達速(4画面).sce | ac455b5e8c80bf1bcaaf8d90f6b6980895cd3072 | [] | 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 | 3,053 | sce | 比例到達速(4画面).sce | //------------------------------------------------
//■2013.12.14 秋山殿
// 比例到達則+対称化
//------------------------------------------------
//▼2自由度機械システムの定義
L=[1 0; 0 1]; //アクチュエータに加わる力を表す行列(正則行列)
//L=[1 3; 0 0]; //アクチュエータに加わる力を表す行列(正則でない正方行列)
m1=1.2; m2=1.1; //質量
k1=1.3; k2=2.1; //ばね定数
d1=1.2; d2=2.4; //減衰定数
M=... |
9485662fabe7da98790862b9df8cc6ab2d91cb32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3513/CH6/EX6.9/Ex6_9.sce | 88613e0f2d463bb0ff1681b17529bf8c0698c4a8 | [] | 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,502 | sce | Ex6_9.sce | //Determine the control limits for X and R chart..
//page no 121
clear
clc;
K = 20;
X1 = 669.2;
R1=126.0;
X2=X1/K;
R2=R1/K;
A2 = 0.58;
d2 = 2.326;
D3 = 0.0;
D4 = 2.11;
//(a) Control limits for R-chart
mprintf("Control limits for R-chart");
UCL = D4*R2;
mprintf("\UCL = %.2f \n",UCL);
LCL = D3*R2;
mpr... |
d9f1ab54d415ab7a486d8bea0f9850d11a8e244b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.111/EX2_111.sce | c220a05c767b30813fb04cdb362a214fd38efc60 | [] | 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 | 382 | sce | EX2_111.sce | //EXAMPLE 2-111 PG NO-147
VCB=2.49-%i*12.50;
R=4+%i*2;
I1=VCB/R;
disp('i) CURRENT (I1) is in polar form = '+string (I1) +' A ');
I2=2.5+%i*0;
I=I1+I2;
disp('i) CURRENT (I) is in polar form = '+string (I) +' A ');
VAC=11.8-%i*0.12;
VCB=2.5-%i*12.5;
VAB=VAC+VCB;
disp('i)... |
2e338acb0cd9be15589308db28d22d0b69547436 | 46ffb5fda9448453eba4d6787a1568028b241d88 | /ABMLangangen/calibration/calibSimplexMeanSquares_04:08:38.855 PM 05-juin-2013.sci | 2584ca65c27b164c1afb09e3a64dfdbbf602f227 | [] | no_license | JusteRaimbault/Models | f81f886dc050445dae68e933e0c052c7f9c0b59c | 52f9c28fe20c8e491fb83e22ef162256eb966d32 | refs/heads/master | 2016-09-10T23:23:05.419418 | 2013-07-30T22:02:34 | 2013-07-30T22:02:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 16,966 | sci | calibSimplexMeanSquares_04:08:38.855 PM 05-juin-2013.sci | ms=[];incomemean=[];bref=[];bnorm=[];
ms(1)=53180.1819728015;
incomemean(1)=2000;
bref(1)=2000;
bnorm(1)=2000;
ms(2)=53000;
incomemean(2)=2000;
bref(2)=2500;
bnorm(2)=2000;
ms(3)=46484.185473106;
incomemean(3)=2000;
bref(3)=2000;
bnorm(3)=2500;
ms(4)=53180.1819728015;
incomemean(4)=2500;
bref(4)=2000;
bnorm(4)=2000;
ms... |
5f7ea57b8111be6bfec0e97c3fa34d9aadcbbed1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH26/EX26.2/ex_26_2.sce | b59aa9ce2db9d3aeb3e4a23998d2042f9030c183 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | ex_26_2.sce | //find
clc
//solution
//given
W=150000//N
d=0.3//m
N=1800//rpm
p=1.6//N/mm^2
Z=0.02//kg/m/s
c=0.25//mm
//let l be the length of bearing in mm
//A=l*d=300*l//mm^2
//pb=W/A
l=W/(300*p)//mm
printf("length of bearing is,%f mm\n",l)
u=(33/10^8)*(Z*N/p)*(d*1000/c)+0.002
printf("coeeficient of friction is,%f \... |
5df79bf4851c1eedcd57a1dadc8515652d5dbdd7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH14/EX14.3/ex_14_3.sce | 30876c4dd0392ff6df40f23025b4466ce0c33275 | [] | 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 | ex_14_3.sce |
clc
//solution
//given
P=20*1000//W
N=200//rpm
tu=360//N/mm^2
Fs=8
k=0.5//k=di/do
t=tu/Fs//N/mm^2
T=P*60000/(2*%pi*200)//N-mm
//T=(%pi/16)*t*d^3=8.25*d^3
d=(T/8.25)^(1/3)//mm
printf("the dia of solid shaft is,%f mm\n",d)
//elt di and do be inside and do be outer dia
//T=(%pi/16)*t*do^3*(1-k^4)
//T=(%pi/16)*t*do^3[1-0.... |
cfe3c11f0005f95cdf96bfba27003b937379f351 | 364fc2bac23ae5482a18e5e9392ff63e68642dae | /Annales/2016_exo2.sci | 1fc9f4166a558ea53d28d70ec045872a328a8323 | [] | no_license | Raphael-De-Wang/2M310TP | 259e55e9dc931b0a0102ed7a5dbbb31e82b88295 | af21ffee07fadeb5b27c5f30d0deb1926972ccee | refs/heads/master | 2021-01-11T14:14:21.447623 | 2017-03-29T20:27:35 | 2017-03-29T20:27:35 | 81,227,258 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,520 | sci | 2016_exo2.sci | clear;
// Q1.
function Xexp = EulerExplicite(a,x0,T,p)
hp = T/p;
Xexp = [x0];
for k = (1:p),
Xexp(k+1) = Xexp(k) * (a * hp + 1);
end
endfunction
// Q2.
function Ximp = EulerImplicite(a,x0,T,p)
hp = T/p;
Ximp = [x0];
for k = (2:p+1),
Ximp(k) = Ximp(k-1) / (1 - a * hp);
... |
1866cc83401fe2bbdcb15dce6556e1a5600080fc | 6eff8b49b95e2779561fe36f11ef0e9c41d45671 | /Experiment1/encoding.sce | f7adf45d0e0d319ae7bbe11be6c8befbbf373446 | [] | no_license | marliekevk/Integrating-Educational-Knowledge | ab44067273b359cc00e5dc1b68213fa0114153f6 | 8dbcffd4cb7f885a04b9bb995d845d2a44d1132a | refs/heads/master | 2018-10-31T18:07:13.770458 | 2017-10-19T11:19:24 | 2017-10-19T11:19:24 | 105,515,708 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 13,715 | sce | encoding.sce | #--------------------------------------------------------------------
#Header part
#--------------------------------------------------------------------
response_matching = simple_matching;
scenario= "encoding";
no_logfile = false;
#Response buttons
active_buttons = 4; #use 1 response button
button_cod... |
7efe8e193d1b165145501b0aeb0723eba86c29ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH5/EX5.22/22.sce | 3dcfb24a0f0db4e3bb5a9fb2e38e631dc285da50 | [] | 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,895 | sce | 22.sce | clc
clear
//Input data
At=24 //Throat area in cm^2
A2=50 //Exit area in cm^2
Po=700 //Stagnation pressure in kPa
To=100+273 //Stagnation temperature in K
Ax=34 //Area before the shock in cm^2
Ay=34 //Area after the shock in cm^2
//Calculation
a1=Ax/At //Ratio of areas
Mx=1.78 //Mach number upstream of sh... |
5d3f024ca7bfcfa2aea4d6cecdee41dd5fbdfd93 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH7/EX7.46/46.sci | 5ebd3615f238ad9c46124adf0de35e28828ed5ca | [] | 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 | 418 | sci | 46.sci | clc;
clear all;
disp("heat transfer rate")
tw=25;//degree C
D=1.5/100;//m outer diameter of copper tube
U=2;//m/s
t=75;//degree C
rho=988;//kg/m^3
k=0.648;//W/m.K
mu=549.2*10^(-6);// kg.m/s
cp=4174;//J/kg.K
Re=rho*U*D/mu;
Pr=mu*cp/k;
Nu=0.3+0.62*(Re^0.5)*(Pr^(1/3))*(1+(Re/282000)^0.5)/(1+(0.4/Pr)^(2/3))^0.... |
6ecb325890b086aceb58e3e815e53eda22fee1b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH7/EX7.19/Ex7_19.sce | bf2bde76834b79db50a0fdbbb79ef4dcb120c8c2 | [] | 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 | 300 | sce | Ex7_19.sce | clear
//
//
//
//Variable declaration
d=3.04*10**-10 //lattice spacing(m)
lamda=0.79*10**-10 //wavelength(m)
n=3 //order
//Calculation
x=n*lamda/(2*d)
theta=asin(x)*180/%pi //glancing angle(degrees)
//Result
printf("\n glancing angle is %0.3f degrees",theta)
|
4b3f732304b93036bd6a2e762506c26c865db93a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3689/CH15/EX15.8/15_8.sce | 2b0a55eb8c599ee9100495f696acae465185fb2f | [] | 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 | 674 | sce | 15_8.sce | ////
//Variable Declaration
M = 0.040 //Moleculat wt of Ar, kg/mol
h = 6.626e-34 //Planks's Constant, J.s
NA = 6.022e23 //Avagadro's Number, 1/mol
k = 1.38e-23 //Boltzmann constant, J/K
T = 298.15 //Std. state temeprature,K
P = 1e5 //Std. state press... |
70ce3b5c2c885b2809b0364da133f3eea5caabfc | 449d555969bfd7befe906877abab098c6e63a0e8 | /63/CH6/EX6.3/Exa6_3.sci | 4b1f9de16d97cffa5df6bcf6a105b059a63b519d | [] | 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 | 245 | sci | Exa6_3.sci | //Determine maximum modulation index
R1 = 110;
R2 = 220;
R3 = 470;
R4 = 1000;
Rc = R1 + R2;
Zm = ( (R2*R3*R4)/((R2*R3) + (R3*R4) + (R4*R2)) + 110);
Mmax = Zm/Rc;
Mmax1 = Mmax*100;
disp(Mmax1, 'Maximum modulation index (in %)')
|
7d89f2f4d692a04b05a8a08ffe4b09b1e726aad5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1241/CH2/EX2.48/exa2_48.sce | 13971ef2067f4a5993e49137cae1847ff3c2c0c0 | [] | 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 | 763 | sce | exa2_48.sce | //Example 2-48//
//Conversion of decimal to binary//
clc
//clears the console//
clear
//clears all existing variables//
q=0
b=0
s=0
//initialising//
//a=input(enter the decimal number to be converted to its binary form)
//taking input from the user//
a=0.54545
d=modulo(a,1)
//separating the decimal part f... |
90703f03ac75cb5af06ff673187b906f79935f95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1385/CH9/EX9.11/9_11.sce | 2939d6c2c32e3259aa14b940f75ec57b619c6b9a | [] | 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 | 200 | sce | 9_11.sce | clc
//initialisation of variables
c= 0.050 //M
Kb= 1.8*10^-5
T= 25 //C
Kw= 10^-14
//CALCULATIONS
C= sqrt(Kw*c/Kb)
//RESULTS
printf (' concentration of hydronium ion = %.1e mol per litre',C)
|
431f4ec7060f3a1cbf20b3535081956e27ac5372 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH2/EX2.65/65.sci | 1245f5c42b81752ea392af1b91f99aa5e4e4bd8c | [] | 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 | 479 | sci | 65.sci | clc;
clear all;
disp("expression for rate")
disp("k = k0*(1+a*t+b*t^2)")
disp("considering steady state equation through hollow sphere r= r and thickness dr/dt, ")
disp("Q = -k*A*dt/dr = -k*4*%pi*r^2*dt/dr =-k0*(1+a*t+b*t^2)*4*%pi*r^2*dt/dr")
disp("thus, Q/4%pi * dr/r^2=-k0*(1+a*t+b*t^2)*dt ")
disp("integrating ... |
fc6d94e56b9e2979ee0355898cef3707f2a15ed6 | ab93fd470e1e85ee0ec4f07624904acfc1683a26 | /projects/04/multi.tst | 7b281467fb0b53f9f650e328cffcb1a9c0d02929 | [] | no_license | BTMAX99/NAND2TETRIS | 21751bf7f0c7aa2b036b111d9f1600a211e7d239 | 23a9897358afd734c2e345a9db3b861d37b6bd4f | refs/heads/master | 2022-11-24T01:27:58.312090 | 2020-08-02T08:31:26 | 2020-08-02T08:31:26 | 284,414,788 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | tst | multi.tst | load multi.asm,
output-file multi.out,
//compare-to array.cmp,
output-list RAM[21]%D2.6.2 RAM[26]%D2.6.2 RAM[31]%D2.6.2;
set RAM[21] 5,
set RAM[26] 11,
set RAM[31] 0, // Set test arguments
repeat 200 {
ticktock;
}
output; |
852c07fd9e5602f208e8bbefa40653c68124c20f | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH6/EX6.5/ex_6_5.sce | 4532c15b0d7d6adb91e1c6d848eb5e109683e403 | [] | 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 | 122 | sce | ex_6_5.sce | //example 6.5//
clc
//clears the screen//
clear
//clears all existing variables//
disp('X=A''B+AB''')
disp('Y = AB') |
30317e65308b2254ec32b73cc2da2059f7db9711 | 69b617428ddd1e2655e2f276c715dd7ce35f1530 | /san.sce | 1c0e5695eb1a1eaa82139ff947100784946d202a | [] | no_license | sandalakassia/projetosandalatest | e134aca1bcfeac75fdc67d4f65297679f343a700 | d6c17b2d2620f4b867e03f544b30c35bceac343c | refs/heads/master | 2021-01-19T15:09:08.857306 | 2014-10-28T23:54:08 | 2014-10-28T23:54:08 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 55 | sce | san.sce | rsrsrsrsrfsvf
vvvv
"""vc é linda""""
input=("s3s3s3")
|
88060784e1a4ad4f693e1f76394f4c44bf847371 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH14/EX14.28/Example14_28.sce | ff7e7c29314fc17f34978d9f92b4532d9741c303 | [] | 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,419 | sce | Example14_28.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 14: TRANSFORMERS
// Example 14-28
clear; clc; close; // Clear the work space and console.
// Given data
// From diagram in fig.14-24a
V_1 = 11 ; // Tr.1 voltage in kV
V_b1 = 11 ; // Base Tr.1 vo... |
812afcc4d6759c1753463af989d0d5dcc3166507 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH44/EX44.04.a/44_04_a.sce | 75f4ba37f6ea5d48281bc90de07f7250c685334b | [] | 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 | 252 | sce | 44_04_a.sce | clear;
clc;
j=50e2;
r=100e6;
f=60;
p=2;
g=10;
n=120*f/p;
w=2*3.14*n/60;
ke=.5*j*w^2*100;
h=ke/r;
m=g*h/(180*f)
m=round(m*1000)/1000;
mprintf("the value of angulr momentum M=%fMJs/ele.degrees\nthe Inertia Constant H=%dMJ/MVA",m,round(h));
|
9e047d2f5a9796ccdf7f43194d42b0e29b23ae48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH7/EX7.4/EXAMPLE7_4.SCE | b814f8ee65cd890fd178a358757998de99eb5206 | [] | 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 | EXAMPLE7_4.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 7
//SAMPLING THEORY AND PULSE MODULATION
clear all;
clc;
printf("EXAMPLE 7.4(PAGENO 327)");
//given
//x(t) = 6*cos(50*%pi*t) + 20*sin(300*%pi*t) - 10*cos(100*%pi*t)
//by comparing with standard eqn x(t) = A_1*cos(w_1*t) + A_2*sin(w_2*t) + A... |
74266ce2760dcd22fc2059314c8a68b4c09e5576 | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH8/EX8.6/6.sce | 85bd4184a26aedefba3204be11461a3d63bdca63 | [] | 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,049 | sce | 6.sce | clc
//Example 8.6
//Calculate the cross sectional area, pressure, temperature and mach number at a pt in duct where air velocity is 1400ft/s
P1=30//psia
T1=660//R (Rankine temperature scale)
m=10//lbm/s mass flow rate
v1=1400//ft/s
R=4.98*10^4//(ft^2/s^2)*(lbm/lbmol.R)^0.5
k=1.4//dimentionless
M=29//lbm/lbmol
... |
05b1138582bf6253cc06391eb0107d9179f9fceb | ba666f43afd6d9d7af6d8163666bdef3f68202e9 | /src/ETJump.Scoreboard/ETJump.Scoreboard.Ui/src/models/ModelTemplate.tst | fe0b58df811d01b1bbb181e2cc653fd095888939 | [
"Apache-2.0"
] | permissive | haapanen/etjump-scoreboard | 6d6a2d93c0552c5a0de900a7d3498dd7b87e606b | d547134a6e3ec6f405f8f8e6eb5df4f4307ee1d0 | refs/heads/master | 2021-08-31T22:57:08.651957 | 2017-12-23T08:32:00 | 2017-12-23T08:32:00 | 115,139,987 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 408 | tst | ModelTemplate.tst | ${
Template(Settings settings)
{
settings
.IncludeProject("ETJump.Scoreboard.Api");
settings.OutputExtension = ".ts";
}
string TypeConverter(Type type)
{
if(type.Name == "Date")
return "string";
return type.Name;
}
}$Class... |
cc7228dacc21ee780f125077d8bc27030bbe363b | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH2/EX2.10/Ex2_10.sce | e71250b7f8d68f69f7a14a2ae532093ac47d76c4 | [] | 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 | 664 | sce | Ex2_10.sce | //Variable declaration
stddev1 = 0.0152 //standard deviation for ball bearing (in mm)
mean1 = 3.92 //mean for ball bearing (in mm)
stddev2 = 0.0086 //standard deviation for spring (in inch)
mean2 = 1.54 //mean for spring (in inch)
//Calculation
cof_var1 = (stddev1/mean1)*100 // coff of ... |
105017590e0c041acf5880d7abc8f22714e0da33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH18/EX18.5/Example_5.sce | 811aae588b88a695765af21bff0980847fe95284 | [] | 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,825 | sce | Example_5.sce | //Chapter-18,Example 5,Page 406
clc();
close();
H2 =0.24 //composition of H2
CH4 =0.3 //composition of CH4
CO =0.06 //composition of CO
C2H6 =0.11 //composition of C2H6
C2H4 =0.045 //composition of C2H4
C4H8 =0.025 //composition of C4H8
N2=0.12 //composition of N2
CO2=0.08 //c... |
2f814c3f320a68c103b29e3f2c06deae2f825f2c | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/SURPRISE-LANGUAGES/Turkic/kaz.tst | f2e53d2a47ebf20b44022cf524b139c2ceb86d53 | [] | 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 | 63,868 | tst | kaz.tst | кepeк eту V;SG;3;NEG;PST
кepeк eту V;FRML;SBJV;SG;2;FUT
кepeк eту V;FRML;PL;2;PST
кepeк eту V;FRML;IMP;SG;2;NEG
кepeк eту V;SBJV;PL;2;INFM;FUT
кepeк eту V;SG;3;PST
кepeк eту V;PROG;PL;3;PRS
кepeк eту V;PL;1;PST
кepeк eту V;PROG;PL;1;NEG;PST
кepeк eту V;PRF;SG;2;INFM;PST
кepeк eту V;PL;3;NEG;PST
кepeк eту V;FRML;PL;2;NE... |
bfb309c554c52794274269622518a2cd5b8b2031 | d1a2737ec744ffbba1165afa7b05f26a4076f513 | /Lab 7/q3.sce | dfbf3a4181bc9e9496bbb1e0c80f26f841580b06 | [
"MIT"
] | permissive | ipsitmantri/EE-324-Control-Systems-Lab | 4e37a3de51f4114ba0ea281cbb1da78a6c4815bb | b34c45efc3539005603b2e76c1665d6636f80f88 | refs/heads/master | 2023-04-03T10:42:34.548542 | 2021-04-13T14:11:21 | 2021-04-13T14:11:21 | 357,540,595 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,179 | sce | q3.sce | clc; clear;
s = poly(0, 's');
g = 1 / (s^2 + 3*s + 2);
G = syslin('c', 4.437 * g);
G_old = G /. syslin('c', 1, 1);
disp("Uncompensated Transfer function")
disp(G_old);
settling_t = 2.3357;
disp(sprintf("Old settling time = %.4f", settling_t));
slope = %pi / log(10);
x = -4:0.001:0;
y = -slope * x;
scf();
evans(G, 1000... |
fd8a20dce2986f8ca4fb51bdfa5de13af6de830c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH7/EX7.24/EX_7_24.sce | e7a7bc507a3fa90a0867ab46e164aba1044ef886 | [] | 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 | 570 | sce | EX_7_24.sce | // Example 7.24:drain resistance and Design R-C phase shift oscillator
clc;
clear;
close;
Mu=55;//
rd=5.5;//resistane in killo ohms
fo=5;//resonant frequency in killo hertz
A= 29;//voltage gain
Rd= (29*rd)/(Mu-A);//resistance in killo ohms
RC=round((1/(2*%pi*fo*10^3*sqrt(6)))*10^6);//R-C in pico second
R=30;;... |
5bff1cc285420c05cb22cd8b47881f0829cf4369 | 22d9f9e36cc02d4358110e7dd63d91180334ff98 | /scripts/randomnumber.sce | 6965a5801f2c2f0276a8f10a5164b8158564a8d3 | [] | no_license | kalexal-kaa/ScilabScripts | ddd6be8dfb4f2820f2e6547be810e8b693781255 | 5b25138895e9a42893e0a88a94f414308203cd69 | refs/heads/main | 2023-06-01T08:55:32.806731 | 2021-07-03T02:24:54 | 2021-07-03T02:24:54 | 379,259,490 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 470 | sce | randomnumber.sce | lim = input("Введите число, больше которого нельзя загадывать: ")
disp("Загадано число от 1 до " + string(lim))
x = int(rand() .* lim) + 1
num = 0
while x ~= num
num = input("Введите число: ")
if x < num then
disp("Мое число меньше")
elseif x > num then
disp("Мое число больше")
else
... |
eea592727f914c74b6c7142ae3d19d854992e3e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /758/CH8/EX8.2/Ex_8_2.sce | 8d6fe8c3b5c644df7c34d99de22c4be078c199aa | [] | 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 | 208 | sce | Ex_8_2.sce | //Example 8.2
clc;clear;close;
s=poly(0,'s');
z=poly(0,'z');
T=1;
Hs=1/(s^2+16);
Hz=horner(Hs,(1-1/z)/T);
disp('Using Backward difference formula for derivative:')
disp(Hs,'H(s)=');
disp(Hz,'H(z)='); |
cef12f62c9bffc52dc4dd6ea5a3476d09d81f7e5 | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/46.tst | b3fd1e7581c4983517deaeb5cb01de5e5704ddc5 | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | WINDOWS-1251 | Scilab | false | false | 122 | tst | 46.tst | int main(void)
{
int func_arr(int a); /* ошибка: объявление функции внутри блока */
}
|
3b3e498fcdf16edcd46bc1df210c5262c48e62b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH7/EX7.23/Example7_23.sce | 93ff6f367245e87b51ecf5fa37a7d0977a55aa9b | [] | 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 | 5,049 | sce | Example7_23.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART I : GENERATION
// CHAPTER 7: TARIFFS AND ECONOMIC ASPECTS IN POWER GENERATION
// EXAMPLE : 7.23 :
// Page number 83-84
clear ; clc ; close ; // Clear the work space a... |
5717a810fa1fbba76ebb5329d7d1b2a0b927c1a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH7/EX7.4/exa7_4.sce | 56c441e2c7f97f51da8888ed0a7a0d9c8ce18b4f | [] | 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 | exa7_4.sce | // Example 7.4
// Power-Transfer Efficiency
// from figure 7.8
V_rms=300; // Volts
R_s=2;// Ohms
Z_R= 20;
Z_C= -%i*10;
Z_RC=(Z_C*Z_R)/(Z_C+Z_R);
// Total impedance seen by source
Z=R_s+Z_RC;
I_rms=V_rms/(abs(Z)); // RMS value of current
P=real(Z)*I_rms^2;// Real Power
Q= imag(Z)*I_rms^2; // Reactive Power
... |
16f95cda11bd4b6ff051d838f2be8a34f810065e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH5/EX5.15/Ex5_15.sce | 062f144d8034ab23df6f2b6d68289a93365aa0c3 | [] | 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 | 871 | sce | Ex5_15.sce | clear;
clc;
b = 5;// inches
d = 4;// inches
t = 1/2;// inches
a1 = b*t;// in^2
x1 = t/2;// inches
y1 = b/2;// inches
a2 = (d-t)*t;// in^2
y2 = t/2;// inch
x2 = t + 0.5*(d-t);// inches
x_bar = (a1*x1+a2*x2)/(a1+a2);// inches
y_bar = (a1*y1+a2*y2)/(a1+a2);// inches
I_AB = (1/3)*t*b^3 + (1/3)*(d-t)*t^3;// in^... |
a431affd2af9984868448d07e986f0c8aad1319f | 9835e6a99ef801fdd06a9193c1846cae987d740a | /Fonctions/tauxGaz.sci | 02308d85317d8e183e14f36b096c0ccd549202a3 | [] | no_license | Martinhubz/Exo-Life | c2356d064d2f4727b7a42b104aaca340c0e65a64 | dcea54e689b2d7bb3b454648d7cb6fb5a57f115f | refs/heads/master | 2021-04-30T08:52:50.851933 | 2018-02-13T16:19:34 | 2018-02-13T16:19:34 | 121,385,860 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 494 | sci | tauxGaz.sci | function level=gazLevel(img)
greyLevel=[];
pixelNbr=[];
amountPerLevel=[];
counter=1;
for i=0:1:255
[x,y]=find(img==i);
greyLevel(counter)=i;
pixelNbr(counter)=length(x);
amountPerLevel(counter)=pixelNbr(counter)*(i/255);
counter=counter+1;
end
... |
1f98a7c558645899851fb873d1b10d77e276a643 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3681/CH4/EX4.2/Ex4_2.sce | 45f094c7940aabc36e180f71e1fa5cd94c95de51 | [] | 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 | Ex4_2.sce | // Calculating the loss that will be conducted across the the laminations
clc;
disp('Example 4.2, Page No. = 4.3')
// Given Data
Q_con_5 = 25;// Heat Dissipated
t_5 = 20;// Thickness of laminations in mm
S_5 = 2500;// Cross-section area of conduction in mm square
T_5 = 5;// Temperature difference in degree celsi... |
fe2015eb0e63a854204ccc8e44eb3ac3a145e43c | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/CH4/EX4.4/4_4.sce | 5dfbe50432016f18fa67adb33d195e7d5fe7ecfd | [] | 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 | 442 | sce | 4_4.sce | pathname=get_absolute_file_path('4_4.sce')
filename=pathname+filesep()+'4_4data.sci'
exec(filename)
clear
Vb=(w*L^4)/(8*E*I);//υB
deff("[y]=f(x)","y= -((w*x^2)/(24*E*I))*(6*L^2 -4*L*x +x^2)");//deflection
x=[0:0.05:L];
fplot2d(x,f);
xgrid(3);
datatipToggle();
xtitle( 'vertical deflection versus x', ' -x- ', '... |
e9603f7d293601c41ac1ca8d0a4743061040f958 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH9/EX9.30/example_9_30.sce | 2d991d48a57b38184705cbb74632c649da94d258 | [] | 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 | 173 | sce | example_9_30.sce | s=%s
sys=syslin('c',(k)/((s)*(s^2+8*s+17)))
clf
evans(sys)
//damping ratio 0.5
f=(-1.15+%i*2)
disp("k for damping ratio 0.5 is")
disp(abs(((f)*(f^2+8*f+17))))
|
146a30c94f7a26ec52c03ea3e8d32789c86249c5 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/ofemdemo/demo_fe.sce | 07e59c2ff36634b029bcbc6eeb3dbb12c35c7cc6 | [] | 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 | 2,828 | sce | demo_fe.sce | //=========================================================//
// DEMO_FE //
//=========================================================//
//---------------------------------------------------------//
// 1. Geometry declaration with femesh //
// See s... |
70e8393910b6a343776dd58af3eec0b12ca4e8f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH3/EX3.3/Example_3_3.sce | c5d7a66e5f6698079a60949efec46d325929ec82 | [] | 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,086 | sce | Example_3_3.sce | clc;
printf("Example 3.3\n");
Dia_tank=5; //Diameter of the tank
len_pipe=100; //Length of pipe
dia_pipe=225e-3; //Diameter of pipe
printf("\n Given:\n Diameter of the tank = %d m\n Length of pipe = %d m\n Diameter of pipe = %.2f m",Dia_tank,len_pipe,dia_pipe);
//If at time t the liquid level is D m above the... |
5faa2ca9b7369afc54da9314e30b30b85c6746eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH4/EX4.7/4_7.sce | 34f1a17cce1061a1774606631942df73afe15170 | [] | 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 | 250 | sce | 4_7.sce | clc;
clear;
//Example 4.7
sigma=5.67*10^-8 //[W/sq m.K^4]
T1=703 //[K]
T2=513 //[K]
e1=0.85
e2=0.75
Q_by_Ar=sigma*(T1^4-T2^4)/(1/e1+1/e2-1) //[W/sq m]
printf("\n Net radiant interchange per square metre is %d W/sq m",round(Q_by_Ar));
|
47ffa56552620aacec46f61a20e02b9799e4aeee | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH6/EX6.22/Example6_22.sce | d28d5f2a02bf39d40180ff64c5285728235fefb0 | [] | 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 | Example6_22.sce | //Example 6.22.
clc
format(6)
alpha_dc=0.99
ICBO=50*10^-6
IB=1*10^-3
IC=((alpha_dc*IB)/(1-alpha_dc))+(ICBO/(1-alpha_dc))
IC1=IC*10^3
disp("Assume that, IB = 1 mA")
disp(IC1,"IC(mA) = ((alpha_dc*IB) / (1-alpha_dc)) + (ICBO/(1-alpha_dc)) = ")
IE=IC+IB
IE1=IE*10^3
disp(IE1,"IE(mA) = IC + IB = ") |
21728d9407f120645c3094bb8569b06493dc781d | 348b83f2cd32e6616b86e704a374661890d58cda | /cummulative average.sce | abc04f7520efa33615c8765069cae8e609b3fb08 | [] | 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 | 398 | sce | cummulative average.sce | Xn=input("enter the wave form Xn=");
N=input("enter ending index N");
n=0:N;
sum=0;
for i =1:N+1
sum=sum+Xn(i);
Yn(i)=sum/i;
end
disp("cummulative average Yn= ");
disp(Yn);
figure(1);
clf(1);
subplot(2,1,1);
plot2d3(n,Xn);
xlabel("n");
ylabel("Xn")
title("input signal");
subplot(2,1,2);
plot... |
99887bb3121547b7da133fdedee67ed7a4ccbd25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1280/CH3/EX3.3/3_3.sce | 94b46839defe2c94eda0c4128cf6bba846dde358 | [] | 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 | 324 | sce | 3_3.sce | clc
//initialisation of variables
W= 7200 //lb
V= 120 //ft^3
W1= 3600 //lb
V1= 50 //m^3
W2= 500 //dyn
V2= 7000 //cm^3
//CALCULATIONS
s= W/V
s1= W1/V1
s2= W2/V2
//RESULTS
printf ('specific weight = %.f lbs/ft^3',s)
printf ('\n specific weight = %.f N/m^3',s1)
printf ('\n specific weight = %.4f dyn/cm^3',s... |
64386ed18d72dc2dcb16a29066bb15b08645bbeb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH7/EX7.19/Ex7_19.sce | 013575d690453f5f40dc79e40956a7ed8619040a | [] | 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,656 | sce | Ex7_19.sce | //Example 7.19
//Reference input to Type-1 control system: DC Motor
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
//Location of system Zero
z0=2;
// State space representation
F=[0 1;0 -1];
G=[0 1]';
H=[1 0];
J=0;
n=sqrt(l... |
b4645f6e4152c404fc52532fbed9f02f47f51006 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3872/CH9/EX9.3/Ex9_3.sce | b5b8775a57eca137cc2659d33aaf0a3b33ae5608 | [] | 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,015 | sce | Ex9_3.sce | //Book - Power system: Analysisi & Design 5th Edition
//Authors - J. Duncan Glover, Mulukutla S. Sarma, and Thomas J.Overbye
//Chapter-9 ;Example 9.3
//Scilab Version - 6.0.0; OS - Windows
clc;
clear;
Xn=0.05 //motor neutral is grounded through reactance in per unit
Sb=100 ... |
b6fa97195507ab831339afd13cafb997eee6a610 | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH19/EX4.2.11/U4_C2_11.sce | b80aabb8fbb8e16e11d670102b678f3d3824ffba | [] | 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,130 | sce | U4_C2_11.sce | //variable initialization
mu=9.27*10^-24; //(J/T)
g=2;
ms=1/2;
dB=2*10^2; //gradient of magnetic field (T/m)
m=1.67*10^-27; ... |
a81e695eb1876444511ad94d6d8e14069d7bee7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH9/EX9.11/Ex9_11.sce | ab920cfbb3ff6d94307ea57ab901f58058a6f673 | [] | 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 | 312 | sce | Ex9_11.sce | //Chapter 9
//page no 305
//given
clc;
clear all;
L=1330; //in nm
L1=L/1000; //converted L in micrometer for using in given formula
A=0.4; //in dB/km
d=5; //in micrometer
Po=5.9*10^-2*A*L1*d^2;
printf(" \n Po(Th) = %0.0f mW",Po*1000); //unit in book is wrong
|
d3662981fc6510414dd290447da8c76d73cab39d | 717ddeb7e700373742c617a95e25a2376565112c | /275/CH2/EX2.2.55/Ch2_2_55.sce | 7016f9cddaa299675c27ef50d166efc79da65ef8 | [] | 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 | 850 | sce | Ch2_2_55.sce | clc
disp("Example 2.55")
printf("\n")
disp("Design a zener diode voltage regulator to meet following specification")
printf("Given\n")
printf("1 Resistance are in ohms \n 2 Current are in ampere \n 3 voltage sources are in volt\n")
//unregulated dc input voltage
Vimin=13
Vimax=17
//Load current
ILmin-0
ILmax... |
73b279f08ea267bfbe972990f87bd4ac28af4d32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH16/EX16.1/PS_1.sce | 6a4707b5093372ecd0f7801445393804be6a8084 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | PS_1.sce | // sum 16-1
clc;
clear;
d=30;
W=20*10^3;
r1=8;
r2=16;
p=6;
u1=0.2;
u2=0.15;
dm=d-(p/2);
alpha=atan(p/(%pi*dm));
phi=atan(u1);
rm=(r1+r2)/2;
Ttr=W*((dm*tan(alpha+phi)/2)+(u2*rm));
Ttr=Ttr*10^-3;
// printing data in scilab o/p window
printf("Ttr is %0.3f Nm ",Ttr);
//The answer to Ttr is... |
7a9c6cf97a74fb0748d6cb738d95f6fe5fa3f5b4 | f219c8006feaf0927b1aa2af9ae9a05ff913fbd0 | /01/And3Way.tst | 99a7ac58e855c48985b5436f5738d0e238be8a71 | [] | no_license | Sgrygorczuk/Nand2Tetris | 4fa536656fa5b1881957e56edf72c0bb958cbbda | a8b16cb7481df893fb4f79239a3c952f048d57d5 | refs/heads/master | 2020-07-08T10:30:35.386470 | 2019-10-21T14:19:26 | 2019-10-21T14:19:26 | 203,645,122 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 704 | tst | And3Way.tst | // This is an addtional file made Sebastian Grygorczuk for the nand2tetris project
// File name: projects/01/And3Way.tst
load And3Way.hdl,
output-file And3Way.out,
compare-to And3Way.cmp,
output-list a%B3.1.3 b%B3.1.3 c%B3.1.3 out%B3.1.3;
set a 0,
set b 0,
set c 0,
eval,
output;
set a 0,
set b ... |
a99a126ec75a019c540e47264ad71e28f7dae6cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH12/EX12.29/Ex12_29.sce | 44d05c1fc52b02187e4f384fb1ae7ce9a04cb9b3 | [] | 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 | 445 | sce | Ex12_29.sce | //Chapter 12
//page no 509
//given
clc;
clear all;
L1=40; //in km
L2=100; //in km
A=0.2; //in dB/Km
TFA1=A*L1;
printf("\n Total fibre span attenuation %0.0f dB\n",TFA1);
TFA2=A*L2;
printf("\n Total fibre span attenuation %0.0f dB\n",TFA2);
nsd=TFA2-TFA1;
printf("\n Noise spectral de... |
0329c6d1b89521508919ac9ae310c2744c1c446e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3516/CH18/EX18.2/Ex18_2.sce | 1ed2ebc5de1593bcc7e15bf510d9b4d953b4c9cf | [] | 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 | 746 | sce | Ex18_2.sce | printf("\t example 18.2 \n");
tav=500; // F
Ts=1000;
t0=100;
c=0.12; // Btu/(lb)*(F)
k=24; // Btu/(hr)*(ft^2)*(F/ft)
row=488; // lb/ft^3
alpha=0.41; // alpha=(k/(c*row)), ft^2/hr
x=0.333; // ft
theta=4;
printf("\t values are approximately mentioned in the book \n");
X=(x/(2*(alpha*theta)^(1/2)));
printf("\... |
62b7f368f276cb02ae3123c68f06ffd562811301 | 6b778fe7ce057aaef2abb8bcf50d716047b597b0 | /test/issue235.tst | 049ed6181f37999904a238f91203d330b2666154 | [
"Apache-2.0"
] | permissive | grobian/carbon-c-relay | a9cfa93e51afca31df8fbb3f0115e4678e0502ca | 741937387d08e877d3c28583a7c453c99bf506f1 | refs/heads/master | 2023-07-04T23:29:37.333774 | 2023-01-26T15:27:39 | 2023-01-26T15:27:39 | 15,357,351 | 368 | 132 | Apache-2.0 | 2022-09-16T07:03:46 | 2013-12-21T10:33:29 | C | UTF-8 | Scilab | false | false | 37 | tst | issue235.tst | collection.fo.bar.x.y.blakwklsa.skla
|
6e7195fe03a19fc2c6fea2706f5d91d404eea267 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1.1/Unix/scilab-2.1.1/macros/percent/%mol.sci | 10849fe203fc5018050811e6f43c6c77e9bb2509 | [
"MIT",
"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 | 125 | sci | %mol.sci | //[r]=%mol(l1,l2)
//%mol(l1,l2) correspond a l'operation logique l1==l2 avec l2 une liste
//et l1 une macro
//!
r=%f
//end
|
eb854a0a52018119b2592603a20180968f5458ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /2231/CH2/EX2.12/Ex_2_12.sce | 67e91ca5b8c4f5fd3de7880f3a0f559bec2bc756 | [] | 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 | 565 | sce | Ex_2_12.sce | //Example 2_12
clc;
clear;close;
//Given data:
Vs=230;//V
f=50;//Hz
alfa=90;//degree
//Solution :
Vm=Vs*sqrt(2);//V
Vdc=Vm/%pi*(1+cosd(alfa))//V
disp(Vdc,"Vdc in V");
Vrms=Vm/sqrt(2)*sqrt(1/%pi*[%pi-%pi/2+sin(%pi)/2]);//V
disp(Vrms,"Vrms in V");
Is_by_I=sqrt(1-%pi/2/%pi);
Is1_by_I=2*sqrt(2)/%pi*cos(%... |
be152e93771ea306c93de5b4a2601b0a726dd34d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH7/EX7.8/ex_8.sce | 410905fe2c498be8ed2dbf0e971c1febb7f5be87 | [] | 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 | 209 | sce | ex_8.sce | //Example 8 // Velocity of sound
clc;
clear;
close;
//given data :
lamda1=1;// in m
lamda2=1.01;// in m
a=10/3;// in beats/sec
v=a/((lamda2-lamda1)/(lamda1*lamda2));
disp(v,"The velocity of sound,v(m/s) = ")
|
3be610320507c77fb55003b487c5f4a91d070d76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1448/CH8/EX8.1.i/I8_1.sce | bd376d346ec56716de53bcd6edc876b3b1dee1bc | [] | 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 | 224 | sce | I8_1.sce | clc
//Initialization of variables
ph1=6.37
ph2=10.25
ph3=7.21
ph4=12.67
//calculations
pH1=0.5*(ph1+ph2)
pH2=0.5*(ph3+ph4)
//results
printf("Equilibrium pH in case 1 = %f ",pH1)
printf("\n Equilibrium pH in case 2 = %f",pH2) |
48bc388a9cf8b26930ccb4be3deca751e94a56ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH3/EX3.6/Example3_6.sce | d6ba423e5b50a3c9320ed4e7086c1182e284b897 | [] | 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,908 | sce | Example3_6.sce | clear;
clc;
// Illustration 3.6
// Page: 77
printf('Illustration 3.6 - Page: 77\n\n');
// solution
//***Data***//
Dp = 0.0125;// [m]
viscosity = 2.4*10^(-5);// [kg/m.s]
Sc = 2;
E = 0.3;
Go = (2*10^(-3))/0.1;// molar superficial mass velocity [kmol/square m.s]
//********//
// a = CO b = Ni(CO)4
/... |
72a2855e349f7f5765414b1b3f1ad18564e7faf9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH1/EX1.3/3.sce | ac67873d1d0e1164862f6a63176ab9cf3220f091 | [] | 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 | 811 | sce | 3.sce | clc
clear
//Input data
P1=3.2 //Initial Pressure in bar
P2=1 //Final Pressure in bar
T1=475 //Initial temperature in K
Mol=44 //Molecular weight of carbondioxide in kg/mol
Ri=8314 //Ideal gas constant in J/mol-K
k=1.3 //Adiabatic constant
//Calculation
R=Ri/Mol //Specific gas constant in J/kg-K
Cp=(k*R)/... |
869aa51ebe1acedc9b33110df97c07a3657acf57 | 717ddeb7e700373742c617a95e25a2376565112c | /1100/CH14/EX14.4/14_4.sce | af86d4903dc65a7692406a0d8f4bd52d712c20b4 | [] | 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 | 384 | sce | 14_4.sce | clc
//initialisation of variables
mO2=1.33 //lb
mCO2=3.67 //lb
CvO2=0.155 //Btu/lb F
CvCO2=0.165 //Btu/lb F
Cc=0.170 //Btu/lb F
t2=1000 //F
tB=68 //F
t=300 //F
mC=1
mO=4
//Calculations
deltaE1=mO2*CvO2*(t2-tB) + mCO2*CvCO2*(t2-tB)
deltaE2=mC*CC*(tB-t) + mO*CvO2*(tB-t)
E= -14087 //Btu
Q=deltaE1+E+deltaE2... |
1414f4962055ac0312e7eb3b406ca2fdce6a0aec | 449d555969bfd7befe906877abab098c6e63a0e8 | /1784/CH38/EX38.1/example1.sce | d3e7267cd48f7c3b5999e821fd086f42061d59da | [] | 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 | 134 | sce | example1.sce | //Example 1
//Chapter 38
//clc()
V_o=50// in volts
C=1*10^-6 //in farad
L=10*10^-3
i_m=V_o*(sqrt(C/L))
disp(i_m,"Max current in amps") |
2fd645fb5ceae439173c930da976d49cc699172b | 20253970b7dd99e615215029609de822e2bf855d | /judge/tests/52063/18.tst | 9f0c0f76a93aa9d9460a2b28780369f21a0ae35c | [] | no_license | B-Rich/CATS | d26d6c85cfc1dbdc78fa16f691adbfccc615df03 | d299e328f9e7498ecd9f58f64069fcd57536db00 | refs/heads/master | 2021-01-01T06:10:11.322262 | 2011-06-21T15:06:06 | 2011-06-21T15:06:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 932 | tst | 18.tst | 888 789
74
543 425 317
543 416 308
522 416 287
501 416 266
495 416 260
495 430 246
501 430 240
508 430 233
508 442 221
496 442 209
496 455 196
497 455 195
497 452 192
489 452 184
490 452 183
490 449 180
483 449 173
475 449 165
475 443 159
482 443 152
482 449 146
481 449 145
488 449 138
493 449 ... |
273334be752154c1235aa90e8a41e352e6b6dca4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /43/CH3/EX3.17a/ex3_17a.sce | 7fde1d73066c73890c0c79c1897535f417dc9f5b | [] | 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 | 70 | sce | ex3_17a.sce | //Ex 3.17a
clc;
syms z n;
x=1;
X=symsum(x*z^(-n),n,0,0);
disp(X); |
07cfbcb98b3d84482b3b7b6f64b43aed3472cd4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH5/EX5.7/5_7.sce | 850a9a6e4dc6a8714e1a8b2715b399d4337ae080 | [] | 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 | 5_7.sce | clc
clear
//Initialization of variables
muw=2.04e-5 //lb-sec/ft^2
rhow=1.94 //slugs/ft^3
mua=3.74e-7 //lb-sec/ft^2
rhoa=0.00237 //slug/ft^3
Qw=200 //gal/min
Lr=5
//calculations
Qa=Qw*Lr *(rhow/rhoa)*(mua/muw)
//results
printf("Flow in model = %d gal/min",Qa)
|
10e2011378cbcfbb57ec5b749d00883025c4d8da | 449d555969bfd7befe906877abab098c6e63a0e8 | /1181/CH1/EX1.1/c1e1.sce | 37cf0d30e739ebf0029f244308f30b077d9ed112 | [] | 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 | 693 | sce | c1e1.sce | //Calculating shear stress
clc;
mu=.048;
sg=.913;
V0= 0 ; //at y=0
Vi=1.125; //at y=0.075
//For Linear Velocity Distribution
disp('For Linear Velocity Distribution')
K=1.125/0.075 ; // V=15y so dv/dy= 15
tau=mu*K; //tau= shear stress
disp ( tau,'Shear stress (N/m2) = ')
// For parabolic velocity Distr... |
c4ec656a39f2904e5b842bdbd7c117f2751a74c2 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Programming/testinput.sce | 48cbfd26ce8b3a8e58fe333143fab51c969c4732 | [] | 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 | 70 | sce | testinput.sce | x=input('would you like to resume (1) or terminate (0) the script ?')
|
78f6ce920182cc142362d944e2f58b69261d5d54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH12/EX12.10.b/solution12_10.sce | f91e5cd0085e1d1294c966fb8fafd1efe66a7081 | [] | 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 | 961 | sce | solution12_10.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution12_10.sce')
//Obtain path of data file
datapath = path + filesep() + 'data12_10.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Calculate the tension in the band on tight side P1 (N)
P1 = sigmat * w * t
//Calculate the tension in the ... |
d2ee36daa2e93e3f3baf51a17da7dc6748aa4071 | cc2d34f24c651a9d4b81fc3ebd32ef5a23c5ef13 | /SCILAB5/mmain.sci | eddd6c3d11bb34d6d7209688d9187daaeb510144 | [] | no_license | b4ss3k/D_DSP | 85cfacf4e948109faa33cbc424390b44f53cc197 | aabcc12fe0305e29713de6c0538428dd9ef323d3 | refs/heads/master | 2020-04-06T04:46:40.053395 | 2015-08-05T01:24:16 | 2015-08-05T01:24:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 60 | sci | mmain.sci | //mmain.sci
clear
clc
testactor=2;
exec('test_manager.sci')
|
ff1ff69f88441a80ed6ee2bf0f4fc6b4f9fa776c | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH4/EX4.9/Example4_9.sce | c6b4f56d87d9f09c5c9edf4bdf004338383441d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sce | Example4_9.sce | //Example 4.9
//Program to find the 8-point DFT of a Sequence x[n]=1, 0<=n<=7
//using DIT,DIF Algorithm.
clear;
clc ;
close ;
x = [1,1,1,1,1,1,1,1];
//FFT Computation
X = fft (x , -1);
disp(X,'X(z) = '); |
896a91c447b8a8e25d30a4bad2b1f3403343f51d | 717ddeb7e700373742c617a95e25a2376565112c | /226/CH5/EX5.12/example12_sce.sce | 560106b4132924136067a0396bf1abeb049de99f | [] | 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 | 154 | sce | example12_sce.sce | //chapter 5
//example 5.12
//page 209
printf("\n")
printf("given")
Vce=5;Ic=5*10^-3;Vcc=15;hfe=100;
Ib=Ic/hfe
Rc=(Vcc-Vce)/(Ic+Ib)
Rb=(Vce-Vbe)/Ib |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.