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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d6ffd72477751fbbe06fe0a5a4454dcab1d9c0e9 | 717ddeb7e700373742c617a95e25a2376565112c | /2495/CH1/EX1.5.1/Ex1_5_1.sce | 1a1ce7a6b16b74600c18e0cee061fce1300d0a7f | [] | 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 | 637 | sce | Ex1_5_1.sce | clear ;
clc ;
T1 = 234.5 ;// Temperature in K
P = 1 ; // Pressure in atm
rho1 = 14.19 // Density of solid Hg in g/(cm^3)
rho2 = 13.70 // Density of liquid Hg in g/(cm^3)
V = 200.59 // volume of liquid and solid in g/mol
delV = ((V/rho2)-(V/rho1))*(10^-3)// in dm^3/mol
delTdelP = 0.0051 // K/atm
R1 = 8.314 // in J
R2 = ... |
029eb434982c40eedde6fd4627823a4a4c0b51ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH10/EX10.9/Ex10_9.sce | c6144f7f42b5d7798c719280902eff66954abe81 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 465 | sce | Ex10_9.sce | // Example 10_9
clc;funcprot(0);
// Given data
T=400;// °C
P=1;// MPa
v=0.3066;// m^3/kg
// Calculation
ds=7.619-7.302;// kJ/kg.K
dT=450-350;// K
c_p=(T+273)*(ds/dT);// kJ/kg.K
dv=0.3304-0.2825;// m^3/kg
mu_j=(1/(c_p*10^3))*[((T+273)*(dv/dT))-v];// K/Pa
printf("\nThe Joule thomson coefficient,mu_j=%1.2e K... |
e966e4448f5b96b922fc1ba067b860463b21d3ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH1/EX1.23/Ex1_23.sce | c1f1ea28903de49f4ef02c04e43c0255a48fa298 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 883 | sce | Ex1_23.sce | //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 23
clc;
disp("CHAPTER 1");
disp("EXAMPLE 23");
//VARIABLE INITIALIZATION
I1=20; //current source in Amperes
v1=10; //voltage source in Volts
v2=40; //voltage source in Vo... |
70e8f40af48c6a85af30fb0c9120f1e7a3a28d19 | 449d555969bfd7befe906877abab098c6e63a0e8 | /758/CH5/EX5.20/Ex_5_20.sce | 1379e2bf6ab69ee91b2af3046cfe5d949ffe0a5b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | Ex_5_20.sce | //Example 5.20
clc;clear;close;
z=poly(0,'z');
x=[-1 1 0 -1];n=0:length(x)-1;
X=x*(z^-n)';
H=0.2-0.5*z^-2+0.4*z^-3
Y=H*X;
l=coeff(numer(Y));
y=l(:,$:-1:1);
disp(X,'Input sequence x(n)={-1,1,0,-1} X(z)=');
disp(H,'System Transfer Function H(z)=');
disp(Y,'Z transform of output response Y(z)=');
disp(y,'Dig... |
91f991f1be81689cb00894cde364e0e77d59776d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH2/EX2.6.4/ex_2_6_4.sce | 7b40e07ba0e623830edadd6a2d4c90cfab2092e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 412 | sce | ex_2_6_4.sce | //Example 2.6.4:limiting error
clc;
clear;
close;
format('v',6)
r1=120;//in ohms
er1=0.5;//limiting error in resistance 1 in ohms ±
r2=2;//in amperes
er2=0.02;//limiting error in amperes ±
e1=er2/r2;//limiting error in current
e2=er1/r1;//limiting eror in resistance
et=(2*e1+e2);//totak error
etp=et*100;//percentage li... |
d4fa4af47c6ef628b999b7ca1c6b5c61564c314f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH12/EX12.4/MD_Ex_12_4.sce | 46d54e4ad38ce54f8b8cbad4422d151007c4a108 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | MD_Ex_12_4.sce | clc
//Chapter 12:Frequency mixers
//example 12.4
//given
f=1*10^3//maximum frequency of unknown signal
df=1//maximum error in signal
fs=f^2/df//sampling frequency
disp(fs,'the required sampling frequency is')
|
ec70579607a141381a9a4c965a38a3d4f93dcd92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH17/EX17.7/Ex17_7.sce | 583c8bcee08238d2e70049d587ff89b432793808 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sce | Ex17_7.sce | clear
//Given
v=2.0*10**8 //m/s
c=3*10**8 //m/s
d=6.0 //cm
//Calculation
ug=c/v
a=d/ug
D=d-a
//Result
printf("\n Distance through which ink dot appears to be raised is %0.3f cm", D)
|
1dfd5764538e9b96c3f89309d216b448b475a4ac | 1485852dd59aafc286600126cf832a32e10f117f | /tests/getDepth/test4.sce | 62f54ddfcddd4ce0df2e01438bb88cb216eb9292 | [] | no_license | rg77/Scilab-Image-Processing-And-Computer-Vision-Toolbox | dec9fbbce32cfd1eab3c45ccb29c89aaa1384758 | 8adb116da3a9c29a32e5e0727105aff571e5b374 | refs/heads/master | 2020-12-02T16:14:45.282650 | 2017-07-07T10:12:04 | 2017-07-07T10:12:04 | 96,524,257 | 0 | 0 | null | 2017-07-07T09:43:50 | 2017-07-07T09:43:50 | null | UTF-8 | Scilab | false | false | 179 | sce | test4.sce | src = imread("../images/color2.jpeg"); //reading an image
gray = rgb2gray(src); //converting to grayscale
depth = getDepth(gray) ; //get the depth
disp(depth) ; //view the output
|
46213bd21d75b6821bbf201e594beb9598371ac9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH9/EX9.3/example9_3.sce | 7eb0fbefa0a1eb42386bc485ab0a5adde98202ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example9_3.sce | vnl=1.2;
vfl=1.1;
disp("Part a");
p_v=(vnl-vfl)*100/vfl;
disp("the percentage voltage regulation of the cell (in %) is"); disp(p_v);
disp("Part b");
p_v1=40;
vnl1=21;
vfl1=vnl1/(1+p_v1/100);
disp("the full-load voltage (in V) is"); disp(vfl1); |
47b48419ac61983552a5163048d2e8e4afb80cb5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /374/CH1/EX1.1/11.sci | 903863145c910afecedaa1d44a4c8d566c4f38ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 638 | sci | 11.sci | //Chapter 1 Example1//
//core refractive index of silica optical fibre =n1,cladding refractive index of silica optical fibre =n2,critical angle =p,angle of obliqueness=pm//
n1=1.5;n2=1.450;
p=asind(n2/n1);
pm=90-p;
printf("\n a)angle of obliqueness=%f\n",pm);
//refractive index for air=na,acceptance angle in air=... |
e63b4dc80fc2028439f892d0c77f22d394bf7db4 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpassshiftc/test_14.sce | f7dcf0c23ce36cf3fa20fde1519355e5aa0a81bf | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sce | test_14.sce | // Test # 13 : Valid input test case #3
exec('./allpassshiftc.sci',-1);
[n,d]=allpassshiftc(-0.261,-0.346);
disp(d);
disp(n);
//
//Scilab Output
//d=1. 0.
//n=0 0.9645574 - 0.2638730i
//
//Matlab Output
//d=1 0
//n=0.0000 + 0.0000i 0.9646 - 0.2639i
|
5ee43bfe12ec2751e73507d6011ca1857f0e5318 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH27/EX27.14/Ex27_14.sce | 87f87d55de52387b5f765a5725a8b92c51810ec8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex27_14.sce | clear
//Given
Vcc=8 //V
V=0.5 //V
Rc=800.0 //ohm
a=0.96
//Calculation
Vce=Vcc-V
Ic=V/Rc*10**3
B=a/(1-a)
Ib=Ic/B
//Result
printf("\n (i) Collector-emitter voltage is %0.3f V",Vce)
printf("\n (ii) Base current is %0.3f mA",Ib)
|
ff9d378d0279ecf15d2e15f2ebb414889ac06060 | 20f46832ae88a89a38f61087f5c7b9be092760cf | /tspGreedy.sci | 96225a0cd92830d716b8d1f236b7c1b32129ad49 | [] | no_license | valdron/tspscilab | beef362216b51a534e928a51a917f691cb99b846 | c148f9a1d08d246966f23bcfb2739f2faa62526d | refs/heads/master | 2020-06-11T13:57:36.005279 | 2016-12-08T20:54:27 | 2016-12-08T20:54:27 | 75,650,403 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 546 | sci | tspGreedy.sci | //<-function--
function tour = tspGreedy(start)
//
// INPUT:
// start ... start index (optional = 1)
//
// OUTPUT:
// tour ... nearly optimal greedy tour
global dist;
if argn(2) == 0 then
start = 1;
end
n = size(dist,'r');
tour = start;
rest = 1:n;
re... |
cb45e07db9ded66831fa8ece0ba777fcafff44e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH18/EX18.50/Ex18_50.sce | fbcd99022f9add06265a3ae70c401c118859f1e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 841 | sce | Ex18_50.sce | // scilab Code Exa 18.50 Centrifugal pump 1500 rpm
N=1500; // rotor Speed in RPM
H=5.2; // head in m
b=2/100; // width in m
d1=2.5/100; // entry diameter of the blade ring in m
d2=0.1; // exit diameter of the blade ring in m
rho=1e3;
g=9.81; // Gravitational acceleration in m/s^2
n_o=0.75; // overall Efficien... |
511d9ed36d4e0f08dba63321e473f03d0ddbdec5 | 036a77bd5f07b7b2b808ef3d90e92d20bd7b6c33 | /hard/tests/fib-ite.tst | 77a06b889c6b7b1512a3be79ef9519f6c2b6e761 | [] | no_license | Jaymee-Ericca-7/simple-compiler | 186b11486e5af8debdde301acba84851c4545b02 | 209a8ed43c579a9ce34c63a10083cdbde5546313 | refs/heads/master | 2020-09-18T06:19:53.304100 | 2015-08-11T13:44:06 | 2015-08-11T13:44:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 511 | tst | fib-ite.tst | int fib(int n) begin
int i1;
int i2;
int k;
int ret;
if (2 < n) then
begin
i1 = 1;
i2 = 1;
k = 2;
do
begin
ret = i1 + i2;
i1 = i2;
i2 = ret;
k = k + 1;
end
while(k < n);
end
if (!(2 < n)) then
begin
ret = 1;
end
return ret;
end
main begin
... |
9c0e053c397ad8654e6e7b16185611cb4ed02973 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/demos/sci2for/dem1.sce | c710e5e7125bed381bd43801b56f070e1b80ae0d | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 552 | sce | dem1.sce | mode(-1)
// function definition
deff('[x]=t1(a,b,n)',[
'z=n+m+n,'
'c(1,1)=z,'
'c(2,1)=z+1,'
'c(1,2)=2,'
'c(2,2)=0,'
'if n=1 then,'
' x=a+b+a,'
'else,'
' x=a+b-a''+b,'
'end,'
'y=a(3,z+1)-x(z,5),'
'x=2*x*x*2.21,'
'sel=1:5,'
't=a*b,'
'for k=1:n,'
' z1=z*a(k+1,k)+3,'
'end,'
't(sel,5)=a(2:4,7),'
'x=[a b;-b'' a'']'],'n')
//... |
7e92ec24bddc82f156fb2bf81b2927d8b0f63b86 | d963a50c09b7380dd7b1b97cd9997e9bd17ea8f3 | /psl-1983/3-1/tests/prog.tst | 2a39843f7e7a17769acba8dd1367e7c1ac8edc94 | [
"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 | 1,325 | tst | prog.tst | % Some interpreted tests of PROG for MAIN9
(Dashed "Expect 1 printed")
(shouldbe "Prog Value" (PROG NIL (print 1)) NIL)
(Dashed "Expect 1 and 2 printed")
(shouldbe "Prog value" (PROG NIL (print 1) (print 2) (return 3)) 3)
(Dashed "Test 1 var PROG binding")
(ShouldBe "Before PROG, x=" (setq x 2) 2)
(Shouldbe "Prog ... |
9aeba8390460b800fe104bca559285364eea6634 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH2/EX2.15/2_15.sce | 176895b36373cdad2fc3e3628591b4582fac359d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_15.sce | //Chapter 2, Problem 15
clc;
V=15; //e.m.f
I=2; //current
t=6*60; //time period
E=V*t*I; //calculating energy
printf("Energy = %f kJ",E/1000);
|
89095c1df73e67b5636d4f315e799372aaee84d5 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/xdess/gr_macros.sci | 6090c3fae3f0efd99aeb2bffda705eacd9f91ac0 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 6,914 | sci | gr_macros.sci | function []=delete(sd)
//destruction d'un objet
xx=locate(1);eps=0.2
mm=clearmode();
//recherche de l'objet contenant le point
for ko=2:ksd;
obj=sd(ko);
to='rien';if size(obj)<>0 then to=obj(1);end,
select to
case 'ligne' then
z=obj(2),[nw,npt]=size(z),
for kpt=2:npt
... |
015b574554238c4886682f5501d73f3b060a7290 | 903f095ccddc6ac2990aff02be300cd6229a2a99 | /practical-classes/eigen-inverse-power-method-shifted.sce | 580ef3a694f8c67f1816663e834fdadfbbdf5c27 | [] | no_license | pdelfino/linear-algebra-numerical-methods | dfb39b8500eba28cc884ecb31a948f51517f1503 | 065353c0be82db134506a7b4922e08cfe77d918c | refs/heads/master | 2021-06-10T20:45:46.654441 | 2020-06-15T11:48:01 | 2020-06-15T11:48:01 | 98,227,297 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,866 | sce | eigen-inverse-power-method-shifted.sce | function [lambda,eigen_vec] = Metodo_pot_desloc_inv(A,initial_vector,epsilon,alfa)
[row_num,col_num] = size(A)
I = eye(row_num,col_num)
//parte crucial do método, redefinindo a matriz A
//A passa a ser A menos o produto de alfa vezes a matriz identidade
A = A - (alfa*I)
//f... |
985bf2afb85b5eb79a57ca8d3712197ddc68727b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH7/EX7.12/ex7_12.sce | 052d2258f326a68bc159bb71b97c8176d4937e3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 876 | sce | ex7_12.sce | clc;
p1=1; // Pressure of fluid at inlet in bar
T1=60; // Temperature of fluid at inlet in degree celcius
p2=2.8; // Pressure of fluid at outlet in bar
eff_d=0.80; // Diffuser efficiency
k=1.4; // Index of reversible adiabatic process
Cpo=1.0035; // Specific heat at constant pressure in kJ/kg K
// (a).Actual D... |
28aa045f0e80aa99caa331a4873c818b07951ec7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH10/EX10.15/Chapter10_Example15.sce | d1d7e051b8414afa2790b4ce4705bebd3de11b79 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 747 | sce | Chapter10_Example15.sce | //Chapter-10, Example 10.15, Page 430
//=============================================================================
clc
clear
//INPUT DATA
D=0.2;//Diameter of each disc in m
L=2;//Distance between the plates in m
T=[800+273,300+273];//Temperatures of the plates in K
e=[0.3,0.5];//Emissivities of plates
/... |
6eb1c9c67d61335c1f6a2f02ce82dbfc6992615c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH1/EX1.4/chapter1_4.sce | 4d82722e891b1c62c90badd8ec15034036ddae63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 404 | sce | chapter1_4.sce | //example1.4
clc
disp("The equivalent resistance of two is,")
r=(10*20)/30
format(5)
disp(r,"R_eq(in ohm)=(R1*R2)/(R1+R2)=")
i=50/6.67
format(4)
disp(i,"I_t(in amp)=V/R_eq=")
disp("As per the current distribution in parallel circuit,")
i=(7.5*20)/30
disp("I_1(in amp)=(I_t*R2)/(R1+R2)=")
i=75/30
disp(i,"and... |
a74bfa244d10845603cf73a473a62160e256df75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH14/EX14.23/example14_23.sce | aede681573f584657a3fee667ae0b7a00c2e3e0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 638 | sce | example14_23.sce | clc
// Given that
lambda = 1e-10 // wavelength of light in meter
theta = 90 // angle at which scattered radiation is viewed in degree
h = 6.62e-34 // Planck constant in J-sec
c = 3e8 // speed of light in m/sec
e = 1.6e-19 // charge on an electron in C
m = 9.1e-31 // mass of an electron in kg
// Sample Problem 23 on p... |
1623e6f2e1e7272eec4a0732968ef35f222e1cd4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH10/EX10.2/10_2.sce | fb3b9d958aff27276d2e483dc85df0be990a9b1a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 486 | sce | 10_2.sce | //example 10.2
clc; funcprot(0);
// Initialization of Variable
phi1=0.8;
pg1=0.01228;
pa1=0.9902*10^5;;
R=8314;//gasconstant
T=283;
pv1=phi1*pg1;
va1=R/28.97*T/pa1;
madot=150/va1;
omega=0.622*(pv1/(1-pv1));
Qcvdot=madot*(303.2-283.1)+omega*(2556.3-2519.8);
disp(Qcvdot,"heat flow rate in kJ/min");
pv2=pv1;... |
2d9bc72595c8ae472585ca81322e5c0332ce01a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH11/EX11.9/Ex11_9.sce | 283c07e34f8bd4cc73298cd4a5a7cd6f83ae7772 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | Ex11_9.sce | clc
T=300 //K
k=8.617*10**-5//eV/K
e=1.6*10**-19 //C
Cox=6.9*10^-8//F/cm2
esp0=8.85*10^-14
Vtau=0.65//V
VGS1=1.5//V
VGS2=2.5//V
VDS=0.10//V
L=2*10^-6//cm
u=650//cm^2/Vs
ID1=35*10^-6//A
ID2=75*10^-6//A
W=15*10^-6//m
un=(ID2-ID1)*L/(W*Cox*(VGS2-VGS1)*VDS)
disp(un,"un in cm^2/Vs is=")
|
664f41866ab14c49d26fe1e69177a3c56cca50d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH11/EX11.3/Ex11_3.sce | cfd423c73044ff85339566f56d1daa05371905c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 507 | sce | Ex11_3.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex11_3.sce
clc;
clear;
Ra=0.8;
Va=40;
Td=1.2;
Ka=600;
phi_p=0.004;
printf("\n (a)")
n=(Va/(Ka*phi_p))-(2*%pi*Ra*Td/(Ka*phi_p)^2);
N=n*60;
printf("\n The spe... |
10ad504cef30d80350eb0786cfd50e8d6f5461ab | f04d3d47f893de08cd99a31b4870112915b80d5b | /Datasets/segment/data3.tst | d559ccbf877fc9407f72a28ef5cd13468d7d8994 | [] | no_license | MesumRaza/MyWorkInPython | f5364b8514943e44c7200123653da9f4551251b1 | bd8c9b3ca2fb02ae6d2b626054fa3cd32c28b330 | refs/heads/master | 2021-08-19T21:46:41.412995 | 2017-11-27T13:37:52 | 2017-11-27T13:37:52 | 111,728,604 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 36,938 | tst | data3.tst | 0.359684 0.1875 0 0 0 0.0152091 2.98764e-05 0.0186335 0.000408754 0.878389 0.845219 0.932253 0.85191 0.324627 0.597647 0.345351 0.932253 0.176061 0.120435class1
0.0118577 0.120833 0 0 0 0.0456274 0.00273375 0.0248447 0.00152815 0.119804 0.114263 0.154639 0.0880748 0.757463 0.327059 0.341556 0.154639 0.46306 0.211624cla... |
dea49f5b594f3ea126f745f18cadc670201c4319 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3547/CH2/EX2.4/Ex2_4.sce | 1d99edc690daf567cc2851dcd99c0bff7de4cabc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 697 | sce | Ex2_4.sce | // Example 2.4
// a)To convert transmitted power into dBm b)To convert received power into mW
// Page no. 61
clc;
clear;
// Given data
Ptr=0.012; // Transmitted power in watt
PrdBm=-5; // Received power in dBm
// a)To convert transmitted power ... |
d7868cb9fa834b8b1a3da122dbad1ce219d26670 | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH3/EX3.3.50/Ch3_3_50.sce | 09acb98e5164ff2a3b52542acb86783b0255ebe5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 509 | sce | Ch3_3_50.sce | clc
disp("Example 3.50")
printf("\n")
disp("Draw a DC load line for the base bias circuit")
printf("Given\n")
//given
Rc=2.2*10^3
Rb=470*10^3
Vcc=18
Vbe=0.7
hFE=100
//find the Ib
Ib=(Vcc-Vbe)/Rb // from ciruit
//find the Ic
Icq=hFE*Ib
//find the Vceq
Vceq=Vcc-(Icq*Rc)
//to draw Dc load line
Ic1=Vcc/... |
4cba4e1f6e1295c3afe3e20eb2afea1d3a42cab0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH19/EX19.7.a/19_7_a.sce | 83f616f095849bad227ab44a3a88737c8e09d124 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | 19_7_a.sce | clc;
// page no 731
// prob no 19.7
// In given problem a TV receiver is tuned to channel 6.
//All modern Rx uses a picture IF of 45.75 MHz with high-side injection of the signal into the cable.
// The picture carrier of channel 6 is at a frequency of 83.25MHz,so
ch=6;
Fc=83.25;// expressed in MHz
IF=45.75;//ex... |
1347ef758bf0a6d454b3fda0c8704b10a1319eff | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH10/EX10.10/Ex10_10.sce | 1c4835a59381e09ef4621c9d220e51d94ef58340 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex10_10.sce | //Example 10.10
m=0.75;//Mass of the cylinder (kg)
h=2;//Height of incline (m)
R=4*10^-2;//Radius of cylinder (m)
g=9.8;//Acceleration due to gravity (m/s)
v=sqrt((m*g*h)/[(1/2*m)+(1/2*1/2*m*R^2/R^2)]);//Final velocity, See Equation 10.86 (m/s)
printf('Final speed = %0.2f m/s',v)
//Openstax - College Physics
/... |
80c3fbbb7b0f8a937dcebf8d203278d587e1c3cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH5/EX5.15/5Ex15.sce | b7227d0da7df1842f5c79053971670f651667be6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sce | 5Ex15.sce | //chapter 5 Ex 15
clc;
clear;
close;
//let the value to be found out be z
z=(1+sqrt(2))^2+(1-sqrt(2))^2;
mprintf("The value of expression (x^2+y^2) is %.0f",z);
|
8bd0fa592448996d223b4bcfc5d0c35ac4c8ee82 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/GR5.prev.tst | 36453606ad0ff67f357f4fbbf805e7bf16db5fe1 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 139 | tst | GR5.prev.tst | (" - 24 + 16*x + 64*x^2 - 216*y - 576*y^2 - 512*y^3").getGrowingFactors
(" - 24 + 8*x + 16*x^2 - 108*y - 144*y^2 - 64*y^3") = 1,2,4,2,4,8
|
496d12b6c923d9ea9c622ebe2db513fe632fc0ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH3/EX3.9/ex3_9.sce | 24451208cfa6c3a570614de374ef5bde6c52b218 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 368 | sce | ex3_9.sce | clc
p=100000 //Assigning values to parameters
il=80
vl=1100
f=50
vph=vl/sqrt(3)
iph=il
zph=vph/iph
t=acosd(p/(sqrt(3)*vl*il))
zph1=5.21-%i*6
[r]=real(zph1)
[xc]=abs(imag(zph1))
c=1/(2*%pi*f*xc)
disp("ohms",r,"The resistive circuit constant is")
disp("ohms",xc,"The capacitive circuit cons... |
4a8d8cdadbcb311ac49b6b260a3d92af6aec5ee8 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/specfact.man.tst | f2f073639a4c2fc8e648a9eeda5e8b4d9f8e0ca8 | [
"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 | 288 | tst | specfact.man.tst | clear;lines(0);
A=diag([-1,-2]);B=[1;1];C=[1,1];D=1;s=poly(0,'s');
W1=syslin('c',A,B,C,D);
phi=gtild(W1,'c')+W1;
phis=clean(ss2tf(phi))
clean(phis-horner(phis,-s)'); //check this is 0...
[A,B,C,D]=abcd(W1);
[W0,L]=specfact(A,B,C,D);
W=syslin('c',A,B,L,W0)
Ws=ss2tf(W);
horner(Ws,-s)*Ws
|
657a62a39151ae12e88acb275fece70f4fb85625 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/cummax/cummax8.sce | 171576942bfb791bc7288a26271947a4007279e6 | [] | 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 | 425 | sce | cummax8.sce | //check o/p when i/p is a matrix containing imaginary and nan elements
v=[3 5 2 ;1+6*%i 6 3; %nan 7 8 ];
m=cummax(v,'reverse');
disp(m);
//output
// Nan 7. 8.
// Nan 7. 8.
// Nan 7. 8.
//
//corresponding MATLAB o/p
//1.0000 + 6.0000i 7.0000 + 0.0000i 8.0000 + 0.0000i
// 1.0000 + 6... |
72194fc544c6f71ec8865d46066d8e72a3f00cff | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH11/EX11.56/EXAMPLE11_56.SCE | c32687b099189443375d4af2060fa49ba58a322f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | EXAMPLE11_56.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 11
//Information Theory
clear all;
clc;
printf("EXAMPLE 11.56(PAGENO 538)");
//given
B = 3.4*10^3//bandwidth
SbyN = 30//signal to the noise ratio in dB
//calculations
SbyN1 = exp((SbyN/10)*log(10))//signal to noise ratio
C = B*log2(1+... |
d49482dcde1e3b1cc0768c0d269c3cdddc296af0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /545/CH9/EX9.2/ch_9_eg_2.sce | f89cb0b8443e054664bc7ef79ce3e6b4310a6548 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 866 | sce | ch_9_eg_2.sce | clc
disp("the soln of eg 9.2-->Transient Conduction in Rectangular Slab");
delta_t=1, delta_x=.05, alpha=10^-5
t1=alpha*delta_t/delta_x^2
for i=2:9, a(i)=-t1
end
for i=1:9,b(i)=1+2*t1
end
for i=1:8, c(i)=-t1
end
t=1,tf=3000
for i=1:9, x(i)=300
end
e1=425,
disp("time when centre temp is 425 K in secs. is")... |
a05f62d0add8a5a8fb7347f0fa091594e8f10eaa | b6cf003e2be5ca13661ebe6ba87ee4bafd46f80e | /irls.sce | baca85ff149eb6b934d4afaa502513a9ffa9cfb0 | [] | no_license | labatvalen/CompressiveSensing | ea11ccf07078d809bf50f0bc53d9c3c47b7f8f59 | e06a160bae04bdc8ee2778238f0f1bce74a41f7e | refs/heads/main | 2023-04-05T00:37:31.774162 | 2021-04-15T09:48:48 | 2021-04-15T09:48:48 | 358,204,909 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,180 | sce | irls.sce | /*-------------------------------------------------
Auteur : Manon Cassagne & Valentin Labat
Vous trouverez ci-dessous la fonction IRLS
---------------------------------------------------*/
/*
ENTRÉES :
x : signal donné
D : dictionnaire
p : un entier
nb_it_max : nombre maximal d'itérations
SORTIES :... |
961eecce0ef1640e020d86a9830097dfe90d7d7a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_College_Physics(volume_2)_R._A._Serway_And_J._S._Faughn_2072.zip/College_Physics(volume_2)_R._A._Serway_And_J._S._Faughn_2072/CH19/EX19.5/ex19_5.sce | 48b2cd8146363d73981b1aa94295a4ee1f835912 | [] | 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 | 145 | sce | ex19_5.sce | errcatch(-1,"stop");mode(2);//Example 19.5
q=1.6*10^-19
B=.35
r=14*10^-2//in m
m=1.67*10^-27//kg
v=(q*B*r)/m
disp(v,"Velocity in m/s=")
exit();
|
fc3a7ca8ce93bb282a580cb790a6574027becd06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH1/EX1.16/Ch01Ex16.sce | 50d4e378f42490b78623beaef02806b84f48a2c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 532 | sce | Ch01Ex16.sce | // Scilab Code Ex1.16: Page-1.18 (2009)
clc; clear;
h = 6.6e-034; // Planck's constant
m = 9.1e-031; // Mass of a electron, kg
e = 1.6e-019; // Electronic charge, C
V = 100; // Accelerating potential for electron, V
E = e*V; // Energy of the electron, J
lambda = h/sqrt(2*m*E); // de-Broglie w... |
b90386ad0e06eb72efcde0ae66c7b32ec00b9e26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH5/EX5.45.b/ex_5_45b.sce | 0b3ed71556365f8a87eb1e7484312bc6f7b84fd8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 461 | sce | ex_5_45b.sce | clear;
clc;
close;
disp("dy(t)/dt+2y(t)=x(t)");
w=0.1:0.1:10;
t=w;
dw=.1;
Xw=ones(1,length(w))./(%i*w);
Hw=ones(1,length(w))./(2+%i*w);
Yw=Xw.*Hw;
y=Yw*exp(%i*t'*w)*dw;
d=gca()
plot(t,y);
poly1=d.children.children;
poly1.thickness=3;
poly1.foreground=2;
xtitle('y(t)','t')
yy=0.5*(1-exp(-2*t));
disp("y... |
d548e0247fa8a66073e4d2cd0d30f684f55cba70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH13/EX13.14/Example13_14.sce | 29a620c82160798f38a7226940df5635d50d44a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 915 | sce | Example13_14.sce | ////Chapter 13 Steam Engines
////Example 13.14 Page No 294
///Example Mechanical efficiency
//Input data
clc;
clear;
D=300*10^-3; //steam engine bor
L=400*10^-3; //stroke
Db=1.5; //effective brake diameter
W=6.2*10^3; //net load on the brake
... |
c678ffdc40eff63cf342ab1d394792a1616f54ef | 6bbc9f4f7e12ef440acd3fe25a51b4f048cde42d | /Image-Enhancement-in-the-Spatial-Domain/High-Boost-Filter.sce | b8c7e17cf83df686153e8a23ecd51c710458ffe8 | [] | no_license | krisbimantara/Image-Processing-SCILAB | 9dee568676b4f2943c54074d8c88c84cb33b3bb2 | bf8e8905efcdd6e3e0096f7a87cce8212fe0f14c | refs/heads/main | 2023-03-27T04:55:37.463238 | 2021-03-29T13:30:26 | 2021-03-29T13:30:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,165 | sce | High-Boost-Filter.sce | a=imread('bima.jpg');
d=double(a);
A=1.1;
BB=(9*A)-1;
m1=[-1 -1 -1;-1 BB -1;-1 -1 -1];
m=[-1 -1 -1;-1 8 -1;-1 -1 -1];
dme=d(:,:,1);
dhi=d(:,:,2);
dbi=d(:,:,3);
[r1,c1]=size(a);
for i=2:1:r1-1
for j=2:1:c1-1
new1(i,j)=(m1(1)*dme(i-1,j-1))+(m1(2)*dme(i-1,j))+(m1(3)*dme(i-1,j+1))+(m1(4)*dme(i,j-1))+(m1(5)*dme(... |
d9b952df7a8f7a7fbbe8cd12941612c38ea2e420 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/latc2tf/latc2tf4.sce | 59fe1c3a93c6b2b687cba1f9cd8fa4395ec85183 | [] | 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 | 217 | sce | latc2tf4.sce | k=[1 2 3 4 5 7];
[num,den] = latc2tf(k,'min');
disp(num);
disp(den);
//output
// column 1 to 5
//
// 1. 76. 1013. 2512. 1859.
//
// column 6 to 7
//
// 292. 7.
//
// 1.
//
|
09a5b367c8774b4f77e3000f2107548687425897 | e176c804d3e82d065a9c9635dad92da21c1483a9 | /missions/A3/mission_a3.sce | ce88675b0380ee06c12798be4a92e597d0b7d589 | [
"MIT"
] | permissive | Exia-Aix-2016/ExoLife | 38f7d5e54a1fd26333f19d99a8b63f0d64cc4c4c | a88d4bc3b852f8a85b6c8cc0979ced29fb28b751 | refs/heads/master | 2021-09-07T01:47:04.742247 | 2018-02-15T11:57:47 | 2018-02-15T11:57:47 | 120,471,380 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sce | mission_a3.sce | getd ('../../libs/');
img = readpbm('Europa_surface.pbm');
xmax = size(img,1);
ymax = size(img,2);
noyau = [
1/24 1/24 1/24
1/24 15/24 1/24
1/24 1/24 1/24
];
scf(0)
display_gray(img)
// Garde uniquement les blancs
for x=1:xmax
for y=1:ymax
if(img(x,y) < 255)then
img(x,y) = 0;
... |
393c042e1e769259a049865072c6377b9bc53ed3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH9/EX9.38/Example9_38.sce | aeeb74e959b85aba2d0aba8a742c461ecf841646 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | Example9_38.sce | //clear//
//Example9.38:Unilateral Laplace Transform:Solving Differential Equation
//Y(S)=[beta(s+3)/((s+1)(s+2))]+[gamma/((s+2)(s+2))]+[alpha/(s(s+1)(s+2))]
s = %s;
syms t;
alpha = 2; //input constant
beta_B = 3; //intial condition
gamma_v = -5; //initial condition
Y1 = 1/s;
Y2 = 1/(s+1);
Y3 = 3/(s+2);
Y =... |
3c665aed1366add8e1533e107aa9bd5110d3d3d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH11/EX11.2/Ex11_2.sce | f45333f9b355fb3ea81dd3854ae1e455e7909203 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 598 | sce | Ex11_2.sce | clear;
clc;
printf("\t\t\tProblem Number 11.2\n\n\n");
// Chapter 11: Heat Transfer
// Problem 11.2 (page no. 553)
// Solution
deltaX=0.150; //Given,150 mm =0.150 meter // //deltaX=length //Unit:meter
k=0.692; //Unit:W/(m*celcius) //k=proportionality constant //k=thermal conductivity
T1=70; //temperature ma... |
e46d23db4c06bf63485658f1c8044f0130084b8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH9/EX9.18/Example9_18.sce | 8a77f567beaead00f95209f3193c7846666fb334 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,320 | sce | Example9_18.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 9: POLYPHASE INDUCTION (ASYNCHRONOUS) DYNAMOS
// Example 9-18
clear; clc; close; // Clear the work space and console.
// Given data
// three-phase WRIM
V_o = 220 ; // Rated voltage in volt
P_o = 10 ; // Rate... |
c2ea72a00153c8cba7b9fbff3f2907290009f006 | 6a585e9d0b48fac0f59ea732a39adba1ec9c1450 | /Matriz22.sce | 66943b52379e8ad673a4f6cad88f7912d273e87c | [] | no_license | josrangel/scilabEjemplos | e02cbe23976177837859f04cc2e3a4c7199bd25f | 0523f1b350d53696525a9cd0d6bb58cd5e2a59ef | refs/heads/master | 2022-12-28T21:19:28.795105 | 2020-10-10T13:06:47 | 2020-10-10T13:06:47 | 302,904,089 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 838 | sce | Matriz22.sce | clear;
i1=1;
i2=1;
//a=zeros(2,2);
//PRIMERA MATRIZ
while i1<3 then
x1=input("agregue el valor par la posicion 1,"+ string(i1) +" de la matriz 1:");
a(1,i1)=x1;
i1=i1+1;
end
while i2<3 then
x2=input("agregue el valor par la posicion 2,"+ string(i2) +" de la matriz 1:");
a(2,i2)=x2;
i2=i2+1;
en... |
92d62d86f79d9a77b8bb461f5673ffb804e17412 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2753/CH1/EX1.9/ex1_9.sce | e184ddcf07fed14ef8434fa0d39fe1c770dc2bf9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 760 | sce | ex1_9.sce | //Example 1.9:
clc;
clear;
close;
//given data :
e=1.6*10^-19;// in V
Pp=10^-1;// p-type silicon in ohm-m
Pn=10^-1;// n-type silicon in ohm-m
mu_hsi=0.048;// holes mobilities in m^2/V-s
mu_esi=0.135;// electrons mobilities in m^2/V-s
nisi=1.5*10^16;//in m^-3
nesi=nisi;//
nhsi=nisi;//
mu_hge=0.19;// holes mobilities in... |
c276d414d230af0bb8b3cc4685bf698fdd59222f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3860/CH1/EX1.9/Ex1_9.sce | a540b9453f9948806f70db2fe13de4ac8b9b0f63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | Ex1_9.sce | //Example 1.9 Conversion from binary number to Hexadecimal number.
clc;
x = bin2dec('1011101010'); // decimal equivalent of binary number
z = dec2hex(x); //hexadecimal equivalent of decimal number
disp('The hexadecimal number is = ');
disp(z) // answer in hexadecimal form
|
5e1e4b56fdc63f513a688b126c04218b2841dd03 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH5/EX5.4/ex5_4.sce | 09192cbe7b42062ea06054dbc5e26c76ba0f073e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 809 | sce | ex5_4.sce | // Exa 5.4
clc;
clear;
close;
// Given data
R1 = 4.3;// in K ohm
R1= R1*10^3;// in ohm
R2 = 10;// in K ohm
R2= R2*10^3;// in ohm
r_e = (R1*R2)/(R1+R2);// in ohm
bita = 200;
V=25;// in mV
I= 1;// in mA
r_e_desh= V/I;// in ohm
Zin_base = bita*(r_e + r_e_desh);// in ohm
disp(Zin_base*10^-3,"The input impede... |
9d9d30403dc6e81b72a8b9a75b75776e0411cfbf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH1/EX1.3.7/ex1_3_7.sce | f82a08b856cf77e9e73f80d523838c54dbfa6093 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 473 | sce | ex1_3_7.sce | //Chapter-1,Example1_3_6,pg 1-18
a=0.4049*10^-9 //lattice constant
t=0.006*10^-2 //thickness of Al foil
A=50*10^-4 //Area of foil
V1=a^3 //volume of unit cell
V=A*t ... |
32367a9ae93d88a0ae94f5dc982730936edf1d81 | 9e81e75d5f9cddfd3c9fe8eb932ce2e9de0fdf39 | /GUI/interface.sce | 778be3a5e202389ddddc59138f43f516493afa4f | [] | no_license | pimentafm/TPEAM313_ajustLinearInjuncionado | 1c2735218973cac3374cbfc951565675bc538945 | 2fcba16336844ff38f1e6089cd492c2666f68880 | refs/heads/master | 2021-08-21T21:03:17.515970 | 2017-11-29T02:46:29 | 2017-11-29T02:46:29 | 112,415,589 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 26,065 | sce | interface.sce | // Topografia IV
// Allan Turini Speroto 78233
// Fernando Martins Pimenta 80018
// Gabriel Batista Freitas 82718
// Matheus Lopes Vieira 80020
// Interface gráfica
// Tela da aplicação
f=figure('figure_size',[1000,480],...
'auto_resize','on',...
'figure_name','Ajustamento por I... |
5df9839f144d29233c68ae37e6cb240f1f9f6452 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH10/EX10.6/Ex10_6.sce | 85a5e7a26ba69ea3c260f4c2fb93d2d959c10413 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,450 | sce | Ex10_6.sce | //Variable declaration:
Ts = 200.0+460.0 //Surface temperature of pipe (°R)
Too = 70.0+460.0 //Air temperature (°R)
D = 0.5 //Diameter of pipe (ft)
R = 0.73 //Universal gas constant (ft^3.atm.R^−1.lb.mol^−1)
P = 1.0 //A... |
2adc4a9f0e00750eecb49e0376b810b46a64d0cd | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/SURPRISE-LANGUAGES/Iranian/fas.tst | 5e5b6d7e421a9a751878a537de4a6438ead767f2 | [] | 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 | 242,733 | tst | fas.tst | بحث کردن V;PROG;PL;3;COL;PST
فارغالتحصیل شدن V;PRF;PL;1;PRS
اغوا کردن V;PL;2;FUT
پاک کردن V;PROG;PL;2;PST
باختن V;IPFV;PL;1;PRS
طرفداری کردن V;IPFV;SG;2;PRS
منتشر کردن V;PFV;PL;1;COL
ازدواج کردن V;PROG;PL;2;PRS
گشادن V;SG;1;FUT
آغاز شدن V;PROG;PL;2;COL;PRS
اغوا کردن V;IPFV;SG;2;COL;PST
به کار بردن V;PFV;SG;2
وا کردن V;... |
5c0a7cdfdee8d717b1bdb1c6da7da216e95493d3 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/MA25.prev.tst | 879cefc3cf6113b155a32043d654b7f807d4a01c | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 196 | tst | MA25.prev.tst | [[3,1,2,-1],[-2,0,-2,1],[-1,-2,1,-1],[-2,-1,-1,1]] * [a,b,c,d] = 10*a^3+9*a^2*b-9*a*b^2-8*b^3+21*a^2*c+36*a*b*c+15*b^2*c+3*a*c^2+3*b*c^2-6*a^2*d-18*a*b*d-12*b^2*d+6*a*c*d+6*b*c*d-6*a*d^2-6*b*d^2
|
17e376ae1701709131399b25cb40ee85c9069efd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH17/EX17.2/Chapter17_example2.sce | 751df8bf552a8a31783e69cf48e9a3e70296cfdd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | Chapter17_example2.sce | clc
clear
//Input data
L2=0.032//Length of the wax melted portion in the iron rod in m
L1=0.08//Length of the wax melted portion in the copper rod in m
K1=385//Thermal conductivity of copper in W/m.K
//Calculations
K2=(K1*L2^2)/L1^2//Thermal conductivity of iron in W/m.K
//Output
printf('Thermal conductivi... |
3acd4bbdc3acdc028e66aa0e26b0164ca0620730 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH7/EX7.1/7_1.sce | e6f7a62e74a01d1794dd474e9e2b5ca2aaf86600 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 117 | sce | 7_1.sce | //7.1
clc;
Vzb=14.8;
Vt=0.85;
V=Vzb+Vt;
printf("The value of Voltage which will turn On the crowbar=%.2f V",V)
|
510ddb2d1483e02681faed0c6237011d3fb4a080 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Linear_Integrated_Circuits_J._B._Gupta_1850.zip/Linear_Integrated_Circuits_J._B._Gupta_1850/CH2/EX2.12/exa_2_12.sce | 35cc8a108b55ba51a391157ae1423620356abb7f | [] | 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 | 331 | sce | exa_2_12.sce | errcatch(-1,"stop");mode(2);// Exa 2.12
;
;
// Given data
format('v',9)
IB1= 10;// in mA
IB2= 7.5;// in mA
I_in_bias= (IB1+IB2)/2;// in mA
disp(I_in_bias,"Input bias current in mA")
I_in_offset= IB1-IB2 ;// in mA
disp(I_in_offset,"Input offset current in mA")
// Note: Units in Answer in the book is wrong... |
2d81b0e45e09eaaa14a1677add05552212745a4c | 8627886261b3eddf8440c0b470cd9ee25c762d97 | /htym.sce | e12d0913269efd0228d12f992bb56a2642847c3d | [] | no_license | timurzotov/pvis | ba75cf86fae91b6adc8dd3fe9cd2672eea561cca | d60e8e241d6ce0ad3a9b2a75c8771f92a9b039ba | refs/heads/master | 2020-09-08T07:59:31.719500 | 2019-11-11T21:14:13 | 2019-11-11T21:14:13 | 221,070,925 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | sce | htym.sce | clc;
f=figure();
set(f,'position',[200,20,400,300]);
set(f,'figure_name','Лабораторная работа №21');
set(f,'BackgroundColor',[1,0.9,0.9]);
rbt1=uicontrol(f,'style','radiobutton','string','sin(x)','value',0,'position',[90,225,70,30],'BackgroundColor',[1,1,1]);
|
3e7582931f881ff0b4e37a7ce1ac1e97784f4f60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH11/EX11.1/Ex11_1.sce | a460fea238e4f6073008e7c99e3152f76ad4b92e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 475 | sce | Ex11_1.sce | clear;
clc;
//Example 11.1
V1=10;
V2=-10;
Iq=1;
Rc=10;
Vbe=0.7;
iC1=Iq/2;
iC2=iC1;
printf('\ncollector currents =%.2fmA\n',iC1)
Vc1=V1-iC1*Rc;
Vc2=Vc1;
printf('\ncollector voltages =%.2fV\n',Vc1)
Vcm=0;
Ve=Vcm-Vbe;
Vce1=Vc1-Ve;
printf('\ncollector emitter voltage=%.2f V\n',Vce1)
Vcm=-5;
Ve=Vcm-Vbe;
... |
f9c58f7a02f8ec474f84964f96a4c1425ea4cbe3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH24/EX24.10/Ex24_10.sce | cf60e019dc7b34d92d608901e08dca61136b37be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,617 | sce | Ex24_10.sce | // Example 24_10
clc;funcprot(0);
//Given data
T_1=20+273;// K
p_1=1;// bar
T_6=700+273;// K
p_r=6;// Pressure ratio
e=0.7;// The effectiveness of regenerator
m_air=200;//Air flow through the plant in kg/sec
n_c=0.82;// Isentropic efficiency of both compressors
n_t=0.92;// Isentropic efficiency of turbine
n... |
bc3b5822df73eb1eec11a26ff0267ca2082e2f29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH11/EX11.08/11_08.sce | 82e41b586afca9744d1d0484f987f52990c02e56 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 892 | sce | 11_08.sce | //pathname=get_absolute_file_path('11.08.sce')
//filename=pathname+filesep()+'11.08-data.sci'
//exec(filename)
//Specific heat of hot gases(in kJ/kg.K):
Cpg=1.0032
//Temperature of burnt gases(in K):
Tg=177+273
//Ambient air temperature(in K):
Ta=27+273
//Natural draught temperature(in K):
Tn=327+273
//Mass ... |
b506062ef19061f630b84c7a87d9159e2402299d | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH4/EX4.1/4_1.sce | 2419e8c281ca7acaa61e7e819f6012dfc5054765 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sce | 4_1.sce | clear; clc; close;
Vcc = 12;
Vbe = 0.7;
Vce = 4.23;
Rb = 240*10^(3);
Rc = 2.2*10^(3);
Beta = 75;
Ic = 3.53*10^(-3);
Ibq = (Vcc-Vbe)/Rb;
Icq = Beta*Ibq;
Vceq = Vcc-Ic*Rc;
Vb = Vbe;
Vc = Vce;
Vbc = Vb-Vc;
disp(Ibq,'Ibq(Amperes) is :');
disp(Icq,'Icq(Amperes) is :');
disp(Vceq,'Vceq(volts) is :');
... |
5636013f4edfceec1ec7021ec82014d7a4390992 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3878/CH1/EX1.3/Ex1_3.sce | 19b1d641db30b85ac9b397d94deb0cff6133d373 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_3.sce | clear
// Variable Declaration
P=1.013// Pressure in bar
h_fg=2257// The latent heat of boiling water in kJ/kg
T_b=100 // The boiling point temperature of water in °C
m=1 // The mass of water in kg
T_i=30 // The initial temperature of water in °C
C_p=4.19// The specific heat of water in kJ/kg°C
// Calculation
Q=m*((C_p... |
fa755cd6be41d1623420aa7c9bf8a5ec42b27edc | 013fbb3c74956eb0dd76e916566c11e5823feef4 | /projects/02/Ng16.tst | ca722267888510757fa1c5c28c8e587f09246519 | [] | no_license | btesf/nand_to_tetris | f0831cbaa41bacedacdef8975d1497f224c0ac55 | 5f418a3e191b89c7f32e35f3ae6180c3b506ce73 | refs/heads/master | 2023-05-28T00:08:37.728944 | 2021-06-19T17:09:22 | 2021-06-19T17:09:22 | 356,931,420 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | tst | Ng16.tst | load Ng16.hdl,
output-file Ng16.out,
compare-to Ng16.cmp,
output-list a%B1.16.1 out%B1.1.1;
set a %B0000000000000000,
eval,
output;
set a %B1111111111111111,
eval,
output;
set a %B1010101010101010,
eval,
output;
set a %B0011110011000011,
eval,
output;
set a %B0001001000110100,
eval,
output; |
a57da50cf5e98cb0698385882698bc895ee6e18d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2294/CH1/EX1.13/EX1_13.sce | 67cda22b69e5dd55ee59b033c8a9e657c441f416 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,040 | sce | EX1_13.sce | //Example 1.13<i>
//Check whether the given signal is periodic or not
clc;
t1=-10:.01:10;
y1=2*cos(10*t1+1)-sin(4*t1-1);
subplot(221)
plot(t1,y1);
disp('(a) The following signal is periodic with period %pi' );
//Example 1.13<ii>
//Show whether the given signal is periodic or not
clc;
t2=-1:.01:1;
x2=cos(60*%pi*t2)+sin(... |
df935887f7552f9610c593b8c4ee4fad3924e0b6 | 1a6074fed8c5bd9209335696e97a2cc0766fccf0 | /lab4/Signed/Wtreesigned.tst | 458c2be78c3bccba1be528b185be6d5bf7af7173 | [] | no_license | bharath1729/lab4-unsigned | 79ace5d616acab8cbeaf95ea83f8352b89ce71c6 | 6d83781636fe4a65de0eb24903c443fda7385bfc | refs/heads/main | 2023-08-05T10:49:46.886409 | 2021-09-19T13:52:43 | 2021-09-19T13:52:43 | 408,140,341 | 0 | 0 | null | 2021-09-19T13:52:52 | 2021-09-19T13:52:52 | null | UTF-8 | Scilab | false | false | 460 | tst | Wtreesigned.tst | load Wtreesigned.hdl,
output-file Wtreesigned.out,
output-list a%B3.8.3 b%B3.8.3 out%B3.8.3 of%B3.1.3;
set a %B00001000,
set b %B00000101,
eval,
output;
set a %B10001000,
set b %B10100000,
eval,
output;
set a %B11111101,
set b %B11110101,
eval,
output;
set a %B00100000,
set b %B00000100,
eval,
output;
set a %B1000... |
394872ba45322224d6eb4f69e1788c1537f8d080 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2258/CH2/EX2.12/2_12.sce | eee3a13457705d036b11b890123c913e741082b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | 2_12.sce | clc();
clear;
// To calculate the relaxation time of conduction electrons
rho=1.43*10^-8; //resistivity in ohm-m
n=6.5*10^28; //electron/m^3
m=9.11*10^-34; //mass in kg
e=1.6*10^-19; //charge in coulomb
tow=m/(n*(e^2)*rho);
printf("relaxation time of conduction electrons in sec is");
disp(tow);
|
016c4704e6c4a3d75b28025d1f63e56b4824a8ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /2216/CH5/EX5.2/ex_5_2.sce | 9ef0d025b2b726279eca6859917f52437923d1a3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_5_2.sce | // Example 5.2;//difference between propogation constant and modal birefringence
clc;
clear;
close;
format('v',6)
disp("part (a)")
bl=10;//beat length in cm
h=1;//in micro meter
db=((2*%pi)/(bl*10^-2));//in m^-1
disp(db,"difference between propogation constant in m^-1")
disp("part (b)")
format('v',8)
mb=db*((h*10^-6)/(... |
3bd3565a8a841c32fced55e9fa984603c906bf3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH2/EX2.13/Example2_13.sce | 406ad240c433c808507ee048780d6f219a230a33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | sce | Example2_13.sce | clc
// Given That
r = 7e8 // radius sun in meter
power_sun = 3.8e26// power radiated by sun in W
//Sample Problem 13 Page No. 86
printf("\n # Problem 13 # \n ")
s = power_sun /(4 * %pi * (r^2)) //calculation of Pressure applied by sun radiations on earth
printf("Pressure applied by sun radiations on earth is %e... |
92a7eec45e071a3c5fdc78ed3314c0481cdf8d2e | 9b046504c3b7683d3bfa294fe100408058e75aa3 | /Metodos/Clase4/ejemplos/jacobi.sce | 2808e3bfba0670ca6d001f2c52b989e8914c7179 | [] | no_license | DavidAlex99/Cursos | f15cb4f4fbb35a6eb62cbae0a9b51ea671f3ea8f | aee547ab09db7e535bea5a6d41ed6e455f8a9a89 | refs/heads/master | 2023-01-08T02:46:07.502656 | 2020-11-14T00:45:57 | 2020-11-14T00:45:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 389 | sce | jacobi.sce | clc()
clear all
x1 = 0
x2 = 0
x3 = 0
disp("Jacobi")
for i=2:1:4
disp("iteración "+string(i-1))
xa1= x1
xa2 = x2
xa3 = x3
x1 = (588.6+100*xa2)/150
x2 = (686.7+100*xa1+50*xa3)/150
x3 = (784.8 + 50*xa2)/50
disp("variables")
disp([x1,x2,x3])
disp("errores aproximados")
disp(100*(... |
b437585504ed0ff11f4223156261bbc9e852ee02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/CH6/EX6.4.b/6_4b.sce | 2a5e2219e0284536c8ae55e4c486ff857edbb478 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 739 | sce | 6_4b.sce | pathname=get_absolute_file_path('6_4b.sce')
filename=pathname+filesep()+'6_4b_data.sci'
exec(filename)
clf();
V=linspace(40,300,500);
i = 1;
Cl = 0;Cd = 0;Cl_Cd =0;Thrust = 0;
while(i<=length(V))
Cl(i) = 2*W/(D*S*V(i)^2);
Cd(i) = Cdo + Cl(i)^2/(%pi*e*AR);
Cl_Cd(i) = Cl(i)/Cd(i);
Thrust(i) = ... |
22f404138aca137bc571726a28fc84d73e5b9a7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3745/CH1/EX1.23/Ex1_23.sce | f3d99adffa2381b03a774e00838996da5e1c2dda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 655 | sce | Ex1_23.sce | // Ex 23 Page 364
clc;clear;close;
// Given
Zo=50;//ohm
VSWR=2;//ratio
//lm=0.2*lamda
lmBYlamda=0.2
betaINTOlamda=2*%pi
rho=(VSWR-1)/(VSWR+1);//reflection coefficient
theta=2*betaINTOlamda*lmBYlamda;//radian
//exp(j*theta)=cos(theta)+%i*sin(theta)
ZL=Zo*(1-rho*(cos(theta)+%i*sin(theta)))/(1+rho*(cos(theta)+%i*sin(thet... |
c85eb45dac2cc096797410e8d58f0e8d48ef5818 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH2/EX2.75/75.sci | 928d67ae1b0cf53d1da9247a5fc4f181f900d8cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sci | 75.sci | clc;
clear all;
disp("Thickness of insulation")
r1=8/2;//mm
k=0.18;// W/(m*C)
ho=12.5;// W/(m^2*C)
rc=1000*k/ho;//mm
r2=rc;//mm
t=r2-r1;//mm
L=1;//m
disp("mm",t,"Thickness of insulation = ")
t1=45;// degree C
t2=20;// degree C
delT=t1-t2;
A=2*3.1416*L*r1/1000;
Q1=ho*A*delT;
disp("W/m",Q1,"heat flow pe... |
85be4f01076b8b3b9e55ee36d095ed0fc9c23884 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH3/EX3.17/Ex3_17.sce | 43f1b6dd21318791ae8fce9d0c93ec5deb85edbd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | sce | Ex3_17.sce | clc
//to calculate angle of diffraction
n=1 //order
lambda=5000*10^-8 //wavelength of light in cm
eplusd=1/5000 // in cm
theta=asind(n*lambda/(eplusd))
disp("angle of diffraction for maximum intensity in the first order is theta="+string(theta)+"degree")
|
fae656d8669671ab55c741429a010dd090c7d022 | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH7/EX7.2/2.sce | 7746b6fe64998bca4e7c3abf6284cbbe588bbec1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sce | 2.sce | clc;
l=1; // m
b=0.3; // m
n=0.014; // s/m^(1/3)
i=1/1000;
A=l*b;
P=2*b+l;
m=A/P;
Q=A/n*m^(2/3)*sqrt(i);
disp("The delivery of water through the channel is found to be ")
disp(Q)
disp("m^3/s") |
faf335b40333f18944caa41402128fa4fc3ceda2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH1/EX1.24/Ch01Ex24.sci | cb9f21a91f9d3066bf96c4a889d0c8ce3b635504 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,307 | sci | Ch01Ex24.sci | // Scilab Code Ex 1.24 Miller-Bravias indices for Miller indices: Page-29 (2010)
function [i] = f(h,k)
i = -(h + k);
endfunction
h1 = 1; k1 = 1; l1 = 0 ; // First set of Miller indices
h2 = 1; k2 = -1; l2 = 0; // Second set of miller indices
h3 = 3; k3 = 4; l3 = 5; // Third set of miller indices
... |
63ab3771e4399718d5ebbe402a9460f65ec16488 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3888/CH17/EX17.2/Ex17_2.sce | cad027f75beb5f67fd088173fa97dae9880c3e6e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,078 | sce | Ex17_2.sce | //Electric Power Generation, Transmission and Distribution by S.N.Singh
//Publisher:PHI Learning Private Limited
//Year: 2012 ; Edition - 2
//Example 17.2
//Scilab Version : 6.0.0 ; OS : Windows
clc;
clear;
V=110; //Supply voltage in kV
P1=30; ... |
6bcf576944d31e25b45248d8fc0e48806d106707 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH3/EX3.17/ex3_17.sce | 8d918484fecf60ef18d7e7179116521149521fd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | sce | ex3_17.sce | clc;
vpp=25; //peak to peak voltage in volt
vp=vpp/2; //calculating peak value in volt
rms=vp/sqrt(2); //calculating rms value
disp(rms,"Rms value in volt = "); //displaying result |
78f58bb13ab5c87bd39160aca918f9d8d3b8c3e7 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Higher_Engineering_Mathematics_B._S._Grewal_149.zip/Higher_Engineering_Mathematics_B._S._Grewal_149/CH9/EX9.5.2/example5_2.sce | 30229f057da9d6766c2b6d90c3e349bbacec1bd3 | [] | 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 | 186 | sce | example5_2.sce | errcatch(-1,"stop");mode(2);
syms n;
v=n
u=((1/n)^2)/((3/n+1)*(3/n+4)*(3/n+7))
disp(limit(u/v,n,0));
disp('both u and v converge and diverge together,hence u is divergent')
exit();
|
4c7c66e488da8feaf0f16a411151af4093561f46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH7/EX7.11/Chapter7_Example11.sce | 2f4ef4c334ec446f306ba1a2fb2496cc64b9eb21 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,104 | sce | Chapter7_Example11.sce | //Chapter-7, Example 7.11, Page 298
//=============================================================================
clc
clear
//INPUT DATA
Ta=30;//Temperature of air stream in degree C
v=25;//Velocity of stream in m/s
x=0.05;//Side of a square in m
D=0.05;//Diameter of circular cylinder in m
Ts=124;//Surface... |
5ef5bfec6e010a15abb5422c593229e26d443b5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH2/EX2.14/2_14.sce | b946a5c0826a7ae6b2b598b4d2f3fb1904c8fb2c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_14.sce | //convert practical current source to voltage source
V=10*5
//KVLs
A=[35,-20;-20,50]
I=inv(A)*[50;-100]
v=20*(I(1)-I(2))
disp(v) |
3e6562963ebecbe7a4c9f496fdd9119820b42165 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/prony/prony4.sce | c409ce3f3a5a8e0602a988a728e76db0a3c6438a | [] | 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 | 676 | sce | prony4.sce | //check o/p for an all pole filter
impr=[0.00482434335771622 0.0307287177680858 0.0905946819548830 0.167944821844737 0.224641271344028 0.233457187867600 0.193512552162805 0.123765243571014 0.0496036031380564 -0.00850905187491905 -0.0406738350178078 -0.0475631979469693 -0.0368517338223927 -0.0185628385243508 -0.00125221... |
f464e27a43a30ca489efffa761dffb07c8a76a37 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH12/EX12.3/12_3.sce | 3ab6f5299d9154be1b45f2bc34128f0d11b489e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 12_3.sce | clc
//Initialization of variables
P1=700 //kN/m^2
P2=400 //kN/m^2
D2=12.5 //cm
D1=25 //cm
C=0.985
g=9.81
R=287 //m^2/s^2 K
T=273+20 //K
//calculations
Pr=P2/P1
Dr=D2/D1
Y=0.72
gam1=P1*g/(R*T)
G=C*Y*%pi/4 *(D2/100)^2 *sqrt(2*g*gam1*(P1-P2)/(1- Dr^4))
//results
printf("Weight flow rate = %.4f kN/s",G)
|
9c5fa078f2f01797a983af4f1f7a69ac82849375 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH1/EX1.15/1_15.sce | 6d9eedfc0a2637cff9c6cdff811fc1664dfad2a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 400 | sce | 1_15.sce | clc
//initialisation of variables
w= 15 //ft
D= 15 //ft
W= 62.4 //lb/ft^3
a= 120 //degrees
h1= 15 //ft
h2= 4 ///ft
h3= 18 //ft
//CALCULATIONS
Pu= w*D*W*w/2
hu= ((w*D^3/12)/(w^2*D/2))+w/2
Pd= W*h2*w*h2/2
hd= ((w*h2^3/12)/(h2*h1*(h2/2)))+(h2/2)
P= Pu-Pd
h= (Pu*(h1-hu)-Pd*(h2-hd))/P
F= P/(2*sind(a/4))
RT... |
17d9d3d6611269554ac6784d4406652e8beb10a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH12/EX12.5/Ch12Ex5.sce | 5b3acb1c67125606082d5028c134db9eb260996e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 928 | sce | Ch12Ex5.sce | // Scilab Code Ex12.5 : Page-605 (2011)
clc; clear;
mu_o = 4*%pi*1e-07;....// Magnetic permeability of the free space, henery/m
mu_r = 600;
mu = mu_o*mu_r; // Magnetic permeability of the medium, henery/m
n = 500;...// Turns in a wire
i = 0.3;....// Current flows through a ring,amp
r = 12e-02/2;....// Mean r... |
d8763eaf639a7494fe98ed80beaa395274ab95f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH2/EX2.6.8/ex_2_6_8.sce | 80e5681390f48364523f702fc4a2167cfdb81881 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sce | ex_2_6_8.sce | //Example 2.6.8. // limiting value of current and % limiting error
clc;
clear;
close;
//given data :
As=2.5;// in A
fsd=10;//full scale reading in A
A=1.5/100;
del_A=A*fsd;
At1=As+del_A;
At2=As-del_A;
disp(At1,"limiting value of current,At1(A) = ")
disp(At2,"limiting value of current,At2(A) = ")
e=(del_A/As)*100;
disp(... |
0d4f7041fd3637b32f542c6ff9931eeb7027179a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2489/CH5/EX5.3/5_3.sce | 22fac484c65ebc31dddb44ea12da8f291d74d9b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | 5_3.sce | clc
//Intitalisation of variables
clear
T= 100 //C
v1= 1674 //cc
v2= 1 //cc
lv= 539.9 //cal g^-1
sp= 13.595 //kg/m63
g= 980 //cm/sec^2
//CALCULATIONS
r= (273.2+T)*(v1-v2)*sp*g/(lv*4.187*10^7)
Tf= T+r
//RESULTS
printf ('Final temperature = %.2f C',Tf)
|
71dff67e5ecef4db7c30a11f50e68c5f6800feaa | 449d555969bfd7befe906877abab098c6e63a0e8 | /845/CH5/EX5.9/Ex5_9.sce | 7ecf22c1f4642ffdfc1c059ea87404fc6aab1912 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 398 | sce | Ex5_9.sce | //Example 5.9
clc
clear
x = 2:5;
y = [27 40 55 68];
delx = x(2) - x(1);
mu1 = delx * sum(y);
mu2 = delx * sum(x.*y);
n = length(y);
l = x(1) - delx/2;
u = x(n) + delx/2;
M1 = [integrate("x",'x',l,u) u-l; integrate("x^2",'x',l,u) integrate("x",'x',l,u)];
M2 = [mu1; mu2];
M = M1\M2;
a = M(1);
b... |
12e6b153ea987a440861a2a89b798a5c8af4f8fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /191/CH6/EX6.2/Example6_2.sce | 1779ff2e49b2242c58cf759d6958c9eed0dd6455 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 521 | sce | Example6_2.sce | //Numerical Differentiation
clc;
clear;
close();
format('v',9);
deff('[y]=f(x)','y=exp(-x)');
h = [1 .2 .1 .02 .01 .002 .001 .0002];
x0 = 1 - h;
x1 = ones(1,8);
x2 = 1+h;
f0 = f(x0);
f1 = f(x1);
f2 = f(x2);
dif = (f2-f0)./(2*h);
max_trun_err = exp(h-1).*h.^2/6;
act_err = abs(- exp(-1)-dif);
answer = [h' f0' f2' dif' ma... |
3307ef1fc4a3d68fca36a4609bd2c07a4d585b5f | 7cbeef90493f736d2d6033fc4f8eb0c204fbe8ea | /simuladorf1.sce | 8c46ffd202b1e85db05dbd0d2fb50cb7161a4823 | [] | no_license | lucasfariaslf/emap_optim | 62f7b9e11764302e392a5c86a4fdede41f11dac3 | 0c93b7654c3101b9275602ff2e6acb49af5133c6 | refs/heads/master | 2021-09-14T03:53:50.017323 | 2018-05-08T00:19:16 | 2018-05-08T00:19:16 | 103,544,555 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 137 | sce | simuladorf1.sce | //
function[fun, grad]= simuladorf1(x)
k=1:length(x);
fun = (k'.*x)'*x;
grad = (2*k)'.*x;
// hes = diag(2*k)
endfunction
|
5421d6461a8665a471d189a86d449c778a1cecaa | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH12/EX12.10/exa12_10.sce | 740a10a74dae2e094206bef31ad10a704cd8c15f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 221 | sce | exa12_10.sce | //Caption:determine_unit_step_response
//example 12.10
//page 524
s=%s;
syms t;
CL=sym('1/((s+1)*(s^2+1))')
disp(CL,"C(s)/R(s)=");
//for unit step response R(s)=1/s;
d=CL*(1/s);
a=s*d;
c=ilaplace(d,s,t);
disp(c,"c(t)="); |
43fa3688448da0c997df7513dec60047def45c31 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Fluid_Mechanics_I._A._Khan_1962.zip/Fluid_Mechanics_I._A._Khan_1962/CH12/EX12.1/example12_1.sce | 6e6a90c1775c077c44531a1e59510461c7e58171 | [] | 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 | 265 | sce | example12_1.sce | errcatch(-1,"stop");mode(2);
//example 12.1
//page 443
; funcprot(0);
//initialisation of variable
Q=0.25;
Gamma=9810*0.8;
pi=3.14;
H=25;
T=350;//torque
N=1800;//rpm
omega=N/60*2*pi;
neta=Gamma*Q*H/T/omega;
disp(neta*100,"efficiency (%)");
exit();
|
9256048594decef815b8d455a9fbfb25b0c05d67 | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0058.tst | 6fe5fd297d9cb22ab538628da1af19cbc3d4a911 | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 359 | tst | 0058.tst | sPlItteR KE {}
FIltEr IBZC { }
fIltER fkA {icTqg OR NOt R oR NoT M OR nOT l nOT QwhFst Or nOT f OR nOt B }
d -> a -> j
GRoupEr L {moDule yKmr{ } aGgREGaTe sUm(eg) as C }
uNgroUper D { }
GrOUPfiLTeR N {M ( a, ) NoT in EA:fa:fE:D9:D1:fE
oR noT 30 >> ::DBaD:E:Ec:Cd:FE3:63.141.42.89/9 OR NOt bitAND ( 74, fFdC... |
21065ecd53552f7095488365054bbedbfcbdd656 | 48b35d91574ad9ef85aefeb435059f8f75e3bebb | /GOLD-TEST/dan.tst | 289839ca54f2609681048df9145accc3970d68f8 | [] | no_license | ElliotMouchon/task0-data | b3e96eea08b3eba08d5a889f9b385cf00ff5701d | 0d24b945ac96e08aa5a2f0080fa4de465f91b40a | refs/heads/master | 2023-04-16T11:48:39.575176 | 2021-04-29T04:04:17 | 2021-04-29T04:04:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 173,804 | tst | dan.tst | istap istappen N;NOM;DEF;SG
sodavand sodavands N;GEN;INDF;SG
frænke frænkens N;NOM;DEF;SG
parkeringsgarage parkeringsgarage N;NOM;INDF;SG
nederdel nederdele N;NOM;INDF;PL
returnere returnere V;NFIN;ACT
foto fotoers N;GEN;INDF;PL
bogstav bogstavers N;GEN;INDF;PL
deviere devierende V.PTCP;PRS;ACT
cigaretsælger c... |
670a198f1d483434f61b1a107a21113b1c69b0e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH10/EX10.12/ch10_ex_12.sce | c2ab1d3704001940faa53dd84d425b20edc7103d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,052 | sce | ch10_ex_12.sce | //CHAPTER 10- THREE-PHASE INDUCTION MACHINES
//Example 12
disp("CHAPTER 10");
disp("EXAMPLE 12");
//VARIABLE INITIALIZATION
v=440; //in Volts
I=1200; //in Amperes
eff=0.85; //full load efficiency
pow_fact=0.8; //full load pow... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.