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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
128d18304a2f5f7212a8f28efb1d264b2f8c0207 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/metanet/%grae.sci | ce84b6d68a2472a4ce98ee9459164ef6b75cab00 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,682 | sci | %grae.sci | function [e1,e2,e3,e4,e5,e6,e7,e8,e9,e10,..
e11,e12,e13,e14,e15,e16,e17,e18,e19,e20,..
e21,e22,e23,e24,e25,e26,e27,e28,e29,e30,..
e31]=%grae(i,f)
[lhs,rhs]=argn(0)
if rhs<>2 then error(39), end
if type(i)<>10 then error('The name of the element of the graph-list must be a string'), end
l=prod(size(i))
if lhs<>l then... |
765983b2a3f026c1031ee9fbbe822dc2f456b19a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH8/EX8.7/Example_7.sce | 1d5b25cf99398c2aa18afd78bfb7a6126c45b524 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | Example_7.sce | //Chapter-8,Example 7,Page 196
clc();
close();
Ksp=3.45*10^-11 //solubility product of CaF2
//Ksp = [Ca+2]*[F-]^2
//Ksp = [S]*[2*S]^2
S = nthroot(Ksp,3)/4
printf('the solubility of CaF2 is S = %.7f mole/litre',S)
//mistake in textbook
|
6a4087532ed58f524bb13db24168299b1afc253d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH12/EX12.6/ex12_6.sce | ec00eb8a3cc763b200254a41edf9036bda4b4399 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | ex12_6.sce | //Page Number: 652
//Example 12.6
clc;
//Given
Z0=50; //ohm
p=2.4;
L=0.313;
x=2*%pi*L;
y=tan(x);
Zl=(Z0*(1+(p*p*%i)))/(p+(p*%i));
T=(Zl-Z0)/(Zl+Z0);
p=sqrt((real(T))^2+(imag(T))^2);
disp(p,'Reflection coefficient:');
|
e281bfb171d023c9d3aa78a554bb8fdc5a9b1f9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH2/EX2.1/ex_1.sce | fe2fd52ce351013f5e1362eb86420f1b50623f39 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 742 | sce | ex_1.sce | // The equation 8*x^3-12*x^2-2*x+3==0 has three real roots.
// the graph of this function can be observed here.
xset('window',0);
x=-1:.01:2.5; // defining the range of... |
807fe09a4ef00ad09bc94d5b10f7258c0975a6bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH4/EX4.27/Ex_4_27.sce | 77596a2e25cb53e2ab3a14b9a5c7108654914277 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | sce | Ex_4_27.sce | // Example 4.27;//Maximum bit rate
clc;
clear;
close;
L=10;//Length in Km
Dt2=600*10^-12;//Birefringent in second per kilometer
B=(0.9)/(Dt2*L*10^3);//
Btm= round((B/0.55)*10^-3);// maximum bit rate in kilo bit per second
disp(Btm,"maximum bit rate in kilo bit per second")
|
7175c0b424a30c9e8458adf320ca11c7e24cce7b | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Search & ADS DMR.sce | 45ef2f4ba58eb67cf0f1e3247324ca0b99d24089 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 230,839 | sce | Search & ADS DMR.sce | Name=Search & ADS DMR
PlayerCharacters=SA Challenger;SA Free Player
BotCharacters=SA Target.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=SA Challenger
AddedBots=SA Target.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=search_and_ads.map
MapScale=1.0
BlockProjectilePredictors=true
... |
2ffbc12eb47892db88fa55bf1062ab045e9caafb | 623a9dd972dc78dbde5d5b8dc187acd6a1eb5910 | /TP7/ejercicio9a.sce | 17fcf6a1ae1fe494a83e3194f73470d6c2368152 | [] | no_license | gtessi/CN2012-FICH | 0daad054ceb6c36636ee5e8b174a676b9e0acb9b | 4024384653b61b5af9e1c11ffb575e154025ee47 | refs/heads/master | 2020-03-27T05:53:04.684505 | 2018-08-25T03:03:15 | 2018-08-25T03:03:15 | 146,059,800 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 787 | sce | ejercicio9a.sce | exec RungeKutta4.sci;
//Los valores del metodo se toman como vectores horizontales
function z = f(t,u)
z(1,1)=-4*u(1,1)-2*u(1,2)+cos(t)+4*sin(t);
z(1,2)=3*u(1,1)+u(1,2)-3*sin(t);
endfunction
function z = yex(t)
z(:,1)=(2 .* exp(-t')) - (2 .* exp(-2*t')) + sin(t');
z(:,2)=(-3 .* exp(-t')) +... |
8a8035445cb1eb5cfa0dc06db26cd6aa165b5835 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/percent/%lss_r_p.sci | faa3634b0e69e61a38450a7d06f355f2e3390109 | [
"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 | 190 | sci | %lss_r_p.sci | function [sr]=%lss_r_p(s,p)
// sr=%lss_r_p(s,p) <=> sr=s/p
// s : syslin list
// p : polynomial matrix
//!
// Copyright INRIA
sr=s/tlist(['lss','A','B','C','D','X0','dt'],[],[],[],p,[],[])
|
d9fe5b8ff356f6b66f24e873c08e70c95ffddf05 | fdd5981eadab338ec2624b6a22fd0eac6e72c6c5 | /fis_II3.sci | a2cd25557c9a825410189123757cdad0e8a4d7ee | [] | no_license | meshcheryakovva/DSS-2017 | 5e2c6b88b657ad7de62ffe658b7aadef73ae7828 | 0171975e96655b6fcc6c334523517d6517492369 | refs/heads/master | 2021-03-09T19:19:56.332398 | 2020-03-10T18:00:29 | 2020-03-10T18:00:29 | 246,371,971 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,677 | sci | fis_II3.sci | function II3_res = fis_II3(inVector, inCodes)
// аргументы: входной вектор числовых значений и массив строк-имен переменных
f_II3=newfls("m"); // тип Мамдани
f_II3.name="fisII3";
f_II3.TNorm="min"; // and
f_II3.SNorm="max"; // or
f_II3.Comp="one"; // not
f_II3.defuzzMethod="centroide"; // центр тяже... |
3b02e524b16794d7d08dfba6ae66afdae1120f3c | d9433e89434ee8d62d3e576fb874618e0faf8b6c | /p2-A.sce | 4330c1deb33c5b6f98e1fa4cf25f794babc1fc49 | [] | no_license | wps13/STD | 125f62aa98bcbe3f29eed9e20d5f9e8a2f3a34eb | 2e132f31d71a68ee52ebf1994f9c6062db6eb4d6 | refs/heads/master | 2020-04-07T01:26:44.358619 | 2018-12-22T01:48:21 | 2018-12-22T01:48:21 | 157,941,582 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 521 | sce | p2-A.sce | load('/home/willane/Downloads/p2STD/xa_10_1.sod')
x1=x_a
load('/home/willane/Downloads/p2STD/xa_26_1.sod')
x2=x_a
load('/home/willane/Downloads/p2STD/xa_43_1.sod')
x3=x_a
X = [x1 x2 x3] //concatenação dos sinais
Xt=fft(X) //cálculo da transformada de fourier
nXt = length(Xt) //calcula o tamanho do sinal
Xutil = ... |
d1f2f6003953db1d391f1c900fcea519ebe724b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH11/EX11.2/11_2.sce | c67a15e8ddc0fec421bdbb6c336f289a923bc937 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | 11_2.sce | //clc()
A = [6,15,55;15,55,225;55,225,979];
sl = 0
l11 = (det(A(1,1)))^(1/2);
//for second row
l21 = (det(A(2,1)))/l11;
l22 = (det(A(2,2)) - l21^2)^(0.5);
//for third row
l31 = (det(A(3,1)))/l11;
l32 = (det(A(3,2)) - l21*l31)/l22;
l33 = (det(A(3,3)) - l31^2 - l32^2)^(0.5);
L = [l11,0,0;l21,l22,0;l31,l32,l33]... |
a44fecb52be1b43112cfafac006306f79596cb6d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH1/EX0.13/EXI_13.sce | ebff659b2185a7c40bc84de77d5926830090ea0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 382 | sce | EXI_13.sce | // Grob's Basic Electronics 11e
// Chapter No. I
// Example No. I_13
clc; clear;
// Find the reciprocals for the following powers of 10: (a) 10^5 (b) 10^-3.
// Given data
A = 10^5; // Variable 1
B = 10^-3; // Variable 2
C = 1/A;
disp (C,'The reciprocal of 10^5 is')
disp ('i.e 10^-5')
D = 1... |
dcc85fec1dca7c67c7ddf666ab58cc5565ff8fdd | 717ddeb7e700373742c617a95e25a2376565112c | /503/CH5/EX5.18/ch5_18.sci | d8e275fcccb0ffac672b81fd17147bb1172a0de7 | [] | 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 | 413 | sci | ch5_18.sci | //to find no of poles, slip and freq of rotor currents at full load, motor speed at twice of full load
clc;
n_s=600;
f=50;
P=120*f/n_s;
disp(p,'no of poles');
n=576;
s=(n_s-n)/n_s;
disp(s,'slip');
f2=s*f;
n_r=s*n_s;
disp(n_r,'rotor speed wrt rotating field(rpm)');
ss=f2*s;
n=(1-ss)*n_s;
disp(n,'motor sp... |
8aceb02d41d4e08baa409d534ea1750e4e037cfe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH46/EX46.2/Example46_2.sce | e7b2523b313d44dc8ef456d10a44c58df9b56a65 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,083 | sce | Example46_2.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART IV : UTILIZATION AND TRACTION
// CHAPTER 8: BRAKING
// EXAMPLE : 8.2 :
// Page number 806
clear ; clc ; close ; // Clear the work space and console
// Given data
... |
1489679ffb7c708236ac780a2422150a5f8abed0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH25/EX25.8/example25_8.sce | bac57af30c85333a2b35817e23ff1918a67b5196 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 104 | sce | example25_8.sce | z1=20+%i*50;
z2=15+%i*35;
z3=-%i*10;
z=z1+z2+z3;
disp("total series impedance (in Ω) is"); disp(z); |
101123f98e47d49ae0e5d58041156a0ed092572d | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/auto/repfreq.sci | d58a6ccc02e778aff8778ed51208c1ebe49a546b | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,324 | sci | repfreq.sci | function [frq,db,phi]=repfreq(sys,fmin,fmax,pas)
pas_def='auto';
l10=log(10);
[lhs,rhs]=argn(0)
//discretization
//-compat type(sys)<>15 retained for list/tlist compatibility
if type(sys)<>15&type(sys)<>16 then error(97,1),end;
flag=sys(1);
if flag(1)='r' then dom=sys(4),else dom=sys(7),end
if dom==[]|dom==0 then er... |
f58641773414b441351d3be2f756bc4e88756244 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH4/EX4.1.b/ex_4_1_b.sce | e2bd003c80512e7f277809ca383e687576ab2c79 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 189 | sce | ex_4_1_b.sce | //Example 4.1.b // power lost
clc;
clear;
close;
//given data :
I=11; // current in A
V1=55; // voltage in V
V2=220; // voltage in V
V=V2-V1;
R=V/I;
P=I^2*R;
disp(P,"power lost,P(W) = ")
|
04dfad95335cb2faaceb2073e6ef27ccf100026e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1910/CH7/EX7.11/Chapter711.sce | 90cce026d9769d79703166d2ba518db8145f5c24 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,744 | sce | Chapter711.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Introduction to heat transfer by S.K.Som, Chapter 7, Example 11")
//Liquid sulphur di oxide in a saturated state flows inside a L=5m long tube and D=25mm internal diameter with a mass flow rate(mdot) of 0.15 kg/s.... |
1fe9bc74beff2d36f1f7d9def3a1da46a23865bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH24/EX24.7/214ex1.sce | 654e04a137cad53e77d374590a1e37dc4a03be19 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | 214ex1.sce |
//7th term of the series 3,6,12,....
clear;
clc;
close;
//in the series r=2, so using the formula
// nth term=a*r^(n-1)
a=3;n=7;//given data
term7=3*(2)^(7-1);
mprintf("\n the seventh term of the series is %i",term7)
|
9b437e122f7a9ccfc5b59cc130dfa50ab4b3ee88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1309/CH8/EX8.2/ch8_2.sce | 97c932aba2b959b313cea3ffdf8dc7a601e5283f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,172 | sce | ch8_2.sce | clc;
clear;
printf("\t\t\tChapter8_example2\n\n\n");
// Determination of heat lost through the glass per unit area
// properties of air at 22 + 273 = 295 K = 300 K(approx) and 273 K from appendix table D1
rou= [1.177 1.295]; // density in kg/cu.m
cp= [1005 1005.5]; // specific heat in J/(kg*K)
v= [15.68e-6 12.59e-6];... |
90f1d52fd62939a4904fac9796fbf2690d716d6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH1/EX1.14/example1_14.sce | 2fa15b58167975fca58130c443edb4462e071822 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 596 | sce | example1_14.sce | clc
// Given that
fringe_width = 9e-4 // fringe width in meter
a = 0.1 // distance of bi prism from slit in meter
b = 0.9 // distance of bi prism from screen in meter
lambda = 5.896e-7 // wavelength of light in meter
// Sample Problem 14 on page no. 1.45
printf("\n # PROBLEM 14 # \n")
D = a + b // calculation ... |
5234af0a0afe5d205a09b8f72e671fc1f90bd873 | 97c87e17fce9333acb0f77a8728d4b7a4f0ca37c | /gaus.sce | 07a961f82bba8dbab3cb571a7e233e1addffed54 | [] | no_license | ejake/numeric-methods-un | 5539412a7004c627f6827b7315b31c78fe0c1ad8 | c2fa7a314ba5073f3c18864dceaafebbb2143393 | refs/heads/master | 2016-09-06T18:44:28.879963 | 2012-02-28T13:58:17 | 2012-02-28T13:58:17 | 37,661,856 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 488 | sce | gaus.sce | printf('Antes de ingresar los valores asegurese de acomodar las ecuaciones tal que los valores de las diagonales sean los mas altos');
A=input("Ingrese la matriz de coeficientes ann A = ")
B=input("Ingrese el vector de valores bn B = ")
n = length(B)
x = zeros(1, n)
x_ant = x
Er=1
while abs(Er)>10^-4
for i=... |
666df296e2996ddf68a77c80181fe08dda0b6455 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH5/EX5.31/EX5_31.sce | a8fa87bbe8f70d046e08a1eaf6254916702e788c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 171 | sce | EX5_31.sce | //EXAMPLE 5-31 PG NO-326;
V=25;
R1=50;
R2=40;
R3=10;
I=(V/(R1+((R2*R3)/(R2+R3))))*(R3/(R2+R3));
disp('i) Current (I) is = '+string (I) +' A ');
|
c5e3c48da610194c52516a1367f489cbf2888ae1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH1/EX1.14.9/ex1_14_9.sce | 538271e7ddc3d4faa3372471e75daa50a92a3a4f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 691 | sce | ex1_14_9.sce | //Chapter-1,Example1_14_9,pg 1-61
n=4 //for FCC structure
//the interplanar spacing of plane
h=1
k=1
l=1
d=2.08*10^-10 //distance
A=63.54 //atomic weight of Cu
N=6.023*10^26 //... |
713d59e35a21842b28ed5e5ec874bf72b3ed0963 | 449d555969bfd7befe906877abab098c6e63a0e8 | /491/CH8/EX8.3/8_3.sce | f4f15d57e89d320127ee5391402ff5661575deb2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,299 | sce | 8_3.sce | L = 6 ; // Span of the beam in ft
P = 10800 ; // Pressure acting in lb
c = 2 ; // in ft
b = 2; // Width of cross section of the beam in inch
h = 6; // Height of the cross section of the beam in inch
x = 9 ; // in inch
Ra = P/3 ; // Reaction at point at A
V = Ra ; // Shear force at section mn
M = Ra*x ; // Bend... |
60096b2719d7d509c267d165681cbb1f54e4eefc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1823/CH4/EX4.8/SolEx4_8.sce | a724dcd83d0b4a4f88c56d3e473908a71c999aba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | SolEx4_8.sce | //Determine appropriate values of RS and RD.
//Solved Example Ex4.8 page no 120
clear
clc
Rs=750 //kΩ
printf("\n Rs = %0.2f K ohm",Rs)
Vdd=24 //V
Vdsq=15 //V
Idq=0.002 //mA
Rd=((Vdd-Vdsq-(Idq*Rs))/Idq)/1000
printf("\n Rd = %0.2f K ohm",Rd)
|
51f5a06ed79a5f2106d67dbaa6c3f4892f082fd2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH16/EX16.15/ex16_15.sce | 881886360d21b7091c4b83bdc61de00478415d6c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | sce | ex16_15.sce | clc;
v=343; //velocity in m/sec
vs=20; //velocity in m/sec
fs=500; //original frquency
f1=(fs*v)/(v-vs); //doppler effect
disp(f1,"Percieved frequency in Hz = "); //diplaying result |
33e09e3fbe7b6ec3173669b52859b7ef2ddef720 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH13/EX13.16/Ex13_16.sce | dc95ff00d294d0f235211ad4c60e8d3419936ac0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 164 | sce | Ex13_16.sce | //EX13_16 PG-13.10
clc
clear
printf("conversion of octal no 475.25 to its decimal equivalent =")
N=(4*8^2)+(7*8^1)+(5*8^0)+(2*8^(-1))+(5*8^(-2));
printf(" %.5f",N)
|
55cb90192766f710c10542804a7684a8922c10db | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s__elelectronics_instrumentation_and_measurements_U._S._Shah_2195.zip/_elelectronics_instrumentation_and_measurements_U._S._Shah_2195/CH4/EX4.2.1/ex_4_2_1.sce | 09faabf8de19dffaedbf8e82a2dcdf0758810a85 | [] | 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 | 173 | sce | ex_4_2_1.sce | errcatch(-1,"stop");mode(2);//Example 4.2.1: peak amplitude
;
;
//given data :
format('v',7)
E_rms=230;//in V
Ep=sqrt(2)*E_rms;
disp(Ep,"peak amplitude,Ep(V) = ")
exit();
|
2b438e745ce5bce6c5a2ba0192f2e2f1daf945df | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH5/EX5.6/Ex5_6.sce | dbe1e5ba2928a8248bf0445dea9191b939d02da4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 798 | sce | Ex5_6.sce | //Initilization of variables
d=0.09 //m //diametre of the right circular cylinder
h=0.12 //m //height of the cyinder
W=10 //N // self weight of the bar
l=0.24 //m //length of the bar
//Calculations
theta=atand(h/d) // angle which the bar makes with the horizontal
Lad=sqrt(d^2+h^2) //m // Lad is the length of the... |
54d2a5da240dfc9e588adc7ddf8351f9dc558438 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Higher_Engineering_Mathematics_B._S._Grewal_149.zip/Higher_Engineering_Mathematics_B._S._Grewal_149/CH9/EX9.2.1/example2_1.sce | a94a17166072f1dff0541aafee406d2714a65881 | [] | 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 | 122 | sce | example2_1.sce | errcatch(-1,"stop");mode(2);
syms n
disp('1+2+3+4+5+6+7+....+n+.....=')
p=1/n*(1/n+1)/2
disp(limit(p,n,0));
exit();
|
e9d0ace6054ce486fec9ee0b22a7ae5cf9bf2923 | c0aa53c5c57ef13997c78f6723cd4302b10db35a | /Primeira Unidade/newton.sce | 70a63655e25434c06c857e607075d15c6df4bf76 | [] | no_license | mpsdantas/computacao_numerica | 4a47a71c849f04f0493817ba1c502dfd22118598 | 5906b38941b99c7e702f730911878aba2b12bc71 | refs/heads/master | 2021-01-15T08:36:48.054724 | 2016-12-17T16:52:24 | 2016-12-17T16:52:24 | 67,094,751 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 492 | sce | newton.sce | function y = fun(d)
y = d.^2 - 8
endfunction
function j = der(h)
j = 2*h
endfunction
//plot(k, fun(k))
//plot(k, zeros(1, length(k)))
function [raiz, erro, iteracoes] = newtoton(x0, p)
x = x0 - fun(x0)/der(x0)
er = abs((x-x0)/x)
inter = 0
while(er>=10^-p)
x0 = x
... |
68ae8d5a8bd850eb5f3eb773eb76139c4854ad0d | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH6/EX6.11/example_11.sce | f35e890574350b58a388aa8888adf60b591946cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 138 | sce | example_11.sce | clc
clear
printf("example 6.11 page number 232\n\n")
printf("this is a theoritical question, book shall be referred for solution")
|
d36148ca7e744d4ad461bf8600b7da6312dd893b | 449d555969bfd7befe906877abab098c6e63a0e8 | /881/CH7/EX7.6/exa7_6.sce | 5071fd8ad85e52a298a469064ec8ca0f2c08385b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 829 | sce | exa7_6.sce | clc;
//Example 7.6
//Page No 261
//solution
K=0.75;
fcp=500;
K1=1.5;
fcf=500;
vm=2;
fm=2;
Vm=4;
Fm=1;
//(a)
disp("(a) FM Modulator ");
m=(vm*K1)/fm;
disp(m,"m = ");
disp("PM Modulator ");
m1=vm*K;
disp(m1,"m = ");
disp("Since the modulation indexes are same the output spectrum is also the same, which is in ... |
577c14a2cc2fc1ae2c1cde480a095074fa033fa1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH7/EX7.12/Ex7_12.sce | 4847d5c8448c863c2e0d3a51367f5d694d12007e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 586 | sce | Ex7_12.sce | // Theory and Problems of Thermodynamics
// Chapter 7
// Thermodynamic Relations
// Example 12
clear ;clc;
//Given data
T1 = 373.15 // normal boiling point of water in K
T2 = 423.15 // boiling point of water on hill in K
h_fg_1 = 2257 // latent heat of vaporizat... |
5bfd3b9cd7f445b0e50c1e2382bb6f5dbe0fcc80 | 8b33899f15bd0509e32f6c06319b7b1557c745f5 | /f4.sci | b3991beedbd01b327a34b501a59e4ca8d5088e00 | [] | no_license | c00kiemon5ter/NumericalAnalysis | fd162663f6a9a4cc6c648e41a1412fa71e83a75c | 1ff51ff805017100ebb87a98b5fef7acca3d0692 | refs/heads/master | 2021-01-01T19:15:21.559444 | 2014-06-25T09:39:25 | 2014-06-25T09:39:25 | 8,290,126 | 1 | 1 | null | 2014-06-25T09:39:25 | 2013-02-19T12:51:16 | Scilab | UTF-8 | Scilab | false | false | 1,075 | sci | f4.sci | // Exercise F4
// ------------
// Solve the y= -5*x + 5*(t^2)+2*t equation with 0<=x<=2 and x0 = 1/3 with the improved Euler method
// ---------------------------------------------------------
function [k,t,x]=eulercor(a, b, n, x0) // k is the step, t the margin and x is the vector with the approaches
h=(b... |
39675649aab8f63db6d43da5d891a774fa3b8d0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1202/CH10/EX10.10/10_10.sce | 6e5d4d6598af71ff4a4368b74ae22cddca31f225 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | 10_10.sce | clear
clc
//Example 10.10
disp('Example 10.10')
s=%s;
Gp=1/(5*s+1);
Gm=1/(s+1);
Gv=1/(2*s+1);
Ys=Gv*Gp*Gm
Routh=routh_t(Ys,poly(0,"Kc")); // produces routh table for polynomial 1+Kc*Ys
disp(Routh)
K1=roots(numer(Routh(3,1)));
K2=roots(numer(Routh(4,1)));
mprintf('K lies between %f and %f for system to be stable', ... |
7e16c24bf9670faad285ce5ea94c04c02e37fd5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH11/EX11.2/Example11_2.sce | ab8cbe407b6ec096aea7bb28513e10909f624d1a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | Example11_2.sce | //Exa 11.2
clc;
clear;
close;
//Given data :
rho=5*10^14*10^-2;//ohm-m
l=5*1000;//m
r1=2.5;//m
r2=r1+1;//m
R_ins=rho/(2*%pi*l)*log(r2/r1);//ohm
disp(R_ins/10^6,"Insulation resistance of cable(Mohm) :");
|
205761c4248b63c84bdd518a9aec5725512c2d0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2621/CH7/EX7.14/Ex7_14.sce | 2776b23e0bc63c9124b8cd1a7ab7a77c9728eb47 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 440 | sce | Ex7_14.sce | // Example 7.14
clc;
clear;
close;
// Given data
format('v',5);
f_H= 200;// in Hz
f_L= 2*10^3;// in Hz
C= 0.05*10^-6;// in F
// For low-pass filter,
R_desh= 1/(2*%pi*f_H*C);// in Ω
R_desh= R_desh*10^-3;// in kΩ
disp("The value of R'' is : "+string(R_desh)+" kΩ ( Approx. 20 kΩ)")
// For high-pass filter,
R... |
ae9dcb105f74ad544725c2eb2fbd4d3096db0ab8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3756/CH1/EX1.16/Ex1_16.sce | 09bc5e695a3a4171704af75f78c5be56cab3d88f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | sce | Ex1_16.sce | clc
//
//
//
//Variable declaration
mu=1.4 //Refractive index
cosr=0.8631
t=0.01*10**-3 //thickness
lambda1=4000*10**-10 //Wavelength 1
lambda2=5000*10**-10 //Wavelength 2
//Calculations
n1=(2*mu*t*cosr)/lambda1
n2=(2*mu*t*cosr)/lambda2
deln=(n1)-(n2)
//Result
printf("\n The number of dark... |
60091fad4335a65eab8185757769a3b9ecdc32c4 | 7501faaefdf67543ac3947657dec467accc58f6a | /projects/02/Equal16.tst | c8d1d5d6df72efdc2b7bb874ce25f3e75a448cb3 | [] | no_license | brettshollenberger/elements-of-computing-systems | 5f8edcdce258fe09377bc6d4827f07a475e36214 | 48f831b968ab86f5cc2885798272807f3e6d21e7 | refs/heads/master | 2020-06-04T00:57:52.556546 | 2015-01-25T06:16:07 | 2015-01-25T06:16:07 | 29,725,277 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 796 | tst | Equal16.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/02/Equal16.tst
load Equal16.hdl,
output-file Equal16.out,
compare-to Equal16.cmp,
output-list a%B1.16.1 b%B1.16.1 out%B3.1.3;
set a %B0000000000000000,
... |
85dfa437da6b2dc7981ca2b757ea64f033de441a | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH3/EX3.5/3_5.sce | 501412ab8a184ef820b6b5c4102f878357602d5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 760 | sce | 3_5.sce | //all the quantities are expressed in SI units
ratio = 12; //contraction ratio of wind tunnel nozzle
Cl_max = 1.3; //maximum lift coefficient of the model
S = 0.56; //wing planform area of the model
L_max = 4448.22; //maximum lift force that can be measured by the mechanical balance
rho_in... |
2b8e5295e4d2f241809b98336add89a6fe07f150 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH18/EX18.5/Ex18_5.sce | a71f5d6500a1849ad194fb2dcf91da264e01cf8a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 576 | sce | Ex18_5.sce | // Initiization of variables
theta=30 // degrees // ange made by the ball against the wall
e=0.50
// Calculations
// The notations have been changed
// Resolving the velocity v as,
v_x=cosd(theta)
v_y=sind(theta)
V_y=v_y
// from coefficient of restitution reation
V_x=-e*v_x
// Resultant velocity
V=sqrt(V_x^... |
4ff3647d101ed466deb5dfb695c5c778087ea714 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH2/EX2.7/Example2_7.sce | aec1a611210a570113bdf4e513a3fb326e61d155 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 532 | sce | Example2_7.sce | clc
// Given That
d = 1.5e11 // separation between earth and sun in meter
power_sun = 3.8e26// power radiated by sun in W
c = 3e8
//Sample Problem 7 Page No. 82
printf("\n # Problem 7 # \n ")
s = power_sun /(4 * %pi * (d^2)) //calculation of Energy received per unit surface area per unit time
p = s / c // calc... |
0454e7a7b1f38393212d94f4a5924622d4e86b64 | b83a548625faadcf7c779f11ce56f02f9058bb70 | /oc 1.sce | 35f4db909b3a149f70c01a707d8a5d4f39683fee | [] | no_license | navnesh/scilab | 856941418ac0c58a4566b6559a107ac46efbb147 | 5f97c5043bd06ac2e092e9ec6431c18b71b33e22 | refs/heads/main | 2023-07-09T22:15:24.220450 | 2021-08-10T08:16:45 | 2021-08-10T08:16:45 | 394,020,861 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sce | oc 1.sce | clc;
clear;
n1=input("Enter the value of Refractive Index n1:")
n2=input("Enter the value of Cladding Refractive n2:")
NA1=sqrt((n1*n1)-(n2*n2))
delta=((n1*n1)-(n2*n2))/(2*(n1*n1))
NA2=n1*sqrt(2*delta)
Acceptance_angle1 =asind(NA1)
Acceptance_angle2 =asind(NA2)
disp("NA1",NA1)
disp("NA2",NA2)
disp('Acceptanc... |
df644dfefc31192c6f26458fa288522ae1674eba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1205/CH7/EX7.1/S_7_1.sce | e6c0706926271887206b7ef639e190321191721d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,177 | sce | S_7_1.sce | clc;
P=2400;//N, Vertical Force applied at D
AB=2.7;//m, perpendicular distance between A and B
BE=2.7;//m, perpendicular distance between E and B
BK=1.5;//m, perpendicular distance between B and K
AJ=1.2;//m, perpendicular distance between A and J
EF=4.8;//m, perpendicular distance between E and F
BD=3.6;//m, p... |
914302381c49bc3cfe42ce3cd7cbbeb621572e71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /413/CH8/EX8.3/Example_8_3.sce | e8f933a6a755cde981ff0c1e47cb3e5ef3fa14e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 515 | sce | Example_8_3.sce | clc
clear
A=[6 -2 1; -2 7 2; 1 2 5]
b=[11 5 -1]
D=[6 0 0; 0 7 0; 0 0 -5]
L=[0 0 0; -2 0 0; 1 2 0]
U=[0 -2 1; 0 0 2; 0 0 0]
DI=inv(D)
printf('For Jacobi method, we need to compute the eigen value of this matrix')
B=DI*(L+U)
disp(B)
T=spec(B)
disp(T)
printf(' Magnitude of Largest eigenvaue is %f',abs(T(2,1))... |
b1549da023d7d9f1c5ff8152441754f6ced28644 | 0fb7048b5e90092a534e24953463051301cec2d1 | /scriptScilab/debug.sce | 153bc20b8e5ae0a15b861bb145be1e7de710e270 | [] | no_license | ece2lr/ecricome2017 | 4fce2d365b28f1fcbbe4c59662eb223214f3653e | eba1e384cd314d58bb9aa7d4e2a283ff1985f1de | refs/heads/master | 2021-01-19T20:12:27.046456 | 2017-04-20T20:45:21 | 2017-04-20T20:45:21 | 88,203,505 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 594 | sce | debug.sce | N = 1000
exec("scriptTrousCompl.sce",-1)
function y=freqT(n)
y = zeros(1,n)
for i = 1:N
k = T(n)
y(k) = y(k) + 1
end
y = y / N
endfunction
function y=loitheoY(n)
y = zeros(1,n)
for k = 1:n
y(k) = (k-1) / prod(1:k)
end
endfunction
clf()
//n = input('n = ?')
argument... |
eab712dd6e9539478794f099bb497268cc228a01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH6/EX6.11/6_11.sce | 9b4bddc8f4c122e79c0d56c39ff041b000cdf80d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sce | 6_11.sce | //clc();
clear;
//To calculate the glancing angle
lambda=0.071*10^-9; //wavelength in m
//miller indices of diffraction plane
h=1;
k=1;
l=0;
a=0.28*10^-9; //lattice constant in m
n=2;
d=a/sqrt((h^2)+(k^2)+(l^2));
disp(d);
theta=asind((n*lambda)/(2*d));
printf("glancing angle in degrees is");... |
2838fabc588c84c2de9e99260aa0e0c3dc7629d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH2/EX2.7/Ex2_7.sce | 71b465ef78ef143f5326bc06ccc02b69c4652ae1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sce | Ex2_7.sce | //Finding the third force F
//Assume that the third force F makes an angle theta with x-axis
//Resolving the forces we get
//F*cosd(theta)=-225.9...(1) //N
//F*sind(theta)=-408.9...(2) //N
//Then (2)/(1) gives
theta=atand(-408.9/-225.9) //degree
F=sqrt(225.9^2+408.9^2) //N
printf("The third force is F=%.1f ... |
af8da76d4e086bad46b8f778a537bab62dd8ca40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH4/EX4.3/ex_4_3.sce | fb99fe436b802207023bba3b05558ccbaab7f3cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 401 | sce | ex_4_3.sce | // example 4.3
// find the linear interpolation polinomial
// using
disp('f(2)=4');
disp('f(2.5)=5.5');
// 1)lagrange interpolation,
P1=legrangeinterpol (2,2.5,4,5.5)
// 2)aitken's iterated interpolation,
P1=aitkeninterpol (2,2.5,4,5.5)
// 3) newton devided differance interpolation,
... |
0938eab4a118329d14154256e3643a5baa8d884b | 8fd5474ab7779b552e5f198a3ce4afc4d82cb47f | /bin/libGeo/GetSags.sci | 0daf26256021575d857d1465aa42d959eacd1a89 | [] | no_license | 2-BiAs/UCASI_ALIGNMENT_SCAN | 807353741517c084007cdf978b149f34f8a13dae | 85b8d79f50e23051cbf365385b49e05293827941 | refs/heads/master | 2020-06-21T10:26:29.419281 | 2017-05-19T02:01:27 | 2017-05-19T02:01:27 | 74,790,458 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,301 | sci | GetSags.sci | function mOutput = GetSags(mPoints, spParams)
//Generates an array of sag values given an array of [u, v] points
//And surface parameter structure defining general polynomial freeform surface
format('e', 16);
//Build Polynomial Terms
sPolynomialTerms = '';
iNM = size(spParams.mPolyCoef);
... |
e21e89ed15971851533732bd49a0bb58eed2f2fb | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/sci2for/f_maxi.sci | c2db6f7d2137771d7fcebeeed70ebcbcf09c44df | [
"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 | 1,368 | sci | f_maxi.sci | function [stk,nwrk,txt,top]=f_maxi(nwrk)
//!purpose
// Scilab maxi function translation
//!
txt=[]
select rhs
case 1 then
s2=stk(top)
if lhs==1 then
if s2(3)=='0' then fun='ivmax',else fun='dvmax',end
nwrk=dclfun(nwrk,fun,s2(3))
out=callfun([fun,mulf(s2(4),s2(5)),s2(1),'1'],s2(3))
stk=list(out,'0',... |
aea81ce8bfb5c3d1472127f242d3f0646afb85da | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH9/EX9.7.5/9_7_5.sce | 6a958acf35b067841d5d59bc2f094d775032314d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | 9_7_5.sce | clc
//initialisation of variables
u= 80 //ft/sec
n= 62
r= 1/4
v= 11 //ft^3
w= 62.3//lbf/ft^3
p= 2 //lbf/in^2
//CALCULATIONS
uw= u*n/(r*v*w)
R= v*w*(uw/u)^2
P= r^2*p/R
//RESULTS
printf (' water velocity= %.f ft/sec',uw)
printf (' \n pressure drop= %.5f lbf/in^2 per ft',P)
|
baf23c75d7607f0ac273576c5ce4ca7531f7b511 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH11/EX11.4w/11_4w.sce | 8c658174bcf1cd55a5087ad9defad5bd43495aff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 781 | sce | 11_4w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 11.4w
//calculation of the separation between the particles under mutual attraction
//given data
mA=1//mass(in kg) of particle A
mB=2//mass(in kg) of particle B
R=1//initial distance(in m) between the two particles
... |
7846c5046a9bbf62b92629a56e99f16a7cfd6b57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH33/EX33.3/33_3.sce | 4f5a9ed1fb4d293dcea4cb1bc06e34f9b289888d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 498 | sce | 33_3.sce | clear//
//Variables
RC = 250.0 * 10**-12 //Time constance (in seconds)
Vomax = 50.0 //Maximum output voltage (in volts)
tau = 0.05 * 10**-6 //time (in seconds)
//Calculation
alpha = Vomax / RC //alp... |
675b24efce3a371facfb83a4019230fb59854e09 | e046db771f25c04880ce161c1ea23e9b5146a419 | /Metodo Gauss Seidel.sce | dc36d3a82b664ee6bde925719c2aafa7ff6649f9 | [] | no_license | SebastianCanoRuiz/MetodosIterativos | 6847d0e95f19f77cb7d59d1b2958462752c49547 | d471b7c27cf5ff0402861eae541c8a8f5abd148e | refs/heads/master | 2022-11-24T12:24:31.885665 | 2020-08-04T17:37:07 | 2020-08-04T17:37:07 | 285,052,891 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,668 | sce | Metodo Gauss Seidel.sce | //Jhon Sebastian Cano Ruiz - 1556156
clc()
A = input("Ingrese la matriz en el formato [# # # ; # # # ; # # #]: ")
b = input("Ingrese el vector columna b en el formato [# ; # ; #]: ")
errorLimite= input("Digite el límite de error deseado: ");
limiteIteracion= input("Ingrese un maximo de iteraciones: ");
iteracion=... |
16f982508cc0645299c12a62742ad2395404c695 | 097689cb15f57ed753422489c1129404769b863a | /SSH/chapter03/work/work04/work4.tst | ca11559c808d8ba65532ce78f49a30a17887cb92 | [] | no_license | Beeru4/project | f247ae4a6669ba8b93965c0fa50d2cfe285e1918 | cf12bce4d6d5750f8ff2f748182249724e287a76 | refs/heads/master | 2020-05-15T13:33:40.217444 | 2019-05-17T07:50:21 | 2019-05-17T07:50:21 | 182,304,194 | 0 | 0 | null | null | null | null | GB18030 | Scilab | false | false | 2,022 | tst | work4.tst | PL/SQL Developer Test script 3.0
71
declare
v_sal emp.sal%TYPE;
--税率
v_s NUMBER(7, 3);
--速算扣除数
v_ss NUMBER(7, 3);
--总税率
v_toaltax NUMBER(11, 4) := 0;
--所在级别
v_level NUMBER(1);
--创建游标查询数据
CURSOR currsor_emp
--查出员工工资
IS
SELECT SAL,
TO_CHAR(HIREDATE, 'yyyy') as yea... |
75fde4dbe09c6871af95aa26e55d79431693e285 | 1f57c25951e0b065ae60f388372d92fb44f41e5c | /Practica 1/NewtonMod.sce | 204a5d5cd7a9cddfea85ac22fd403174173925e7 | [] | no_license | javilag/metodosNumericos | 1d93774d87a1bef50002089a51c5bfe961eb26de | 06dbc373351ff56c465896d47c89d5f896f249d8 | refs/heads/master | 2021-01-01T19:43:18.598387 | 2015-10-28T19:01:13 | 2015-10-28T19:01:13 | 42,838,717 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,034 | sce | NewtonMod.sce |
function newtonraphsonMd(f,df,d2f,x0,tol,it);
//f es la función que se ingresara entre comillas
//x0 es un punto
//df es la primera derivada de la función que ese insertara entre comillas
//d2f es la segunda derivada de la función que ese insertara entre comillas
//tol es la tolerancia
//it es el numero maximo de ite... |
bed90ce4e586fd10982c263178023b6d7f84632e | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/fir2.sci | 5caba69c9207eaad27ac1b5c3535975c9f6f61f5 | [] | no_license | sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox | 2728cf855f58886c7c4a9317cc00784ba8cd8a5b | 91f8045f58b6b96dbaaf2d4400586660b92d461c | refs/heads/master | 2022-04-19T17:33:22.731810 | 2020-04-22T12:17:41 | 2020-04-22T12:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,765 | sci | fir2.sci | function b = fir2(n, f, m, grid_n, ramp_n, window_in)
funcprot(0);
rhs= argn(2);
if rhs < 3 | rhs > 6
error("Wrong Number of input arguments");
end
//verify frequency and magnitude vectors are reasonable
t = length(f);
if t<2 | f(1)~=0 | f(t)~=1 | or(diff(f)<0)
error ("fir2: frequency m... |
65da629721f67ab2e47549a8a09d2c71c4364340 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH2/EX2.13/Exa2_13.sce | 41cd7988846716554dd2f96f16afc30849371759 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 633 | sce | Exa2_13.sce | //Exa 2.13
clc;
clear;
close;
//Given Data :
format('v',8);
disp("Assumptions : ");
disp("Power to be transmitted is the same(say, P watts)");
disp("Length of the line is the same(say, l meters)");
disp("Losses in the line are the same(say, W watts)");
//I=P/V;//in Ampere
//a=2*I^2*R=2*(P/V)^2*rho*l/W;//in m... |
70f76960d1e45db66d804c33c9da86f2d98ff9a5 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.4_3.tst | 2ddb1fb4a952b06a74887d9c3fcb206cc623ae2d | [] | 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 | 43,336 | tst | bow.4_3.tst | 4 6:0.030303030303030304 42:0.25 98:0.5 320:1.0 710:1.0 950:1.0 1165:1.0 1205:1.0 1885:0.5 2658:1.0 2752:0.3333333333333333 4490:1.0 5105:1.0 5176:0.25 5332:1.0 5657:1.0 5986:1.0 6111:1.0 6889:0.5 7274:1.0 7275:1.0
4 6:0.06060606060606061 15:0.16666666666666666 34:0.2727272727272727 115:1.0 128:0.1 135:0.5 169:0.5 249:... |
e484b3f1c039cc2a6a392e24b3ec3241f3b4b301 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH3/EX1.3.16/Ex1_3_16.sce | 2e31bcffa8f12d5c66675cf25c81f951f9569cbf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | Ex1_3_16.sce | //Section-1,Example-1,Page no.AC-265
//To calculate the amount of lime required for softening of given hard water sample.
clc;
V_1=5000 //Given solution of hard water
A_1=72 //Amount of MgSO4(ppm)
M_F1=100/120 //Multiplication factor
C_Eq= A_1*M_F1 //CaCO3 equivalent
L_R=(74/100)*C_Eq*V_1*10^-3
disp(L... |
fd447929d4400dad529001103ab549aa21c10052 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH12/EX12.2/Ex12_2.sce | 37709dba3fcc7c612b21e01d8fd830d08784b959 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,285 | sce | Ex12_2.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex12_2.sce
clc;
clear;
z=complex(6,8);
Vl=110;
printf("\nPhase current of the load: Magnitude \t Angle(deg) \n")
I_YR=complex(Vl*cosd(0),Vl*sind(0))/(z);
I_BY=co... |
135f416cabc52bb8e48c6a2e37cb32b0b4162eed | 449d555969bfd7befe906877abab098c6e63a0e8 | /3775/CH5/EX5.3/Ex5_3.sce | 149f849c8a360ba3851624f7f6572f4748b8e0d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_3.sce | //Ex 5.3 page 185
clc;
clear;
close;
Vs=400;//V
alfa=0.25;// duty cycle
delta_I=10;// A
L=0.5;// H
R=0;// ohm
Vo=alfa*Vs;//V
//Vo+L*di/dt=Vs -- putting dt=Ton & di=delta_I
Ton=delta_I/((Vs-Vo)/L)*1000;// ms
T=Ton/alfa;// ms
f=1/T*1000;//Hz
printf('\n chopping frequency = %d Hz',f)
|
dcf2158bc7907179dbf0f2b0ca7836969d26cdc7 | e176c804d3e82d065a9c9635dad92da21c1483a9 | /missions/X2/mission_x2.sce | 539345a2aa91921cfbb68737d1a63b7c2fb0cdb5 | [
"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 | 1,262 | sce | mission_x2.sce | getd ('../../libs/');
//CHARGEMENT IMAGES
img_origine_v2 = readpbm("Gliese 581d V2.pbm");
img_origine = readpbm("Gliese 581d.pbm");
//===============IMG V2===============
scf(1);
title("Image : Gliese 581d V2 bruitée");
display_gray(img_origine_v2);
//HISTOGRAMME IMAGE NON DEBRUITE
scf(2);
title("histogramme image ... |
3d170b31a2bd53e365056e7f87099ae82289b870 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH4/EX3.15/EX3_15.sce | 069745e861e2f69c5561c18c963a8ff5562f42c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | EX3_15.sce | // Grob's Basic Electronics 11e
// Chapter No. 03
// Example No. 3_15
clc; clear;
// How much current is needed for a 24 Ohms Resistor that dissipates 600 W?
// Given data
R = 24; // Resistance=24 Ohms
P = 600; // Power=600 Watts
I = sqrt(P/R);
disp (I,'The Current I in Amps')
|
7b7f0bbd4a7aee7b016a5494790900ae5ae0a412 | ad8bb1c6a4b5baae527edbae34e86f2be3c27ab6 | /subplotTechnologie.sce | de573463301b392bc5c4d781aced3b8152e21bfc | [] | no_license | moueza/isbn-2-287-59731-X-introduction-a-Scilab | 291a1ee2b7a145e3fd2eae23539b37965e0af658 | 87900673bbdcdb65537592cd512b3b0415575835 | refs/heads/main | 2023-06-28T07:15:23.375013 | 2023-06-17T23:41:17 | 2023-06-17T23:41:17 | 304,570,515 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | subplotTechnologie.sce | function z=f(x,y)
z=1-x^2-y^2
endfunction
R=linspace(0,.1,4);
X=[]; x=1;
for r=R
// [x,err]=fsolve()
end
//manual od fsolve
// Draw a circle of radius 1 according to its cartesian equation:
plotimplicit "x^2 + y^2 = 1"
xgrid(color("grey"),1,7)
isoview
|
0dd7e897b5f5a4ee230dc9bc97ccd863eabd807e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3482/CH2/EX2.5/Ex2_5.sce | 9db6603f5fd62b0aa90e74ec9a4a08b0f786a9bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sce | Ex2_5.sce | clc
//page 39
mass=30;// kg
W=mass*9.81;// N, Weight of package
alpha=15;//degree
alpha=alpha*%pi/180;// Conversion into radian
F=W*sin(alpha);//N
printf("F= %.2f N",F);
|
7667a656fec3f1bf588ce791190282eae5102885 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2513/CH14/EX14.6/14_6.sce | e573327b24b26080fef3e64c5b2cfcbe4ef79fe3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 526 | sce | 14_6.sce | clc
//initialisation of variables
q=60//cfs
D=4//ft
w=0.177//ft
s=0.59//ft
h=4.0//ft
d1=1.0//ft
v=0.90//ft
d1=0.42//ft
h1=6.0//ft
h2=1.5//ft
dl=1.3//ft
p=0.41//ft
u=0.8//ft
u1=3.2//ft
y=0.45//ft
//CALCULATIONS
H=s*D//ft
d2=d1*D//ft
V=v*D//ft
P=p*D//ft
D1=y*D//ft
//RESULTS
printf('the critical de... |
72b3385dc7805c62b13d4cfeb8d8f905befb79d0 | 18cbceafa51692cec0d288cd11a9d4024eacd919 | /02/zxg.tst | 8263c9da79f5690f9df0ca9d9d0ac320378d8b3c | [
"MIT"
] | permissive | hw4282/nand2tetris | a4f95dba8fbe779974befa8d422be7b9be9e0f28 | 87a4ac19595871f3e6b695dd7371898d1ea2f896 | refs/heads/master | 2021-04-28T09:09:01.446446 | 2018-02-26T06:03:38 | 2018-02-26T06:03:38 | 122,032,122 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 298 | tst | zxg.tst | load Zxg.hdl,
output-file Zxg.out,
compare-to Zxg.cmp,
output-list a%B2.16.1 b%B2.1.2 out%B2.16.1;
set a %B0000000000000000,
set b 0,
eval,
output;
set a %B0000000000000000,
set b 1,
eval,
output;
set a %B1111111111111111,
set b 0,
eval,
output;
set a %B1111111111111111,
set b 1,
eval,
output; |
cd5cb9687a3655661f2edd546288b2a3be40fbe6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /530/CH8/EX8.5/example_8_5.sce | 0874299a517572647c97df2ce09f4c46e063fc95 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,143 | sce | example_8_5.sce | clear;
clc;
// A Textbook on HEAT TRANSFER by S P SUKHATME
// Chapter 8
// Condensation and Boiling
// Example 8.5
// Page 337
printf("Example 8.5, Page 337 \n \n");
D = 0.02 ; // [m]
l = 0.15 ; // [m]
T = 500+273 ; // [K]
Tc = -196+273 ; // [K]
e = 0.4;
s = 5.670*10^-8;
// Film boiling will occur... |
b1a05d8ab7551dabc8235b57587fa1682b381f6d | a8b3c68874820b431f195632f44ddcb3be402e6d | /MetodoPrimalDualGeneral.sce | d42d833fe9a1d666ac870cd30302f54551d2d7c1 | [] | no_license | juanksRuiz/Optimizacion | e2ca20b102f38df6db24f23910b79bee22f76c56 | 7fb521b07b0fbe4ca0d67bf1d5714804926a91dc | refs/heads/master | 2020-04-29T05:42:03.659838 | 2019-05-27T13:44:17 | 2019-05-27T13:44:17 | 175,891,169 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,659 | sce | MetodoPrimalDualGeneral.sce | A = [2,1];
b = 5;
mu = 10;
u = [1;1;1];
x = [1.3;2.4];
v = 0;
function y = f(x)
y = (x(1)-3)^4 - x(2)^2;
endfunction
function y = fprim(x)
fp1 = 4*(x(1)-3)^3;
fp2 = 2*x(2);
y = [fp1;fp2];
endfunction
function gDesig = g(x)
g1 = x(1)^2 + x(2)^2 - 25;
g2 = x(1)-x(2) + 1;
g3 = -x(1);
gDe... |
8d0852e507174c27a56de3754f3d3fae14124534 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH23/EX23.5/B_5.sce | 0abbb43026732cfbe0c394592de0911d5e53466d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 498 | sce | B_5.sce | // sum 23-5
clc;
clear;
m=1100;
V=65*5/18;
t=4;
r=0.22;
mb=12;
C=460;
S=0.5*V*t;
//Total kinetic energy TE=K.E(vehicle)+K.E(rotating parts).
TE=((0.5*m*(V^2))+(0.1*0.5*m*(V^2)));
E=TE/4;
w=V/r;
theta=S/r;
T=E/theta;
delT=E/(mb*C);
// printing data in scilab o/p window
printf("S is %0.2f m ",S);
... |
acae4f90756f619ea7437713ad847fc52fbb7910 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH4/EX4.3/Ex_4_3.sce | 95db742d18f640f009c8ffa20c3849bdbb5c8598 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 251 | sce | Ex_4_3.sce | // Example 4.1:Link Length
clc;
clear;
close;
alpha = 0.5;//Attenuation loss in dB/Km
Pi=1.5;//input power in milli watt
Po=2//Output power in micro watt
L=(10/alpha)*(log10((Pi*10^-3)/(Po*10^-6)));// Link Length in Km
disp(L,"Length in Km")
|
19b62f14e2d7382f1845efc4353903bc9c5a5d87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH5/EX5.22/Chapter5_Exampl22.sce | c0344336daaba308d6b7d48b786f9bf5477fdb75 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sce | Chapter5_Exampl22.sce | clc
clear
//INPUT DATA
p1=1;//initial pressure in bar
pd=30;//delivery pressure in bar
t1=288;//temperature in K
n=1.3;//index of copression
//CALCULATIONS
p21=sqrt(p1*pd);//Intermediate pressure in bar
v121=(p21/p1)^(1/n);//volume ratio
t21=t1*(p21/p1)^((n-1)/n);//temperature in K
v212=t21/t1;//volume rat... |
76fcee5c43ea0cfdea5f497855e5f79991249a8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH12/EX6.12.13/Ex6_12_13.sce | a57ef3cd98a1bebc25f3b2b7b1eeb85249e867f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | Ex6_12_13.sce | //Section-6,Example-5,Page no.-P.48
//To calculate the quantity of ethyl alcohol required.
clc;
dl_Tf=10 //(K)
K_f=1.86 //(Kkgmol^-1)
M_w=62
d=1 //density (assumption)
V=10 //Volume(L)
M=V*d
W=((dl_Tf*M*M_w)/K_f)*10^-3
disp(W,'Quantity of ethyl alco... |
6701dc565f441d218b1ac9e4054125f9fa71a869 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH26/EX26.11/Ex26_11.sce | 01209cd9e9cddcf14309d77400f89c4bbe2eec7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | Ex26_11.sce | //Key:
//f(x) : Objective Function
//ci(x)'s : Constraints
//Variable Declaration:
function [a] = f(x)
a = -2.0*x(1) - 1.6*x(2)
endfunction
//Calculation
X = [16820,1152]
//Result:
printf("Maximum Profit is $ %.0f /day or $ %f /year",-f(X),-365*f(X))
|
05ece263ff69e4aa2ce5395bda0be41c25fb255c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH4/EX4.7.1/Ex4_7.sce | c06cd192cd9510d706173d938e84771bd3b96587 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 703 | sce | Ex4_7.sce | clc
clear
//Conditions at 10 bar
P1=10; //in bars
Hg=2778.1; //in kJ/kg
Tsat=179.9+273; //Temperature in K
Vg=0.194; //in m^3/kg
//Conditions at 10 bar and 300 Celcius
Cps=2.1;
Tsup=300+273;
H1=Hg+(Cps*(Tsup-Tsat));
V1=Vg*(Tsup/Tsat);
U1=H1-(P1*100*V1);
printf('The I... |
37b932b60afcb1721d71134339aa631ca2e78873 | 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/CH4/EX4.4/Ex4_4.sce | 202bf217c7c0a7679367066353145e57b781fd83 | [] | 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 | 712 | sce | Ex4_4.sce | errcatch(-1,"stop");mode(2);//Caption:Find the efficiency
//Exa:4.4
;
;
//From Exa:4.3
V_2=230;//in Volts
Z_1=4+%i*12;
I_s=75*(cosd(30)+%i*sind(30));//in Amperes
a=10;//transformation ratio
E_1=2282.87*(cosd(2.33)+%i*sind(2.33));//in Volts
E_2=228.287*(cosd(2.33)+%i*sind(2.33));//in Volts
I_p=7.5*(cosd(30... |
ef21f2a82ccc4be828d2b6c8db06f62f6871ed3e | 449d555969bfd7befe906877abab098c6e63a0e8 | /28/CH5/EX5.2/ex5_2_1.sce | 51822c2305bd78a4b78f5a6806f294b717d56b5d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 316 | sce | ex5_2_1.sce | s=%s
syms K J f
K=60; // given
J=10; // given
p=K/J
q=K/J+(f/J)*s+s^2
G=p/q;
disp(G,"Qo(s)/Qi(s)=")
zeta=0.3; // given
cof1=coeffs(q,'s',0)
// on comparing the coefficients
Wn=sqrt(cof1)
cof2=coeffs(q,'s',1)
// 2*zeta*Wn=cof2
f/J=2*zeta*Wn
r=s^2+f/J
s=s^2+f/J+K/J
H=r/s;
disp(H,"Qe(s)/Qi(s)=")
|
518a36e27799a343d3d756a892281446dff93e0d | 53a108238b9fda736d1411a9722d4043922e73e3 | /NEWTON.sce | f475dff3addc68c602e1e6ea90019867926a781a | [] | no_license | 3reedm/scilab | 708d315412cdb48590c66821d78a883e28b5a7e6 | 2508a225d5e8b744da1be7443f5831b665a60aee | refs/heads/master | 2020-03-18T01:56:55.225475 | 2018-05-20T16:27:39 | 2018-05-20T16:27:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 689 | sce | NEWTON.sce | function[P]=NEWTON(X,Y,x)
P=Y(1)
n=length(X)
for i=2:n
A=0
for j=1:i
w=1
for k=[1:j-1,j+1:i]
w=w*(X(j)-X(k))
end
A=A+Y(j)/w
end
_X=1
for l=1:i-1
_X=_X*(x-X(l))
end
P=P+A*_X
end
endfunction
//Исходные данные
X=[0,%pi/4,%pi/2,3*%pi/2]
Y=[1,1.4,1,-1]
x1=[%pi/6,... |
5ad14469b769339076a3c439f3416a9afa0159d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH26/EX26.1/Ex26_1.sce | 49b843dbed5bc0fc90e54cb8bfb20961335d2d18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | Ex26_1.sce | //Example 26.1
d_o=60;//Object distance (cm)
d_i=2;//Image distance (cm)
h_o=1.2*10^-2;//Object height (cm)
h_i=-h_o*d_i/d_o;//Image height (cm)
printf('Size of the image on the retina = %0.2e cm',h_i)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|
3e7fcde50d168a4e3a1a098c030e77e74ca0cc62 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH2/EX2.14/exa_2_14.sce | 5e21ab988a0351d509bfb95dcb73e39bd764da54 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | exa_2_14.sce | // Example 2.14
clc;
clear;
close;
// Given data
Q= -40;// in kJ/kg
W= -80;// in kJ/kg
E= Q-W;// change in internal energy in kJ/kg
disp(E,"Change in internal energy in kJ/kg is : ")
disp("Thus internal energy of the working substance increases ")
|
b58d53301542e0baef1adbd9aca78392ccaa097e | 76b8c4ba0a69d3281b658f0fcf0ec56a96e27581 | /Scripts/pixelMissionA1.sci | 4d81dffe06eded6ce9630696eace215e19b61d7f | [] | no_license | RomainJunca/ExoLife | 0824fa566b38c5061f77592df6c38c3614dd8619 | 8da1524432d0ef1137d5e73e80cec339e6ec1c33 | refs/heads/master | 2020-05-25T14:08:07.353617 | 2017-03-20T08:31:32 | 2017-03-20T08:31:32 | 84,937,995 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 608 | sci | pixelMissionA1.sci | function coord = pixelMissionA1(img, pixelValue)
size_X = size(img, 1); //On récupère la longueur de l'image à modifier.
size_Y = size(img, 2); //On récupère la largeur de l'image à modifier.
img_out = zeros(size_X, size_Y); //On crée une matrice nulle qui va contenir l'image modifiée (ici une matrice ... |
9b5b93b37a71fe63d1ed42ab95c971dd53fe4daf | 449d555969bfd7befe906877abab098c6e63a0e8 | /74/CH3/EX3.17/example17_sce.sce | 4f7b66c6251eb0cbe3fdd547f06a031b63cab6c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | example17_sce.sce | // chapter 3
// example 3.17
//page 150, figure 3.53
Ri=%inf;Ro=0;
Aol=%inf;
Vb=0;//b is virtually ground
Vout=1;// let us assume
//input current of op-amp is zeroas R=%inf
I1=(Vb-Vout)/100000
If2=I1;
Va=((10000)/(100000))*(Vb-Vout)
//at node A Iin=I1+If1
// (Vin-Va)/10*10^3=(Va-Vb)/10*10^3 + (Va-Vo)/100*10... |
37132ca3b22c4f70e36ec2110a6f3535308f0509 | 637fcd60a4e2a98ebbeaaa9551554a13e1ebfdba | /quad/ctrl/paparazzi/sw/airborne/firmwares/vor/sci_vor_audio.sci | bef51553c4065fd1f5788dc1ca38ff81e20dd360 | [] | no_license | zoomx/lxyppc-tetrix | b7079c07aee9b85a34207245f526e1613fdb0498 | 884027f37594f9f006f88d634c4392a60c482491 | refs/heads/master | 2021-01-10T21:04:54.219013 | 2015-05-10T08:45:33 | 2015-05-10T08:45:33 | 35,362,463 | 12 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,202 | sci | sci_vor_audio.sci | //
// $Id$
//
// Copyright (C) 2008 Antoine Blais, Antoine Drouin
//
// This file is part of paparazzi.
//
// paparazzi 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, or (at yo... |
f85a23e32fa6a419adffcd3250adf523f7e4e085 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH5/EX5.46/5_46.sce | de9aab92a39e2c167398ac7455c91fa55c647b6d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 598 | sce | 5_46.sce | //Example 5.46
//Newton's Divided Difference Interpolation
//Page no. 192
clc;close;clear;
x=[3,3.6,3.8]
y=[0.13515,0.83059,0.26253];
deff('y=f1(x1,x2,y1,y2)','y=(y2-y1)/(x2-x1)');
deff('y=f2(x1,x2,x3,y1,y2,y3)','y=(f1(x2,x3,y2,y3)-f1(x1,x2,y1,y2))/(x3-x1)');
function [x]=f(x1,x2,x3,y1,y2,y3)
x=(x1+2*x2+... |
3bd6f1061d500f4f95fbb45107e4b1e9b60d3a6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH1/EX1.12/Ex1_12.sce | fdfb35e516b007bda12c94e71e607998c3a24b23 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,478 | sce | Ex1_12.sce | clc;
P=200000; // rated power output of transformer
E1=11000; // primary side voltage
E2=400; // secondary side voltage
// initialising the results of the open circuit test performed on l v side
Vo=400; // open circuit voltage in V
Io=9; // no load current in A
Po=1500; // core loss in W
// initialising the res... |
396c3a4d33c7f8288fa25579f6aa6c14df46b30c | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH11/EX11.1/Ch11Ex01.sce | 4dd5b8d184040d3f36a7d9f2fc614312c8fc6458 | [] | 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 | 527 | sce | Ch11Ex01.sce | // Scilab code Ex11.1: Pg.483 (2008)
clc; clear;
R0 = 1.2; // Quantum mechanical correction, fm
A_He = 4; // Atomic mass number of Helium
A_U = 238; // Atomic mass number of Uranium
R_He = R0*(A_He)^(1/3); // Nuclear radius of Helium, fm
R_U = R0*(A_U)^(1/3); // Nuclear radius of Uranium, fm
prin... |
8c5645282a912180e11c8f0da81dcaf396f10356 | 64efd3a252c09ac93467f8e1ca48cf0b08986294 | /scilab/S6/ProbaStats/TP1/ex1.sce | 622e940859837659a1666b3e23d97f6b3addecae | [] | no_license | raphaelchampeimont/almacha | a86ff10cf05d676a5c110fd21e35de1b4b9a838f | 439684932b54bd9214e4119b4f77c035f24a7ad8 | refs/heads/master | 2021-05-31T08:00:30.750759 | 2016-05-03T15:58:55 | 2016-05-03T15:58:55 | 12,587,906 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 192 | sce | ex1.sce | // Public domain script.
loi_de_X = 1/6*ones(1,6);
loi_de_Y = loi_de_X;
subplot(2,1,1);
bar(1:6, loi_de_X);
loi_de_2_des = convol(loi_de_X, loi_de_Y);
subplot(2,1,2);
bar(2:12, loi_de_2_des);
|
bb886b6f644d4b2d02bf969ecc4bde15c3961574 | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH6/EX6.1/Example_6_1.sce | 9ebfb773170ae88e28838679c83cb923e2542a6e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,072 | sce | Example_6_1.sce | clc;
clear;
printf("\n Example 6.1");
d_o=25e-3;//Diameter of orifice
printf("\n\n Given:\n Diameter of orifice = %d mm",d_o*1e3);
d_p=75e-3;//Diameter of pipe
printf("\n Diameter of pipe = %d mm",d_p*1e3);
flow_o=300e-6;//Flow rate through pipe
printf("\n Flow rate through pipe = %d m^3/s",flow_o*1e6);
Meu_... |
36abd8e7545f4b78efa1978b1604cb0bd7752400 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH4/EX4.18/4_18.sce | 894eb30a8c29cbd14482e8bf76de4d9dae9dff10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | 4_18.sce |
clc;
clear;
//Example 4.18
sigma=5.67*10^-8 ; //[W/(sq m.K^4)]
T1=813; //[K]
T2=473; //[K]
e1=0.87;
e2=0.26;
D1=0.25 ;//[m]
D2=0.3; //[m]
Q_by_a1=sigma*(T1^4-T2^4)/(1/e1+(D1/D2)*(1/e2-1)) //[W/ sqm]
printf("\n Heat transfer by radiaiton is %d W/sq m",Q_by_a1);
|
0ef35f55b71804c5af89b1b70182adca1623a940 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3731/CH2/EX2.2/Ex2_2.sce | 3e89a5bfb7fb21075ab030099648ff3931b09762 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 852 | sce | Ex2_2.sce | //Chapter 2:Dynamics of Electric Drives
//Example 2
clc;
//Variable Initialization
J=10 //moment of inertia of the drive in kg-m2
mprintf("Passive load torque during steady state is : Tl=0.05*N in N-m")
mprintf("\nAnd load torque : T=100-0.1*N in N-m ")
mprintf("\nLoad torque when the direction is reversed... |
7ee42cfdd5ca74b0caa77cf043d8989d91038c13 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_M._R._Srinivasan_3411.zip/Engineering_Physics_M._R._Srinivasan_3411/CH6/EX6.7.u1/Ex6_7_u1.sce | 5efd22c80bce9fac18f15092ccd7c984211a0472 | [] | 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 | 421 | sce | Ex6_7_u1.sce | errcatch(-1,"stop");mode(2);//Example 6_7_u1
;
;
//To calculate the no of photons emitted by the ruby laser
p=1 //units in Watts
lamda=694.3 //units in nm
lamda=lamda*10^-9 //units in meters
h=6.63*10^-34 //units in m^2 kg s^-1
c=3*10^8 //units in meter/se... |
cb89e405b5945cd5f34eb506c1114e559821e718 | 494b677053e1199325a80808377463794e1003e5 | /experiments/irprop-c/irprop-c/results/Ignore-MV.iRProp+-C.pima/result1s0.tst | a9e1f9eb3c2a4312c77124ecb46d7c475664b482 | [] | no_license | kylecblyth/IIS-Project | 92fb0770addced8022817470f974bf5191bfe05d | abf66fd98d9b6c7c3a0fbc254ef4026641338489 | refs/heads/master | 2020-06-12T19:41:02.430510 | 2016-12-07T10:35:31 | 2016-12-07T10:35:31 | 75,764,815 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,836 | tst | result1s0.tst | @relation pima
@attribute 'preg' real[0.0,17.0]
@attribute 'plas' real[0.0,199.0]
@attribute 'pres' real[0.0,122.0]
@attribute 'skin' real[0.0,99.0]
@attribute 'insu' real[0.0,846.0]
@attribute 'mass' real[0.0,67.1]
@attribute 'pedi' real[0.0,2.42]
@attribute 'age' real[0.0,81.0]
@attribute 'class' {tested_negative,tes... |
0d0a2f0a40a61ecd992b3e4543748a0ce899a0b5 | 87749481136b7b72a47930f587f27667e0c0f97d | /ADC/ps.sce | 99f677b8e7e0c7cf7960634107fa5e682d1a5c24 | [
"MIT"
] | permissive | brooky56/Digital_Signal_Processing | cf15e5ac443a16edcb3efc8d7703cf4746dedcba | f28651e40b0a99b79e9ba27deabc4db8bfc7f08e | refs/heads/master | 2022-06-30T17:59:28.072522 | 2020-05-11T18:58:39 | 2020-05-11T18:58:39 | 242,598,653 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 51 | sce | ps.sce | function ps(arr, fs)
playsnd(arr, fs);
endfunction
|
44014982c244fd3457149b08508bd7e7613fdd0b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1448/CH7/EX7.4.i/I7_4.sce | 371d023c813a3ccb17b3ebc79c85294adb6e28a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 195 | sce | I7_4.sce | clc
//Initialization of variables
GCO2=-394 //kJ/mol
GCO=-137 //kJ/mol
GO2=0
//calculations
deltaG=2*GCO2-2*GCO+GO2
//results
printf('Standard reaction gibbs energy = %d kJ/mol',deltaG)
|
461a670e4a33d4f56d665ca6d41ded40045cd894 | 97135f725c599527ba0fd95a5289373c755daf3b | /Examples/test-suite/scilab/funcptr_runme.sci | 9b87bf278311408b9c3ceb1d8d905cc6408ec227 | [] | no_license | maqalaqil/swag-c- | b8880cfc92424d5bbca1fe15ed98663a41063f27 | 6fd1ba2bf1d353f24c116a3c89a8540292b86a7d | refs/heads/master | 2020-07-06T21:02:08.949652 | 2019-09-01T07:56:55 | 2019-09-01T07:56:55 | 203,137,066 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sci | funcptr_runme.sci | exec("alaqiltest.start", -1);
if add(7, 9) <> 16 then alaqiltesterror(); end
if do_op(7, 9, funcvar_get()) <> 16 then alaqiltesterror(); end
exec("alaqiltest.quit", -1);
|
6afda92bf9576aac736280b6dc762354e23255b6 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.20_15.tst | 0a5769815bb8b67202db6cee1c9ae4af289c82b0 | [] | 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 | 5,000 | tst | bow.20_15.tst | 20 1:0.06666666666666667 10:1.0 13:2.0 14:1.0 19:0.1111111111111111 28:0.25 41:1.0 52:0.09090909090909091 54:1.0 56:0.5 63:0.5 65:0.5 76:0.3333333333333333 83:0.03508771929824561 99:0.3333333333333333 155:2.0 187:0.3333333333333333 542:1.0 1045:1.0 1124:1.0
20 1:0.26666666666666666 13:1.0 19:0.1111111111111111 41:1.0 5... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.