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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0e98eb78751bcc047530edc1a35386d91b005d6d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1853/CH5/EX5.17/Ex5_17.sce | 1d2b4ec602d45b1b90516be4d02f65466736c085 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 143 | sce | Ex5_17.sce |
//determine the value of slip nd speed of motor
P=6
f=50
Ns=120*f/P
f1=1.5
s=f1/f
N=Ns*(1-s)
disp('speed of motor='+string(N)+'RPM')
|
9b96a436bd9e5f4e9a2c179c950b6f646ba1742e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH9/EX9.7/Example_9_7.sce | 5061c548d848ce85668782035207cd4134e573ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sce | Example_9_7.sce | //Example 9.7 The following figures give the number of defectives in 20 sample
clc;
clear;
Total=40000;
Def=sum([425 430 216 341 225 322 280 306 337 305 356 402 216 264 126 409 193 326 280 390]);
p=Def/Total;
CL=p;
n=2000;
UCL=p+3*(sqrt((p*(1-p)/n)));
LCL=p-3*(sqrt((p*(1-p)/n)));
disp(LCL,"Lower Control Limit... |
e05981dde8f051287ae64dc22a4b6a3a63e0cb50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1187/CH6/EX6.6/6.sce | 2144a3761eac778d201f51cdfbda6dcd08baddfc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 245 | sce | 6.sce | clc
D=0.120; // m
h=0.08; // m
c=0.001; // m
t=0.01875; // m
rev=65; // revolutions per min
T=4*10^-3; // N.m
K1=%pi*h/4/c;
K2=%pi/32/t;
u=T/(rev*2*%pi/60)/(K1*D^3+K2*D^4);
disp("viscosity of the liquid =")
disp(u)
disp("Pa.s") |
222d4ca5176fc77abbda58b45b7f27a5fc13c68c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH4/EX4.5/example4_5.sce | 2df6bc586081f0020d8d214509f8126c4d165080 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,272 | sce | example4_5.sce |
//example 4.5
//calculate average rainfall using
//arithmatic average method
//isohytel method
//thiesson polygon method
clc;funcprot(0);
//given
p=[58 61 69 56 84 86 69 79 71]; //values of precipitation
s=0;
for i=1:9
s=s+p(i);
end
ar=s/9;
ar=round(ar*10)/10;
mprintf("using arithmatic average m... |
7fb74d17636d378c880ca13e0cff0084751fc69a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH21/EX21.1/Ex21_1.sce | f3d1490dac5c33dd6d70345df0797173d58b101c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,611 | sce | Ex21_1.sce | //Example 21.1
R1=1;//Resistance of resistor 1 (ohm)
R2=6;//Resistance of resistor 2 (ohm)
R3=13;//Resistance of resistor 3 (ohm)
R_s=R1+R2+R3;//Equivalent resistance for series combination (ohm)
printf('a.Total resistance = %0.1f ohm',R_s)
V=12;//Voltage (V)
I=V/R_s;//Current (A)
printf('\nb.Current = %0.3f ... |
864e52183838b41306fa7f7dd94eeb4c4e131e5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH14/EX14.1/Ex14_1.sce | 32e48217d469dbd0ca053a931c3849c5df799922 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 568 | sce | Ex14_1.sce | // Exa 14.1
// To determine the minimum possible latency amd the minimum window size that achieves this latency.
clc;
clear all;
O=800*1000; //Object size(Bytes)
S=536*8; //max Segment Size(in bits)
RTT=0.1; //Round trip-time in sec
R=1*10^6; //Transmission rate of the link from the server to the client in ... |
034cdaadc5b21c45487c7f0582f30e3b737e0d56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH3/EX3.2/3_2.sce | 80651ba94dde0a5adcbf4b943f0495384d99f775 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 197 | sce | 3_2.sce | dV = 0.5; // Change in volume in m3
P = 101.325e03; // Atmospheric pressure in N/m2
Wd = P*dV; // Work done in J
disp("KJ",Wd/1000,"The amount of work done upon the atmosphere by the ballon is") |
188515f37d1d547b0b351d363479d73eaf3a47ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /866/CH7/EX7.3/7_3.sce | aff3a494b244647085871a7c36185c88b1845b8a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | sce | 7_3.sce | clc
//initialisation of variables
W= 10*10^3 //KN
L= 500 //mm
D= 200 //mm
T= 2 //mm
G= 25000 //N/mm^2
//CALCULATIONS
Tav= W/(D*T)
gama= Tav/G
deltas= gama*L
//RESULTS
printf ('Tav= %.2f N/mm^2',Tav)
printf (' \n gama=%.3f rad',gama)
printf (' \n deltas=%.2f mm',deltas)
|
c28534ff719f56d172a65c8d289fd714a715b4e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH11/EX11.7/Ex11_7.sce | 62f4b9ee38334646436a900feb4577f5c19be062 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 828 | sce | Ex11_7.sce | // Exa 11.7
// To find power value to be set as a first approximation ans time required by mobile station to make changes as directed by base station.
clc;
clear all;
Prm=-97;//the signal strength from the base stations in dBm
//The constant ( K ) is the part of the broadcast message that is sent to the mob... |
449c6686c8384910c5f54dfef0a5c1faa461f27f | 683d2599aa2be1a5f74b928d545b20e7ea656cd1 | /microdaq/macros/dsp_signal.sci | 5a5a9685078bd9d2a08d40ae636df864a36c7d00 | [
"BSD-3-Clause"
] | permissive | pj1974/Scilab | 5c7fb67d5cae5ac0cdf78e3dd66b97ba50f9fc95 | cd54f1bd8502d6914ad6ff5271ca0e6e3d323935 | refs/heads/master | 2020-12-25T17:12:56.934984 | 2015-10-06T17:16:11 | 2015-10-06T17:16:11 | 41,862,822 | 0 | 0 | null | 2015-09-03T14:00:56 | 2015-09-03T14:00:56 | null | UTF-8 | Scilab | false | false | 106 | sci | dsp_signal.sci | function result = dsp_signal(sig_id, sig_size)
result = signal_register(sig_id, sig_size)
endfunction
|
fff97b4cf0d719bb2b9d6f335ed8550016f86424 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1299/CH15/EX15.33/example15_33.sce | b4315947c5e781605316125920bc6d0861dcc509 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 464 | sce | example15_33.sce | //Example 15.33
//Lipunov's method
clear;clc;
xdel(winsid());
x1=poly(0,'x1');
x2=poly(0,'x2');
x11=poly(0,'x11');
x22=poly(0,'x22');
x2=x11
disp("x22+x2+x2^3+x1=0")
//(x1,x2) has singular point at (0,0)
disp("V=x1^2+x2^2")
//"V=x1^2+x2^2" is Liapunov's function
//V is positive for all values of x1 and ... |
5e35c4d00012fdcf6ca3c7a89379ad888602de49 | d422d2bd9c82ca6a247ec578514ee6d3b5fa48b7 | /local/lctrs/step_distribution.sce | 5232817efe38fcac2b5f3a961a83fc36374e7752 | [] | no_license | kirillin/python_ev3 | bee3d9682f848b188d6c3b967f37dfc5a4aa3080 | 58c34ad11588bdc05e53a8466d6a12fe2c1a6ab2 | refs/heads/master | 2020-08-04T22:52:07.665251 | 2017-01-06T15:17:10 | 2017-01-06T15:17:10 | 67,629,534 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 884 | sce | step_distribution.sce | clear;
function e = G(a, z)
e = z(2) - a(1)*z(1) - a(1)*a(2)*exp(-z(1)/a(2)) + a(1)*a(2);
endfunction
function [tm, speed] = plt(data, color_real, color_model)
time = data(:,1);
time = time -time(1);
data(:,2) = data(:,2) * %pi / 180;
angle = data(:,2);
a0 = [0; 10];
[aa, er] = datafit(G, ... |
b84bfdbdfd955f4be853d9045224bcb82f864fad | e2ae697563b1b764d79ea1933b555ab0d5e3849c | /macros/nyqsettings.sci | 4164f9e7c599b1e2af97f17e176811b045ed245c | [] | no_license | gq-liu/IPDesignLab | c49b760740f47ec636232a6947aecb3c0626518a | b2f9a9eecad6616c99a2ec20fcceb14fb3ed0c3f | refs/heads/master | 2022-01-18T13:30:55.972779 | 2019-05-06T17:23:12 | 2019-05-06T17:23:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,769 | sci | nyqsettings.sci | function [ok,fminnyq,fmaxnyq,nyqstep]=nyqsettings();
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
//... |
ea9b8636bc65ecf8b43206c381129fcb5619730d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH16/EX16.3/16_3.sce | 2d907fcd414f1100700b4f2970aee4b2dd68ebfb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 670 | sce | 16_3.sce | //Example 16.3
//Multiple Shooting Method
//Page no. 577
clc;close;clear;
h=0.25;x=0;y1=0;
deff('y=f(x)','y=-(4*h^2)/(1+x)^2')
deff('y=f1(x)','y=-2*(1+(h^2)/(1+x)^2)')
for i=1:4
x=x+h
B(i)=f(x);
for j=1:4
if i==4 & i==j
A(i,j)=f1(x)+1/4
A(i,j-1)=2
el... |
53bdfb93e5c1098c9bb144dd196b7dc0467fdab4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3293/CH3/EX3.6/Ex3_6.sce | 183c106a2c56985684c4470d07be72c60f9377b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 721 | sce | Ex3_6.sce | //page 70
//Example 3.6
clc;
clear;
close;
a1 = [1 2];
a2 = [3 4];
disp(a1,'a1 = ');
disp(a2,'a2 = ');
disp('a1 and a2 are linearly independent and hence form a basis for R^2');
disp('According to theorem 1, there is a linear transformation from R^2 to R^3 with the transformation functions as:');
Ta1 = [3 2 ... |
b8f894d27872a495bf5a980ac47d790e54050fa1 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set13/s_Introduction_To_Materials_Science_For_Engineers_J._F._Shackelford_3557.zip/Introduction_To_Materials_Science_For_Engineers_J._F._Shackelford_3557/CH12/EX12.2/Ex12_2.sce | d7938e4991194a2db0c851be9c5348df3131cf8d | [] | 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 | 905 | sce | Ex12_2.sce | errcatch(-1,"stop");mode(2);//Example12.2//
Na=22.99;//amu //atomic mass of sodium
O=16.00;//amu //atomic mass of Oxygen
a=2;//Number of atoms
Na2O=c*Na+O
mprintf("Na2O = %f amu",Na2O)
d=3;//Number of atoms
C=12.00;//amu //atomic mass of Carbon
Na2CO3=c*Na+C+d*O
mprintf("\nNa2CO3 = %f amu",Na2CO3)
Ca=40.08;//... |
856cc1a25aa6a63cab761d2f8cc782eaa3c219f7 | a76fc4b155b155bb59a14a82b5939a30a9f74eca | /ProjetTomEval/tomeval/b198_p2.tst | 60605520c9920311afc89f6e227bd9b76cb083f7 | [] | no_license | isliulin/JFC-Tools | aade33337153d7cc1b5cfcd33744d89fe2d56b79 | 98b715b78ae5c01472ef595b1faa5531f356e794 | refs/heads/master | 2023-06-01T12:10:51.383944 | 2021-06-17T14:41:07 | 2021-06-17T14:41:07 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 2,135 | tst | b198_p2.tst | Test médiamétrie P2 Janvier Février 98
010,CSPC+
101
-1
1
1
1,4
1,B198,101
f:\source\SFR01
13360000
1
1
2,750,8,1,0,2.2,---,1
2,2045,8,1,0,5.8,---,1
3,2235,8,1,0,1.9,---,1
3,2130,16,1,0,6.7,---,1
1,1900,64,1,0,5.1,---,1
2,1940,64,1,0,6.5,---,1
1,2340,1,1,0,2.7,---,1
3,1300,2,1,0,3.4,---,1
3,2255,2,1,0,3.0,---,1
2,73... |
4a591943f818ef13448ec86b1793e8107cd9ee33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /23/CH12/EX12.4/Example_12_4.sce | 777ad4aa15f95607e3404d55c9a6235fd2517f8d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 553 | sce | Example_12_4.sce | clear;
clc;
//To find Approx Value
function[A]=approx(V,n)
A=round(V*10^n)/10^n;//V-Value n-To what place
funcprot(0)
endfunction
//Example 12.4
//Caption : Program to Find the Heat of Formation of LiCl
// Li + 0.5Cl2 --> LiCL(s) (A)
// LiCl(s) + 12H2O(l) --> LiCl(12H2O) (B)
... |
11ac11f8ccee9cf282d8353d3247fff3077f2dd7 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/int/%s_i_i.sci | 2fba0fb62db294c55341a395aacdfc00073a9899 | [
"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 | 163 | sci | %s_i_i.sci | function n=%s_i_i(i,j,f2,n)
[lhs,rhs]=argn(0)
if rhs==3 then
n=f2;f2=j
is=inttype(n)
n(i)=iconvert(f2,is)
else
is=inttype(n)
n(i,j)=iconvert(f2,is)
end
|
28d62b0147fd0d3e119e10ade97f9c633dd791aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH7/EX7.a.8/exaA_7_8.sce | be35a2e0f5743b4337af7dfe25b94cbb1d073e56 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 182 | sce | exaA_7_8.sce | // Example A-7-8
// Stability check
clear; clc;
xdel(winsid()); //close all windows
s = %s;
K = 2;
P = s*(s+1)*(2*s+1) + K;
disp(routh_t(P))
// unstable since two roots are in RHP |
a165a5359274509520e3b563a028814896ec6d55 | e2ae697563b1b764d79ea1933b555ab0d5e3849c | /macros/sens.sci | d50ff80db24ea579ae91c8fc824918936fb46625 | [] | no_license | gq-liu/IPDesignLab | c49b760740f47ec636232a6947aecb3c0626518a | b2f9a9eecad6616c99a2ec20fcceb14fb3ed0c3f | refs/heads/master | 2022-01-18T13:30:55.972779 | 2019-05-06T17:23:12 | 2019-05-06T17:23:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,293 | sci | sens.sci | function sens(g,k)
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in t... |
95e470de42878b49ca415fe55cba3796dcfe18d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH25/EX25.3/ex25_3.sce | 5f1161a23980d2a15e8deb96d900dc02d95874ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 297 | sce | ex25_3.sce | clc;
a=63.54; //atomic mass of Cu
m=100; //mass of Cu
moles=m/a; //calculating moles of U
n=6.023*10^23; //avogadro's no.
no=moles*n; //calculating no. of atoms
disp(moles,"Maoles of U = "); //displaying result
disp(no,"No. of atoms = "); //displaying result |
cfc74d6c8ca74d8917bd2c0e6defb4cbb2349d5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH10/EX10.8/ex10_8.sce | 89b3ee48010d131dee9061c3e3607026898aec12 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 556 | sce | ex10_8.sce | // Example 10.8, page no-272
clear
clc
T=300//K
rho=2.12//ohm-m
mue=0.36//m^2/V-s
muh=0.17
e=1.6*10^-19//C
m=9.1*10^-31//kg
h=6.626*10^-34
sig=1/rho
ni=sig/(e*(muh+mue))
printf("\nConductivity = %.6f per Ohm-m\nIntrinsic carrier concentration, ni=%.5f*10^18",sig,ni*10^-18)
k=1.38*10^-23
Nc=2*(2*%pi*k*... |
7a75b9098dd16edf996be442636feac80a029df1 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/P23.prev.tst | a5e7c3d070bb5dc90fe363bc7f174952102deb3a | [
"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 | 114 | tst | P23.prev.tst | 4*a^2 + 4*b^2 - 4*c^2
getVariablePowers(a,b)=a^2 + b^2
groupBy(a,b)=
+ 4*a^2*(1)
+ 4*b^2*(1)
+ 1*( - 4*c^2)
|
92aa30c304a34697c94b1ee750b654d13d5b4305 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH12/EX12.5/5.sce | 2e4e33371a8124384cd8b1aff8e3143f7e675fff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 5.sce | clc
clear
//INPUT DATA
Tc=3.7//critical temperature of superconducting Sn in K
t=2//temperature of critical field in K
Ho=0.0306//The critical field at 0K in T
//CALCULATION
Hc=(Ho*(1-(t/Tc)^2))//The critical field at 6K in T
//OUTPUT
printf('The critical field at %iK is %3.6f tesla',t,Hc)
|
5221923b706bf011ebadb626c2f28df421ab9713 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/833.sci | 8ef8986681d1bbeb3fd2abf1e8eb70f16f1d251f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 42 | sci | 833.sci | T1=430 //C
T2=100 //C
ndot=15 //Kmol/min |
6fe6cf5a1aea88902d64e14113cfb0daeb74fc25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH2/EX2.2/Ex2_2.sce | 9aadc8e611c51a327910b63290a9bf684f094df9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 628 | sce | Ex2_2.sce | clc
v2=60 //speed of gladiator in km/h
v2=(v2*10^3)/3600 //speed of gladiator in metre/second
mprintf("v2=%fm/s\n",v2)//ans may vary due to roundoff error
v1=0 //initial speed of gladiator
m=150 //mass of gladiator in kg
W=m*((v2*v2)-(v1*v1))/2 //work done on gladiator
mprintf("W=%fkJ\n",W/1000)//ans varies due... |
b56ab8857fea30f22c2cedff91fa74cf4b26e725 | 89e5e8b56c1049bcb0dbe5f2d8b8c88d76a6d5fa | /maths/TP1_M3202C.sci | 22e92a05a75c3c9436d2f5dd9371bee19ac0e06a | [] | no_license | louwaque/dut_sem3 | 9c6aaba0c720617f30e968dcf85f166ff4e08b4d | 1e1d28cf4597bbcef24f7eed6510c24bbab09c78 | refs/heads/master | 2021-09-07T13:57:46.504122 | 2018-02-23T22:27:22 | 2018-02-23T22:27:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 824 | sci | TP1_M3202C.sci | function b = appartenancePointTruc(Pt, Truc, nb)
b = ( Truc(1:nb) * [Pt(1:nb-1) 1]' == 0 )
endfunction
function b = appartenancePointPlan(Pt, Pl)
b = appartenancePointTruc(Pt, Pl, 4)
endfunction
function b = appartenancePointDroite(Pt, Dt)
b = appartenancePointTruc(Pt, Dt, 3)
endfunction
function nb = ra... |
2302f16525b982fb74e264b46dfb2f0e168cac93 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH5/EX5.23/23.sce | 0c782dcb92984ec3c7c209e6cdb4d3db286af2dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 23.sce | clc
T1=293; //K
V1=0.025; //m^3
V3=V1;
p1=1.05*10^5; //N/m^2
p2=4.5*10^5; //N/m^2
R=0.287*10^3;
cv=0.718;
cp=1.005;
T3=293; //K
disp("(i)Net heat flow")
m=p1*V1/R/T1;
T2=p2/p1*T1;
Q_12=m*cv*(T2-T1);
Q_23=m*cp*(T3-T2)
disp("Net heat flow = ")
Q_net=Q_12+Q_23;
disp(Q_net)
disp("kJ")
disp("(ii)... |
31abb0942c27a4d430c4811abbb66a565232b1da | 78de1b37ac7fbc77bc00584d6677402639eb8ccf | /Ex_6_12.sce | 0f088a5eda00190843fc19d780b25470769360c5 | [] | no_license | devanshmody/c-c-programs | de25f17728b488bb5245342338d303d968f2ee05 | 7405239f4fc792a1382d7726cb1aaeffc3e740a8 | refs/heads/main | 2023-04-16T14:11:06.271935 | 2021-05-05T09:39:48 | 2021-05-05T09:39:48 | 364,526,778 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 195 | sce | Ex_6_12.sce | //Example 6.12
clc;clear;close;
N=4;
n=0:N-1;
x=cos(%pi/4*n);
//Calculation of DFT
X=dft(x,-1);
X=clean(X);
disp(x,'Given Sequence is x(n): ');
disp(X,'DFT of the Sequence is X(k): '); |
43bc59434c585415ee5473342cb6d892d570da8f | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/xdess/hotcolormap.sci | 7889c99880c3a6d0944fb4a8220cf96136f59388 | [
"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 | 357 | sci | hotcolormap.sci | function cmap = hotcolormap(n)
//graycmap yellow to red color map.
// Copyright INRIA
if size(n,'*')<>1|or(n<3) then
error('hotcolormap : n must be an integer greater than 3')
end
n1=fix(3/8*n);
n2=n1
n3=n-(n1+n2)
//
cmap=[(1:n1)'/n1 zeros(n1,1) zeros(n1,1);
ones(n2,1) (1:n2)'/n2 zeros(n2,1);
ones(... |
3f7e716246c57ef008a3bff3aa4131454a54d2b3 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.13_4.tst | 7656e87728f7a072130584746e4999bc63005615 | [] | 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 | 259,452 | tst | 5.13_4.tst | 13 24:1 423:1 743:1 1243:1 1381:1 1476:1 1675:1 1735:1 2123:1 2370:1 2451:1 2476:1 2813:1 3469:1 3964:1 4808:1 5908:35 5951:1 6051:1 6099:1 6159:1 6805:1 6994:1 7409:1 7815:1 8332:1 8619:1 9030:1 9808:1 10225:1 11282:1 11484:1 11614:1 11878:1 12181:1 12383:1 12402:1 12685:1 12887:1 14035:1 14419:1 14730:1 16192:1 17783... |
e812cfb23ec2835bcdad36eb5c1a3f37b4d5bd23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH5/EX5.14.3/Ex5_14_3.sce | bcba34233f6a655fcbfeaee7d7c6c68fe163a9ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 441 | sce | Ex5_14_3.sce | //Chapter-5,Example 5_14_3,Page 5-37
clc()
//Given Values:
m=1.676*10^-27 //mass of neutron
h=6.634*10^-34 //Planck's constant
//Calculations:
E1=0.025 //Energy in eV of neutron
E=E1*(1.6*10^-19) //Energy in joules
//As E=m*v^2/2
v=sqrt(2*E/m) //Velocity of neutron beam
... |
9ee78c7f6cb43ae01226ee9282b17887275f7960 | bdbafbcce90eb6b9aa54964c32057b8117961b58 | /Wolfe_Skel.sci | fdb5b33035cd7b91067e217268fd2fd1e825eee7 | [] | no_license | Rachine/Tp_Optim | 617191c586b46d8d44fc1bd24b24e3d3b760c851 | 68cabcb55cd4f343796d6f0f3823e4aa03edbe25 | refs/heads/master | 2016-09-05T09:23:21.650931 | 2015-05-10T20:37:58 | 2015-05-10T20:37:58 | 34,060,544 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,232 | sci | Wolfe_Skel.sci | function [alphan,ok]=Wolfe(alpha,x,D,Oracle)
//////////////////////////////////////////////////////////////
// //
// RECHERCHE LINEAIRE SUIVANT LES CONDITIONS DE WOLFE //
// //
// ... |
23a68e4513ec52c373d68e318b22b58994143b59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH5/EX5.26/ex26.sce | 8c0197371a114836f9aac9a3d326499ce05f5117 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | sce | ex26.sce | clc
syms x1 x2 x3
y1=(x2*x3)/x1
y2=(x3*x1)/x2
y3=(x1*x2)/x3
a=diff(y1,x1)
b=diff(y1,x2)
c=diff(y1,x3)
d=diff(y2,x1)
e=diff(y2,x2)
f=diff(y2,x3)
g=diff(y3,x1)
h=diff(y3,x2)
i=diff(y3,x3)
A=[a b c;d e f;g h i]
det(A) |
228f055d7dc3c95deafe329bb53230cfd837ed2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /797/CH3/EX3.6.e/3_06_example.sci | bb9bb86e0d8e518f5e8ad75f060a6127dd8d7353 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 503 | sci | 3_06_example.sci | //Example 3-06 Measuring Fluid with Multifluid Manometer
P_atm = 85.6 //Atmospheric pressure at 1400m altitude [kPa]
h_1 = 0.1 //differnce of water and oil level in manometer [m]
h_2 = 0.2 //difference between water and mercury level in manometer [m]
h_3 = 0.35 //difference between oil and mercury level in manometer [m... |
36a1834661efc2e0f26c78c6b9be713ee6264787 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3296/CH2/EX2.9/Ex2_9.sce | 66efdd90933b568119ff234809f874d819ba638f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 821 | sce | Ex2_9.sce | // chapter 2
// example 2.9
// fig. 2.5
// Find deflections at C and B
// page-19-20
clear;
clc;
// given
l=16; // in m (length of the wire)
A=4; // in mm^2 (cross-sectional area of the wire)
W=20; // in N(weight of the wire)
E=200; // in GPa (modulus of elasticity)
// calculate
l=l*1E3; // changing unit from m to mm
E... |
e4464f9ee485949c9b50ff559a0b53e05b14a9b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH10/EX10.8/Example10_8.sce | 939ec1e26e7886d5aa8f7fb83320602f45568533 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,829 | sce | Example10_8.sce | clear;
clc;
// Example 10.8
printf('Example 10.8\n\n');
// Page no. 287
// Solution
F = 16 ;// feed of CH4 -[kg]
CH4p = 100 ;//[%]
m_CH4 = 16 ;// mass of kmol of CH4-[kg]
mol_CH4 = (F*CH4p/100)/m_CH4;//k moles of CH4 in feed-[kmol]
air = 300 ;// Air given -[kg]
m_air = 29 ;// molecular wt. of 1kmol air-[kg]
mol_air =... |
0ef385b7b5b142d17b7b351665ac0e1e2ed8629a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Measurements_And_Instrumentation_P._Sharma_876.zip/Electronic_Measurements_And_Instrumentation_P._Sharma_876/CH4/EX4.7/Ex4_7.sce | 217101a99acda34d25e53c48e29dad4192926932 | [] | 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 | 478 | sce | Ex4_7.sce | errcatch(-1,"stop");mode(2);//caption:find value of unknown inductance,resistance and Q for maxwell bridge
//Ex4.7
R1=220//resistance of first arm(in ohm)
C1=0.22*10^-6//capacitance of first arm(in F)
R2=1000//resistance of second arm(in ohm)
R3=1000//resistance of third arm(in ohm)
f=1000//frequency of arm... |
e3ba1c7e8c1b7c6faa8bead2a096d7f852a7ed34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3866/CH8/EX8.3/Ex8_3.sce | 187023ab9ef2f450d19cf6f2ed96678dfdb841f5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 427 | sce | Ex8_3.sce | clc; clear; close;
gate_cap=2*0.5;//in fF
wire_cap1=30*0.2/20;//in fF
drain_cap=0.5*0.5;//in fF
wire_cap2=40*0.2*0.1/2;//in fF
con_cap=0.5/2;//in fF
row_cells=256;
col_cells=256;
Cword=row_cells*(2*gate_cap+wire_cap1);
disp(Cword,'Capacitance of wordline(in fermifarads)=');
Cbit=col_cells*(drain_cap+wire_ca... |
744987b078e1374bb78809fca5095102afa7a70c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH7/EX7.17/Ex7_17.sce | 4ccd85a362b59d02e8e5f4f225e6092481fa04d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 493 | sce | Ex7_17.sce | clear;
clc;
//Example 7.17
V1=5;
V=-5;
Rs=0.1;
R1=40;
R2=5.720;
Re=0.5;
Rc=5;
Rl=10;
b=150;
Vbe=0.7;
C1=35;
C2=4;
Vt=0.026;
Icq=1.02;
gm=39.2;
r=3.820;
t=r/(1+b);
t=t*0.001;
f=1/(2*%pi*C1*t);
printf('\nthe zero occurs at this frequency=%.2f MHz\n',f)
x=1+gm*Re*Rl/(Re+Rl);
Rb=R1*R2/(R1+R2)
d=x*r... |
5d745daea6f85fb1f2fe6638974dfa76f6da096a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Higher_Engineering_Mathematics_B._S._Grewal_149.zip/Higher_Engineering_Mathematics_B._S._Grewal_149/CH2/EX5.8/ex8.sce | 9b7f8ecc906a2f34d1fda98627420ddb4074e019 | [] | 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 | 149 | sce | ex8.sce | errcatch(-1,"stop");mode(2);
syms x y
u=x^y
a=diff(u,y)
b=diff(a,x)
c=diff(b,x)
d=diff(u,x)
e=diff(d,y)
f=diff(e,x)
disp('ly,c=f')
exit();
|
c46306b49d625dfee97d2d33cb06e91375afe9e0 | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter6/Ch_6_Eg_6.24.sce | 86e03af8dee16236b731073701ea0f0aa903852f | [] | no_license | arvindrachna/Introduction_to_Scilab | 955b2063b3faa33a855d18ac41ed7e0e3ab6bd1f | 9ca5d6be99e0536ba1c08a7a1bf4ba64620ec140 | refs/heads/master | 2020-03-15T19:26:52.964755 | 2018-05-31T04:49:57 | 2018-05-31T04:49:57 | 132,308,878 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 376 | sce | Ch_6_Eg_6.24.sce | // A program to save a matrix of random numbers as a CSV data file.
M = rand(3,3);
filename = "data.csv";
// Use tabs as the separator
csvWrite(M, filename,ascii(9),[],'%.3g');
disp('Read as numeric values');
//Read a CSV file
M1=csvRead(filename,ascii(9),[],"double");
disp(M1);
disp('Read as string values');
... |
ce8b527feb8d7e0530b48e93b0e14e914a04b637 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH8/EX8.13/Ch08Ex13.sci | 1e57653b740c0fe8ba6c791cc3156bdf90f927d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 622 | sci | Ch08Ex13.sci | // Scilab Code Ex8.13: Page-176 (2010)
c = 3e+008; // Speed of light in vacuum, m/s
E = 4.5e+017; // Total energy of object, J
px = 3.8e+008; // X-component of momentum, kg-m/s
py = 3e+008; // Y-component of momentum, kg-m/s
pz = 3e+008; // Z-component of momentum, kg-m/s
p = sqrt(px^2+py^2+px^2); ... |
9d82e2313debd1056a830892464d3bd0fcace4ef | b513eb49824ff62ddd2289a920c92cfcb362d5f2 | /magister/course_1/bushuev/E.sci | 8c8f04eaafac2e46b22acae97cba2a46be9e55a3 | [] | no_license | kirillin/ifmo | 6264ac42ec2031777145b39d4930f2f645e1d316 | 633919ba09d43814298c3a2145d5d6f72b5b068e | refs/heads/master | 2021-01-12T09:32:27.270130 | 2018-11-18T12:17:46 | 2018-11-18T12:17:46 | 76,181,268 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 933 | sci | E.sci | x0 = 10;
c = 10;
d=1/1000;
function e=E(x, l, m)
e = (0.25 * (x-x0)^4 - 0.5 * l * (x-x0)^2 - m * (x-x0))*d + c
endfunction
n = 20
t = [1:1:n]
l = (7-3)^2*0.25;
m = 0;
ee1 = zeros(1,n)
for i = 1:n
ee1(i) = E(i)
end
l = (9.9-0.1)^2*0.25;
m = 0;
ee2 = zeros(1,n)
for i = 1:n
ee2(i) = E(i)
end
l = (9.9-0.... |
ec9cd6567d98f3895689c51f4433abb317a2ca26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH5/EX5.12/Ex5_12.sce | 3541e45b438926d08c4c0a8c6d07fc829e84903f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,312 | sce | Ex5_12.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 5 : INDUCTION MACHINES
// EXAMPLE : 5.12
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
m = 3; // Total Number of phase in Induction M... |
a45d12b026fcc1de0f372437860b648d35ad4a3e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH9/EX9.1/Ex9_1.sce | efd5e44d075e5d642bd7b8beaeb15c79e521eac5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,550 | sce | Ex9_1.sce | // Initilization of variables
W1=2000 //N // load at joint D of the truss
W2=4000 //N // load at joint E of the truss
Lac=6 //m // length of the tie
Lab=3 //m
Lbc=3 //m
theta=60 //degree // interior angles of the truss
// Calculations
// Here A is simply supported & B is roller support. Now the SUPPORT REACTIO... |
4d709b39953a825cb27a2ad233e8d52ad70eb418 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH13/EX13.17/Ex13_17.sce | 4f871a1d2ac00b9519a43ebfb033ea947223f0ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 342 | sce | Ex13_17.sce | //chapter13
//example13.17
//page291
Es=10d-3 // V
Rs=3d3 // ohm
Rin=7d3 // ohm
Rout=15 // ohm
Rl=35 // ohm
Ao=1000
I1=Es/(Rs+Rin)
V1=I1*Rin
Av=Ao*Rl/(Rout+Rl)
// since V2/V1=Av, we get
V2=V1*Av
P2=V2^2/Rl
P1=V1^2/Rin
Ap=P2/P1
printf("magnitude of output voltage = %.2f V \n",V2)
printf("power... |
b00ab1a6ac890f5f17e5a519fe34a202909bd56b | 449d555969bfd7befe906877abab098c6e63a0e8 | /854/CH12/EX12.7/Example12_7.sce | 2d567be6e8bff887feab4bb9934b54669dafad02 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 716 | sce | Example12_7.sce | //clear//
//
clc;
s = sym('s');
B = sym('B');
Eo = sym('Eo');
z = sym('z');
ax = sym('ax');
EsL = Eo*(ax+%i*ay)*exp(%i*s)*exp(-%i*B*z);
EsR = Eo*(ax-%i*ay)*exp(-%i*B*z);
Est = Eo*exp(%i*s/2)*(2*cos(s/2)*ax-%i*2*%i*sin(s/2)*ay)*exp(-%i*B*z);
disp(EsL,'Left circularly polarized field EsL=')
disp(EsR,'Right ci... |
760f71b8671eaf51cb444d22fc33e86e4aff2bba | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH11/EX11.3/EX11_3.sce | 2b16868cd1a72f8bbc2a43a21068a7d440e5c491 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 342 | sce | EX11_3.sce | //Finding of Pressure Gradienr,Avg velocity,Reynolds number
//Given
mu=.5;
spgr=1.2;
rho=1200;
D=.1;
x=147.15;
//To Find
dp=-(x*4)/D;
dp1=-dp;
v=(1/(32*mu))*(-dp)*D^2;
R=(rho*v*D)/mu;
disp("Pressure Gradient ="+string(dp1)+" N/m^3");
disp("Average Velocity ="+string(v)+" N/m^3");
disp("Reynolds Number ="+... |
b2704b8e70c7a736320cb4ae26bbd08afc5a64f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1979/CH4/EX4.23/Ex4_23.sce | 1b775bfbf8d612e3be5e9a52342d007b5a6e80d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,178 | sce | Ex4_23.sce | //chapter-4 page 156 example 4.23
//==============================================================================
clc;
clear;
//For an air filled rectangular waveguide
a=0.023;//Length of an air filled Rectangular Waveguide in m
b=0.01;//breadth of an air filled Rectangular Waveguide in m
c=3*10^8;//Velocity... |
5ac08231d203b8307bd77ae397588f6c58b93fdc | c39fb4b9c3dbf2c4e3cb27ebfca33758e3b0dcb5 | /sabr.sce | 8654bfa210f2a30e913ea058443c03146afb6c88 | [] | no_license | dg32/sabr_fdm | bfd7803fd0443e5aa894e26b380959c50ca84fd4 | 10d947cdf64932f674bf313ea6b4d5abf0acd9f6 | refs/heads/master | 2020-12-25T06:04:20.485415 | 2014-04-08T16:53:22 | 2014-04-08T16:53:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,821 | sce | sabr.sce | function [M, Q1, QL1, QR1] = solveStep(M, M1cache, dt1, h, Q, QL, QR)
M = M.*M1cache
frac = dt1/(h^2); N = length(Q)
tri = diag(sparse(1+2*frac*M))+diag(sparse(-frac*M(1:N-1)),-1)+diag(sparse(-frac*M(2:N)),1)
tri(1,:) = zeros(1,N); tri(1,1:2)= [M(1) M(2)]
tri(N,:)= zeros(1,N); tri(N,N-1:N)=[M($-1) M($)]
Q(1... |
1cb0cdc1d038eb41041575d0cf7a9b3371d56d6e | 4483ff664b4d01c53114a7fc535625c197c8f989 | /green routing/finddis.sci | e7f7da67fcb24c41d63236a478829119bd5dfac9 | [] | no_license | winash1618/myproject | be9b77d4a405edce7e625a999803016b50ab99d0 | 2132e76e6a996bee19f356a2b68af827fa6c621b | refs/heads/master | 2022-12-06T06:09:06.487979 | 2020-08-20T02:00:54 | 2020-08-20T02:00:54 | 288,880,158 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,534 | sci | finddis.sci | function [sis,mes] =finddis()
for ka=1:pop
temp=zeros(pop,x)
dis=zeros(pop,x)
po=zeros(x,z)
mo=zeros(z,z,x)
prob=rand
if(prob<0.8)
kom=1+round((z-1)*rand(1,(x-1)))
kop=kom
else
kop=kom
end
i=1
for... |
3bd4d134b0e48250581522943637252f911216e0 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/m2sci/sci_global.sci | 776c25dac04f797d7c28076f07a780d7cad0b465 | [
"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 | 395 | sci | sci_global.sci | function [stk,txt,top]=sci_global()
// Copyright INRIA
txt=[]
vars=[]
vnms;vtps;
for k=1:rhs
s=stk(top)(1)
if s<>'''''' then
nam=part(s,2:length(s)-1)
if find(nam==vnms(:,2))==[] then
vnms($+1,:)=[nam,nam]
vtps($+1)=list('?','?','?',0)
end
vars=[s,vars]
end
top=top-1
end
stk=list('... |
d69f8ddf89d36286ff48c9959e15f253f26eabf0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3176/CH10/EX10.16/Ex10_16.sce | 4bc34098afc536158f30fb6109ec7e52a680ceb6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,465 | sce | Ex10_16.sce | //Ex10_16
// Optimum Global Thresholding using Otsu's Method
// Version : Scilab 5.4.1
// Operating System : Window-xp, Window-7
//Toolbox: Image Processing Design 8.3.1-1
//Toolbox: SIVP 0.5.3.1-2
//Reference book name : Digital Image Processing
//book author: Rafael C. Gonzalez and Richard E. Woods
clc;
cl... |
a87996584858793c0642368cc150e92081d82b52 | 361bde95a22190692c954b03dcc9add9c73f6646 | /ASSIGNMENT-2/SS.sce | 5900063fdc035a49b68113b60221fadde2b20bf6 | [] | no_license | madhuri1234567/SCILAB | ad80337ea4211ce7c2fc2f8dc44763cdc34738c0 | 29a6a879f90e679ce5b4f560436fe4b186257052 | refs/heads/master | 2020-12-29T21:13:27.352657 | 2020-04-11T09:01:18 | 2020-04-11T09:01:18 | 238,733,957 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sce | SS.sce | clc;clear;close
// FOR ANY ORDER [NxM] MATRIX
A=input("enter the matrix [ANY ORDER [NxM] MATRIX]")
disp(A);
[m,n]=size(A);
[v,pivot]=rref(A);
disp(v,'v');
disp(pivot,'p');
r=length(pivot);
disp(r,'rank=')
cs=A(:,pivot);
disp(cs,'column space=');
ns=kernel(A);
disp(ns,'null space=');... |
3cf2890154524668aa92236b26b7ccf5abc34f88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH17/EX17.17/ex_17_17.sce | ab27a4fc417c8876ba5d00ece492b9d99be07c20 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 636 | sce | ex_17_17.sce | //det...
clc
//solution
//given
do=50//mm
u=0.15//tan(q)
p1=16//mm
p2=12//mm
tmax=28//N/mm^2
d1=do-p1/2
d2=do-p2/2
//tan(a1)=p/(%pi/d1)=b1=0.1212
b1=0.1212
//tan(a2)=p/(%pi/d2)=b2=0.0868
b2=0.0868
//let W be load
//T1=W*[(b1+u)/(1-(b1*u))]*d1/2=5.8*W//N-mm
//T2=W*[(u-b2)/(1+(b2*u))]*d2/2=-.37*W//N-mm
... |
d887c969be3e1556568335dee61e9f5e97b495d6 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/isminphase/isminphase2.sce | 6e5942cb842a9844d2e7dd07a0100fc37ddc7f0c | [] | 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 | 272 | sce | isminphase2.sce | sos=[7.62145490093100e-05 0.000152429098018620 7.62145490093100e-05 1 -1.23878126513852 0.390316716554844;
1 2 1 1 -1.34896774525279 0.513981894219676;
1 2 1 1 -1.59464056877719 0.789706949934816];
flag=isminphase(sos);
disp(flag);
//output
// 0.
//matlab o/p
// 1
|
00f17542ed6ae58111465bc65cdfa98ef4ccdb0e | 63caf364e3cd490a11bed6793a45f6f1eab8508e | /src/VMTranslator/fixtures/FunctionCalls/DoubleCall/DoubleCall.tst | f34393cce5b896b6120df073cb855a1b894eca2d | [
"MIT"
] | permissive | tuzmusic/HackManager | ddb07e7553555146f5f84badd9e819614377d5b7 | 5c47e5541cb7372315355d9799f04fc0235a549d | refs/heads/main | 2023-04-24T07:31:49.115985 | 2021-05-17T15:27:46 | 2021-05-17T15:27:46 | 332,580,583 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 495 | tst | DoubleCall.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/08/FunctionCalls/DoubleCall/DoubleCall.tst
// DoubleCall.asm results from translating both Main.vm and Sys.vm into
// a single assembly program, stored in the file... |
d8141b6ccf524890cdefb2a260e465b3a756455a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH17/EX17.9/Ex17_9.sce | 1c964d994c89c308a00c8265559bae158dbbb764 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 147 | sce | Ex17_9.sce | clear
//Given
v=1.5*10**8
c=3.0*10**8
//Calculation
//
a=v/c
C=asin(a)*180/3.14
//Result
printf("\n Value of critical angle is %0.0f Degree",C)
|
cce4e88ae3c7d502d603d545feb3faf27a258853 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1913/CH2/EX2.18/ex18.sce | e4d639f3d4dffd016380c0a12320b69767a516cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,016 | sce | ex18.sce | clc
clear
//Input data
p=5000;//Power output of an adiabatic steam turbine in kW
p1=2000;//Pressure at the inlet in kPa
p2=0.15;//Pressure at the exit in bar
t1=400;//temperature at the inlet in degree centigrade
x=0.9;//Dryness at the exit
c1=50;//Velocity at the inlet in m/s
c2=180;//Velocity at the exit in ... |
09402b3e42beb623fd4cce2b5207f684b19e47c5 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_Machines_M._V._Despande_833.zip/Electrical_Machines_M._V._Despande_833/CH7/EX7.8/Ex7_8.sce | cf64c664a77463d108b8ef4832c069bb5a3c5d38 | [] | 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 | 540 | sce | Ex7_8.sce | errcatch(-1,"stop");mode(2);//Caption: Calculate (a)Total armature current (b)Current per armature path (c)Generated e.m.f
//Exa:7.8
;
;
p=4//Number of poles
P=4000//Power of generator(in watts)
V=230//Voltage of generator(in volts)
r_f=115//Field resistance(in ohms)
r_a=0.1//Armature resistance(in ohms)
a=p... |
14ac0a3f925a04a2b2025da011652ca4020c8347 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH14/EX14.15/14_15.sce | 0c8158f053d310acae20e60df4c64c01b68a1bd2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 14_15.sce | clear;
clc;
fc=5000;fi=1.25*fc;Rk=600; //fi=frequency at which infinite attenuation occus
L0=Rk/(%pi*fc);
C0=1/(%pi*fc*Rk);
m=sqrt(1-((fc/fi)^2));
L1=m*L0/2;
L2=(1-(m*m))*L0/(4*m);
C1=m*C0;
printf("The elements of the m-derived L.P.T. filter are:\n");
printf(" mL/2 = %f mH\n",round(L1*(10^5))/100);
printf("... |
3af2c7eaede589f9e379a52f68cc237bd0211560 | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH2/EX2.60/ex2_60.sci | 365112731afc2fab78ecfee04ddf429ce58c15c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 345 | sci | ex2_60.sci | //Chapter 2,Ex2.60,Pg2.76
clc;
disp("Refer to diagram shown in the question")
A=[-7 1 0;-1 6 -3;0 3 -3]
B=[-10;0;20]
I=A\B
printf("\n I3=%.2f A \n",I(3))
printf("\n In= %.2f A \n",-I(3))
Rn=[(6*1/(6+1)+2)]*3/(3+[(6*1/(6+1)+2)])
printf("\n Rn=%.2f A \n",Rn)
//Calculation of Il
Il=13.17*(1.46/(1.46+10))
print... |
fffc0edae64ae7bdd4c652444885238cb9b49401 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH18/EX18.1/Ex18_1.sce | 2010cfb805b83e66d27832912226810902dd9ab6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 671 | sce | Ex18_1.sce |
// Examle 18.1
I=0.015; // Current in a coil
B=0.2; // Megnetic flux density
l=0.02; // Length of megnetic field
n1=42; // No.Of turns N1
r=0.0125; // radius of coil
n2=43; // No.Of turns N2
F1=I*B*l*... |
a8bbeb90322fcb1591873d6dfd18503819562328 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/local/2dof_controller/dc/chap2/scilab/zoh1.sce | 622ff03dcc924fa0a5bb397e16dd9756db5259d9 | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 134 | sce | zoh1.sce | // Updated(18-7-07)
// 2.3
F = [-1 0;1 0]; G = [1; 0];
C = [0 1]; D = 0; Ts=1;
sys = syslin('c',F,G,C,D);
sysd = dscr(sys,Ts)
|
6cba35969695189e578977ad0fce156ff5977fa0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH8/EX8.18.6/Ex8_18_6.sce | 91a5cf4e1d2168f28365a8ea4d4c92c4a566b0aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sce | Ex8_18_6.sce | clear
clc
DelG1=-237.23;//in kJ
DelG2=79.71;//in kJ
n=2;//
DelG=(DelG1+(n*DelG2));//in kJ
F=96500;//in C
T=298;//in K
E=-((DelG*10^3)/(n*F));//in V
printf('E=%.3f V',E)
DelH1=-285.85;//in kJ
DelH2=56.9;//in kJ
DelH=(DelH1+(n*DelH2));//in kJ
dEdT_p=((DelH-DelG)*10^3)/(n*F*T);//in V/K
printf('\ndEdT_p=%.5f ... |
8885ad8f1a5e4e6019342c59840b5e71de14cf6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH3/EX3.24/3_24.sce | b43ecbe0c671586eb9cf93508fecd579a13fbc4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 731 | sce | 3_24.sce | //Example No. 3_24
//Distributive law
//Pg No. 58
clear ;close ;clc ;
x = 0.400000*10^1 ;
fx = 0.400000
Ex = 1
y = 0.200001*10^0 ;
z = 0.200000*10^0 ;
x_yz = x*(y-z)
x_yz = x_yz*10^6
x_yz = floor(x_yz) //considering only six significant digits
n = length(string(x_yz))
fx_yz = x_yz/10^n
Ex_yz = n - 6
x_... |
3a5dfa25ceaa58b0d0278d570650ef832c9467bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH1/EX1.11/Ex1_11.sce | 05b4470eee0246a3ced08db76b0c46288d9d289d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 601 | sce | Ex1_11.sce | //Chapter 1: Structure and Bonding
//Problem: 11
clc;
//Declaration of Constants
c = 3 * 10 ** 8 // Speed of light, m/sec
m = 9.1 * 10 ** -31 // Mass of electron, kg
h = 6.626 * 10 ** -34 // Plank's constant, J.sec
// Variables
lamda = 200 * 10 ** -7 // Wavelen... |
17ed170fd06892afc5f49a7d61db47f487447802 | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/err_setOption.tst | 57cb4c26a56da8230bd9da226dcd9a8193a0c738 | [] | no_license | IETS3/jSMTLIB | aeaa7ad19be88117c7454d807a944e8581184a66 | c724ac63056101bfeeb39cc3f366c8719aa23f7b | refs/heads/master | 2020-12-24T12:41:17.664907 | 2019-01-04T10:47:43 | 2019-01-04T10:47:43 | 76,446,229 | 1 | 0 | null | 2016-12-14T09:46:41 | 2016-12-14T09:46:41 | null | UTF-8 | Scilab | false | false | 560 | tst | err_setOption.tst | ; tests that we catch bad kind of data to options
(set-option :print-success 0)
(set-option :verbosity true)
(set-option :regular-output-channel true)
(set-option :diagnostic-output-channel false)
(set-option :expand-definitions 0)
(set-option :produce-proofs 0)
(set-option :produce-models 0)
(set-option :produce-assig... |
49b7bf6591e907e45e095ba01a8fc28ca5917ea3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH3/EX3.6/Example3_6.sce | 5e9a98654320b701957634fe18ae7a84547a1082 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 671 | sce | Example3_6.sce | //Exa 3.6
clc;
clear;
close;
//Given data :
A=poly(0,'A');//cross section area
I=poly(0,'I');//Current
Cc=500+2000*A//Rs/km
load_factor=0.12;
i=12;//%(depreciation)
E_lost_cost=0.05;//Rs/kWh
R=0.17/A;//ohm/km
Cc_var=2000*A//Rs/km(variable cost)
P2A=Cc_var*i/100;//Rs/km
P2=P2A/A;
R_into_A=R*A;//ohm
W_i... |
f3be9ea2300082a18e1f6538b222cead844d22d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH7/EX7.5.5/ex_7_5_5.sce | 52889d65ac987a456bb5e0c270e8618b7968b306 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 177 | sce | ex_7_5_5.sce | //Example 7.5.5: supply voltage
clc;
clear;
close;
//given data :
R=120;//in ohm
del_r=1;// in ohm
E_th=10*10^-3;//in V
E=(E_th*4*R)/del_r;
disp(E,"supply voltage,E(volts) = ")
|
74583a9d142cf58dde863ca0466951bf15b5a8ee | 4246cbb6bfbd96e60074b607df96d71e7b4ee070 | /opp6code/countby.tst | 8cdffd966984f1ec09d6977fafffb11c85d660f6 | [] | no_license | thangduong3010/PL-SQL | bc0fa5c3400e46acc0ab63156573590935607b5d | 1415772c87750bd30625eacf2bd116fb7e0c0aae | refs/heads/master | 2020-05-22T06:57:54.352234 | 2016-12-26T04:47:27 | 2016-12-26T04:47:27 | 39,061,697 | 1 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 973 | tst | countby.tst | DECLARE
results grp.results_tt;
indx PLS_INTEGER;
minrow PLS_INTEGER;
maxrow PLS_INTEGER;
BEGIN
results := grp.countby ('employee', 'department_id');
indx := results.FIRST;
LOOP
EXIT WHEN indx IS NULL;
IF minrow IS NULL OR
minrow > results(indx).countby
THEN
... |
9b3644d52c32fe6e40f052def12ca3e4cecbeed6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /339/CH10/EX10.3/ex10_3.sce | adec6fcdc0300e6cc13c9f546e255044c1157619 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,135 | sce | ex10_3.sce | Z0=50;
//oscillation frequency
f=2*10^9;
w=2*%pi*f;
//transistor S-parameters at oscillation frequency
s_tr=[0.94*exp(%i*174/180*%pi),0.013*exp(-%i*98/180*%pi);1.9*exp(-%i*28/180*%pi),1.01*exp(-%i*17/180*%pi)];
s11=ss2tf(1,1);
s12=ss2tf(1,2);
s21=ss2tf(2,1);
s22=ss2tf(2,2);
//find the Z-parameters of the ... |
296f70a062227bc96444bb55ded0ff4e51ae30cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2702/CH3/EX3.1/Ex_3_1.sce | 7393bd1a682eb262a127ba60b052d81e82e9f3bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex_3_1.sce | // Exa 3.1
clc;
clear;
close;
// Given data
V_E= -0.7;// in V
Bita=50;
RC= 5;// in kΩ
RE= 10;// in kΩ
RE= RE*10^3;// in Ω
RC= RC*10^3;// in Ω
V_CC= 10;// in V
V_BE= -10;// in volt
I_E= (V_E-V_BE)/RE;// in A
disp(I_E*10^3,"Emitter current in mA is : ")
// I_E= I_B+I_C and I_C= Bita*I_B, so
I_B= I_E/(1+B... |
a1320d19acdde997051b3a0491623f8beea3dc89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH11/EX11.6/11_6.sce | d6eeb179b7ca8b766eb0a723a3cfc3ea4c79137d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | 11_6.sce | clc
//Initialization of variables
y1=[1.5 1.48]
V1=[2.22 2.29]
d=1.2
//calculations
q=y1.*V1
V2=q/d
Vm=[2.5 2.56]
Rh1=[0.9 0.89]
Rh2=[0.88 0.78]
Rhm=(Rh1+Rh2)/2
S=(q.*Vm/ Rhm.^(2/3)).^2
dx=[358 226]
yavg=(y1(1) + y1(2))/2
qavg=(q(1) + q(2))/2
B=4.5
Q=qavg*B
//results
printf("Flow rate = %.1f m^3/s",Q... |
5bf3d5549519ce4b7c9bbb4ee217ffbb989cff5f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH2/EX2.10/Chapter2_Example10.sce | 77b1fe9c0eb11b7a409a255e897f0992400ccf7e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 955 | sce | Chapter2_Example10.sce | clc
clear
//INPUT DATA
//0.8062 CH4+0.0541 C2H6 +0.0187C3H8+0.0160C4H10+0.1050N2+a (O2+3.76 N2)=b (0.078 CO2+0.002 CO +0.07 O2 +0.85N2)+ c H2O ;//Combustion equation for 1 kmol of fuel mixture
//b*(0.078+0.002)=0.8062+2*(0.0541)+3*(0.0160);//by carbon balance
c=1.93;//Carbon balance
a=2.892;//Oxygen balance
//... |
5399286211a03d16f69599628302feb899acaa16 | 717ddeb7e700373742c617a95e25a2376565112c | /476/CH5/EX5.23/Example_5_23.sce | 81a874c024e0277292f723b00a2b31a4c658b0d4 | [] | 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 | 1,645 | sce | Example_5_23.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 5
//Some Applications of the Laws of Thermodynamics
//Example 23
clear;
clc;
//Given:
r = 15; //compression ratio
P1 = 100; //pressure in the beginning (kPa)
T1 = 300; //temperature in thebeginning (K)
Q1 = 500; //heat transfer rate (kJ/kg)... |
5637e63597ca27ac2c859163d83be7ca4f980e9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH11/EX11.21/example21.sce | 6cb2a3ffaa5985cb81fe01fe7e69cd75ccbb4e7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 583 | sce | example21.sce | //Chapter-11 example 21
//=============================================================================
clc;
clear;
//input data
Noise_power = -50;//noise power in dBm
Fl = 1*10^6;//lower cutoff frequency in Hz
Fh = 21*10^6;//upper cutoff frequency in Hz
//calculation
BW = Fh-Fl;//bandwidth
NP =10^-8//noise... |
465c9450cf238fa4b25f99727ad95da1ba67d9d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH18/EX18.9/Ex18_9.sce | 4e07f3e370176590f21dc287ced7074011fcfc78 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,920 | sce | Ex18_9.sce | // scilab Code Exa 18.9 Constant Pressure Gas Turbine Plant
T1=298; // Minimum Temperature in Kelvin
beeta=4.5; // Maximum to Minimum Temperature ratio(T_max/T_min)
m=115; // mass flow rate through the turbine and compressor in kg/s
n_C=0.79; // Compressor Efficiency
n_T=0.83; // Turbine Efficiency
gamma_g=1.33... |
7cc00f4efc9a2a0720fd3052838ff8dcdb1721e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH9/EX9.4.2/9_4_2.sce | 7e1a92ff6b3eee998c382c9b22540db32061a38d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sce | 9_4_2.sce | clc
//initialisation of variables
R1= 9.5 //lbf
f1= 0.01
S1= 22 //ft^2
U1= 5.3
n= 1.825
l= 540//ft
l1= 15 //ft
C= 0.0087//lbf/ft^2
//CALCULATIONS
Rr1= R1-f1*S1*U1^n
U= U1*sqrt(l/l1)
r= (l/l1)^3
Rr= r*Rr1
Rf= C*(l/l1)^2*S1*U^n
R= Rr+Rf
P= R*U*1.69/550
//RESULTS
printf (' propulsive power= %.f h.p',P)
... |
ef054055bc9b4858d4398b01f22fdddf3863af44 | 9b68b3d73b63ebcbfe18cc9a4aa8e91c84833a84 | /tests/libs/hdf5/test-h5-wrappers-new/C/H5G/testfiles/112/h5ex_g_corder.tst | 9c07737881fdeeba4cdd5cc5df6c08e83d459cc3 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-llnl",
"LicenseRef-scancode-hdf4",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | openhpc/ohpc | 17515db5082429eb9f250f12bf242b994beb715f | 725a1f230434d0f08153ba1a5d0a7418574f8ae9 | refs/heads/3.x | 2023-08-19T02:15:14.682630 | 2023-08-18T19:33:51 | 2023-08-18T19:34:18 | 43,318,561 | 827 | 247 | Apache-2.0 | 2023-09-14T01:22:18 | 2015-09-28T18:20:29 | C | UTF-8 | Scilab | false | false | 183 | tst | h5ex_g_corder.tst | Traversing group using alphabetical indices:
Index 0: 5
Index 1: D
Index 2: F
Index 3: H
Traversing group using creation order indices:
Index 0: H
Index 1: D
Index 2: F
Index 3: 5
|
4f49e58dc916f5d216926c1df38dfa87813d08b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH16/EX16.1/Ex16_1.sce | 9b032877c52249c83d7d2c5996cd16f484a97e78 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 369 | sce | Ex16_1.sce | //Example 16.1
x=-1.20*10^-2;//Displacement (m)
m=80;//Mass of the person (kg)
g=9.80;//Acceleration due to gravity (m/s^2)
w=m*g;//Weight of the man (N)
F=w;//Force (N)
k=-F/x;//Force constant (N/m)
printf('The force constant of the suspension system = %0.2e N/m',k)
//Openstax - College Physics
//Download for... |
eced6dd5a563a41b0b440f595b581fd26b4967c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH1/EX1.29/Example1_29.sce | bf55e133df7096ede87820f744e5cd4e21ccfc30 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | Example1_29.sce | // Example 1.29
clear; clc; close;
format('v',7);
// Given data
PA=12;//no. of poles
Ns=500;//in rpm
N=1440;//in rpm
//Calculations
//Formula : Ns=120*f/PA
f=Ns/120*PA;//in Hz
PM=4;//assumed for motor
Ns=120*f/PM;//in rpm(For motor)
S=(Ns-N)/Ns*100;//slip in %
disp(S,"Slip in % :");
|
ccd64d996b4b99c1a8cd1f413d8bda0992c458fa | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.9_2.tst | 35adbfda1d0308b69f1fbb6fe5ad0e433c7a2652 | [] | 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 | 42,946 | tst | bow.9_2.tst | 9 4:0.5 9:2.0 12:1.0 14:1.0 30:0.13333333333333333 39:1.0 43:0.5 46:0.25 53:1.0 56:0.125 63:0.2 68:0.125 82:0.2222222222222222 96:2.0 184:1.0 190:1.0 259:1.0 286:0.16666666666666666 344:1.0 352:0.034482758620689655 357:0.125 359:0.3333333333333333 399:1.0 531:1.0 591:1.0 596:0.1111111111111111 616:1.0 724:1.0 787:1.0 8... |
6123946aa73e97aecbfbc98677933d53b9c91aec | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronics_Devices_And_Circuit_Theory_R._L._Boylestad_And_L._Nashelsky_69.zip/Electronics_Devices_And_Circuit_Theory_R._L._Boylestad_And_L._Nashelsky_69/CH2/EX2.16.a/2_16_a.sce | d2df474f82678e811954114efbf3ea48ce3b3fa0 | [] | 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 | 466 | sce | 2_16_a.sce | mode(2);errcatch(-1,"stop");driver("GIF");clear; clc;
Vm = 20;
Vdc = -0.318*Vm;
disp(Vdc,'Dc volatge for ideal diode :');
t = 0:0.1:4*%pi;
x = 20*sin(t);
for i=1:length(t)
if(x(i)<=0)
y(i) = x(i);
else y(i)=0
end
end
plot(t,y)
xtitle('output for ideal diode','t','... |
6030b8f9df63ab732b8e147c62cfb8239532a2ca | 1b3c63cb7f854378c5f1991637692ae2bf8265ac | /realp/testrealp.sce | 53bc801d7b690936c29bfd708d6b856b405499d8 | [] | no_license | FOSSEE-Internship/FOSSEE-Control-Systems-Toolbox | 9900107267e5f508f77858d128e01293966e9e10 | 2878a38e4e55806b1777f9da2e0395f321e1c952 | refs/heads/master | 2020-12-02T18:20:34.659219 | 2017-10-26T12:26:57 | 2017-10-26T12:26:57 | 96,516,803 | 0 | 1 | null | 2017-10-26T13:44:56 | 2017-07-07T08:24:44 | Scilab | UTF-8 | Scilab | false | false | 138 | sce | testrealp.sce | //example
a=realp('a',5,-14,15,10) //non zero free values considered as 1(true)
disp(a)
b=realp('b',10)
disp(b)
b.value=50
disp(b)
|
20a963869c7cdee45c6d4f494d85b51373b65849 | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH10/EX10.8/Example10_8.sci | 4e5b97ac366c88fe289a49237b6b0ea24424282b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | Example10_8.sci | //Example 10.8
//User defined functions for string length and sring copy
function[count] = strlength(str)
count = 0;
count=length(str);
return count;
endfunction
function[dst] = strcopy(dst, src)
Length = strlength(src);
for i = 1 : Length
dst(i) = part(src,i);
end... |
9485d3e57c1e38434c8b1e7299bc328b7e83da12 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1.1/macros/calpol/horner.sci | 55db987000bed2f939bae6add9f85aaa909d8a1b | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 749 | sci | horner.sci | function [r]=horner(p,x)
// horner(P,x) evaluates the polynomial or rational matrix P = P(s)
// when the variable s of the polynomial is replaced by x
// x can be a scalar or polynomial or rational matrix.
// Example: bilinear transform; Assume P = P(s) is a rational matrix
// then the rational matrix P((1+s)/(1-s)) i... |
dc08de0b6576f60e0b6ca2903ee900e26ef80227 | 44f225adc0be4f9ecb45fb9fde03e74f23d7acb2 | /macros/more/erode.sci | e28cd892eb6bc7a6a876f575ae318e5a3aa261f9 | [] | no_license | harpreetrathore/scilab-IPT | 10c4996614f1c59972e59decd1b7171e7d5816e0 | db79f1370f3cb0a7716a8afcf1cf5fde9fe70aba | refs/heads/master | 2021-01-01T04:06:52.573735 | 2016-05-26T20:34:33 | 2016-05-26T20:34:33 | 59,781,201 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 319 | sci | erode.sci | //Function migration (image list to matrix) for: erode
//Generated by migrate.cpp
//Author: Anirudh Katoch
function res = erode(varargin)
select length(varargin)
case 05 then
res = il2mat(raw_erode(mat2il(varargin(01)), varargin(02), varargin(03), varargin(04), varargin(05)))
else
error(39)
end
endfunction |
afcc0e8943e5c7ecf10e5f13a8c6e3b88ed85a9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH1/EX1.42/example42.sce | c8dde05aa73245c8b6728c83c8271e9884adddc3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 612 | sce | example42.sce | //to find transfer function using mason gain formula
printf("syms G1 G2 G3 G4 H1 H2 H3 H4\n//gains of forward paths\nP1=G1*G2*G3*G4;//forward path1 gain\nP2=G1*G5;//forward path2 gain\n//gain of individual loops\nL1=-G1*H1;\nL2=-G3*H2;\nL3=-G1*G2*G3*H3;\nL4=-H4;\n//gain of two non touching loops\ng1=G1*G3*H1*H2;\ng2... |
9353d039fda1925187452dca45c5ca51fd637b0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH1/EX1.11/Ex1_11.sce | ad3b8ce414bc3dab2b44b94d0cc0bd871620ca5d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sce | Ex1_11.sce | //Example 1_11
clc();
clear;
//To find the refractive index of oil
v=0.2 //units in cm
area=1 //units in m^2
area=area*10^4 //units in cm^2
t=v/area //units in cm
n=1
lamda=5.5*10^-5 //units in cm
r=0 //units in degrees
u=(n*lamda)/(2*t*cos(r))
printf("Refractive index of oil is u=%.2f"... |
86f38825c2596f740ff7e6194e114fd97e927673 | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3913/CH12/EX12.25/Ex12_25.sce | 27f0ee3a52ae1cc6e7554348bcadea41ff4ce2d4 | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | sce | Ex12_25.sce | //Chapter 12 : Solutions to the Exercises
//Scilab 6.0.1
//Windows 10
clear;
clc;
//Solution for 7.1
//(a)
A=[1 2;2 -1;-1 0]
disp(A)
//(b)
B=[1 -2;-3 -2;2 3]
disp(B)
|
9f298c932e21170195f3214c7f8d575c4b30df76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH34/EX34.2/34_2.sce | ffc74a33cbf5db1ed294f38b28be3c1dcb522648 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,259 | sce | 34_2.sce | clear//
//Variables
n = 0.62 //Ratio of peak-peak voltage to the supply voltage
R = 5.0 * 10**3 //Resistance (in ohm)
C = 0.05 * 10**-6 //Capacitor (in Farad)
//Calculation
T = 2.3 * R * C * log10(1/(1-n)) ... |
d22c6e8f5c670cf0da2a017ef75218dc3ef19bd6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1784/CH26/EX26.2/example2.sce | 99b040d4a454bfd30da2e6222f85120d1a617b86 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | example2.sce | //Chapter26
//Example 2
clc
F=4.5 //Force of attraction in nt
q=1.3*10^5 //total charge in coul
r=q*sqrt((9*10^9)/F);
disp(r,"Seperation between total positive and negative charges in meters is")
|
6381be9715644ce5f38d6367e1af5ed8b4033220 | 53938ad1172790849e9fc4c5db5bec8478c91bc7 | /SimpsonCompuesta.sci | 644dc25240b46de9c4bcd24e49fa59c50c390502 | [] | no_license | JonasBarcat/metodos-numericos | ef1a8696d4d699011b44d7c49de2e4885c67797c | cb57c49e426e7d41374a40cb9f93713071c0fe31 | refs/heads/master | 2020-08-09T21:32:27.424462 | 2019-11-29T13:34:32 | 2019-11-29T13:34:32 | 214,179,750 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 619 | sci | SimpsonCompuesta.sci | function []=Simpson(x,funcioncita)
h=x(2)-x(1);
//suma de pares
i=2;
sumapares=0;
while (i<length(x))
sumapares=sumapares+funcioncita(x(i));
i=i+2;
end
// printf('resultado %f',sumapares);
//suma de impares
i=3;
sumaimpares=0;
while ... |
d7e163663d63f03d02a9ba2a813332d8bbcbecd6 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/int3d.man.tst | 8fe3f9842d97f48aaf9684d756d9a10e2db99b76 | [
"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 | 247 | tst | int3d.man.tst | clear;lines(0);
X=[0;1;0;0];
Y=[0;0;1;0];
Z=[0;0;0;1];
deff('v=f(xyz,numfun)','v=exp(xyz''*xyz)')
[RESULT,ERROR]=int3d(X,Y,Z,'int3dex')
// computes the integrand exp(x*x+y*y+z*z) over the
//tetrahedron (0.,0.,0.),(1.,0.,0.),(0.,1.,0.),(0.,0.,1.)
|
e23934595454e0d145d71606419ca96d0cae9a89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1244/CH2/EX2.1/Example21.sce | e25772e8a3e69862a59bba2d37cbbf369582ae95 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 650 | sce | Example21.sce |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clc;
disp("Principles of Heat Transfer, 7th Ed. Frank Kreith et. al Chapter - 2 Example # 2.1 ")
//Heat generation rate in W/m3
qg = 1000000;
//Length along which heat will be dissipated in m (thickness)
L = 0.01;
//Th... |
b77d7162c073cf4a1db1b26b230db39f91048335 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3511/CH7/EX7.1/Ex7_1.sce | ea1631c34e173df3ca8e5e7ed55fd2ad5454c89e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex7_1.sce | clc;
CV=43; // Calorific value of fuel in MJ/kg
mf=0.18*9000/3600; // Fuel consumption in kg/s
F=9; // Thrust in kN
ci=500; // Aircraft velocity in m/s
ma=27; // Mass of air passing through compressor in kg/s
A_F=ma/mf; // Air fuel ratio
PT=F*ci; // Thrust power
Q=mf*(CV*10^3); // Heat supplied
eff=PT/Q; // ... |
0c4b248d0384b5295a845dfd0206f5c4f16c693e | 9c28c5dc35e828dd2bbc3af2d3ab2074fc01ac62 | /C-Prototype/compression/decompress/name/name.tst | da0027f39ac95959ecf0d2b5fd6b558e8086365e | [] | no_license | xang/HW_Genome_Compression_Acceleration | 2ecb44c4c51fdef6036959571a0871f1fe5a6032 | 72c93b364aaf65929d099cac1b98c7e66782bb53 | refs/heads/master | 2020-05-30T08:12:17.245235 | 2018-10-08T06:44:19 | 2018-10-08T06:44:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,535 | tst | name.tst | @HISEQ-MFG:461:C70PYACXX:8:1101:1952;1990 1:N:0:GCCAAT
@HISEQ-MFG:461:C70PYACXX:8:1101:1789;1995 1:N:0:GCCAAT
@HISEQ-MFG:461:C70PYACXX:8:1101:2041;1984 1:N:0:GCCAAT
@HISEQ-MFG:461:C70PYACXX:8:1101:2077;1988 1:N:0:GCCAAT
@HISEQ-MFG:461:C70PYACXX:8:1101:2057;1995 1:N:0:GCCAAT
@HISEQ-MFG:461:C70PYACXX:8:1101:2161;1995 1:N... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.