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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e7ccfef9450935c645a620146e154cd011acc28f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH2/EX2.12/2_12.sce | 0ee05f185da9c0c43216aed0f0a49ab3c727d0a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 218 | sce | 2_12.sce | clc
//initialisation
l=1//m
ld1=0.7//m
ld2=0.78//m
d1=0
d2=30
vd1=l-(ld1*cosd(d1))
vd2=l-(ld2*cosd(d2))
//CALCULATIONS
H=((ld1*vd1)-(ld2*vd2))/(vd1-vd2)
//results
printf(' atmospheric pressure= % 1f m',H)
|
a0109dd7be369a404df782a1afff464c563cf81e | f6b3a0c494772f6ca78e2f620df06d393dafcc51 | /fyjyf.sce | 66ede3d463b9c818f18b8bd12ddb0aab0c91fff5 | [] | no_license | rishabhthecoder/scilab | f914595f7af9682a731f49fc1203925c9529297a | f0460b09d16d7349f408183d4089553360ca4ba5 | refs/heads/master | 2020-03-31T05:47:43.762852 | 2018-10-07T16:06:20 | 2018-10-07T16:06:20 | 151,958,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 167 | sce | fyjyf.sce | x0=0;x1=0:0.1:2*%pi;
X=integrate('sin(x)','x',x0,x1);
norm(cos(x1)-(1-X))
x1=-10:0.1:10;
X=integrate(['if x==0 then 1,';
'else sin(x)/x,end'],'x',0,x1)
|
687ef5729ba6d273a54d65cdcba7076ebe74dfcb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH7/EX7.2/Example72.sce | 4f5804de687c4aa7360906f5306af95bfb53af51 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,004 | sce | Example72.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 7, Example 2")
disp("The specific work output in kJ/kg")
etats = 0.85;
Cpg = 1.147;
T01 = 800 + 273;
gam = 1.33;
W = etats*Cpg*T01*... |
54616042a4056b38a75bb5ed3852de02be6b1088 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3808/CH4/EX4.4/Ex4_4.sce | ec750183021bffc58dcfc18a64db9694e77468c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 243 | sce | Ex4_4.sce | //Chapter 04:Number Theory and Cryptography
clc;
clear all;
i=0
oct=input("Enter the octal number:")
tmp=oct
dec=0
while(oct~=0)
dec=dec+(modulo(oct,10))*(8**(i+0))
i=i+1
oct=int(oct/10)
end
disp(dec,'Equivalent Decimal Value:')
|
54a9ec4f7b486971737eed0d8641c6099f276e27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH3/EX3.12/Chap3_Ex12_R1.sce | 644f4c2a7e1225e742135cbb5fdf0cc8808651da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,851 | sce | Chap3_Ex12_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-3,Example 12,Page 72
//Title:Pressure developed using two paramter compressibility factor correlation
//==============================================================================================================... |
7df5218607a84286ca73d10c0861a41cdb023f7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH2/EX2.38.a/EX_2_38_a.sce | 65b2788390b9d823a425a5bc8cfcc2a674e6ea75 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | EX_2_38_a.sce | // Example 2.38.a:S
clc;
clear;
close;
Beta=180;//Common emitter D.C. Current gain
Re=1;// Collector resistance in killo ohms
R1=5.76;// resistance in killo ohms
R2=34.67;// resistance in killo ohms
S=1+Beta;
disp(S,"Stability factor in fixed bias case is")
|
be0cdd19d3854d00851984f77adb3206361f8cdb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3876/CH9/EX9.11/Ex9_11.sce | be2d7804b31001695346b7356f0367a85be62149 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex9_11.sce | //Chapter 9 Ionic Equilibria and Buffer Action
clc;
clear;
//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
mprintf("Concentration of hydronium ion = %.2e mol per litre",C)
|
88e30e6e52a29cedc8444c285392d6319141ca7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH19/EX19.1/Ex19_1.sce | d7006c7a420629b851e650a3e23b284da0ae7f87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 487 | sce | Ex19_1.sce | // Initilization of variables
v_t=10 // m/s // velocity of the train
v_s=5 // m/s // velocity of the stone
// Calculations
// Let v_r be the relative velocity, which is given as, (from triangle law)
v_r=sqrt(v_t^2+v_s^2) // m/s
// The direction ofthe stone is,
theta=atand(v_s/v_t) // degree
// Results
clc
pri... |
fa1a9d861de9974488edcf17d1ea981b65d6f661 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Generation_Of_Electrical_Energy_B._R._Gupta_416.zip/Generation_Of_Electrical_Energy_B._R._Gupta_416/CH8/EX8.1/exp8_1c.sce | 30dcb202108c96a982978ce0481c51885b09a3d5 | [] | 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 | 195 | sce | exp8_1c.sce | errcatch(-1,"stop");mode(2);
disp("example 8.1")
h=100 //given height
q=200 //discharge
e=0.9 //efficiency
p=(735.5/75)*q*h*e
printf("\npower developed by hydro plant is %ekW",p)
exit();
|
817c95b699275f24ec73dfe70a0547562868da4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH14/EX14.3/Ex14_3.sce | a5f6c51dd796b4914aa0dde71986c3d83f05478a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sce | Ex14_3.sce | //Example 14_3
clc();
clear;
//To find the intensity of sound
level=3.5 //Units in dB
i2=10^-12 //Units in W/meter^2
i=10^(level+log10(i2)) //Units in W/meter^2
printf("The intensity of sound is I=")
disp(i)
printf("W/meter^2")
|
68cc2a9bb3769967e2e5405655c31525c1a53aac | 32af3f429155757e972b34e84cae722672d03f45 | /Le plus Grand Nombre (3 chifres).sce | eab5914fb4fe436a7cc4824f7731f6aa7f037651 | [] | no_license | Tadeu-Luc/Scilab | 4fe5b165247547cd1fdba785bd79fd0ed552cb5f | 508ffcf6566e7f06945140709a667186e73f1c0c | refs/heads/master | 2020-06-01T13:44:44.794316 | 2019-06-08T14:04:56 | 2019-06-08T14:04:56 | 190,800,353 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 189 | sce | Le plus Grand Nombre (3 chifres).sce | clear
a= input(' entrez nombre a:')
b= input(' entrez nombre b:')
c= input(' entrez nombre c:')
tr=max (a,b,c) //fonction maximum
disp ('le nombre le plus grand est '+string(tr))
|
c54bb058d9d74c912467804371d1322026b0253c | 06c050d87b5b6b7e42f2d24889ec60b0f5fdd998 | /Decomposicao_LU.sce | ac91510bd6bce800c7b21c51b2f0f18ed304faec | [] | no_license | jaimedantas/Numerical-Computation-Scilab | 06958d436ee9724daa7c03f2ea14f195e5fbb596 | 66bf163bdbc0d9453cafff0369bbd5cd2fce78f3 | refs/heads/master | 2021-01-11T15:18:52.809391 | 2017-01-29T03:47:50 | 2017-01-29T03:47:50 | 80,327,110 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,081 | sce | Decomposicao_LU.sce | //DECOMPOSIÇÃO LU:
//A = LU
//Ax = b
//a matriz L eh formada p parti dos fatores calculados com a decomposição de gauss
clc
a = [10 2 1; 1 5 1; 2 3 10];
b = [7; -8; 6];
//a = [5 2 1; 3 1 4; 1 1 3];
e = [0 -0.2 0.5; 0.1 0 0.4; -0.3 0.1 0];
h = [0 0 1; 1 0 0; 3 0 0];
function [L,U,d] = decom_lu(a)
[l,c] = si... |
3444979118374ded310fc23ae8ee91c49086d32b | cc12ec93c0b08942213a72f569c733ccb508e72e | /Assignment1/Problem1.sce | d75a6694f66a69ade53348fbe5de225a1da7c787 | [] | no_license | shreyashukla-26/LA_Assignment | ac0637690742b90ed5cd964e13fd9cfa832b51e6 | 6b57188873716ac53f8036d6292e0b4138b91dda | refs/heads/master | 2020-12-31T09:32:57.961753 | 2020-09-21T09:01:01 | 2020-09-21T09:01:01 | 238,979,483 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 652 | sce | Problem1.sce | A=input("Enter elements of matrix A:")
disp(A,"The coefficients of matrix A are:")
B=input("Enter elements of matrix B:")
disp(B,"The coefficients of matrix B are:")
for l=1:3
L(l,l)=1
end
for x=1:3
for y=1:3
s=0
if y>=x
for k=1:i-1
s=s+L(x,k)*U(k,y)
... |
d0dd203245a77465d607272bb6e7d7074e38d86a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH4/EX4.12/4Ex12.sce | 8d5614c381ba7dd4e45cc7f3db7451dc9bc70353 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | sce | 4Ex12.sce | //Chapter 4 Ex 12
clc;
clear;
close;
x=poly(0,'x');
for x=0.1:0.1:0.9
if (x/(1+1-x))==0.5
mprintf("\n The value of x is %.2f",x);
break;
end
end
|
f80b00f3c3d85b30d311e3f0250469a75f05a7d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH11/EX11.09/11_09.sci | c7d86c4383dcffd5a17b2492915f170b06fdee59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 11_09.sci | //value//
s=%s;
H=syslin('c',(s+2)/((s+1)*s*(s+4)));
evans(H,100)
|
724d770dae7a7df1afc987c58601ed0968e10d5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH9/EX9.4/Ex9_4.sce | c9c0331bfb681a8523bb80f43a206a7cd7f72135 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 470 | sce | Ex9_4.sce | //==========================================================================
// chapter 9 example 4
clc
clear
// Variable declaration
Lf = 42.3; // guage length after strain mm
Lo = 40; // guage length in mm
// Calculations
e = ((Lf - Lo)/Lo)*100 // Engineering Strain in percent
... |
014c798de5da74b0359ee73eccd8c10ac1ac3235 | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH8/EX8.1/ex1.sce | b5c2504e12761f5a54a6915c35da0b430745ce97 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 795 | sce | ex1.sce | //example 1
//coefficient of performance of refrigerator
clear
clc
Th=60 //temperature at which heat is rejected from R-134a
Tl=0 //temperature at which heat is absorbed into the R-134a
s1=1.7262 //specific entropy at 0 Celsius
s2=s1 //process of state change from 1-2 is isentropic
s3=1.2857 //specific entrop... |
712caf50624ff38f2c3d17c7bd42bc731dce9d47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3515/CH1/EX1.20/Ex_1_20.sce | 0ece2f5db7895e936606f932d0faa1164458f13b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex_1_20.sce | // Exa 1.20
format('v',7);
clc;
clear;
close;
// Given data
Rf=100;// in kohm
R1=20;// in kohm
V1= 1.5;// in V
Vo1= V1;
Vo= -Rf/R1*Vo1;// in volts
disp(Vo,"Output voltage in volts is : ")
|
9425975cf9424477bb1c339bb46502d73f62e241 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH10/EX10.5/Ex10_5.sce | 1264f74ef1c704095e75ee041ec97b867191d877 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,280 | sce | Ex10_5.sce | // Example 10.5
clear all;
clc;
// Given data
fission_density = 4*10^7; // Fission density in fissions/cm^2-sec
// 1 inches = 2.54 cm
d = 28*2.54; // Diamaeter of plate in cm
R = d/2; // Radius of plate in cm
v = 2... |
873a0b2e55e67c764ec319dcbe4f46242fd148fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH2/EX2.3/Ex2_3.sce | 4aacb4b923173b4153fe27f8d1a915835d832a02 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 211 | sce | Ex2_3.sce | clc;
//page no 37
//problem 2.3
T=12.5*10^-6; //in sec
f0=0; //dc
f1=1/T*10^-3; //in kHz
f2=f0+2*f1;
f3=f0+3*f1;
f4=f0+4*f1;
disp('kHz',f4,f3,f2,f1,f0,'The lowest five frequencies are (in kH)');
|
75d669e1247b7ac2f7f20805cd6b9b4b41e60d20 | 786f4889a44528121ba13abdf284f206c1e6553a | /diff/my_cholesky.sce | ac93ffb771a28630ee8da9e6b106ae27e3f20730 | [] | no_license | Arttaaz/MNBPLS | a151d44e13da5016e60944d7df539f4470286449 | 48eb509fdc834218e57738ffa0c391617e8fd359 | refs/heads/master | 2020-04-28T10:37:25.692040 | 2019-03-17T21:54:28 | 2019-03-17T21:54:28 | 175,208,639 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,326 | sce | my_cholesky.sce |
// returns only T
function [T]=cholesky_fact(A)
[m,n] = size(A)
if (m~=n) then
print(%io(2), "error, not a square matrix");
else
T = zeros(n);
T(1,1) = sqrt(A(1,1));
for j = 2:n
T(j, 1) = A(1, j)/T(1, 1);
end
for i = 2:n
T(i, i) = sqrt( A(i, i) - sum( T(i... |
91beee0e1447e6e05819f8ed9e4e987fcedcde01 | d9d82a93f67a7d1c6662dff5827988c2ee23311e | /SS/Course_04/Utkin/Euler.sce | 5dc509dc265350ce4cad63e599c0b8f6b5f697b2 | [] | no_license | CharlzKlug/st | 006591fcdddc2deb1e7f9dcdb823c96f23432017 | eb86498ca350b48b6cb2e70e9ba9e98db3c56cfb | refs/heads/master | 2021-07-15T11:01:41.985689 | 2021-07-05T20:05:28 | 2021-07-05T20:05:28 | 42,451,630 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 343 | sce | Euler.sce | a = input('a: ');
b = input('b: ');
h = input('h: ');
y0 = input('y(a): ');
absErr = 0;
for x = a:h:(b - h)
y0 = y0 + h * ((x + h) * cos(x + h) + y0/(x + h));
y = (x + h) * sin(x + h);
absErr = max(absErr, abs(y-y0));
printf('x: %f, ny: %f, y: %f, delta: %f\n', x+h, y0, y, abs(y-y0));
end
printf(... |
aab918505540ce792d44cdd7b18bca7b4fa1b207 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH6/EX6.6/Ch06Ex6.sci | f21b00fb30fe86b5e45ce7a785c17343c4bdc802 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 677 | sci | Ch06Ex6.sci | // Scilab code: Ex6.6 : Minimum wavelength emitted by an X-ray tube : Pg: 157 (2008)
h = 6.625e-034; // Planck's constant, Js
c = 3e+08; // Velocity of light, m/s
e = 1.6e-019; // Charge of an electron, coulombs
V = 4.5e+04; // Accelerating potential of X-ray tube, volt
// Since e*V = h*c/L_min; // ... |
1d453e8477288c76f17076a498bdad7ee5db4f2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH12/EX12.3/Ex12_3.sce | dd635aeb0d8e221b10d39f296ff616e61446d48f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 597 | sce | Ex12_3.sce | //Example 12_3
clc;clear;funcprot(0);
// Given values
m=3;//Mass flow rate in kg/s
T_0=473;// T_0=T_1 in K
P_0=1400;// P_0=P_1 in kPa
P=1200;// kPa
// Properties
C_p=0.846;// kJ/(kg.K)
k=1.289;
R=0.1889;// kJ/(kg.K)
//Calculation
T=T_0*(P/P_0)^((k-1)/k);// k
V=sqrt(2*C_p*(T_0-T)*1000);// m/s
printf('Vel... |
bf98ee1ef14676f91e063db1279d681d8ad87a02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/DEPENDENCIES/8_12.sce | 62232c7ae14925d5647be3130fa99edb4edd3a31 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 593 | sce | 8_12.sce | clc;
clear;
exec("C:\Program Files\scilab-5.3.0\bin\TCP\8_12data.sci");
d=0.00238;//slugs/(ft^3)
vis=3.74*(10^(-7));//lb*sec/(ft^2)
x=Q/(%pi/4);//where x =V*(D^2)
//energy equation with z1=z2 and V1=V2
y=l*d*(x^2)*0.5/(pd*144);//where y=(D^5)/f
f=0.027;//using reynolds number, roughness and moody's chart
D=(y*... |
d44b2d28b454e20d32644740b3d80cf5a672fa3d | d4433dc5a6e90f6a26a4c5d9dee686eade240b25 | /DMA.TST | 8f1ab50a09ecd87e5a7fb59fe2d6071b8a774c6e | [] | no_license | qb40/all | 6e2149ef3c6151717e468ca236840de622cf7d2a | e168acb64fbde09277b04515574507dcbe35161c | refs/heads/master | 2022-02-05T17:58:39.207269 | 2014-01-19T13:28:41 | 2014-01-19T13:28:41 | 106,962,623 | 5 | 0 | null | 2017-10-14T21:02:04 | 2017-10-14T21:02:03 | null | UTF-8 | Scilab | false | false | 1,248 | tst | DMA.TST | DECLARE FUNCTION c.loadstring$ (fl1$)
DECLARE SUB dma.makeready (channel%, seg1%, off1%, transfer%, initialize%, address%, mode%, length%)
DECLARE SUB dma.dotask ()
DECLARE SUB dma.pause ()
DECLARE SUB dma.resume ()
DECLARE SUB dma.stop ()
Engine$ = c.loadstring$("dma.dll")
DIM Status%(11)
CLS
dma.makeready 1, &HB80... |
f554e922318c36736800cae9867ef3ac87039a50 | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_Mat/sqrt.sce | bd8fb7848702aee5c55080a6825953946013c401 | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 99 | sce | sqrt.sce | // Calculating the sqrt.
y = [1.2, 1, 1.9; 4, 2.6, 5; 2.3, 8, 7];
sqrtres = armaMat("sqrt",y)
|
df8df055b942bed956eec7b67f2c3d6f84a6096d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH5/EX5.3.4/Example5_4.sce | 091d2a40fb5c9d5a00781cda7124ffe47a88c491 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 495 | sce | Example5_4.sce | //Chapter-5,Example5_3_4,pg 5-7
E=0.025 //energy of neutron
h=6.63*10^-34 //Plancks constant
m=1.676*10^-27 //mass of a neutron
e=1.6*10^-19 //charge on electron
wavelength=h/... |
9285dedaf4d764bb9dd05b9462eb06322fdb112c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1460/CH2/EX2.5/2_5.sce | 24c4f383a00b9362ddcf7ffe3288db9c1c22b138 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | sce | 2_5.sce | clc
//initialization of variables
w=1 //lbm
Sw=0.3120 //B/lbm R
Ss=1.7566 //B/lb R
T=672 //R
//calculations
Q=T*(Ss-Sw)
//results
printf("Latent heat of water = %d B/lbm",Q)
|
48bd2886a20cabaf1934a4d7692093b3fecf1dd1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH10/EX10.8/example10_8.sce | 6d99581b259510ea3389fa74b25ad4a3805f4202 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 419 | sce | example10_8.sce |
//example 10.8
//page 391
clc; funcprot(0);
//initialisation of variable
b=60;//bottom width
y1=2.5;//depth
g=32.2;
Q=2500;//flow rate
Gamma=62.4//unit weight
V1=Q/b/y1;//velocity
F1=V1/sqroot(g*y1);
k=0.5*(sqroot(1+8*F1^2)-1);//k=y1/y2
y2=k*y1; //depth
V2=Q/b/y2;//velocity
L=y2*4.25;
LE=y2+V2^2/2/g-y1... |
541a4b41a5ab23cfc844fff66e0cebbe324925e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH2/EX2.1/Ch02Ex1.sce | 63ea1919870fc8899364cc8f7f42a079c71fd438 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 649 | sce | Ch02Ex1.sce | // Scilab code Ex2.1: Pg:55 (2008)
clc;clear;
V1 = 250; // Accelerating potential of electron in first region, volts
theta1 = 50; // Angle of incidence, degrees
theta2 = 30; // Angle of refraction, degrees
// According to Bethe's law sind(theta1)/sind(theta2) = []V2/V1]^1/2
// On solving for V2
V2 = V1... |
361f8db8d18bf57f571297b06bedc2f522711444 | 482cdc3e27e99afe860829eff3e593caa62202e3 | /src/Assignment1_Tests/test19.tst | 15ca77fd79f21a26f4ad270284df3ecf7e4b7034 | [] | no_license | abrageddon/DLXCompiler | e153430de4412fe48a34955851352d0fd73ab2d8 | 2d1abd102f723c2e1f0ed5893e86c7d0ceb42914 | refs/heads/master | 2020-12-30T10:50:20.955331 | 2011-12-02T03:34:59 | 2011-12-02T03:34:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 50 | tst | test19.tst | x <- x <- x <- x <-;
a <- b <- c <- 1 <- 2 <- 3;
|
b87ff32fe3db740e84caa853042e4362eae8f1e2 | f3aa659204ba3bc11bfbb61376fee389324cf71b | /p3.tst | 2e4df2cd7ba87722cb8a88bd85bd0306552a8ef1 | [] | no_license | Thanmaie-Pasumarthy/Hack-Computer | d5873334e7bbada47087567bec4c77a22658d563 | 135cf6f36b839f5a27f7d2904c3d55d457402141 | refs/heads/main | 2023-06-18T04:19:29.369351 | 2021-07-17T18:51:34 | 2021-07-17T18:51:34 | 316,309,842 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 483 | tst | p3.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/05/ComputerMax.tst
load HackComputer.hdl,
output-file p3.out,
output-list time%S1.5.1 reset%B2.1.2 ARegister[]%D1.7.1 DRegister[]%D1.7.1 PC[]%D0.4.0 RAM16K[... |
49a391d206272afef296dcd940eabfcc5a3b1ecc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH3/EX3.28/Ex3_28.sce | e8f9800363c18bd23eb79db563ccdc64f57e9ee1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 319 | sce | Ex3_28.sce | //EX3_28 PG-3.61
clc
Es=230;//rms voltage
f=50;
Il=10e-3;//load current
Rf=.01;//ripple factor
Esm=sqrt(2)*Es;//peak value of input voltage
Edc=2*Esm/%pi;//for full wave
Rl=Edc/Il;
C=(4*sqrt(3)*f*Rf*Rl)^(-1);//for full wave rectifier
C=C*1e6;
printf("\n Therefore capacitance required is %.2f microF",C)
|
15eab09688a4b6b85da3f0aecad9f46b4c6104e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH1/EX1.8/Ch01Ex8.sci | b85a630bee342b27292a09536637ad926fb6c47f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 575 | sci | Ch01Ex8.sci | // Scilab Code Ex1.8 Increase in mass of water: Pg: 23 (2008)
c = 3e+08; // Speed of light, m/s
T1 = 273; // Initial temperature of water, K
T2 = 373; // Final temperature of water, K
M = 1e+06; // Mass of water, kg
C = 1e+03; // Specific heat of water, cal/kg-K
J = 4.18; // Joule's mechanical e... |
c89fbec533dab84078096a51ff0a051ece8669ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH3/EX3.7/7.sce | 22c257956b091b7076c265f2117250b5ca7d444e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | 7.sce | //finding peak voltage//
//example 7//
clc
//clears the command window//
clear
//clears//
T=250*10^-12;//time constant//
t=.05*10^-6;
Vo=100;//peak output voltage//
Vi=(Vo*t)/T;//peak voltage of generator//
printf('peak voltage=%f volt',Vi)
//result is displayed//
|
67568038e1dcbb61c44178da9cdcc8cee3101589 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH3/EX3.11/Ex3_11.sce | 88f23ed958b85493be039cb70174aeeb81c8488c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | Ex3_11.sce | clc
T=200//temperature in degree celsius
P=15.549 //pressure in bars
hf=852.37
hg=2790.9
hfg=hg-hf
mprintf("Saturation pressure=%f bar\n",P)
mprintf("Latent heat of vaporisation=%f kJ/kg\n",hfg)
vg=0.1272 //in metre-cube/kg
ug=(hg*10^3)-(P*10^5*vg)
mprintf("ug=%fkJ/kg",ug/1000)//ans may vary due to roundoff e... |
6067ccd6168be3f3919eff5f6b3abcc5b23a0caf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH12/EX12.22/Ex12_22.sce | ef3279defb0d0265459b67c753af03c7b3190a51 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sce | Ex12_22.sce |
//Chapter 12
//page no 488
//given
clc;
clear all;
CNR=50; //in dB
Bch=4*10^6;
m=0.03;
RIN=m^2/2/Bch/10^(CNR/10)
mprintf("\n RIN = %e ",RIN);
//Miscalculated answer in the book
RINdB=10*log10(RIN);
printf("\nRIN in Db is %.2f",RINdB)
|
350bad7b74213d6e506006662bbfa81f199a02ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/DEPENDENCIES/iteratedinterpol.sci | 2997bd6c5d492a047124fa790d206dfb12a30de7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 322 | sci | iteratedinterpol.sci | function [L012,L02,L01]=iteratedinterpol (x,f,n)
X=poly(0,"X");
L01=(1/(x(2)-x(1)))*det([f(1) x(1)-X;f(2) x(2)-X]);
L02=(1/(x(3)-x(1)))*det([f(1) x(1)-X;f(3) x(3)-X]);
L012=(1/(x(3)-x(2)))*det([L01 x(2)-X;L02 x(3)-X]);
endfunction
... |
75b2d249250cbfdaabfd19237a5ffb2e93fb1c27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /695/CH3/EX3.10/Ex3_10.txt | 52846bf03a35da392ebc956013eb4bd11377ce63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 798 | txt | Ex3_10.txt | //Caption:Find the equivalent circuit parameters of the transformer reffered to LV side and also calculate the secondary voltage
//Exa:3.10
clc;
clear;
close;
V1=300;//in volts
I_o=0.8;//in amperes
W_o=70;//in watts
pf=W_o/(V1*I_o);
I_w=I_o*pf;
I_m=I_o*sqrt(1-pf^2);
R_O=V1/I_w;
X_O=V1/I_m;
a=300/600;
V_sc... |
75436cd20b01354d18582f87df5fb732f376f50a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH8/EX8.10/Example_8_10.sce | a45a2b05467c7ed2b8af4872b5323d162aeec977 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 566 | sce | Example_8_10.sce | //Scilab Code for Example 8.10 of Signals and systems by
//P.Ramakrishna Rao
clear;
clc;
syms s1;
s=%s;
H=poly(0,'s');
H=s^3/(s^3+6*s^2++11*s+6);
H1=denom(H);
a=roots(H1);
H2=5*(s1^3/(s1-a(1)))*(s1/(s1-a(2)))*(s1/(s1-a(3)));
disp(H2,'(ii) Cascade Form: H(s)');
h1=s1^3*(s1-a(1))/((s1+1)*(s1+2)*(s1+3));
h2=s... |
e49359be91e6b27884b7c05b83f595e0779ea44a | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH1/EX1.4/Example1_4.sce | d9fb3d3bfa512d212fa8507f097ce4a186da3094 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sce | Example1_4.sce | //chapter1,Example1_4,pg 482
Vs=3//supply voltage
Vu=2.75//voltmeter reading
Rp=10*10^3//parallel resistance
Ru=Rp*((Vs/Vu)-1)//unknown resistance
printf("unknown resistance\n")
printf("\nRu=%.2f ohm",Ru) |
f82430c8385d9586ba8825011eb0f95cd6822bd0 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.7_11.tst | b0b017004ebebdadef1c8e8b72154021e658dfdd | [] | 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 | 534,220 | tst | 5.7_11.tst | 7 358:1 427:1 590:1 1087:1 1318:1 1636:1 1840:1 2038:1 2180:1 2388:1 2423:1 2458:1 2497:1 2557:1 2560:1 2696:1 3034:1 3119:1 3136:1 3306:2 3684:1 3765:1 4244:1 4312:1 4783:1 4795:1 5169:1 5421:1 5590:1 5615:1 5616:1 5896:2 5980:1 6675:1 7060:1 7087:1 7335:1 7368:2 7899:1 8471:1 8564:1 8589:2 9047:1 9072:1 9091:2 9122:2... |
f2b6172dbb7e75abe7cd0224c89ae508fda0dac8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH2/EX2.7/Exa2_7.sce | bab2afb351343e5e025c96d57f98b68b125764cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 423 | sce | Exa2_7.sce | //Exa2.7
clc;
clear;
close;
format('v',11);
//given data :
E=100;//in V/m
rho=1.5*10^-8; //in ohm-meter
//since sigma=1/roh
sigma=1/rho;
n=6*10^28 ; //unit less
e=1.601*10^-19; //in C
m=9.107*10^-31;//in kg
// Relaxation time
toh=(sigma*m)/(n*e^2);
disp("(i) Relaxation time of electrons is : "+string(toh... |
90591205feba99dec106d69253803c12b6fff261 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH9/EX9.3.A/additional_ex_3.sce | 6b6bbd54dcba79a435469b009bed2d4dcfda9c55 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 293 | sce | additional_ex_3.sce | clc;
clear;
P_1=0.3; //P( 1 is transmitted)
Pe_1=10^(-3); //P(detecting an error when 1 is transmitted)
P_0=0.7;//P( 0 is transmitted)
Pe_0=10^(-7); //P(detecting an error when 0 is transmitted)
error_prob=P_1*Pe_1+P_0*Pe_0;
disp(error_prob,"Error Probabillity of the channel");
|
62cce600eea2518938bbef288fae4deb44233bb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH13/EX13.7/Ex13_7.sce | 29e07d27ed34783ba365e2fbb50f5c24ec0c6f07 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 661 | sce | Ex13_7.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex13_7.sce
clc;
clear;
R=10;
L=0.1;
t1=0.01;
omega=100*%pi;
phi=omega*t1;
t=(asin(1)+atan((omega*L)/R))/omega;
Imax=((-omega*L*exp(-R*t/L))/(R^2+(omega*L)^2))-(s... |
a70e9451d125120adcbb1f6500e26b49568645b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH2/EX2.31/EXAMPLE2_31.SCE | c2daa78bfe3dc4f932f8f4c9abbc55fcca7e51b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 881 | sce | EXAMPLE2_31.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 2
//AMPLITUDE MODULATION
clear all;
clc;
printf("EXAMPLE 2.31(PAGENO 119)");
//given
//percentage modulation for first case
Pm_1 = 100
//percentage modulation for second case
Pm_2 = 50
m_1 = 1//modulation index for first case
m_2 = .5//mo... |
c28cbb45c2d8a258da24d9ed57e54bb56df4b18d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2288/CH5/EX5.9.2/ex5_9_2.sce | 39816c7c38e2575ca9af285e1283145a6566721a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 183 | sce | ex5_9_2.sce | // Exa 5.9.2
clc;
clear;
close;
// Given data
alpha = 0.9;
I_E = 1;// mA
I_C = alpha * I_E;// in mA
I_B = I_E - I_C;// in mA
disp(I_B,"The value of base current in mA is");
|
4c72986662c55014832ae23e31b3f8d44a962c0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH3/EX3.10/example_10.sce | 06a1e7a48ac116d2752fdfc44f5c868c0feb7f76 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 317 | sce | example_10.sce | clc
clear
printf("example 3.10 page number 98\n\n")
//to find the amount of water evaporated
xf = 0.15;
xl = (114.7)/(114.7+1000);
xc = 1;
K2Cr2O7_feed = 1000*0.15; //in kg
n = 0.8;
C = n*K2Cr2O7_feed;
V = (K2Cr2O7_feed-120 - 880*0.103)/(-0.103);
printf("amount of water evaporated = %f kg",V)
|
eb491b09a3567492b23fef4c1af422b85df74daa | 244971ae8af51184d278cdc2be1c80775413adae | /SSSoModMZ.sci | ba7b0f93dbc0ccc6976e63904d91be69b7235d4b | [] | no_license | MSCA-SIMFREE/748767 | 5879f1f139b608c7cd2f1bd62325b281c9c1e7d1 | 4726206e514f1e47e939e73b9339c056057866db | refs/heads/master | 2020-12-27T15:21:13.646362 | 2020-02-03T11:40:00 | 2020-02-03T11:40:00 | 237,951,088 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,223 | sci | SSSoModMZ.sci | // The code was developed under Horizon2020 Framework Programme
// Project: 748767 — SIMFREE
function Out=SSSoModMZ(In,V)
// Mach-Zehnder Modulator
//
// Calling Sequence
// Out=SSSoModMZ(In,V)
//
// Parameters
// In : Optical Input
// V : Modulating Signal
// Out : Optical ... |
496db92c46b5dbbe299997be88a0bbcc266194a6 | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/varargs_overload_runme.sci | 7426e81652ab69ccb2384b40fe9bcba9fffd0d6e | [
"LicenseRef-scancode-swig",
"GPL-3.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-3.0-only",
"Apache-2.0"
] | permissive | inishchith/DeepSpeech | 965ad34d69eb4d150ddf996d30d02a1b29c97d25 | dcb7c716bc794d7690d96ed40179ed1996968a41 | refs/heads/master | 2021-01-16T16:16:05.282278 | 2020-05-19T08:00:33 | 2020-05-19T08:00:33 | 243,180,319 | 1 | 0 | Apache-2.0 | 2020-02-26T05:54:51 | 2020-02-26T05:54:50 | null | UTF-8 | Scilab | false | false | 1,391 | sci | varargs_overload_runme.sci | exec("swigtest.start", -1);
checkequal(vararg_over1("Hello"), "Hello", "vararg_over1(""Hello"")");
checkequal(vararg_over1(2), "2", "vararg_over1(2)");
checkequal(vararg_over2("Hello"), "Hello", "vararg_over2(""Hello"")");
checkequal(vararg_over2(2, 2.2), "2 2.2", "vararg_over2(2, 2.2)")
checkequal(vararg_over3("H... |
9d13943aa3c404b8b603904f7d47dd1e61059cd2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH2/EX2.2/Example2_2.sce | 832489dc423bdeb534693edcd4c5bef26fd9b06b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sce | Example2_2.sce | //Exa 2.2
clc;
clear;
close;
disp("Two wire dc system : ");
disp("I1=P/V & W=2*I1^2*R1=2*P^2*rho*l/V^2/a1");
disp("Therefore, Volume required, v1 is 2*a1*l=4*P^2*rho*l^2/V^2/W");
disp("Three phase four wire system : ");
disp("I2=P/3/Vas Power by each phase is P/3 & W=3*I1^2*R2=P^2*rho*l/3/V^2/a2");
disp("The... |
64a10a2c465375597db1ad8feae94b00211a1411 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH3/EX3.29.1/Ex3_29.sce | c334f4e4bb189fc9960056f24e18f8c78f586fd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 959 | sce | Ex3_29.sce | clc
clear
//Inputs
//The Values in the program are as follows:
//Temperature in Celcius converted to Kelvin(by adding 273)
//Pressure in bar converted to kPa (by multiplying 100)
//Volume in m^3
//Value of R,Cp and Cv in kJ/kg K
V1=0.1;
V3=V1;
P1=10;
T1=200+273;
P2=3;
R=0.287;
G=1.4;
Cv=0.718;
m=(P1... |
3ad624bfcf17c2f02c243d82ee5ca4cb1659f396 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH8/EX8.3/Ex8_3.sce | c725ecce06d2230e5f57c9a0b75765b31c0b807a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 742 | sce | Ex8_3.sce | // Calculations
W_actual=1360 //N //Load lifted
P_actual=100 //N // Effort
n=4 // no of pulleys
// Calculations
// for 1st system of pulleys having 4 movable pulleys, Velocity ratio is
V.R=2^(n) // Velocity Ratio
// If the machine were to be ideal(frictionless)
M.A=V.R // Here, M.A= mechanical advantage
// Fo... |
0e08841bfcbb54fa83c6d7f901ea84ff11440af4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH1/EX1.2/ex1_2.sce | 932e193b0185070974dbace0598b5f7e759d81be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | sce | ex1_2.sce | // Exa 1.2
clc;
clear;
close;
format('v',7)
// Given data
n_i = 1.4*10^18;// in /m^3
N_D = 1.4*10^24;// in /m^3
n = N_D;// in /m^3
p = (n_i^2)/n;// in /m^3
// Ratio of electron to hole concentation,
ratio = n/p;
disp(ratio,"Ratio of electron to hole concentration is");
|
a003aa0f31a2b424c5cb1d2d459d6eb4dd63550b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3792/CH5/EX5.9/Ex5_9.sce | 032e74b8f392ced5536c2a6b54e46c01927abb53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 922 | sce | Ex5_9.sce | // SAMPLE PROBLEM 5/9
clc;funcprot(0);
// Given data
n=1500;// rev/min
theta=60;// degree
r=5;// inch
d_AG=10;// The distance from A to G in inch
d_GB=4;// The distance from G to B in inch
d_AB=14;// The distance from A to B in inch
// Calculation
v_B=(r/12)*((2*%pi*n)/60);// ft/sec
// From the law of sine... |
7a2f55b5aefd9a37a224db83cb1391f8c3b116e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH8/EX8.10/Ex8_10.sce | f826349b4425f20f433e4134b49d0402f5287311 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 843 | sce | Ex8_10.sce |
//
//
a1=0,a2=3.0,
b1=2.20,b2=5.50,
c1=1.75,c2=3.0,
d1=1.5,d2=0,
e1=4.75,e2=5.25,
f1=6.40,f2=7.30,
g1=0,g2=3.0,
printf("\n at station 1')
sp=(e1*d2)+(f1*e2)+(d2*f2)+(c1*d2)+(b1*c2)+(a1*b2)
sq=(e2*d1)+(e1*f2)+(f1*g2)+(d1*c2)+(c1*b2)+(b1*a2)
area1=0.5*(sp-sq)
area1=abs(area1)
printf("\n sp= %0.3f,sq= %0.3f... |
a8a4e256ebe0935f6cba95eb166b449e2d569814 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH22/EX22.1w/22_1w.sce | 912cac6c75f507af92c17d07e6f9750904ee5640 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 938 | sce | 22_1w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 22.1w
//calculation of the total radiant flux,total luminous flux and the luminous efficiency
//given data
E1=12//energy(in J) emitted by the source
lambda1=620*10^-9//wavelength(in m) of the light1
E2=8//energy(in J... |
7498969dc412122eaf218105c60b993fc3978ed0 | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/cmd/test/shortcolumn.tst | 4304e27bc0767a56a9cc5ca0a0a15c3a1fb5d8cf | [] | no_license | psy007/NNPC-CHEMICAL-SIM- | 4bddfc1012e0bc60c5ec6307149174bcd04398f9 | 8fb4c90180dc96be66f7ca05a30e59a8735fc072 | refs/heads/master | 2020-04-12T15:37:04.174834 | 2019-02-06T10:10:20 | 2019-02-06T10:10:20 | 162,587,144 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 858 | tst | shortcolumn.tst | # Simple distilation column test
units SI
$thermo = VirtualMaterials.Peng-Robinson
/ -> $thermo
thermo + PROPANE n-BUTANE ISOBUTANE n-PENTANE
col = Tower.Tower()
col.Stage_0 + 20 # twenty two stages`
cd col.Stage_10
f = Tower.Feed()
f.Port.T = 30
f.Port.P = 720
f.Port.MoleFlow = 10
f.Port.Fraction = .4 .05 .4 .15
f.... |
2217ecadb3f649ea69e96bb7c7f616d52a269ff2 | c2b4284d2b4e638da0faf402ffdaa6990e4b9193 | /extractpid.sci | 5edf2ba90971d05428dfa40cb42727810e9325ba | [] | no_license | solothinker/scilab_codes | 34c3fcdcc6a64cf4d397ea1731dbcaad6b7be735 | 843de01d6a4cbf5313019f81db0776b2179e287b | refs/heads/master | 2021-05-31T02:14:52.506754 | 2015-12-26T06:11:36 | 2015-12-26T06:11:36 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 13,331 | sci | extractpid.sci | // extarct the pid data from the given function
function [Kp, Ki, Kd, Tf, Ts] = extractpid(varargin)
//store the dimension of the data
[lhs,rhs]=argn(0)
total_dim = []
//find out the data type
for ii =1:rhs
if and(typeof(varargin(ii))<>[ "rational" "state-space" "constant" "hypermat"]) then
... |
8def6fd6a56477e4c53860957da500265e3085d4 | 4bcfc36b3fe4f98e84b3bf8fd08adde00b7da338 | /Results/exploration/graph1dIndivs_2942.033.sci | bcec6ca793347c98397f51de840b5f357143a8d7 | [] | no_license | CSSS2013UrbanMobility/UrbanMobilityNew | 52bea127d39046a7ef6796936b07664784a8fa4c | 48fb4b517718a961ca99e2fab678b80f17c22bf2 | refs/heads/master | 2021-01-01T18:42:37.730732 | 2014-02-09T16:40:18 | 2014-02-09T16:40:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 681 | sci | graph1dIndivs_2942.033.sci | var=[];
maxcong=[];
maxtrans=[];
var(1)=0.1;
maxcong(1)=1139.8514851485147;
maxtrans(1)=16;
meancong(1)=445.82301980197997;
meantrans(1)=5.986986818962758;
var(2)=0.3333333333333333;
maxcong(2)=1099.6287128712872;
maxtrans(2)=20;
meancong(2)=462.9615305280528;
meantrans(2)=7.155777256114574;
var(3)=1;
maxcong(3)=327.97... |
86ae116d811b8aa3a1b584dab1ace43d9d4eba4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH9/EX9.12.6/Ex9_6.sce | 1d47fcb8c33f30de0c377f8bb08fb63ae7e0e621 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 751 | sce | Ex9_6.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 9 Basic Voltage and Power Amplifiers
clc
clear
//In a class B push pull circuit
//Transformer winding resistances are to be ignored
n=3//n=primary-to-secondary turns ratio of a transformer
RL=9//RL=load resistance in ohms
VCC=15//VCC=collector supply voltag... |
156a79d7a5805cb4cc5da0029977e96504575e16 | e4ab09f985270da61c3dc9e10e13905d9f17894a | /codeforces/53A/4.tst | 2025c074dd679c4ff6ef7f1eefbac99db2563872 | [] | no_license | tandonadone/contest | 380c228fc02b440bdc124b06d5b3ae103290e455 | 2fa8d9dfeebb2e6a037dab79518d16924f2cb1b3 | refs/heads/master | 2022-04-23T04:20:39.500994 | 2020-04-27T13:23:29 | 2020-04-27T13:23:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 510 | tst | 4.tst | mqbasuavrgbjqykegqdegtrovxphenzgdxqowmshjhaylnfkglifnzchdops
6
mqbasuavrgbjqykegqdegtrovxphenzgdxqowmshjhaylnfkglifnzchdopsrditofcoez
mqbasuavrgbjqykegqdegtrovxphenzgdxqowmshjhaylnfkglifnzchdopsrznruxkwvbevtsrgx
mqbasuavrgbjqykegqdegtrovxphenzgdxqowmshjhaylnfkglifnzchdopsljmoi
mqbasuavrgbjqykegqdegtrovxphenzgdxqowmshjh... |
92d40dfbaed4cb6c3251ac0fe3e3bbdcc73bc489 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1820/CH3/EX3.3/Example3_3.sce | 1d5daec8b1678ed35106a1cfd4d97d2856812cb2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 945 | sce | Example3_3.sce | // ELECTRIC POWER TRANSMISSION SYSTEM ENGINEERING ANALYSIS AND DESIGN
// TURAN GONEN
// CRC PRESS
// SECOND EDITION
// CHAPTER : 3 : FUNDAMENTAL CONCEPTS
// EXAMPLE : 3.3 :
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
// For case (c)
I_normal = 1000 ; // Normal full load curren... |
ca6199306ee8e416005b2749bcfdaa7c9714ba02 | 843ddfc1f1137ace0ddbffdc051fb2b2a3e2ba6b | /P1/P101.sce | 186df24a4893fe79bb50e85db8dd5f94c5c6801d | [] | no_license | aguadix/SIMCON | 8169169577fc5e69257f6dc91558b7b320974161 | 5f83003937740a730c4593c241309c9da7693ddf | refs/heads/master | 2022-10-27T00:34:29.074871 | 2022-10-24T11:24:08 | 2022-10-24T11:24:08 | 53,549,792 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 954 | sce | P101.sce | clear; clc;
// P101.sce
// (a) CÁLCULO DEL ESTADO ESTACIONARIO
// Sistema de ecuaciones algebraicas
function dxdt = f(x)
// Variables
h = x
// Balance de materia
dhdt = (F1 + F2 - k*sqrt(h))/At
// Derivadas
dxdt = dhdt
endfunction
// Constantes
At = 0.5; // m2
F1 = 1; // m3/h
F2 = 5; // m3/h... |
de40b6579740d2ad5e2aaa7ed6a84127926b105c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2615/CH17/EX92.1/92.sce | 7f7b9384c69a585f73db6fe704160427d0fcd398 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 161 | sce | 92.sce | clc
//initialisation of variables
z=40//mm
q=28//m
w=1*21/49//mm
//CALCULATIONS
P=z/q//mm
//RESULTS
printf('the workpicece handle the circle=% f mm',P)
|
25f4880b1f718ebb8db7d7c356de78ce965dbbf0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH7/EX7.35/Ex7_35.sce | 8bf65446b6b50ce35b69cef35f601acb36507141 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,886 | sce | Ex7_35.sce | //Example 7.35
// Integral Control of a Motor Speed System
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
//Transfer function model
num=1;
s=poly(0,'s');
den=(s+3);
G=syslin('c',num/den);
sys=tf2ss(G)
// State space represen... |
5f200cfdbd75283fe7e8efc7bbc619bad7b1a9f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH28/EX28.6/286.sce | 441debe07f307703c7dac70d30c60281a5d9b7fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 596 | sce | 286.sce | clc;
//Example 28.6
//page no 434
printf("Example 28.6 page no 434\n\n");
//comparison between flow in pipes and open channel flow
//water is passing through a trapezodial channel
l_b=20//length of bottom base,ft
l_t=50//length of top base,ft
h=7.5//height of channel,ft
A = (l_b+ l_t)*(h/2)//cross sectional ar... |
e8bd4c7d8e46e0d87597484b0702222929ed840b | 449d555969bfd7befe906877abab098c6e63a0e8 | /506/CH6/EX6.5.c/Example6_5c.sce | f877c4ede69cbe654616d518debe6fec904fd2a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 633 | sce | Example6_5c.sce | clear;
clc;
//Caption:If input is high in NAND gate
//Given Data
//For transistor
Vbesat=0.8;//in V
Vy=0.5;//in V
R = 5;//in K
Rc = 2.2;//in K
//For diode
Vyd=0.6;//in V
Vdrop=0.7;//in V
//The logic levels are Vcesato=0.2V for 0 state
Vcesato=0.2;//in V
//And Vcc = 5V for 1 state.
Vcc = 5; // volts
Vp = Vdrop + Vdr... |
77e75ff0e6ac7cd4c549ce2430de22e229604101 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH9/EX9.8/9_8.sce | deb6b4862a7ef16d3271694a040523cce3c38f7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,356 | sce | 9_8.sce | clear
clc
G=[
%inf %inf 1.5 1
0 %inf 2.0 .5
3.5 %inf 0 0
0 %inf 2 .8
]
ld=[
1 2 %i*.2
2 3 %i*.1
3 4 %i*.1
1 4 %i*.2
1 3 %i*.2
]
n=4
e=5
Y=zeros(n,n)
for i=1:e
ynew = 1/(ld(i,3))
y0=0
n1=real(ld(i,1))
n2=real(ld(i,2))
if(n1==0)
Y(n2,n2)=Y(n2,n2)+yne... |
d214db216c31581e4ca6f3721d872f28d71bba08 | a557f90da8513f81cafd8f65e37e2c0d66449a2f | /IDFT.sce | 205706dd36dc2159f3efc42aaa8d1ecb7b94980b | [] | no_license | Sahil966121/SCI | 484cd77d6247e54fe87d36b4f112965c83ab5d96 | cf2921861486a4f2e2e83c3ca813a4e7710d3508 | refs/heads/main | 2023-03-03T17:43:08.236192 | 2021-02-03T05:19:43 | 2021-02-03T05:19:43 | 324,413,192 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | IDFT.sce | clear;
clc;
X=input('Enter the values of input sequence =');
M=length(X);
N=4;
for n=1:N
x(n)=0;
for k=1:M
x(n)=x(n)+(1./N).*)(X(k)*exp(%i*2*%pi*(k-1)*(n-1)/N));
end
disp(x(n./N));
end
magH=abs(x./N);
phaH=atan(imag(x),real(x));
figure(1);
subplot(211);
plot2d3(magH);
xtitle('Magnitude')
subplot(212);
... |
ae73d6c2a67e005c0e523a1cff6d707301c3a19d | 6b7b3be3c11fc662ae3f0b3e8880218ce3888a07 | /math/SciLab/%ZQuat_t.sci | 80d30a2eb8cf52bcc1c2d47b84f90ca2629454ef | [] | no_license | johnzet/Flight | 27cfa7dc8039f6c7b91385d9e204ad4a54248960 | 2893750df8aaa38311ffc125b1f7dcc9f5019eab | refs/heads/main | 2023-02-25T19:51:03.725205 | 2021-01-31T01:12:09 | 2021-01-31T01:12:09 | 334,544,210 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 60 | sci | %ZQuat_t.sci | function [q2] = %ZQuat_t(q1)
q2 = conj(q1);
endfunction
|
f83072f89d9afe8e230500e5e39d01164e9ede7f | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.19_1.tst | 0964dc3aaea50c8d0c6de479c0e77af5324814e3 | [] | 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 | 24,753 | tst | bow.19_1.tst | 19 35:0.1 67:0.5 84:0.25 93:0.5 94:0.5 122:0.3333333333333333 235:0.25 277:0.4 331:0.3333333333333333 398:0.07142857142857142 451:0.5 545:1.0 939:0.5 1435:0.25 2860:1.0 4826:1.0 5858:1.0
19 1:0.125 12:0.019801980198019802 20:0.07142857142857142 45:0.5 122:0.6666666666666666 197:0.09090909090909091 305:0.333333333333333... |
9b8a5a4533c8006b22f9b43df05cef319768a93e | 37950f16d052f7743e8ddc536e89c28f717a7229 | /Pattern/Pattern (Thinkpads in Konflikt stehende Kopie 2015-04-09).sce | a17c3916862922a0795592e07c7113c62b9affa9 | [] | no_license | tauhideee/SIM-Scilab | 51aca407e107500d6dbb780db4ceebb5a18ef03f | d94b53bb856b59bb33ace4ff001fe96c3c8229bb | refs/heads/master | 2021-01-22T14:20:56.974550 | 2015-07-18T10:26:44 | 2015-07-18T10:26:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 799 | sce | Pattern (Thinkpads in Konflikt stehende Kopie 2015-04-09).sce | //Generation of Pattern
//1. linSI.m
//
// Clear previous variables and graphics windows
//
clear ;
//plotlibmode
//
// Set parameters
//
fc = 40;
n = 480;
i= 1;
nphases = 3; // number of phases
nangles = 3; // number of angles
theta=linspace(0,%pi,nangles+1);
theta=theta(1:nangles);
phi=linspace(0,2*%pi,nphases+1)... |
99fe8c6fb5a923d3da957f519b1fe6184023388d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH14/EX14.7/14_07.sce | 97ca79278b4b552742ea0144415b0a72bc4ddeb9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sce | 14_07.sce | //Chapter 14, Problem 7
clc;
Vrms=240; //rms voltage
Vp=Vrms/0.707; //peak voltage
Vav=0.637*Vp; //average value of voltage
printf("Peak voltage = %f V\n\n",Vp);
printf("Mean value = %f V",Vav);
|
d7d47b4f599e31f0d94703acd459eef112ee9be6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /165/CH4/EX4.15/ex4_15.sce | 3a2e1db3cc6054e1193e2e13171942779968d71f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 484 | sce | ex4_15.sce | //Example 4.15
clc;
Ifsd=1*10^-3; //Full scale deflection current
Rm=200; //Meter resistence
Erms=10; //RMS voltage
Range=0.45*Erms; //RMS to DC value
//Using Sensitivity
S=1/Ifsd; //Sentitivity of meter
Rs=S*Range-Rm; //Multiplie... |
96d99c598c49922add6afacdf16b458b21558783 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/examples_scicos/batch1/batch1.sci | 178d5956f2bf507427550619e2eeac7c78e8e17f | [] | 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 | 1,282 | sci | batch1.sci | ///withoutPrompt
//function void() /// @@prerequisite ( trick here I do not want scilab to execute the f code)
load batch1.cos
freq_list=[.1 1 2 4]; /// \sleftarrow{\normalfont list of frequencies to consider}
k=find(%cpr.sim.labels=='toto'); /// \sleftarrow{\normalfont block number}
idx=%cpr.sim.rpptr(k):%cpr.sim... |
63f8ae19883c09ac4adf19350055b44f4fbfba17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH7/EX7.6.1/7_6_1.sce | f49ca62fe540d44ceaf4b66e442656daf9c42904 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 422 | sce | 7_6_1.sce | clc
pathname=get_absolute_file_path('7_6_1.sce')
filename=pathname+filesep()+'761.sci'
exec(filename)
printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
deltaH=m3*H3-m1*H1-m2*H2
disp("From tables, Vdot=0.1166 m^3/kg")
Vdot=0.1166
A=%pi*(ID/2)^... |
5895f1690a0f31e110970fd57d33af1f756cf7e1 | a589f95d013369896bef66dc002835588232d49b | /spaceRCSN.sce | b54f8736aea1ac1ff265320b262e80d5d00130c1 | [] | no_license | saifsmailbox98/scilab-linear-algebra | c26273bbeb8031874e7b13e90a0d191f7a331bd8 | 2249f2d46672c8acb35e25f719c64f1db6823326 | refs/heads/master | 2020-05-03T12:17:35.971027 | 2019-04-07T18:26:23 | 2019-04-07T18:26:23 | 178,621,819 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 919 | sce | spaceRCSN.sce | function [rowspace, dimR, colspace, dimC, nullspace, dimN] = spaceRCSN(A)
[m, n] = size(A);
r = rank(A);
echelon = rref(A);
rowspace = zeros(r, n);
colspace = zeros(r, m);
k = 1;
for i=1:m
if ~and(echelon(i, :)==0) then
rowspace(k, :) = echelon(i, :);
... |
1048256514e060cd800c4f002b4d025b105e3c4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1664/CH4/EX4.14/Ex4_14.sce | 9c76d97e86326e79211cec8a4ff3475240068151 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sce | Ex4_14.sce |
//Example No.4.14.
//Page No.140.
//The mass of the particle.
clc;clear;
E = 0.025*1.6*10^(-19);//Lowest energy.
h = 6.626*10^(-34);//Planck's constant.
L = 100*10^(-10);//Width of the well -[m].
m = ((h^(2))/(8*E*L^(2)));
printf("\nThe mass of the particle is %3.3e kg",m);
|
8f5ccc2d2da0b481293d530f81168df667a816c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3701/CH2/EX2.12/Ex2_12.sce | 709470a65d6e11ce0b24a836e47e432906daa7cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 523 | sce | Ex2_12.sce | ////given
V1=.82 //volts
V2=1.85 //volts
lembda1=4.0*10**-7 //m
lembda2=3.0*10**-7
e=1.6*10**-19
c=3.0*10**8 //m/s
//Calculation
lembda=(1/lembda2)-(1/lembda1... |
fdf0471c39904bb1195f291b15378cae43a5b6c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH5/EX5.8/P5_8.sce | 85146d0e652b2a0bb26d430becbb4ee23591ec2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | P5_8.sce | //EXAMPLE 5.8
//Cicular convolution
clc;
clear;
g = [1 2 0 1];
disp(g,'g[n] = ');
h = [2 2 1 1];
disp(h,'h[n] = ');
G = fft(g,-1);
H = fft(h,-1);
Y = G.*H;
yc = fft(Y,1);//IDFT of Y
disp(yc,"circular convolution,yc = ")
n=0:3;
clf();
figure(0);
a = gca();
plot2d3(n,yc,2);
plot(n,yc,'r.');
a.x_location = 'origin';
a.y_l... |
247d44a04355e6bd26d3bea73f295f3349733a50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH2/EX2.32/2_32.sce | 6a9579473f58389b404851fb6c914fec5275cec2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 957 | sce | 2_32.sce | //2.31
clc;
Vm=400*2^0.5/3^0.5;
alph=0;
Vdc_max=3*3^0.5*Vm/(%pi)*cosd(alph);
Vdc=0.5*Vdc_max;
alph=acosd(0.5);
printf("Firing Angle = %.2f degree", alph)
R=10;
Idc=Vdc/R;
disp('For discontinious load')
Vrms=(3^0.5*Vm)*(3*3^0.5/(4*%pi)*cosd(2*alph)+0.5)^0.5;
printf("\nRMS value of voltage = %.2f V", Vrms)
I... |
2ddb255dd91d7b4f0d257b3f8b9c14bc63968b3e | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH34/EX34.33/example33.sce | df5b38d92a767afaf4eab6bced666f73f57d1690 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 156 | sce | example33.sce | clc
syms k;
disp('total probability= integrate (f,x,0,6 )=')
p=integrate ('k*x','x',0,2)
q=integrate ('2*k','x',2,4)
r=integrate ('-k*x+6*k','x',4,6)
|
2afdf41c05f2d2d46231f6c8df4d73f60969c8d8 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Instrumentation_And_Measurements_D._A._Bell_182.zip/Electronic_Instrumentation_And_Measurements_D._A._Bell_182/CH3/EX3.5/example3_5.sce | 8e2f7a3adeb77eed7117fb0a40f46622b44a08c3 | [] | 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 | 53 | sce | example3_5.sce | errcatch(-1,"stop");mode(2);//Theory problem
exit();
|
cf4b7437429c07ac7bad114b25bd374ce57750f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH2/EX2.11/EX_2_11.SCE | e0261123ab6d6afa95ab524629febaaa255ad977 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 476 | sce | EX_2_11.SCE | // Example 2.11: Calculate base current , Collector current and Collector to emitter voltage
Vcc=20;// Colector voltage in volts
Rb= 400;// in KILLO OHMS
Beta=100;//Common emitter D.C. Current gain
Rc=2;// Collector resistance in killo ohms
Re=1;// Emitter resistance in killo ohms
Ib= Vcc / (Rb + (Beta*Re));
Ic=... |
569112ceb558a4fa537365d48b828e6b8ed3e82f | c0c48c5a363ac2c0bf21e72833d72a99771dc6ce | /Simulation_Codes/lab13_18i190002/ex1.sce | f388434af0b36ef1a721db96fd8910100c84cdc8 | [] | no_license | shubham1166/Operarions_Research_Projects | 3b6664b83d89b2a005b5194489bfd0d95cafe3d8 | 8f28eea93d9e4ff3d6a8e95160c3f9464ce2fc34 | refs/heads/main | 2023-03-14T02:48:42.359247 | 2021-03-03T05:51:28 | 2021-03-03T05:51:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 715 | sce | ex1.sce | //Shubham Sharma
//Msc PhD OR
//Roll no: 18i190002
clc
clear
function [i,k]=JobsDoneInOneArrival(lembda,mu,x)
summ=0
y=grand(1,1,"exp",1/lembda)
k=y
for i=0:x
p= grand(1,1, "exp",1/mu)
summ=summ+p
if summ>=y then
break
end
end
endfunction
M = 10000;
X0 =... |
2343256a2e7b6f23c37ca3f946929e8eaccf8104 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH3/EX3.7/example3_7.sce | eede41d9ab371baf3e6b48eeed03c4c4dd404035 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | example3_7.sce | r=2.2*10^6;
i=6*10^(-6);
disp("Part a");
v=i*r;
disp("the potential difference (in V) across the resistor is"); disp(v);
disp("Part b");
g=10^(-6);
v1=12;
r1=1/g;
i1=v1/r1;
disp("the new current (in μA) is"); disp(i1*10^6); |
b1cbf298a4c7570823762c4a82b5fc5ade4851bc | d963a50c09b7380dd7b1b97cd9997e9bd17ea8f3 | /r35/lib/rlfi.tst | 919ef03d46dd848145afa6adfc25114c242bc0aa | [
"BSD-3-Clause"
] | permissive | reduce-algebra/reduce-historical | 8220e211b116e0e01ff1a38f51917cac9db6069f | e014152729c4d62bb1ce4f5c311a027042a5495a | refs/heads/master | 2023-04-10T22:54:00.796596 | 2021-04-16T08:52:19 | 2021-04-16T08:52:19 | 343,245,204 | 7 | 1 | NOASSERTION | 2021-04-16T08:53:31 | 2021-03-01T00:15:22 | TeX | UTF-8 | Scilab | false | false | 715 | tst | rlfi.tst | off echo,msg;
on latex;
(a+b)**5\(a-b)**4;
x:=(a+b)**3;
{x,DF(x,a),DF(x,a,2)};
{{a,x},x};
ON VERBATIM;
SOLVE(a^7-13*a+5);
SOLVE(a**(2*y)-3*a**y+2,y);
OFF VERBATIM;
DEPEND a,c;
DF(x,c,2);
DEFID al,NAME=alpha;
DEFID be,NAME=beta;
SIN al**2+COS al**2=1;
SIN(al+be)=SIN al*COS be+COS al*SIN be;
OFF LASIMP;
DEFID u,FONT=bold... |
b7af7192b18d087b7b147af885634ad2d4c572ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /14/CH2/EX2.4/example_2_4.sce | 81411382a38878b55aac023e3d30937cef96b755 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,182 | sce | example_2_4.sce | //Chapter 2
//Example 2.4
//Ex3inPerUnit
//Page 32
clear;clc;
//Given values
Vll = 4.4e3;
Zline = 1.4 * (cos(75 * %pi / 180) + %i * sin (75 * %pi / 180));
Zload = 20 * (cos(30 * %pi / 180) + %i * sin(30 * %pi / 180));
Vbase = Vll;
Ibase = 127;
Zbase = (Vbase / sqrt(3)) / Ibase ;
//Displaying the given values and th... |
7b154c543f26f4beb2cf5a99ad73ff9450922bdb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH4/EX4.2/example4_2.sce | 262bfadf854bab69ebf19782e79b27df0a8c07f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sce | example4_2.sce |
//example 4.2
//page 161
clc; funcprot(0);
// Initialization of Variable
h=2;
d=2.5/100;
g=9.81;
pi=3.14;
Cd=0.65;//coeff of discharge
A=pi*d^2/4;
Q=Cd*A*sqroot(2*g*h);
disp(Q*1000,"flow rate(l/s)=");
clear
|
b5fe2ebb2d93f6e869b471f800398420b458bba6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3814/CH5/EX5.4/Ex5_5.sce | 8e4cd5fd742f2fce9de0c91784c42c604a1afdea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 698 | sce | Ex5_5.sce | // to find coefficient of velocity speed ratio,jet diameter
//ex 5.5 pgno119
clc
cv=0.98//velocity of volume
g=9.8//gravity
h=130//head loss
V1=cv*(sqrt(2*g*h))//velocity of jet
mprintf('\n velocity of the jet = %f m/s',V1)
s=0.46//specific gravity
u=s*V1//velocity
mprintf('\n u = %f m/s',u)
N=200//Rotatio... |
b2e95c82c7f6cd323f65d812375f8c59b2034d92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH3/EX3.7/Ex3_7.sce | 40b63327cafa48a4ea6fab67d772d56394e97c84 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 668 | sce | Ex3_7.sce | //Ex 3.7
clc;clear;close;
format('v',6);
fo=3;//kHz
Ap=4;//Band pass gain
alfa=1.414;//for butterworth filter
C1=0.01;//micro F(Assumed)
C2=alfa^2*C1/4;//micro F
R=1/(2*%pi*fo*10^3*sqrt(C1*10^-6*C2*10^-6))/1000;//kohm
Rf=2*R;//kohm(Assumed)
disp("Design values are :");
disp(C1,"Capacitance C1(micro F)");
di... |
bdecb9ca25e9799f13d764a901423f1aad585b8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH2/EX2.1/Ex2_1.sce | ae008ae25894981d2b4a37d398322d73611ac18e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 957 | sce | Ex2_1.sce | //CHAPTER 2 ILLUSRTATION 1 PAGE NO 57
//TITLE:TRANSMISSION OF MOTION AND POWER BY BELTS AND PULLEYS
clc
clear
//===========================================================================================
//INPUT DATA
Na=300;//driving shaft running speed in rpm
Nb=400;//driven shaft running speed in rpm
Da=60;//... |
bf630aa47ba1c27488385378685bac91747f45f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH17/EX17.6/Ex17_6.sce | b1d976e2a74a30f0949728eef5ac7509eaaf1ed3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 124 | sce | Ex17_6.sce | clc;
//e.g 17.6
Ton=30*10**-3;
Toff=10*10**-3;
Vdc=200;
a=Ton/(Ton+Toff);
disp(a);
Vl=Vdc*a;
disp('V',Vl*1,"Vl=");
|
a7433713fcf87940fdebc7d25b3e8a060576318f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH8/EX8.26/Ex8_26.sce | 6fa0695c73c5d080ac78cfddfb48a9c27af4d0a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | Ex8_26.sce | //Ex:8.26
clc;
clear;
close;
nt=0.18;// total efficiency
Eg=1.43;// band gape energy eV
V=2.5;// appied voltage in volt
n_ex=(nt*(Eg/V))*100;// external efficiency
printf("The external efficiency =%f %%", n_ex); |
f81bd00056a2abbb81c76e76e8cfa164f94949e5 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/_Movie/test2.SCI | 0236f814ad06c8005cba413335e1c81600bfea05 | [
"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 | 2,629 | sci | test2.SCI |
codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
codeblock readtextfile(ScriptDir+"\_SSYS.sci");
codeblock readtextfile(ScriptDir+"\_Movie\_PlanetariumTools.sci");
###########################################################################################################
#############################################... |
44ab27af5a2ebdace8792fca8ff0dc90db23b780 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1241/CH6/EX6.16/exa6_16.sce | 7df6204ae57f85a8d1465d9eead268db6a3080b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,980 | sce | exa6_16.sce | //Example 6-16//
//Reduce using mapping//
clc
//clears the console//
clear
//clears all existing variables//
//Mapping the expression//
disp('Y=m(0,2,4,8,10,13,15,16,18,20,23,24,26,32,34,40,42,45,47,48,50,56,57,58,60,61)')
disp(' B'' B ')
disp(' E... |
2179fa1115ef5b16d1c907b04284e88e8c2b9e14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH2/EX2.9/Ex2_9.sce | c14e97c9c14f9fb5033fb591f0c72231abb84be0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,122 | sce | Ex2_9.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex2_9.sce.
clc;
clear;
R1=3;
R2=4;
R3=2;
R4=1;
//case (a)
a1=13;b1=-6;c1=20; //these are the coefficient values of VA,VB and so... |
380c1c2d521cd79cbf10879037e2dce44b6f076f | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH3/EX3.8/Ex3_8.sce | ddfb7d64d4b5a5a25b9f7c0003632dbb59ad17a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 138 | sce | Ex3_8.sce | //Ex:3.8
clc;
clear;
close;
I_sc=19;//in uA
R=1000;
R_m=968;
V_out=I_sc*(R*R_m/(R+R_m));
printf("Voltage produced = %d uV",V_out); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.