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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f726ab393e4a79d4938056ad5300fcf7db13e3b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH5/EX5.41/Ex5_41.sce | 5c5ae70f5514e591a2b8bff46b1c7043fe9c36bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 635 | sce | Ex5_41.sce | clc
R=500 // cost of ordering in Rs per order
A=12000 //annual consumption units
C=3.00 // unit cost of item
K=3 // unit storage cost
I1=0.2 // interest rate
function y=f(N)
function G=f2(N)
G=C*A+I1*C*N/2+K*N/2+A*R/N // total cost per year
endfunction
y=derivative(f2,N)
endfunction
funcprot(0)
N=fsolve(... |
10b2f896337d556997d14e72d918a0a567bccb48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2282/CH3/EX3.6/ex3_6.sce | 7f6439591194256b3e3e03489b0bd754dd6fc1a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 364 | sce | ex3_6.sce | // Example 3.6, page no-76
clear
clc
A=15000*10^3 //Original apogee distance
A1=16000*10^3 // Raised opogee distance
P=7000*10^3 // Perigee Distance
mu=39.8*10^13 //Nm^2/kg
A_d=A1-A
v=sqrt((2*mu/P)-(2*mu/(A+P)))
v=v*P/A
del_v=A_d*mu/(v*(A+P)^2)
printf("required ... |
6ba9655050b0d2dc05aa4d71bf5862d87505682e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH8/EX8.15/exa_8_15.sce | 9e510050ba3c7b4b13c58a60be396880f573205e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exa_8_15.sce | //Exa 8.15
clc;
clear;
close;
//given data
U=1800;// in W/m^2 degree C
h_fg=2200*10^3;// in J/kg
t_ci=20;// in degree C
t_co=90;// in degree C
del_t1=120-20;// in degree C
del_t2=120-90;// in degree C
del_tm=(del_t1-del_t2)/log(del_t1/del_t2);// in degree C
Mc=1000/3600;// in kg/s
Cc=4180;// in kg/s
// Ra... |
6099688afcd108d682e4816da37815fb9430f96e | 6026fe875fa9c0110c09a7af4fc3aa26baa29995 | /bisectionM.sce | a01c67d6fb8663d07b6f88fa129486e0b1cfacf8 | [] | no_license | mektor/numMethodsP1 | a31e8db089be7c00edde92506154585cb14b894f | 407f8b144e8ed1ced701a8dccba076cff059ddbf | refs/heads/master | 2021-01-23T23:20:12.806163 | 2015-09-03T15:36:09 | 2015-09-03T15:36:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 739 | sce | bisectionM.sce | clear
xl= input("valor de xl: ")
xu= input("valor de xu: ")
xm=(xl+xu)/2
disp(xm,"root: ")
for i = 0:9
disp(i,"...")
xmt = xm
xm=(xl+xu)/2
fxlm= (xl^3-.165*xl^2+3.993*10^(-4))*(xm^3-.165*xm^2+3.993*10^(-4))
if fxlm>0 then
xl=xm
xu=xu
... |
bb16a2bd4182904ce3bd6b4885d34f5370734bef | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH8/EX8.7/Ex8_7.sce | 63280be96e35de729e3ff9932e9405ebae495666 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,898 | sce | Ex8_7.sce | clear all; clc;
disp("Velocity diagrams at the rotor inlet and outlet are given.")
disp("Velocities at the rotor inlet can be calculated .")
r2=5/12
N=15000
U2=r2*N*%pi/30
printf(" U2=r2*N*pi/30 = %0.1f ft/s",U2)
alpha2=85*%pi/180//converting to radians
V2=U2/sin(alpha2)
printf("\n V2= %0.0f ft/s",V2)
... |
b214d81c3903feb931feaf75bfe076da4b1e9e9e | e2cee73f9682b79c4a5d6a1e6381cf6679dc1094 | /TP_AN/TP3/test.sce | 2a4099c14d52bfc40e343839ca533da34317a47d | [] | no_license | melurne/TP_ANgit | b1b91e444aef30706fef0cac4da9355d4d04e1aa | 59c1aa6a5261f9753e108877079a495d5b95fb50 | refs/heads/master | 2023-04-19T09:23:02.045251 | 2021-05-17T14:56:34 | 2021-05-17T14:56:34 | 350,416,537 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 849 | sce | test.sce | function [y] = f(x)
y = 0.1*x^3 + 0.5*x -8;
return;
end
function [y] = f2(x)
y = x^2-2;
return;
endfunction
function y = f3(x)
y = 1/x-3;
return;
endfunction
function y = f3prime(x)
y = -1/x^2;
return;
endfunction
function y = taux_de_rente(x)
M = 6000;
A = 1000;
n = 5;
... |
962581f0a0442fee328a6bef96b2f29d4dec2eb1 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_e_usi/~BivLCM-SR-bfi_e_usi-PLin-VLin.tst | cf20796e3403077f766d41cec1abee43e6b7e614 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfi_e_usi-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.518918D+00
... |
be1dbaa6a7de4e0c321ae1c760f5d81e3a872393 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH4/EX4.65/example4_65.sce | 7e70f8956af59385ed3a1ac24bbf47a05161d06e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 343 | sce | example4_65.sce |
//example 4.65
//calculate recurrence interval of 10 minutes storm using Gumbel's method
clc;funcprot(0);
//given
xavg=1.65; //mean of data
sigma=0.45; //standard deviation
x=3;
y=1.2825*(x-xavg)/sigma+0.577;
l=%e^(%e^(-y));
T=l/(l-1);
T=round(T*10)/10;
mprintf("recurrence interval of 10 minutes... |
bea73442cb06f0286d560bb93aa61a0667912bcb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH2/EX2.3/Ex2_3.sce | 15e5c64e6281077d4d467fbcbae20ef6e9120bd3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_3.sce | clear all; clc;
//This numerical is Ex 2_3,page 19.
// This numerical is used an example to teach conversion factors
rho=0.85*62.4
p=50//in psi
g=32.2
disp("Since pressure is the product of density,gravitaional accelaration and head, we can convert pressure in psi to head in ft using suitable conversion facto... |
8635d9d4a07fa7cfc721d6c8049944cc584091a7 | c908c5ec283c57c29da044966fce0fee1f659873 | /codes/Algoritmo do Método de Lagrange.sce | 680648b702df95e26a67b0ba769c4f8a7c4b2861 | [] | no_license | marialago/numerical-computation | 3ca0e95c637c1d4d3ea79789d1bda0b84ca29ca5 | c88c0ddc6f7501ed115556f72f5f5db3a8610f6b | refs/heads/master | 2022-10-30T01:42:21.032196 | 2020-06-14T18:33:45 | 2020-06-14T18:33:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sce | Algoritmo do Método de Lagrange.sce | function s=lag(x,p)
n=length(x)
y=f(x)
s=0
for i=1:n
L=1
for j=1:n
if j<>i
L=L*(p-x(j))/(x(i)-x(j))
end
end
s=s+y(i)*L
end
endfunction
function y=f(x)
y=sin(x);
endfunction
|
e7064515bfa5e5be665a9303842caeb8cc55a505 | f61fc5f9d8415f72e01ba3158422f55376e459db | /session/papyros/stages/u2t/dash/filters/sidebar/artwork/scroll_bar.sci | 27efca50f9e38e5c2637ba533ef139236216ba34 | [] | no_license | JosephMillsAtWork/u2t | 58c226eb15710affeceb41a747ca031dbaf0e5ca | b0f0f6de19ea21648cfd692f6f8afd8b60565fc9 | refs/heads/master | 2021-01-10T16:39:13.317851 | 2016-01-27T23:01:35 | 2016-01-27T23:01:35 | 50,544,130 | 2 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 141 | sci | scroll_bar.sci | border.top: 12
border.bottom: 12
border.left: 12
border.right: 12
source: scroll_bar.png
horizontalTileRule: Repeat
verticalTileRule: Repeat
|
412f4b311ad232dcada323f48531a56869ff2de6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1784/CH33/EX33.1/example1.sce | 41ea3856fda6e51a116d79e66542b8598e8cb04f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | example1.sce | //chapter 33
//example1
clc
//given
K=5*10^6 //ev
e=1.6*10^-19 //in coul
K1=K*e //in joules
m=1.7*10^-27 //in kg
B=1.5 //wb/m
theta=%pi/2
v=sqrt(2*K1/m)
disp(v,"Speed of the proton in meters/sec is")
F=e*v*B*sin(theta)
disp(F,"Force acting on proton in nt is")
|
7e9754c81ba891c9d91eacbe711c794c26179936 | 449d555969bfd7befe906877abab098c6e63a0e8 | /605/CH11/EX11.1/11_1.sce | f6cf6de6dfd6c8771b05d334a3f948af7c0201a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 405 | sce | 11_1.sce |
function x=mod(n)
r=real(n)
i=imag(n)
x=sqrt(r^2+i^2)
endfunction
S11=0.894*exp(-%i*60.6*%pi/180)
S12=0.02*exp(%i*62.4*%pi/180)
S21=3.122*exp(%i*123.6*%pi/180)
S22=0.781*exp(-%i*27.6*%pi/180)
del=mod(S11*S22-S12*S21)
k=(1+mod(del)^2-mod(S11)^2-mod(S22)^2)/2/mod(S12*S21)
disp(del,"|del|=mod(S11*... |
9aed9d3700edce48e1e9cb88c15dff87978e1f1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH7/EX7.5/7_5.sce | e879350d9859355a82e7a9755fbd38c92d030d38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,022 | sce | 7_5.sce | //Example 7.5
//Stirlings Central Difference Derivatives
//Page no. 238
clc;close;clear;
printf(' x\t\t y\t\t d\t\t d2\t\t d3\t\t d4\n')
printf('-----------------------------------------------------------------------------------------')
h=0.1;s=1;
e=[1,6,30]
deff('y=f1(x,s)','y=((z(x,3)+z(x-1,3... |
7f2cedf608a2832ba5e3b6f894aac53c8dcd81b0 | a5935ffd4c3e88a093772c6425f2ca451f4fea86 | /DENNISTSP/tsp/data/1000_2.tst | 21fb7472493c9edf72daa085bdb06fb1cbccda34 | [
"MIT"
] | permissive | Sebelino/Avalgprojekt | 1d4453deac2b3929e52671f2bb7fdb4e902ce187 | 18609887211e7e886910faaa7bbebe686c2c1aeb | refs/heads/master | 2021-01-01T17:17:17.009999 | 2013-12-06T18:23:55 | 2013-12-06T18:23:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 24,784 | tst | 1000_2.tst | 1000
-672316.1449 919917.3207
453624.8671 -709011.3311
-390122.4827 556594.7763
341821.6095 -839402.8127
-282355.7888 -183500.1548
-478785.4663 -610357.5215
-237076.7649 -907172.3119
-72817.5938 820024.8382
-365646.2068 -132055.0214
-585681.0783 -877596.4141
578495.7464 -459116.2628
902850.9394 876213.6468
318626.4073 ... |
f171327c3ad4bcf01fa130629fe51c2acaeb1425 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH14/EX14.5/Ex14_5.sce | da24cff64bb9beccc7509f52f3306f2d7a486886 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | sce | Ex14_5.sce | clc;
f0=40;
fc1=8;
fc2=(f0)^2/(fc1);
BW=fc2-fc1;
disp('kHz',BW,"BW=")//The answers vary due to round off error
disp('kHz',fc2,"fc2=")//The answers vary due to round off error
|
c2b16995d03078b09533ec898bcada898071bffb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH4/EX4.19/Ex4_19.sce | 924f66ce72f5af0111cdc83c7ca2bff9370bb34b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sce | Ex4_19.sce | // Example 4_19
clc;funcprot(0);
// Given data
V=300;// ft^3
T=800;// °C
P=500;// psia
P_4=500;// psia
// Calculation
// (a)
Q=0;// Btu/lbm
m_i=0;// lbm
// From Table C-3E,
h_1=1412.1;// Btu/lbm
u_f=h_1;// Btu/lbm
// At T=1100,u_f=1406.0;T=1200,u_f=1449.2
T_f=(((u_f-1406.0)/(1449.2-1406.0))*(1200-1100)... |
8b003830e1673b681069ad9cc1cf5558b8357687 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH5/EX5.4/C5P4.sce | 9b7f6c25044390fdbf2072623a80fdee5f157dcf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | C5P4.sce |
clear
clc
//to find tension in the string and normal force exerted on the block by the plane
//to analyse the motion when the string is cut
// GIVEN::
//refer to figure 5-7(a) on page no. 92
//mass of block
m = 18//in kg
//angle of inclination of plane
theta = 27//in degrees
//acceleration due to gravity... |
3cef7e49bb48c6b287612e2329182d0955c3f858 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH12/EX12.5/125.sce | 7d868812b5df9a65830ac9abd18dc47dc015fe7e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 567 | sce | 125.sce | clc;
//Example 12.5
//page no 128
printf(" Example 12.5 page no 128\n\n");
SG=0.96//sp.gravity of a liquid
R=0.03//radius of long circular tube through which liquid flow
//flow rate is related with the diameter of circular tube
q=2*%pi*(3*R^2-(200/3)*R^3);
printf("\n volumatric flow rate q=%f m^3/s",q);
rho... |
91a1ea7dd3d639c4928d804e3aa1eb984d464d7e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3836/CH9/EX9.13/Ex9_13.sce | 273a8d30587e03887c5e30881fab205f4bb71aa0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 198 | sce | Ex9_13.sce | clear
//Initializaton
n='f851' //Hex Number
//Calculation
w=hex2dec(n) //Hex to Decimal Coversion
w1 =dec2bin(w)
//Result
printf("\n Binary of f851 = %s",(w1))
|
9df3a085b9acf0cc7787a823b7b396229fde2554 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH19/EX19.20/example20_sce.sce | e439f99bcf890aee6c2fe945da6dbb26f889e4d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example20_sce.sce | //chapter 19
//example 19.20
//page 865
printf("\n")
printf("given")
Vcc=12;Rl=10;R9 = 100;Rd=.5;gfs=2.5;R7=820;V9=1*10^3;R10=R9;Is=2.0*10^-3;
Vp=(Vcc*Rl)/(Rd+Rl)
Ip=Vp/Rl
Vgs=Ip/gfs
Vr7=Is*R7
Vs=Vcc-Vr7-Vgs
disp(" op-amp peak output voltage is")
Vr9=(Vp*R9)/(R9+R10) |
f7a19391513f1b5309ff175cdcafcca384ea471a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH7/EX7.20/Ex7_20.sce | a6662702b93f0d76b1167c19e933a9481bea5077 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 672 | sce | Ex7_20.sce |
clc
clear
//Input data
p=1.5//Pressure in bar
x1=0.9//Dryness fraction
m=7//Steam flow rate in kg/s
N=3000//Turbine speed in rpm
x=0.7//Velocity ratio
y=0.75//Velocity ratio
a=20//Exit angle in degrees
b2=a//Angle in degrees
hx=1/10//Fraction of height
//Calculations
v=0.001052+x1*1.15937//Specific volu... |
b45908e78bea3fff89433c4812db17216f7fdd4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3809/CH5/EX5.6/EX5_6.sce | bd9880b74cdc1fc544d173ad43afad3a6ded6191 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 248 | sce | EX5_6.sce | //Chapter 5, Example 5.6
clc
//Initialisation'
L=10**-2 //inductance
I=5 //current in ampere
//Calculation
e=(1/2)*L*I**2 //stored energy
//Results
printf("Stored Energy = %d mJ",e*10**3)
|
8e5a3c4d2acbb605737e5732d7f08d8291fd6012 | 61512f592d32560e385c20528d5cb097ec1979bd | /gradient.sce | 3402f290ddd047e9b031887396034a85b2075864 | [] | no_license | htailfer/gradient_algorithm | a26402a0e5c854c3a5f737e41f5a0e0efd30588d | 4c4d9a38a04877733af4969a198c16a0d440083c | refs/heads/master | 2022-04-21T01:40:22.290620 | 2020-04-15T08:54:31 | 2020-04-15T08:54:31 | 255,858,914 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,418 | sce | gradient.sce | function y=J(x)
y=10*(x(2)-x(1)^2)^2-(x(1)-1)^2
endfunction
function y=nablaJ(x)
y=([-40*x(1)*(x(2)-x(1)^2)+2*(x(1)-1);20*(x(2)-x(1)^2)])
endfunction
function y=hessJ(x)
y=[-40*x(2)+120*x(1)^2+2,-40*x(1);-40*x(1),20]
endfunction
x=-1:0.01:2;y=-1:0.01:2;
z=zeros(length(x),length(y))
for i=1:length(x)
for... |
128a7f9920df5fc3c3ad1821149e666b394066e9 | 7d5f639d96c00f6068c51c15df7b40cf8e959f09 | /code/ressources_q7aq10.sci | d2efa3cbae1d7f5c6a9739236e29acb0086c768a | [] | no_license | XAMEUS/MN | daf13aac1f92cf5137e55189e8d23bb42fe1a747 | 36e3f0e34c07641cdee4b401a98478822e0dee46 | refs/heads/master | 2021-03-24T11:50:44.826039 | 2017-05-02T19:54:26 | 2017-05-02T19:54:26 | 86,677,617 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 484 | sci | ressources_q7aq10.sci | n = 100
l = 10
function c=C(x, l)
c = exp(-x/l)
endfunction
function c=Ci(i, n, l)
c = i * 2 * l / (n + 1) - l
c = C(c, l)
endfunction
function [D, SD]=gen_matriceA(n, l)
D = zeros(n, 1)
SD = zeros(n-1, 1)
for i=1:n-1
SD(i) = -Ci(i+1/2, n, l)
D(i) = Ci(i-1/2, n, l) + Ci(i+1/2, ... |
e306f09ffc1cdf9e8757a0fff00220e29731ccad | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/percent.man.tst | d55cd9214dbe82d4063974aa7d802966e3532b30 | [
"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 | 123 | tst | percent.man.tst | clear;lines(0);
x1=tlist('x',1,2);
x2=tlist('x',2,3);
deff('x=%xmx(x1,x2)','x=list(''x'',x1(2)*x2(2),x2(3)*x2(3))');
x1*x2
|
1e11676f58ff9b4fb09a9553047fb5136c45fee2 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/interpreter/sbc05.tst | 970e71c53fb1a704f6f28d6954ebc320d70d0123 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | tst | sbc05.tst | ; @Harness: simulator
; @Format: atmel
; @Arch: avr
; @Purpose: "Test the SBC (subtract two registers with carry) instruction"
; @Result: "flags.h=0, flags.s=0, flags.v=1, flags.n=1, flags.z=0, flags.c=1, r16 = -128"
start:
ldi r16, 0b01000000
ldi r17, 0b11000000
sbc r16, r17
end:
break
|
336780307de46a6174f1adcdb06ba43c4a58a646 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH11/EX11.1/11_1.sce | d1102b9552a2b31b75063da17c6499204a1e88cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 144 | sce | 11_1.sce | clear; clc; close;
Rf = 200*10^(3);
R1 = 2*10^(3);
Vi = 2.5*10^(-3);
A = -Rf/R1;
Vo = A*Vi;
disp(Vo,'Output voltage(Volts) = ');
|
9206a71ebae9af0bd47a15fada502383579981cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH12/EX12.4/Chapter12_example4.sce | fd3e92a03c23106505b3059546b570ea350340ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 399 | sce | Chapter12_example4.sce | clc
clear
//Input data
l=1*10^-10//Wavelength of the x-ray in m
P=1*1000//Output power in W
h=6.625*10^-34//Plancks constant in J.s
c=3*10^8//Velocity of light in m/s
//Calculations
E=((h*c)/l)/10^-15//Energy of the photon in J*10^-15
n=(P/(E*10^-15))/10^17//The number of photons emitted per second*10^17
... |
dae271aa623b0c8d627808b948cdd4faa41e9530 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1022/CH4/EX4.3/4_3.sce | a1fc567e142936d1a228d6bc0620c366f3a9b1f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 140 | sce | 4_3.sce | clc
//initialisation of variables
Ku= 40 //SUS
//CALCULATIONS
SU= 0.0022*Ku-(1.8/Ku)
//RESULTS
printf ('Stoke Units= %.3f stoke',SU)
|
1fff8212b5a868b2bf9f04409195cb255459122a | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/2dof_controller/dc/mpc/scilab/gpc_N.sci | 2ea6f92007b6f3737b448ae6bbdbbb220f16b115 | [] | 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 | 891 | sci | gpc_N.sci | // Updated(19-7-07)
// 12.5
function [K,KH1,KH2,Tc,dTc,Sc,dSc,R1,dR1] = ...
gpc_N(A,dA,B,dB,k,N1,N2,Nu,rho)
D=[1 -1]; dD=1; AD=convol(A,D); dAD=dA+1;
zj = 1; dzj = 0;
for i = 1:N1+k-1
zj = convol(zj,[0,1]); dzj = dzj + 1;
end
G = zeros(N2-N1+1,Nu+1);
H1 = zeros(N2-N1+1,k-1+dB); H2 = zeros(N2-N1+1,dA+1);
for j = ... |
6644c1c360c86645ac706fa937fd4fa06a55ab58 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-MathematicalFunctions/FLLCM-NZ-01.tst | 3304045d8b6b9f20d106ac08ebd7c00ef98d7384 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,316 | tst | FLLCM-NZ-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Teradata
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
... |
e370514c6b174d54bb63b4fae0dc942515535133 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH2/EX2.1/EXAMPLE2_1.SCE | 70727e713dea2dec913cef8c7fb4db402ceebc2d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sce | EXAMPLE2_1.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 2
//AMPLITUDE MODULATION
clear all;
clc;
printf("EXAMPLE 2.1(PAGENO 51)");
//given
L = 50*10^-6//in henry
C = 1*10^-9//in farads
//calculation
F_c = 1/(2*%pi*sqrt(L*C));
//results
printf("\n\nCarrier frequency F_c = %.2f Hz",F_c);
printf("... |
aeab5ae868e4c2a50a757407fae34c522537e739 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH8/EX8.6/Chapter8_Example6.sce | d22b112053e583e85f125c9fe97bfa27712bed09 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 814 | sce | Chapter8_Example6.sce | clc
clear
//Input data
x1=10;//The thickness of the ice layer on the surface of a pond in cm
x=5;//The increase in the thickness of the ice when the temperature is maintained at -10 degree centigrade in cm
x2=x1+(x);//The increased thickness of the ice layer on the surface of a pond in cm
T=-10;//The temperat... |
012d638b530e27d7b565ea814cceb38b911d8cb5 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /sergeant vs 2 rocket queens no weapon.sce | 19f15b6e7ee6f29f86a77dcf3b8210a036c2a1d8 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 32,234 | sce | sergeant vs 2 rocket queens no weapon.sce | Name=sergeant vs 2 rocket queens no weapon
PlayerCharacters=Sergeant 87
BotCharacters=Rocket Flyer Bot.bot;Rocket Flyer Bot.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Sergeant 87
AddedBots=Rocket Flyer Bot.bot;Rocket Flyer Bot.bot
PlayerMaxLives=0
BotMaxLives=0;0
PlayerTeam=0
BotTeams=0;0
MapName=kovaim1.map
Map... |
fe4a8c7310ad21ecd2c86c7808190ca4ade06aef | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH22/EX22.16/Ex22_16.sce | a2d3684394f96803c95157e2ebda640e1b1409d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,398 | sce | Ex22_16.sce | // Example 22_16
clc;funcprot(0);
//Given data
T_1=459;// °C
T_3=420;// °C
p_1=70;// bar
p_2=25;// bar
p_3=10;// bar
p_4=0.07;// bar
n_t1=78.5/100;// The isentropic efficiency of the H.P turbine
n_t2=83/100;// The isentropic efficiency of the L.P turbine 1
n_t3=83/100;// The isentropic efficiency of the L.P ... |
d259c9cd61572dacf07266e43e05977e23df8c18 | 0c5d5d2faf2e20464f1d35715b838f50a335ddf5 | /tests/create.tst | 8ecfb2f6b94bf5f42f4399b761029cd98e0fd7f6 | [] | no_license | lmartel-school/cs244b-lab1 | cb0ed7fed5ab53c7673b7ae18cfb99e9f4c23a55 | f855aa381796cd82c40b0863e39eb41bff5ec820 | refs/heads/master | 2021-01-04T22:33:18.154316 | 2014-10-19T21:36:41 | 2014-10-19T21:36:41 | 25,385,346 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 90 | tst | create.tst | create BADPATH 123
create /test 123
create /test 123
create /test/b abc
create /foo/c def
|
c82b3c018cd87f49fbfd46419e95395ac916cb9c | ece5c630921508b439ed25c5f7ab3db5a66f7a1a | /Assignment2_Team8/Demux2Bit1to8.tst | 5c7d85c625862ecd9e66aebc0b8cfa69750dafc0 | [] | no_license | VedantS01/HDLProjectsCS2310 | f8d17d1c9c28034a21026a4fbe2ae5d38cf39330 | d2a39a4c062173475bd06ff0b3396f1ac6303103 | refs/heads/main | 2023-06-19T20:42:48.411561 | 2021-07-14T19:37:51 | 2021-07-14T19:37:51 | 386,054,022 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,453 | tst | Demux2Bit1to8.tst | load Demux2bit1to8.hdl,
output-file Demux2bit1to8.out,
set d0 1,
set d1 1,
set s0 0,
set s1 0,
set s2 0,
eval,
output-list d1%B3.1.3 d0%B3.1.3 s2%B3.1.3 s1%B3.1.3 s0%B3.1.3 ,
output;
output-list y10%B3.1.3 y00%B3.1.3 y11%B3.1.3 y10%B3.1.3 y21%B3.1.3 y20%B3.1.3 y31%B3.1.3 y30%B3.1.3 y41%B3.1.3 y40%B3.1.3 y51... |
e5cf090aca3c48d142c6f5531a69564e4dda119f | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machinery_And_Transformers_B._S._Guru_And_H._R._Hiziroglu_380.zip/Electric_Machinery_And_Transformers_B._S._Guru_And_H._R._Hiziroglu_380/CH1/EX1.6/ex1_6.sce | d7301fbb4780e2f3895a2b465660cb017d871306 | [] | 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 | 1,008 | sce | ex1_6.sce | errcatch(-1,"stop");mode(2);//Caption:Determine load current,load voltage,load power and power factor
//Exa:1.6
;
;
//Refer to the fig:1.16
R=40;//in ohms
L=%i*30;//in ohms
V=117*((cosd(0)+%i*sind(0)));//in Volts
//Equivalent load impedance is obtained by parallel combination of Resistance R and Inductance L... |
5718e71b609e265d95503e9b7f547665d34bc609 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH9/EX9.10/9_10.sce | 2792ac5f6713babd31028d1b052b9bebbf48853a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 970 | sce | 9_10.sce | //pathname=get_absolute_file_path('9.10.sce')
//filename=pathname+filesep()+'9.10-data.sci'
//exec(filename)
//Initial pressure(in bar):
p1=1
//Initial temperature(in K):
T1=27+273
//Pressure at state 2(in bar):
p2=5
//Isentropic efficiency:
nc=0.85
//Temperature at state 3(in K):
T3=1000
//Pressure at sta... |
5ba1ecefcb0b1e89fbcfc64f8a39b4068c569713 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH5/EX5.17/Example5_17.sce | d764de5591b3068fde4de70c75f1da08a61b69c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 774 | sce | Example5_17.sce | //Exa 5.17
clc;
clear;
close;
//Given data :
P=10;//MWatt
pf=0.8;//power factor
VRL=30*10^3;//Volt
R1=5.5;//ohm
XL1=13.5;//ohm
R2=6;//ohm
XL2=11;//ohm
ZA=R1+%i*XL1;//ohm
ZB=R2+%i*XL2;//ohm
S=P*10^3/pf*expm(%i*%pi/180*(-36.52));//kVA
SA=S*ZB/(ZA+ZB);//kVA
disp("Load supply by line A(kVA), magnitude is "+... |
08efe904d6a1ca31d13c42e58b9aafc984b34908 | c04f5a41550dc954fc2aaed4cf249b522fa92680 | /Gauss.sce | 90688edae28dd8611067da19d1c068610d40e880 | [
"MIT"
] | permissive | miguel-mzbi/NumericMethods | 823a690b48a4d0fbcedd526ea79dce00675a9b75 | 8c26acae37395d6ba3e77fe21619077ca6b3608a | refs/heads/master | 2021-01-09T05:29:58.433274 | 2018-04-26T19:41:07 | 2018-04-26T19:41:07 | 80,778,424 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 577 | sce | Gauss.sce | a = input("A = ")
b = input("b = ")
X = [a b]
[rX cX] = size(X)
disp("Augmented matrix before gaussian elimination")
disp(X)
for p = 1:1:rX-1
pivote = X(p,p);
for i = p+1: 1: rX
primFila = X(i,p)
X(i, :) = X(i, :) - (X(p, :)/pivote)*primFila
end
end
disp("Augmented matrix after gaussian el... |
83e96836abb25015915867bfded7d5a313ed25c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH2/EX2.16.b/2_16_soln.sce | 4972e95f7ab12230a6c01c914a0dc48ffdb255fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sce | 2_16_soln.sce | clc;
pathname=get_absolute_file_path('2_16_soln.sce')
filename=pathname+filesep()+'2_16_data.sci'
exec(filename)
// Solution:
// Atmospheric Pressure,
Po=101000; //Pa
// Absolute Pressure(Pa) =Gage Pressure + Atmospheric Pressure
Pa=Pg+Po; //Pa
// Results:
printf("\n Results: ")
printf("\n The Absolute P... |
b3c268b933e4f87aecd4abd4a398952540dd086c | 71fc0b80f29bd03d097bc45e07b3184189b6445c | /nand2tetris/proj2/Add8.tst | 83ef8735d8efdbc6f0cf9f28c6ad65d9afd0969d | [
"MIT"
] | permissive | ethull/university | 05441b4a74833dd9ae2f904017bfe5140461f4af | 80e00400cf06e5574f4654f51d78544a5d7f66bb | refs/heads/main | 2023-06-08T00:52:03.533293 | 2023-05-25T15:37:21 | 2023-05-25T15:37:21 | 313,761,541 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 628 | tst | Add8.tst | // This file is BASED ON part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: project02starter/Add8.tst
load Add8.hdl,
output-file Add8.out,
compare-to Add8.cmp,
output-list a%B1.8.1 b%B1.8.1 out%B1.8.1;
set a %B00000000,
set b %... |
a486e5de6489a42181d3156318e09d596f017823 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH4/EX4.8/Ex4_8.sce | 4f13e42ad2dda46c4f7f9089d5c6d0ab841c86fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | Ex4_8.sce |
clc; funcprot(0);
// Initialization of Variable
alpha=0.0;//degrees
theta=25+45.0/60;//latitude in degrees
//calculation
delta=asin(sin(alpha)/sin(theta*%pi/180));
disp(delta,"declination in degrees")
clear()
|
db30726a445630e37c1bea775a8fc8f9a57977be | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH1/EX1.13/ex1_13.sce | d89a9b0f15f132dca509eb244aafe07c8615fbec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | ex1_13.sce | clc;
v=4; //volts
t=8; //time in sec
ch=4; //charge in Coloumb
c=ch/t; //current
p=c*v; //power
e=p*t; //energy
disp(c,"Current in Ampere = "); //displaying current
disp(p,"Power in Watt = "); //displaying power
disp(e,"Energy in Joule = "); //displaying energy |
1ea31da82d8a965237ca88dcc637cf291585092c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3731/CH6/EX6.4/Ex6_4.sce | 7ec27cbb1ab1f7f61003fc5f62eedeffad9719b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,842 | sce | Ex6_4.sce | //Chapter 6:Induction Motor Drives
//Example 4
clc;
//Variable Initialization
//Ratings of the motor are same as that in Ex-6.3
f=50 // frequency in HZ
Vl=400 //line voltage in V
P=6 // number of poles
//Parameters referred to the stator
Xr_=2 // rotor winding reactance in ohm
Xs... |
9aea62f7c18f138a09680aac799df17a89f951b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1709/CH3/EX3.4/3_4.sce | 977971fdb814ffde0ed228644382658acbc495c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 3_4.sce | clc
//Initialization of variables
P=20 //psia
V=1 //ft^3
T=560 //R
cv=0.1715
Q=10//Btu
//calculations
m=P*144*V/(53.35*T)
T2=Q/(m*cv) +T
P2=m*53.35*T2/V
//results
printf("Fina pressure = %d lbf/ft^2",P2)
|
ab2445d85f75ec7ae69f119a2ab8500dc4475009 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH6/EX6.2/Example6_2.sce | fecdf70b88fe5fd0f0e69c86928847e6beb25fe2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,206 | sce | Example6_2.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 6: AC DYNAMO VOLTAGE RELATIONS-ALTERNATORS
// Example 6-2
clear; clc; close; // Clear the work space and console.
// Given data
kVA = 1000 ; // kVA rating of the 3-phase alternator
V_L = 4600 ; ... |
66bb5a8bc4cc77cb4ee352211c790663cf0249be | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/2dof_controller/dc/mpc/scilab/gpc_wtc.sce | 7ba778f456a2b7cdbf2e33bec3d5ac5625393ade | [] | 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 | 225 | sce | gpc_wtc.sce | // Updated(19-7-07)
// 12.8
A=[1 -0.44]; dA=1; B=[0.51 1.21]; dB=1;
C = [1 -0.44]; dC = 1;
k=1; N1 = 0; N2 = 2; Nu = 0; rho = 1;
getf gpc_Nc.sci;
[K,KH1,KH2,Tc,dTc,Sc,dSc,R1,dR1] = ...
gpc_Nc(A,dA,B,dB,C,dC,k,N1,N2,Nu,rho)
|
06fca4e231e1308edbd39ae34eb73e935033eccd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH16/EX16.11/Ex16_11.sce | 20769618620a7d9478ffbc0ded3acd1a130e1423 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 867 | sce | Ex16_11.sce | //Fluid Systems - By Shiv Kumar
//Chapter 16- Hydraulic Power and Its Transmissions
//Example 16.11
//To Find the Diameters of Fixed ram and Sliding Cylinder.
clc
clear
//Given Data:-
p1=50; //Pressure Intensity of Low Pressure Liquid, bar
p2=150; // Pressure Intensity... |
8efc5e91c27306c644cc1578208a43fdf22b3e8c | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/interpreter/mulsu03.tst | c98e0d15a92e97716f5ee3aff9fd8c764c101b32 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 313 | tst | mulsu03.tst | ; @Harness: simulator
; @Format: atmel
; @Arch: avr
; @Purpose: "Test the MULSU (multiply signed and unsigned registers) instruction"
; @Result: "r16 = 2, r17 = 42, r0 = 84, r1 = 0, flags.z = 0, flags.c = 0"
start:
ser r17
out sreg, r17
ldi r16, 2
ldi r17, 42
mulsu r16, r17
end:
break
|
4a13271e16ea3d5ef08f0f5285d9e3d8220cb489 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH6/EX6.1/Exa_6_1.sce | f6909939dd8d00f22bf1bca463223b63d0c41dc5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 599 | sce | Exa_6_1.sce | //Example No. 6.1
clc;
clear;
close;
format('v',7);
//Given Data :
V=400;//volt
P=4;//poles
f=50;//Hz
Pout=10;//hp
Pout=Pout*735.5;//W
Snl=1/100;//No load Slip
Sfl=4/100;//Full load slip
Ns=120*f/P;//rpm
disp(Ns,"Synchronous speed in rpm : ");
N=Ns*(1-Snl);//rpm
disp(N,"Speed at no load in rpm : ");
... |
9c327d5696e09fd8af5d477b8704a9774d4359ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /3876/CH12/EX12.6/Ex12_6.sce | 572bb5db38d1ef2b8cbe7d23e6d2d0629fb886f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sce | Ex12_6.sce | //Chapter 12 Thermodynamics Thermodynamic chemistry
clc;
clear;
//Initialisation of Variables
Cp= 2.7 //cal per mole per degree
CP1= 6.9 //cal per mole per degree
Cp2= 15.4 //cal per mole per degree
H= -20.24 //kcal
T= 200 //C
T1= 25 //C
//CALCULATIONS
H1= H+(Cp2-2*Cp-3*CP1)*((T-T1)/1000)
//RESULTS
mprintf("Heat of... |
66661a1ef7c92fb4eb31f272252d4ec99b740b56 | 262ac6443426f24d5d9b13945d080affb0bd6d9b | /opgaves/snoepjes/run-me-first.sce | b30bfb0d0c8cf732a213eb2b13f99c9ac3f3c9f8 | [] | no_license | slegers/Scilab | 9ebd1d486f28cf66e04b1552ad6e94ea4bc98a0b | 1b5dc3434def66355dafeb97c01916736a936301 | refs/heads/master | 2021-01-12T01:42:01.493578 | 2017-01-09T10:54:09 | 2017-01-09T10:54:09 | 78,420,343 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,156 | sce | run-me-first.sce | funcprot(0)
test_cases = list()
test_cases($+1) = struct('input', struct('candy', 0, 'kids', 1), 'output', struct('extra', 0))
test_cases($+1) = struct('input', struct('candy', 1, 'kids', 1), 'output', struct('extra', 0))
test_cases($+1) = struct('input', struct('candy', 5, 'kids', 5), 'output', struct('extra', 0))
tes... |
0fbc1c42e5c02eeb1ba1b9e860d7037cc80f9070 | 127061b879bebda7ce03f6910c80d0702ad1a713 | /bin/PIL_row_find.sci | c5ab373c3f6b6ce3b120deaba8d93f81379e1fa2 | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 812 | sci | PIL_row_find.sci | // **** Purpose ****
// This function finds whether there is a row of matrix A matches B
// **** Variables ****
// [A]: complex, NxM
// <= full NxM numerical matrix 1
// [B]: complex, 1xM
// <= single row 1xM numerical matrix 2
// [find_index]: index of the row in A that matches B
// **** Version ****
// 11/11/2014... |
760690586ca90ea1e875ae89359dd30913c42fdb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3176/CH4/EX4.21/Ex4_21.sce | 25e6c570af0e773dc815eab6a55f6fa67e7d86ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,789 | sce | Ex4_21.sce | //Ex4_21
//Image Enhancement using High frequency Emphasis Filtering
// 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;
clo... |
e5765fde8559171f997134537ad984a7ba14a65d | 04f8926fc896760124165e38ac040f15981163e9 | /ElimGauss.sce | 8f43f01ad44a431c58f3f9947c3c445744f8b91e | [] | no_license | sdkvictor/Scilab | 7f37ae9adce8947f403e80a10d72d3a8548b0a6f | f04090071ce5bf05b21a95d31283e2b2162f44d1 | refs/heads/master | 2020-04-26T00:10:57.950268 | 2019-02-28T18:59:26 | 2019-02-28T18:59:26 | 172,539,835 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,187 | sce | ElimGauss.sce | ////////////////////////////////////////////////////
// ElimGauss.sce
//
// Resuelve un sistema de ecuaciones con el método de Eliminación Gaussiana
//
// Erick González
// Victor Villarreal
// 26/2/2019 versión 1.0
////////////////////////////////////////////////////
/////////////////////////////////////////////////... |
46115f921cec2341028991e4c3859527f65e8e42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH7/EX7.4/Ex7_4.sce | ddb525246d3e300df81434c1e9e61589589c64cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,818 | sce | Ex7_4.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 7 : SPECIAL MOTORS AND INTRODUCTION TO GENERALIZED MACHINE THEORY
// EXAMPLE : 7.4
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
m = 2; ... |
e6eab311a67950b78cffdffb219ae481de0c48e6 | 67310b5d7500649b9d53cf62226ec2d23468413c | /tags/archive/TestCaseGenerator-Plugin-OpeningSequenceCoverage/trunk/tests/large-system-tests/inputs/jEdit/ground_truth/OpeningSequenceCoverage/length-1/max-150/t11.tst | e8fb801be59b5385a03724a2e349800e89b0d112 | [] | no_license | csnowleopard/guitar | e09cb77b2fe8b7e38d471be99b79eb7a66a5eb02 | 1fa5243fcf4de80286d26057db142b5b2357f614 | refs/heads/master | 2021-01-19T07:53:57.863136 | 2013-06-06T15:26:25 | 2013-06-06T15:26:25 | 10,353,457 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 660 | tst | t11.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TestCase>
<Step>
<EventId>e0</EventId>
<ReachingStep>false</ReachingStep>
</Step>
<Step>
<EventId>e12</EventId>
<ReachingStep>false</ReachingStep>
</Step>
<Step>
<EventId>e55</EventId>
<ReachingS... |
fd2c1a988ea17d04033f96fce866bcf74f581eef | 449d555969bfd7befe906877abab098c6e63a0e8 | /2093/CH5/EX5.4/exa_5_4.sce | ae76d150b8e3e43cf853940d0a190ad949123555 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 277 | sce | exa_5_4.sce | // Exa 5.4
clc;
clear;
close;
// Given data
dAf_by_Af= 0.2/100;
dA_by_A= 150/2000;
A=2000;
// Formula dAf_by_Af = 1/(1+Bita*A) * dA_by_A
Bita= dA_by_A/(A*dAf_by_Af )-1/A;
Af= A/(1+Bita*A);
disp(Bita*100,"Value of Bita in percent is ")
disp(Af,"Value of Af is : ")
|
4ad95df2cd0b26da23c01e0e79d90fbd618e24ae | bae725b750433ba5d58470784eeb87687023da7e | /macros/false_nearest.sci | 6ac9cf17af0fa1817f787fc1e7ff9606f03ea1a2 | [
"MIT"
] | permissive | aamadou/IsItChaos | eac61da272b4fb22f83bdceaceb5774385f481e5 | def74ddd5710898f876a9a7d39916e5cc1a8b6b5 | refs/heads/master | 2016-08-04T21:00:17.832904 | 2014-03-24T13:18:39 | 2014-03-24T13:18:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,490 | sci | false_nearest.sci | function [dim,FalseNberFrac,NberSize,NberSize2]=false_nearest(orbit,NbrIti,Dim,Delai, RatRef, MaxDim, TheWin)
// Initialisation
Commandline='';
NbrComp=size(orbit,2);
if ~isdef('DoEstim','local')...
then DoEstim=%F,
end;
if isdef('NbrIti','local')...
then Commandline=Commandline+' -l'+string(NbrIti),
end;
if... |
25f4e4e9c7bd752a8f966b2e641e6a14372badbe | 481f3317298608c37d4cb96f148faf5068d712bb | /lib/scilab/makeSignalFlowGraph.sci | eef9c0897d861445c709e58b109050d248ed235e | [] | no_license | masilvabustos/xcos2uc | 1f83c0710da6506cec8c8aad5a97848903f6ad32 | 531c35a53b7efc11e69e98c643ebad3df3d362f5 | refs/heads/master | 2020-04-05T22:41:50.570623 | 2016-11-13T18:18:22 | 2016-11-13T18:18:22 | 22,852,879 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 470 | sci | makeSignalFlowGraph.sci | //
// This file is distributed under CeCill licence.
// Read LICENCE.fr or LICENCE.en distributed with this file for details.
//
function graph = makeSignalFlowGraph(objs)
regular_link = list()
for l = 1:length(objs)
if typeof(objs(l)) <> 'Link' then
continue
end
if (o... |
55e41424421957820ea13cd5d55ab7eec1f1e9d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1727/CH8/EX8.2/8_2.sce | b132f06024993c64ba39a4f54e46daf469cc7157 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | 8_2.sce | clc
//Initialization of variables
b=6 //m
y=2 //m
sf=0.005
slope = 2
gam=9.81*1000
Q=65 //m^3/s
//calculations
A=(b+ 2*y)*slope
P=b+ 2*y*sqrt(slope^2 +1)
R=A/P
V=Q/A
n=R^(2/3) *sf^(1/2) /V
//results
printf("Value of mannings coefficient = %.3f",n)
|
dc8cbee2fc54d81a64966b0ef7c4f13e2ceba223 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.0/Unix/scilab-2.0/macros/sci2for/f_exp.sci | 6d32a1f579acc2701c690810700399d9ce032397 | [
"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 | 1,194 | sci | f_exp.sci | //[stk,nwrk,txt,top]=f_exp(nwrk)
//Cette macro realise la traduction de la primitive scilab exp.
//
//La primitive exp ayant des interpretation differentes selon que la
//matrice est carree ou non il peut y avoir des problemes de traduction
//dans le cas ou le systeme ne saura pas reconnaitre si la matrice est
/... |
d69615a1825a257671b477fd4798d8f6dd7240b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH11/EX11.12/Example11_12.sce | 5df723acb063fccd6fb54f5b77a67676bf189b32 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sce | Example11_12.sce | //Exa 11.12
clc;
clear;
close;
//Given data :
Vs=66;//kV
d=2;//cm
d1=2+2*1;//cm
D=4+2*1;//cm
epsilon_r1=5;//relative permitivity
epsilon_r2=3;//relative permitivity
g2maxBYg1max=d*epsilon_r1/(d1*epsilon_r2);
Vmax=Vs*sqrt(2)/sqrt(3);//kV
//Vmax=g1max*d/2*log(d1/d)+g2max*d1/2*log(D/d1);//kV
g1max=Vmax/(d/2*... |
d60b1a038e0cf73e1ad26be13c91623848b70aa3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH5/EX5.2/EXAMPLE5_2.SCE | 6c507bc9626b75c55638cf9668f0a0bfe6696f26 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EXAMPLE5_2.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 5
//ANGLE MODULATION
clear all;
clc;
printf("EXAMPLE 5.2(PAGENO 199)");
//given
f_c = 107.6*10^6//carrier frequency
f_m = 7*10^3//modulationg frequency
deltaf = 50*10^3//frequency deviation
//calculations
cs = 2*deltaf//carrier swing
f_... |
ae87a8d43603d4ee2ecd75a7ec977f4ed5f3d80c | f64e96254e9987471cf9ca7c399a316f20da3e1e | /StandaloneExecutor/src/standalone/models/scenario.sce | 4f73aa5641e43826ed53b37f4fceafbb1ab4190d | [] | no_license | ninellenin/experiment | e0ea6c56b72cba5a781eb44644f0d96ae0cc9edd | c1505ef6414d442317a7d1c8f3fffb79ea46cf4a | refs/heads/master | 2021-09-13T05:27:49.027140 | 2018-04-25T12:00:06 | 2018-04-25T12:00:06 | 100,329,035 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 77 | sce | scenario.sce | scenario = "scenario1";
active_buttons = 11, 12, 44;
begin;
begin_pcl;
|
f67e80266aeac8359acc3fd7ee43b3f9aa0f1183 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH1/EX1.7/Example1_7.sce | dc8176855e826cd5fed23ad4a344e493f8e7a8df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 562 | sce | Example1_7.sce | close();
clear;
clc;
//resistance 'R1', 'R2', 'R3', 'R4' connected in series
V = 100; //V
R1 = 5; //ohm
R2 = 10; //ohm
R3 = 15; //ohm
R4 = 20; //ohm
//Voltage across R1 'V1'
V1 = R1*V/(R1+R2+R3+R4);
//Voltage across R2 'V2'
V2 = R2*V/(R1+R2+R3+R4);
//Voltage across R3 'V3'
V3 = R3*V/(R1+R2+R3+R4);
//Volt... |
d1c9b827d74dfee49454d5ae22d6e17952b86226 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.12_16.tst | dca0daee3effd8912d8c1e31878321deed7fd6d1 | [] | 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 | 21,722 | tst | bow.12_16.tst | 12 4:1.0 15:0.029411764705882353 28:0.08333333333333333 29:0.5 60:0.025 78:1.0 256:0.5 505:0.3333333333333333 614:1.0 653:0.3333333333333333 657:1.0 1127:1.0 3267:1.0
12 13:0.06666666666666667 14:0.5 15:0.029411764705882353 18:0.5 36:1.0 39:0.1111111111111111 57:1.0 60:0.025 164:1.0 180:0.3333333333333333 192:1.0 218:1... |
31f0f719ff7131529d3815798d6f393039b84c25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /42/CH11/EX11.6/sadiku_11_6.sce | e1fb6d8c9c1616ec96c10dbc59a11d4000998187 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 243 | sce | sadiku_11_6.sce | clear;
clc;
s=2, l1=11,l2=19,ma=24,mi=16,u=3*10^8,Zo=50;
l=(l2-l1)*2;
disp(l,'Lamda =');
f=u/l;
disp(f*10^-6,'Frequency im MHz =');
L=(24-19)/l;//Let us assume load is at 24cm
zl=1.4+.75*%i; //by smith chart
Zl=Zo*zl;
disp(Zl,'Zl =') |
e6ffd5cca9baa958abcc6ab624ddcc04efa2c4c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH8/EX8.2/8_2.sci | ea113a5b51fe030d8b5c479bb2d6df3419429caa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 8_2.sci | clc();
clear;
//Calculating the magnetisation of paramagnetic salt
//(C=mew0*M*T)/B.
//Therefore M=(C*B)/(mew0*T)
C=2*10^-3; //C is curies constant
B=0.4; //applied magnetic field T
mew0=4*%pi*10^-7;
T=300; //temperature in kelvin
M=(C*B)/(mew0*T) //M is magneti... |
0bdd79d845ee14fa5c87c5dc36591c0b86b7ebc2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH3/EX3.12/exa_3_12.sce | 3d0516d44ff70d230639c5a2319f49e0371281ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 484 | sce | exa_3_12.sce | // Exa 3.12
clc;
clear;
close;
// Given data
Io= 1;// in micro amp
Io=Io*10^-6;// in amp
V_F= 0.52;// in V
V_R= -0.52;// in V
nita= 1;
T=300;// in K
V_T= T/11600;// in volt
V_T=round(V_T*10^3);// in mV
// (i)
r_F= nita*V_T*10^-3/(Io*%e^(V_F/(nita*V_T*10^-3)));
disp(r_F,"Dynamic resistance in the forwar... |
5ff0a2bd184d3ace07a723a73a7f816d30226422 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2399/CH2/EX2.8.1/Example2_8_1.sce | dd54a79d36021b6a548655f7faa9fe274ed58570 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 580 | sce | Example2_8_1.sce | // Example 2.8.1
clc;
clear;
core_diameter=78d-6; //core diameter
delta=1.4/100; //relative index difference
lamda=0.8d-6; //operating wavelength
n1=1.47; //core refractive index
a=core_diameter/2; //computing core radius
v= 2*3.14*a*n1*sqrt(2*delta)/lamda; //computing normalized... |
d2019a1be2e6def3012a6e2541245c547ab2868f | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/CH8/EX8.26/Example_8_26.sce | 0a325f5403e9661f690243320eab1ee778cce1fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,878 | sce | Example_8_26.sce | //Caption:One-tailed Tests Concerning Difference between Two Proportions
//Test 1: Ho: p1-p2<=0 and H1: p1-p2>0
//Example8.26
//Page277
clc;
n1= 120; //sample size of the vendor-1
n2 = 100; //sample size of the vendor-2
N1 = 15;//number of defective pieces in the sample-1
N2 = 11;//number of defective pieces ... |
ddd9ab367306698ccab45fe70a12fa04cb4c2838 | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH1/EX1.27/Ex1_27.sce | 14e77194d1be2711f9f9f0dd49886a444ac53e85 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_27.sce | //Chapter1,Example1.27,Pg1.30
clc;
disp("Since the 5 ohms resistor is connected in parallel with 20V source,it becomes redundant")
I=20.00/6.00 //Converting 20V in series with 6 ohms to current source in parallel with 6 ohms
I=I+10
printf("\n Total current in circuit = %.2f A \n",I)
printf("Equivalent resistance ... |
7f8e5ef02e5dbcde89bb738fb35e4c0bb88f7148 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH11/EX11.3/eg11_3.sce | 866c357fe933ace7556094d87be6193ee8f304cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 753 | sce | eg11_3.sce | clear;
//clc();
function [r,i]=d(mag,theta)
r=mag*cosd(theta);
i=mag*sind(theta);
endfunction
previousprot = funcprot(0)
funcprot(0)
mag=0.97;
theta=0.6;
[r,i]=d(mag,theta);
a1=complex(r,i);
mag=60;
theta=70;
[r,i]=d(mag,theta);
b1=complex(r,i);
mag=0.97;
theta=0.4;
[r,i]=d... |
3700ee0535b9719ab4b41d23407de9802cebad68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH5/EX5.23/exp5_23.sce | 9ded84982972fed4bdc56485031232ddf70bf30d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 683 | sce | exp5_23.sce | //Example 5.23
clc
disp("P = 6, f = 50 Hz, I_2r = 40 A, N = 960 r.p.m")
ns=(120*50)/6
format(5)
disp(ns,"Therefore, N_s(in r.p.m) = 120f/P =")
s=40/1000
disp(s,"Therefore, s = N_s-N / N_s =")
po=50*735.5
format(6)
disp(po,"P_out(in W) = 50*H.P = ...1 H.P = 735.5 W")
pin=36775+1200+300
disp... |
50062189c9e10b27cb4333470dfb1484d821e9a9 | e176c804d3e82d065a9c9635dad92da21c1483a9 | /missions/B2/mission_b2.sce | c3f6dc425d914f0ba5d035ac7e6ad8e738c80c4c | [
"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 | 258 | sce | mission_b2.sce | getd ('../../libs/');
img1 = readpbm('GD61.pbm');
maxI = max(img1);
minI = min(img1);
// Transformation linéaire
img2 = 255/(maxI-minI)*(img1 - minI);
imwrite(to_native_img(img2), "img/result.png")
scf(0)
display_gray(img1);
scf(1)
display_gray(img2);
|
163c13921bdf519c8a7d7b0cc8b8bb9d4094564c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1309/CH7/EX7.1/ch7_1.sce | e82146a44b148b477212e7edd050564da33c8196 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,104 | sce | ch7_1.sce | clc;
clear;
printf("\t\t\tChapter7_example1\n\n\n");
printf("\t\t\tSolution to part (a)\n");
// determination of boundary layer growth with length
// properties of air at 27 degree celsius from appendix table D.1
rou=1.177; // density in kg/cu.m
v=15.68e-6; // viscosity in sq.m/s
L=0.5; // length in m
V_inf=1;... |
a9e3f3db171af173de403ba939f29b064eff2e11 | c9cea368728effc50ef3a05f10679bcc5c63382a | /Clase_29-03/opt.sci | b220c5a5d26f1dcca136247db09de885d1efa304 | [] | no_license | juancllanos/Optimizacion | dbb30315da1b6b3bfac0d1ace5d8e468557565d3 | ef85b725af392290dd46febc839f27944a5ed9d7 | refs/heads/master | 2020-04-28T05:46:38.128903 | 2019-05-21T21:59:16 | 2019-05-21T21:59:16 | 175,032,693 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 797 | sci | opt.sci | function fx = f(x)
t1 = x(1) + x(2) + x(3) -3
t2 = x(1) - 2*x(2) + x(3)
t3 = x(1) - x(3)
fx = 0.5*t1**4+ t2**2 +t3 **2+ 100
endfunction
function fx = backtr(f,x,d,g)
a = 0.2
b = 0.5
t = 1
while f(x+t*d) > f(x) + a*t*g'*d
t = b*t
end
fx = f(x+t*d)
endfunction
x = [1;2... |
2aea8cf9a498a6df751a0032cca84ade7aac7dd2 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.20_5.tst | af519c5241799c09db63c60f382210c7652e0175 | [] | 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 | 4,799 | tst | bow.20_5.tst | 20 1:0.18181818181818182 3:0.03389830508474576 16:1.0 43:0.25 46:1.0 50:0.2 51:0.1 57:0.06666666666666667 162:1.0 165:0.5 175:0.5 246:2.0 295:1.0 351:0.5 406:1.0 435:1.0 473:1.0 485:1.0 548:1.0 598:1.0 748:1.0 1270:1.0 1342:1.0 1389:0.5
20 1:0.18181818181818182 16:0.5 32:0.3333333333333333 57:0.26666666666666666 64:0.1... |
395bb711a4f50a17857691ca8e48fd8016163b0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3638/CH7/EX7.2/Ex7_2.sce | 87a7c00afa4be51b0860218ab6947dd3eefaef95 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,505 | sce | Ex7_2.sce | //Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
//Example 7.2
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
n1=1.5;//refractive index of film
n2=1.0;//refractive index of cover
d=.555e-6;//thickness of film in m
//Case(1)
lambda0=1.3e-6;//wavel... |
80b8b34276c9267dfb62d9ff7f396179f75fcecc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH6/EX6.8/6_8.sce | f834d200450bb56b02f330ee7ef92dba60e0298b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sce | 6_8.sce | clc;
R=0.274;
T1=1000+273;
v1!v2=1/7;
n=1.25;
T2=T1*(v1!v2)^(n-1);
sA_s1=R*log(1/v1!v2);
cv=0.925;
sA_s2=cv*log(T1/T2);
disp("change of entropy of mixture is:");
disp("kJ/kg K",sA_s1-sA_s2);
|
684617b347e1a9184f31507cd6a81f00ddb9b3ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH23/EX23.7/ex7.sce | 913fbe2450834af1a36249f5e0bac648546ad712 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 785 | sce | ex7.sce | clear
clc
disp('the first row denotes the size of item')
A(1,:)=[6 7 8 9 10 11 12];
disp('the second row denotes the corresponding frequency (f)')
A(2,:)=[3 6 9 13 8 5 4];
disp('the third row denotesthe corresponding deviation (d)')
A(3,:)=[-3 -2 -1 0 1 2 3];
disp('the fourth row denotes the corresponding f*d '... |
4752328410299f9def4eecac02d74a76c3cff4cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /281/CH5/EX5.6/example5_6.sce | 839c67bd422a22c22b4b2bbad72c0989f0d7f1b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 546 | sce | example5_6.sce | disp('chapter 5 ex5.6')
disp('given')
disp('741 op-amp is used to design an noninverting amplifier')
disp('voltage gain Av=100')
Av=100
disp("F2 occurs at")
M=20*log10(Av)
disp('db',M)
disp("from the graph")
disp("from the intersection of the line and open loop frequency responce")
disp("F2 occurs at" )
F2=8... |
91ca7b6b94fdbabd400bab11f49b7a57b8e5b5d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH8/EX8.1/Ex8_1.sce | 5394e5d39ef38c8f593f03fa2c0c5d124407ca0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | Ex8_1.sce | //Example 8_1
clc();
clear;
//To find the rotational kinetic energy
m=5.98*10^24 //units in Kg
r=6.37*10^6 //units in meters
I=(2/5)*m*r^2 //units in Kg meter^2
t=86400 //units in sec
w=(2*%pi)/(t) //units in rad/sec
KE=0.5*(I*w^2) //units in joules
printf("The rotational kinetic energy is KE="... |
2ac00266e8d5afb48f6cd1c3b9096776a3b7e0c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH15/EX15.9/Ex15_9.sce | 102b382ce33fe29b39c7bc63baea8d20a3b1315e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,070 | sce | Ex15_9.sce | //Chapter 15: Antennas for Special Applications
//Example 15-20.2
clc;
//Variable Initialization
f = 1.6e9 //Frequency (Hz)
r = 1400e3 //Height (m)
r_sep = 3500e3 //Height for 10 degree seperation (m)
c = 3e8 //Speed of light(m/s)
Ta = 300 //Satellite antenna temperature (K)
Tr = 45 ... |
daf7e46350f154eb3b7e2b55f1a4e3facb18a99b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH34/EX33.3/EX33_3.sce | dfaf7de41d53bc7a6e78294e1e998f5cc296ab0b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 402 | sce | EX33_3.sce | // Grob's Basic Electronics 11e
// Chapter No. 33
// Example No. 33_3
clc; clear;
// Calculate fmax for an op amp that has an Sr of 5 V/us and a peak output voltage of 10 V.
// Given data
Vpk = 10; // Peak output voltage=10 Volts
Sr = 5/10^-6; // Slew rate=5 V/us
pi = 3.14; // JI=3.14
fo = ... |
d65e0968d94260ad43b178889598cc457ff7baa0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH1/EX1.35/Ex1_35.sce | c2f4cf451d0d4b8d8c6ece476f5917be134f8eca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,716 | sce | Ex1_35.sce | clc;
//V/f ratio is same for every case hence hysteresis losses and eddy current losses can be calculated separately
// data for column 1
vt1=214; // terminal voltage
f1=50; // frequency in hz
p1=100; // power input in Watts
vp1=vt1; // per phase voltage
pv1=p1/3; // per phase power
pc1=pv1/f1; // core loss p... |
e67667ecf625890aa77510ba56b06c8e144a0720 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH7/EX7.7/ex7_7.sce | f4dd5d298e08db1fef78f4e6a2bf67af88473d5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 570 | sce | ex7_7.sce | // Exa 7.7
clc;
clear;
close;
// Given data
V_GS = 3;// in V
V_GSth=2;// inV
// Part (a)
V_DS= 0.5;// in V
if V_DS<(V_GS-V_GSth) then
disp("Transistor is in ohmic region")
else
disp("Transistor is in saturation region")
end
// Part (b)
V_DS= 1;// in V
if V_DS<(V_GS-V_GSth) then
disp("Tran... |
4486e982ad14c12894f8a4c2d108410feebc2182 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH7/EX7.16/7_16.sce | 5a7838b6647a8a20ccd17cbeaa65975547775c04 | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 158 | sce | 7_16.sce | clc;
a=0.8;
T2=3000;
n2!p2=212.08/T2;
K=a/(1-a)*[n2!p2/(0.455-0.5*a)]^0.5;
disp("by sucha a method the value of T2 is found to be 2949 to the nerest degree")
|
aa8d0a9316e32d4c5f8c018d6e4f2ffae211c1ba | 19c5ef2ba29b4c794c93ab2539709d6e3d909151 | /classification.tst | a5291b927ed55719f0c45ad41337f5d03750f4f8 | [] | no_license | rodewan/neuralnetvsvm | 032a7d7380bf4b4c0798f57e2aba1728ee5d682a | 96a3dc8ab473f07667ebe04bf42b47081a893b05 | refs/heads/master | 2023-03-27T22:54:14.146057 | 2021-03-26T17:19:02 | 2021-03-26T17:19:02 | 259,859,900 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,238 | tst | classification.tst | -0.839742 2.982600 1
3.108857 1.480188 2
-0.150736 0.977746 1
3.690741 7.977488 2
1.101338 1.015790 1
2.634020 2.225301 2
-0.750647 4.821159 1
4.866300 0.634213 2
0.278193 -1.539125 1
2.040834 3.042321 2
-0.247048 -3.490853 1
3.771689 5.690983 2
0.023253 4.384154 1
3.746647 2.582994 2
-0.483656 0.490955 1
4.313199 5.05... |
f72debe1123b6faa45e326d21b27637dcd7aff5a | 449d555969bfd7befe906877abab098c6e63a0e8 | /281/CH4/EX4.5/example4_5.sce | 6cd455dca0f4bb2a1dc678679ceb9e917e98c707 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 761 | sce | example4_5.sce | disp('chapter 4 ex4.5')
disp('given')
disp('capacitor coupled non inverting high impedence follower design')
disp("lower cut off frequency for the circuit =200Hz")
disp('Rl=12kohms')
disp("input voltage=15mV")
disp("output voltage=3V")
disp("Av=Vo/Vi")
Vo=3
Vi=0.015
Av=Vo/Vi
disp(Av)
disp("for non inverting... |
066f3bf3014d575fe65c6faf0dbdadac820c0663 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH14/EX14.8/Ex14_8.sce | 7852a2b4b66a471199253ce1d1e7d6d3e53d1835 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | Ex14_8.sce |
clc
//initialisation of variables
Mx=2.197 //lbf/in^2
My=0.548 //lbf/in^2
Px=5.46 //lbf/in^2
Tx=1.854 //R
P0x=0.631 //lbf/in^2
T1=336 //R
Px1=9.39 //lbf/in^2
P0x1=100 //lbf/in^2
Mx1=2.197 //lbf/in^2
//CALCULATIONS
Py=Px*Px1//lbf/in^2
Ty=Tx*T1 //R
P0y=P0x*P0x1//lbf/in^2
//RESULTS
printf('The static pre... |
3cfd9adcd746ba80ed6e14152d2c6e2659fc4e73 | 0a4a624c2aa1241962ca0adf212284d4fbf653ec | /2nd/GenLS.sci | 1125a3c81babcf1582dcd07070dbe8c5149baced | [] | no_license | zy414563492/Advanced-Course-in-Computational-Algorithms | 719a469c4b4f0aede9d89378408672d9ac712df5 | d6f5a089883b415ecd93b18bee81aac9bec69577 | refs/heads/master | 2020-08-29T07:13:39.251114 | 2019-12-17T16:11:40 | 2019-12-17T16:11:40 | 217,963,283 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,927 | sci | GenLS.sci | function [AD, AL, col_ind, row_ptr,b] = GenLS(N)
AD = ones((N-1)^2,1) * 4;
AL = -ones(2*N^2-6*N+4,1);
col_ind = zeros(2*N^2-6*N+4,1);
row_ptr = zeros((N-1)^2+1,1);
b = zeros((N-1)^2,1);
if ( exists('func1') == 0 )
exec('func1.sci');
end
if ( exists('func2') == 0 )
exec('func2... |
15a5642bc084112e85d7ac5a8a32369eb705875c | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH6/EX6.4/6_4.sce | 4a3a037b22b6307e6c389f4e67e02a53ea9f0e1d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,971 | sce | 6_4.sce | clear;
clc;
//Example - 6.4
//Page number - 221
printf("Example - 6.4 and Page number - 221\n\n");
//Given
T_1 = 298.15;//[K] - Standard temperature
T_2 = 500;//[K] - Reaction temperature
a_NH3 = 6.5846;
a_N2 = 6.903;
a_H2 = 6.952;
b_NH3 = 0.61251*10^(-2);
b_N2 = -0.03753*10^(-2);
b_H2 = -0.04576*10^... |
bc602374f868c72f8776ffb27dcfdc8afdf6639a | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/lar2rc/lar2rc2.sce | 7a24b89876468bcc506341f72faa8bbb47392369 | [] | 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 | 80 | sce | lar2rc2.sce | //check o/p for empty i/p vector
g = [];
k = lar2rc(g);
disp(k);
//output
//[]
|
1b05f8d19e9775f5dd32a2eeb082d61745a683ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH14/EX14.14/Ex14_14.sce | 7d9b1444fbaa587cfc1a89ae6a2430a588af7b21 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 639 | sce | Ex14_14.sce | clc
cs = 15 // side cutting edge angle in degree
v = 0.2 // cutting speed in m/s
f = 0.5 // feed rate in mm/rev.
d = 3.2 // depth of cut in mm
fc = 1593*(f)^0.85*(d)^0.98 // cutting force in N
pc = fc*v/1000 // cutting power in kw
ita_mt = 0.85 // efficiency of lathe
pm = pc/ita_mt // motor power in kw
a = f*d... |
4db86cf114d02e70b41f0ab71b1462caf5e00746 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH12/EX12.1/Ex12_1.sce | a38bbcfe8ac393441eb50f92f85a1818ee7a632b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 274 | sce | Ex12_1.sce | //Initilization of variables
t=4 //seconds
//Calculations
//Displacement
x=3*t^3+t+2 //ft
//Velocity
v=9*t^2+1 //ft/s
//Acceleration
a=18*t //ft/s^2
//Result
clc
printf('The dipalacemnt is %f ft and the velocity is %f ft/s and Acceleration is %f ft/s^2',x,v,a)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.